News for hackers. Stuff that matters.
Re:Theorem Proving in Lean by kevinzz on Tuesday May 29, 2018 @06:47PM (#17183448)
In Lean you could do

  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).

There are no comments on this comment yet.