This is a quite substantial tactic. It also includes the infamour `NatCast` typeclass (which I've equipped with a module-doc). I wasn't at all sure where that should live, so it is currently randomly in `Lean/Elan/Tactic/NatCast.lean`: presumably if we're doing this it will go somewhere in `Init`. --------- Co-authored-by: Leonardo de Moura <leomoura@amazon.com>
2 lines
96 B
Text
2 lines
96 B
Text
theorem ex : ∀ {n : Nat} {i j : Fin n}, i = j → ↑i = ↑j :=
|
|
fun {n} {i j} h => h ▸ rfl
|