lean4-htt/doc/examples/Certora2022/ex16.lean
2022-11-21 17:02:28 -08:00

12 lines
215 B
Text

/- Inaccessible names -/
example : ∀ x y : Nat, x = y → y = x := by
intros
apply Eq.symm
assumption
example : ∀ x y : Nat, x = y → y = x := by
intros
apply Eq.symm
rename_i a b hab
exact hab