Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lengyijun committed Oct 13, 2024
1 parent 72bc310 commit 3dd57f1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions GoldbachTm/Tm31/Prime.lean
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,13 @@ induction rb with intros i la lb ra l r g hm
obtain ⟨j, la', lb', g, h₁, h₂⟩ := g
apply induction_step at g
rw [← h₂] at g
have h : ra + 1 + 2 = ra + 3 := by omega
rw [h] at g
ring_nf at *
specialize g h₁
obtain ⟨k, la'', lb'', g, h₃, h₄⟩ := g
use! (j+k), la'', lb''
ring_nf at *
repeat any_goals constructor
any_goals tauto
. rw [← Nat.add_assoc i, g]
repeat any_goals first | omega | rfl | apply congr
. have h : ra + (rb + 1) +2 = ra + 1 + rb + 2:= by omega
rw [h]
assumption
all_goals tauto

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

0 comments on commit 3dd57f1

Please sign in to comment.