Skip to content

Commit c79797b

Browse files
committed
Fix src/Solution.lean
1 parent e76a437 commit c79797b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Solution.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Preloaded tactic
2-
open classical
32

43
-- Task 1: Prove that n + m = n + m
54
theorem immediate : ∀ n m : ℕ, n + m = n + m :=
@@ -10,4 +9,4 @@ theorem plus_comm : ∀ n m : ℕ, n + m = m + n :=
109
by intros; apply add_comm
1110

1211
-- Task 3: Prove excluded middle
13-
theorem excluded_middle : ∀ p : Prop, p ∨ ¬p := em
12+
theorem excluded_middle : ∀ p : Prop, p ∨ ¬p := classical.em

0 commit comments

Comments
 (0)