2015-03-06 19:33:44 +00:00
|
|
|
example (p q r : Prop) : p ∧ q ∧ r → q ∧ p :=
|
|
|
|
assume Hpqr : p ∧ q ∧ r,
|
|
|
|
have Hp : p, from and.elim_left Hpqr,
|
|
|
|
have Hqr : q ∧ r, from and.elim_right Hpqr,
|
|
|
|
have Hq : q, from and.elim_left Hqr,
|
2016-02-29 19:28:20 +00:00
|
|
|
show q ∧ p, from
|
2015-03-06 19:33:44 +00:00
|
|
|
proof
|
|
|
|
and.intro Hq Hp
|
|
|
|
qed
|