lean2/tests/lean/let3.lean
Leonardo de Moura 2459c4ae7c Add (optional) type to let declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-06 10:06:26 -07:00

8 lines
No EOL
151 B
Text

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