Skip to content

Commit 3dd57f1

Browse files
committed
typo
1 parent 72bc310 commit 3dd57f1

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

GoldbachTm/Tm31/Prime.lean

+3-8
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,13 @@ induction rb with intros i la lb ra l r g hm
9999
obtain ⟨j, la', lb', g, h₁, h₂⟩ := g
100100
apply induction_step at g
101101
rw [← h₂] at g
102-
have h : ra + 1 + 2 = ra + 3 := by omega
103-
rw [h] at g
102+
ring_nf at *
104103
specialize g h₁
105104
obtain ⟨k, la'', lb'', g, h₃, h₄⟩ := g
106105
use! (j+k), la'', lb''
106+
ring_nf at *
107107
repeat any_goals constructor
108-
any_goals tauto
109-
. rw [← Nat.add_assoc i, g]
110-
repeat any_goals first | omega | rfl | apply congr
111-
. have h : ra + (rb + 1) +2 = ra + 1 + rb + 2:= by omega
112-
rw [h]
113-
assumption
108+
all_goals tauto
114109

115110
-- l 0 1 0 [lb 11] 0 0 [(rb+1) 1] 0 r
116111
-- c1 ^ c2

0 commit comments

Comments
 (0)