lean2/tests/lean/let3.lean
Leonardo de Moura 08718e33dc refactor(builtin): only load the kernel and natural numbers by default
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-30 13:35:37 -08:00

9 lines
No EOL
175 B
Text

Import int.
Variable magic : Pi (H : Bool), H
SetOption pp::notation false
SetOption pp::coercion true
Show let a : Int := 1,
H : a > 0 := magic (a > 0)
in H