lean2/tests/lean/ty1.lean
Leonardo de Moura 4ba097a141 feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 13:06:36 -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)