lean2/tests/lean/run/coe7.lean
2014-10-02 17:55:34 -07:00

11 lines
223 B
Text

import logic
constant nat : Type.{1}
constant int : Type.{1}
constant of_nat : nat → int
coercion of_nat
theorem tst (n : nat) : n = n :=
have H : true, from trivial,
calc n = n : eq.refl _
... = n : eq.refl _