lean2/tests/lean/ty1.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
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)