Equations
- instNatCastNat = { natCast := fun (n : Nat) => n }
Equations
- instNatCastInt = { natCast := fun (n : Nat) => Int.ofNat n }
This instance is needed to ensure that instCoeNatInt
from core is not used.
Equations
- instCoeNatInt_1 = { coe := Nat.cast }
Equations
- instIntCastInt = { intCast := fun (n : Int) => n }