lean4-htt/tests/lean/elab9.lean
Leonardo de Moura 8993d0738a feat(frontends/lean): remove #elab command
The check command is now using the new elaborator.
2016-08-02 15:05:24 -07:00

8 lines
277 B
Text

set_option pp.notation false
set_option pp.implicit true
set_option pp.numerals false
set_option pp.binder_types true
check λ (A : Type) [has_add A] [has_zero A] (a : A) (H : a + 0 = a) [has_add A] (H : a = 0 + 0), a + a
check λ (a b : nat) (H : a > b) [has_lt nat], a < b