lean4-htt/tests/lean/run/nary_existsi.lean
Leonardo de Moura 71ef240817 feat(library/init/meta/interactive): add nary existsi
@Armael, this commit implements the nary existsi.
We can now write
a) existsi t
b) existsi [t_1, t_2, t_3]
2017-05-31 13:41:25 -07:00

6 lines
98 B
Text

example : ∃ a b c : nat, a = b + c :=
begin
existsi [_, _, _],
refl,
repeat {exact 0}
end