lean4-htt/old_tests/tests/lean/elab8.lean
2018-04-10 12:56:55 -07:00

10 lines
379 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_one A] [has_lt A] (a : A), a + 1
#check λ (A : Type*) [has_add A] [has_one A] [has_lt A] (a : A) (H : a > 1), a + 1
#check λ (A : Type*) [has_add A] [has_one A] [has_lt A] (a : A) (H₁ : a > 1) (H₂ : a < 5), a + 1