lean2/tests/lean/ty1.lean
Leonardo de Moura 7726ccad28 chore(builtin): rename nat, int and real modules to Nat, Int and Real.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-01 13:52:25 -08:00

9 lines
209 B
Text

Import Int.
Variable i : Int.
Check fun x, x + i
Check fun x, x + 1
Check fun x, x
Check fun x y, y + i + 1 + x
Check (fun x, x) i
Check (fun x, x i) (fun x y, x + 1 + y)
Check (fun x, x) (fun x y, x + 1 + y)