Instances for concrete types #
@[implicit_reducible]
Equations
- Lean.Grind.instToIntIntIi = { toInt := id, toInt_inj := Lean.Grind.instToIntIntIi._proof_1, toInt_mem := Lean.Grind.instToIntIntIi._proof_2 }
@[implicit_reducible]
Equations
- Lean.Grind.instToIntNatCiOfNatInt = { toInt := Nat.cast, toInt_inj := ⋯, toInt_mem := Lean.Grind.instToIntNatCiOfNatInt._proof_3 }
@[implicit_reducible]
Equations
- Lean.Grind.instToIntFinCoOfNatIntCast = { toInt := fun (x : Fin n) => ↑↑x, toInt_inj := ⋯, toInt_mem := ⋯ }
instance
Lean.Grind.instZeroFinCoOfNatIntCast
{n : Nat}
[NeZero n]
:
ToInt.Zero (Fin n) (IntInterval.co 0 ↑n)
instance
Lean.Grind.instOfNatFinCoOfNatIntCast
{n : Nat}
[NeZero n]
:
ToInt.OfNat (Fin n) (IntInterval.co 0 ↑n)
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]