lean2/examples/ex4.lean
Leonardo de Moura afd62ced87 Add parse_let
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-08-18 15:25:20 -07:00

15 lines
564 B
Text

Show (fun x : Bool, (fun y : Bool, x /\ y))
Show let x := true,
y := true
in (let z := x /\ y,
f := (fun arg1 arg2 : Bool, arg1 /\ arg2 <=>
arg2 /\ arg1 <=>
arg1 \/ arg2 \/ arg2)
in (f x y) \/ z)
Eval let x := true,
y := true,
z := x /\ y,
f := (fun arg1 arg2 : Bool, arg1 /\ arg2 <=>
arg2 /\ arg1 <=>
arg1 \/ arg2 \/ arg2)
in (f x y) \/ z