2014-08-18 17:25:39 -07:00
|
|
|
import logic
|
2014-11-22 17:34:05 -08:00
|
|
|
namespace experiment
|
2014-10-02 16:20:52 -07:00
|
|
|
constant nat : Type.{1}
|
|
|
|
constant int : Type.{1}
|
|
|
|
constant of_nat : nat → int
|
2015-01-24 20:23:21 -08:00
|
|
|
attribute of_nat [coercion]
|
2014-08-18 17:25:39 -07:00
|
|
|
|
|
|
|
theorem tst (n : nat) : n = n :=
|
|
|
|
have H : true, from trivial,
|
2014-09-04 16:36:06 -07:00
|
|
|
calc n = n : eq.refl _
|
|
|
|
... = n : eq.refl _
|
2014-11-22 17:34:05 -08:00
|
|
|
end experiment
|