Additional instances for ring
over PNat
#
This adds some instances which enable ring
to work on PNat
even though it is not a commutative
semiring, by lifting to Nat
.
instance
Mathlib.Tactic.Ring.instCSLiftValPNatNatOfNatHAdd
{n : ℕ}
:
CSLiftVal (OfNat.ofNat (n + 1)) (n + 1)