lean4-htt/tests/lean/run/by_exact.lean
2016-06-10 18:29:41 -07:00

6 lines
149 B
Text

exit
import data.nat
open nat
example (a b c : nat) (h₁ : a + 0 = b) (h₂ : b = c) : a = c :=
by esimp at h₁; rewrite h₂ at h₁; exact h₁