Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.Corona.Spend |
| 2 | import YM.Next.EXTRACTION.Tails |
| 3 | |
| 4 | /-! |
| 5 | # Exact rebuilding of support-exponent room under projection and paths |
| 6 | |
| 7 | No new localization assumptions on the law. Transfer lemmas condition on all |
| 8 | sites being covered as indicated (not just a displayed tested-center set). |
| 9 | `inspected` puts back the one-time extra flag read. Arbitrary periodic sites. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Extra.Iteration.Shapes |
| 14 | open Function Lattice Lattice.Corona RG Wilson Relation Finset |
| 15 | open scoped Topology BigOperators |
| 16 | variable {n c f : Side} {G : Gauge} {k : ℕ} |
| 17 | |
| 18 | lemma pdist_vec (s : Step) : pdist (s.vec : Site n) ≤ 1 := by unfold Step.vec; split; rw [pdist_neg]; exact pdist_step _; exact pdist_step _ |
| 19 | lemma visits_dist (x y : Site n) (w : Walk) (he : y ∈ visits x w) : separation x y ≤ w.length := by |
| 20 | induction w generalizing x with |
| 21 | | nil => simp [show y=x by simpa [visits] using he] |
| 22 | | cons s w ih => |
| 23 | rcases List.mem_cons.mp he with rfl|he |
| 24 | · simp |
| 25 | have hx : separation x (x+s.vec) ≤ 1 := by rw [separation_comm,separation,add_sub_cancel_left]; exact pdist_vec _ |
| 26 | have hv := separation_triangle x (x+s.vec) y; have ht := ih _ he |
| 27 | rw [List.length_cons]; omega |
| 28 | lemma inspect_dist (X : Support n) {x : Site n} (h : x ∈ inspected X) : ∃ y∈X, separation x y ≤ 8 := by |
| 29 | rcases mem_union.mp h with h|h |
| 30 | · exact ⟨x,h,by simp⟩ |
| 31 | obtain ⟨p,_,ht⟩ := mem_biUnion.mp h |
| 32 | by_cases he : Disjoint X (touched p) |
| 33 | · simp [he] at ht |
| 34 | rw [if_neg he] at ht |
| 35 | obtain ⟨y,hy,hh⟩ := Finset.not_disjoint_iff.mp he |
| 36 | refine ⟨y,hy,?_⟩ |
| 37 | have hz z (h : z ∈ touched p) : separation p.1 z ≤ 4 := visits_dist _ _ _ (List.mem_toFinset.mp h) |
| 38 | have hx := separation_triangle x p.1 y; rw [separation_comm x p.1] at hx; exact hx.trans (Nat.add_le_add (hz _ ht) (hz _ hh)) |
| 39 | |
| 40 | |
| 41 | |
| 42 | private lemma visits_span (z : Cover) (w : Walk) : (visits z w).length = w.length+1 := by |
| 43 | induction w generalizing z with |
| 44 | | nil => rfl |
| 45 | | cons s w ih => rw [visits,List.length_cons,List.length_cons, ih] |
| 46 | |
| 47 | |
| 48 | |
| 49 | lemma steps (a : Atom G k) (x : Site n) : (a.footprint x).card ≤ 2*(a.length+1) := by |
| 50 | unfold Atom.footprint Atom.stencil |
| 51 | have he (s : Slot) : s.stencil.card ≤ 2*s.length := by |
| 52 | refine (card_union_le ..).trans ((Nat.add_le_add (List.toFinset_card_le _) (List.toFinset_card_le _)).trans ?_) |
| 53 | simp only [visits_span,Slot.length]; change s.walk.length+1+(4+1) ≤ _; omega |
| 54 | apply card_image_le.trans ((card_insert_le ..).trans ?_) |
| 55 | have hx := card_biUnion_le.trans (Finset.sum_le_sum fun i (_:i∈univ) => he (a.leg i)) |
| 56 | rw [← Finset.mul_sum] at hx; unfold Atom.length; omega |
| 57 | |
| 58 | def pad (s : ℕ) : ℕ := ((s+6)+(s+6)+1)^4 |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | lemma enlarge_reads (q : Ratio c f) (X : Support f) (s B : ℕ) (hB : 0 < B) : |
| 65 | halo (s*B) ((inspected X).image q.parent) ⊆ halo ((s+9)*B) (X.image q.parent) := by |
| 66 | intro v hv; obtain ⟨y,hy,hV⟩ := halo_spec.mp hv; obtain ⟨y,hy0,rfl⟩ := mem_image.mp hy |
| 67 | obtain ⟨x,hx,hxy⟩ := inspect_dist X hy0 |
| 68 | have h := q.count.pos |
| 69 | have he : separation (q.parent y) (q.parent x) ≤ 9 := Nat.le_of_mul_le_mul_left ((foreshorten q ..).trans |
| 70 | (by nlinarith only [h,hxy] : _ ≤ q.count.val*9)) h |
| 71 | rw [separation_comm] at he |
| 72 | exact halo_spec.mpr ⟨_,mem_image_of_mem _ hx,(separation_triangle _ (q.parent y) _).trans (by |
| 73 | simp only [Nat.add_mul]; omega)⟩ |
| 74 | |
| 75 | def raw (q : Ratio c f) (s : ℕ) (input output : BudgetPoint) (extra : ℝ) := |
| 76 | input.B ≤ 2*output.B ∧ 0 ≤ extra ∧ 20*pad (s+9)*(output.supportExponent+extra) ≤ input.supportExponent*q.count.val |
| 77 | |
| 78 | lemma reset {q : Ratio c f} {s : ℕ} {input output : BudgetPoint} {extra : ℝ} (h : raw q s input output extra) |
| 79 | {X : Support f} {Y : Support c} (he : Y ⊆ halo (s*output.B) ((inspected X).image q.parent)) : |
| 80 | (output.supportExponent+extra)*coverNumber output.B Y ≤ (pad (s+9):ℝ)*(output.supportExponent+extra) + |
| 81 | (input.supportExponent/2)*coverNumber input.B X := by |
| 82 | obtain ⟨h1,h2,h3⟩ := h |
| 83 | have hv := cover_mono (he.trans (enlarge_reads q X s output.B output.B_pos)) output.B |
| 84 | have hw := (Nat.mul_le_mul_left q.count.val hv).trans (collapse q X input.B output.B output.B_pos h1 _) |
| 85 | change q.count.val*coverNumber output.B Y ≤ (q.count.val+10*coverNumber input.B X)*pad (s+9) at hw |
| 86 | have hO := output.exponent_pos |
| 87 | have hx : 0 < (q.count.val:ℝ) := by exact_mod_cast q.count.pos |
| 88 | have ht : (q.count.val:ℝ)*coverNumber output.B Y ≤ ((q.count.val:ℝ)+10*coverNumber input.B X)*pad (s+9) := by exact_mod_cast hw |
| 89 | apply le_of_mul_le_mul_left (a:=(q.count.val:ℝ)) ?_ hx |
| 90 | linarith only [mul_le_mul_of_nonneg_left ht (show 0 ≤ output.supportExponent+extra by linarith), |
| 91 | mul_le_mul_of_nonneg_right h3 (by positivity : (0:ℝ) ≤ coverNumber input.B X)] |
| 92 | |
| 93 | lemma reserve {q : Ratio c f} {s : ℕ} {input output : BudgetPoint} {extra : ℝ} (h : raw q s input output extra) |
| 94 | {X : Support f} {Y : Support c} (he : Y ⊆ halo (s*output.B) ((inspected X).image q.parent)) {t : ℝ} (ht : 0 ≤ t) : |
| 95 | Mix.loaf output Y extra t ≤ Real.exp (pad (s+9)*(output.supportExponent+extra)) * Real.exp (-(input.supportExponent/2)*coverNumber input.B X) * input.mass X t := by |
| 96 | unfold Mix.loaf BudgetPoint.mass; rw [← mul_assoc _ _ t, ← Real.exp_add, ← Real.exp_add]; gcongr |
| 97 | linarith only [reset h he] |
| 98 | end YM.Extra.Iteration.Shapes |