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

8 lines
151 B
Text

example : ∃(b : nat), b = 1 ∧ 0 ≤ b :=
begin
apply exists.intro,
apply and.intro,
apply rfl,
generalize : 1 = z,
apply nat.zero_le
end