lean2/tests/lean/run/clear_tac.lean
2014-11-26 13:11:36 -08:00

17 lines
289 B
Text

import logic
example {a b c : Prop} : a → b → c → a ∧ b :=
begin
intros (Ha, Hb, Hc),
clear Hc,
clear c,
apply (and.intro Ha Hb),
end
example {a b c : Prop} : a → b → c → c ∧ b :=
begin
intros (Ha, Hb, Hc),
clear Ha,
clear a,
apply (and.intro Hc Hb),
end