pnat_to_nat #
This file implements the pnat_to_nat tactic that shifts PNats in the context to Nat.
Implementation details #
The implementation follows these steps:
For each x : PNat in the context, add the hypothesis 0 < (↑x : ℕ).
Instances For
pnat_to_nat shifts all PNats in the context to Nat, rewriting propositions about them.
A typical use case is pnat_to_nat; lia.