2014-11-26 13:09:42 -08:00
|
|
|
import logic
|
|
|
|
|
|
|
|
example {a b c : Prop} : a → b → c → a ∧ b :=
|
|
|
|
begin
|
2015-03-27 17:26:06 -07:00
|
|
|
intros [Ha, Hb, Hc],
|
2014-11-26 13:09:42 -08:00
|
|
|
clear Hc,
|
|
|
|
clear c,
|
|
|
|
apply (and.intro Ha Hb),
|
|
|
|
end
|
|
|
|
|
|
|
|
example {a b c : Prop} : a → b → c → c ∧ b :=
|
|
|
|
begin
|
2015-03-27 17:26:06 -07:00
|
|
|
intros [Ha, Hb, Hc],
|
2014-11-26 13:09:42 -08:00
|
|
|
clear Ha,
|
|
|
|
clear a,
|
|
|
|
apply (and.intro Hc Hb),
|
|
|
|
end
|