lean2/tests/lean/tst8.lean
Leonardo de Moura 6f3fa63ccb Add missing test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-03 14:51:34 -07:00

13 lines
215 B
Text

Check fun (A : Type) (a : A),
let b := a
in b
Variable g : Pi A : Type, A -> A
Definition f (A: Type) (a : A) : A :=
let b := g A a,
c := g A b
in c
Show f _ 10.
Show f _ (- 10).