by tom_mellior · 8y ago · 0 comments
theorem and_commutative (p q : Prop) : p ∧ q → q ∧ p :=
begin intros, simp * end
https://leanprover.github.io/live/3.4.1/#code=theorem%20and_... theorem and_commutative (p q : Prop) : p ∧ q → q ∧ p := by cc
for a tactic proof and theorem and_commutative (p q : Prop) : p ∧ q → q ∧ p := λ ⟨h,j⟩,⟨j,h⟩
for a term proof (just write down the function).