We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76a437 commit c79797bCopy full SHA for c79797b
src/Solution.lean
@@ -1,5 +1,4 @@
1
import Preloaded tactic
2
-open classical
3
4
-- Task 1: Prove that n + m = n + m
5
theorem immediate : ∀ n m : ℕ, n + m = n + m :=
@@ -10,4 +9,4 @@ theorem plus_comm : ∀ n m : ℕ, n + m = m + n :=
10
9
by intros; apply add_comm
11
12
-- Task 3: Prove excluded middle
13
-theorem excluded_middle : ∀ p : Prop, p ∨ ¬p := em
+theorem excluded_middle : ∀ p : Prop, p ∨ ¬p := classical.em
0 commit comments