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.MultipleContact.Bunch.Guard |
| 2 | |
| 3 | /-! Finite-dimensional interpolation across joint clusters not tensor tests. Charges only comparable separated configurations here. -/ |
| 4 | set_option autoImplicit false |
| 5 | set_option maxHeartbeats 1200000 |
| 6 | noncomputable section |
| 7 | namespace YM.MultipleContact.Bunching |
| 8 | open Filter Function MeasureTheory Analysis Extraction Table Ward MergeProof Acme Ribbons Around Cells Wilson Lattice Climb Set |
| 9 | open Matching |
| 10 | open scoped Topology BigOperators Classical ContDiff |
| 11 | open YM.Next.UVStress Local |
| 12 | variable {G:Gauge}{C:Family G}{S:Table C.book}{F:Extraction.Order}{W:DiffPlan S} {n':ℕ}[Inhabited (Fin n')] |
| 13 | variable {ι:Type*}[Fintype ι]{n:ι→ℕ} |
| 14 | variable (K:Set ((i:ι)→Points (n i)))(hK:IsCompact K)(hsafe:∀x∈K,∀i, Points.cons 0 (x i) ∈ conf (n i+1)) |
| 15 | variable (hw:Note C.S (fun i=>fuga C.path.levels (i+1)) (-1)) |
| 16 | local notation "R'"=>fun (m:ℕ)=> fuga C.path.levels (m+1) |
| 17 | local notation "Yb"=>fun (m:ℕ)=> topZone C.path.levels (C.S.block m) (m+1) |
| 18 | variable (q:∀i:ι,Fin (n i)→ C.book.Token)(lamp:Lattice.Side) |
| 19 | |
| 20 | def blend {L:Register G}{n:ι→ℕ}{S:Table L}(q:∀i:ι,Fin (n i)→ L.Token)(V:Fin n'→S.Tag) (c:ι→ℂ)(z:∀i,Points (n i))(y:Fin n'→E4) := ∑ i:ι,c i * many V (q i) y (z i) |
| 21 | |
| 22 | def lumps {m:ℕ} (V:Fin n'→S.Tag)(p:Fin m→S.Tag)(m_unused:ℕ:=0) :ℕ:= Clouds (C:=C) (expose ∘ Fin.append V p) |
| 23 | -- ambient differential estimates from Sally.maine |
| 24 | open Line |
| 25 | set_option quotPrecheck false |
| 26 | private lemma birth_step {m:ℕ}(W:DiffPlan S)(V:Fin n'→S.Tag)(p:Fin m→S.Tag)(k:Fin n')(a:Axis)(D:ℕ): |
| 27 | Clouds (C:=C) (expose ∘ Fin.append (Line.tags V W k a D) p) = Clouds (C:=C) (expose ∘ Fin.append V p)+D:=by |
| 28 | have hy(i):((expose∘ Line.tags V W k a D) i).fst+2 = ((expose∘ V) i).fst+2 + (if i=k then D else (0:ℕ)):=by |
| 29 | dsimp only [Function.comp_apply, Line.tags]; by_cases h:i=k |
| 30 | · simp [h,expose,trek_h,Nat.add_comm,Nat.add_left_comm,Nat.add_assoc] |
| 31 | simp [h] |
| 32 | unfold Clouds; simp only [Fin.sum_univ_add, Function.comp_apply,Fin.append_left,Fin.append_right] |
| 33 | change (∑ x:Fin n', (((expose ∘ Line.tags V W k a D) x).fst+2)) + _ = _ |
| 34 | simp_rw [hy,Finset.sum_add_distrib]; simp; omega |
| 35 | |
| 36 | variable (V:Fin n'→S.Tag) |
| 37 | variable (hc:S.Hierarchy)(hp:F.PointLimits C S) |
| 38 | variable (hq:Cells.CellHyp C F)(hC:C.Makes) |
| 39 | variable {β h τ:ℝ} {cost:ℕ→ℝ} {j:ℕ→ℕ} |
| 40 | variable (hc':Note C.S cost β)(ht:1<τ)(hj:Tendsto j atTop atTop)(hJ:Tendsto (fun m:ℕ=> C.S.scale (j m)/C.S.scale m) atTop (𝓝 τ)) (sign:((i:ι)→Points (n i))→(ι→ℂ)→Prop) |
| 41 | include hK hsafe hw hc hp hq hC hc' ht hj hJ |
| 42 | lemma step_cost (W:DiffPlan S) {u:ι}(k:Fin n')(b:Axis)(D:ℕ) |
| 43 | (hx:(lumps V (S.classTokens∘q u) 0:ℝ) -h - β < D*(τ-1)): |
| 44 | ∀ᶠ m in atTop,∀ r> (0:ℝ), r≤ (Yb) m → (R') m ≤r → ∀z∈K,∀y,Cord.Band n' lamp r y → |
| 45 | ((R') m)^h * ((C.S.a (j m))^D * ‖many (Line.tags V W k b D) (q u) y (z u)‖) ≤ cost m:=by |
| 46 | let v:=Fin.append (Line.tags V W k b D) (S.classTokens∘q u) |
| 47 | have hpD:Note C.S (C.S.a∘ j) (-τ):=((Note.note_a C.S).relay j hj hJ).swapP (by ring) |
| 48 | obtain ⟨l,hl⟩:= exists_nat_gt ((((↑(n u):ℝ)+n')*6)) |
| 49 | have hv': (((Clouds (C:=C) (expose ∘ v):ℕ):ℝ))+D*(-τ)+h*(-1)<β:=by |
| 50 | rw [show Clouds (expose∘v) (C:=C)=lumps V (S.classTokens∘q u) 0 + D from birth_step W V _ k b D] |
| 51 | push_cast; linarith only [hx] |
| 52 | have he:= ((Note.longer (C:=C) (Note.glory (C:=C) v) (1+l)).mills (hpD.powerN D) |>.mills (hw.powr h)).outweigh hc' hv' |
| 53 | have hm': (n'+n u:ℝ)*6 < l:= by linarith only [hl] |
| 54 | filter_upwards [(tendsto_add_atTop_nat 1).eventually (Ribbons.maine hC hq hp hc (q:=v) l (by exact_mod_cast hm')),he,Guard.fits (n':=n') K hK hsafe hw lamp] with m hm he hf r hr hy hr' z hZ y hy' |
| 55 | exact (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (hm _ (hf r hr' hy z hZ y hy' u)) (pow_pos (C.S.a_pos (j m)) D).le) (Real.rpow_nonneg ((hw.pos _).le) h)).trans (he.trans' (by |
| 56 | change ((R') m)^h * (C.S.a (j m)^D * honor C.S (expose∘v) (m+1+l)) ≤ (honor C.S (expose∘v) (m+(1+l)) * (C.S.a (j m)^D))*((R') m)^h |
| 57 | rw [show m+1+l=m+(1+l) by omega]; nlinarith |
| 58 | )) |
| 59 | |
| 60 | variable (hm:W.Derivatives S) |
| 61 | include hm |
| 62 | lemma spread_patch |
| 63 | (HE:∀ᶠ m in atTop,∀r, (R') m ≤ r → r≤ (Yb) m → ∀ z∈K,∀c:ι→ℂ,(∑ i:ι,‖c i‖)≤1 → sign z c → ∀ y:Fin n'→E4,Cord.Band n' lamp r y → (∀i,Cord.Placed _ (C.S.a (j m)) y i) → ‖((R') m)^h • blend q V c z y‖≤cost m): |
| 64 | ∃A> (0:ℝ),∀ᶠ m in atTop,∀r:ℝ,(R') m ≤ r → r≤ (Yb) m →∀ z∈K,∀c:ι→ℂ,(∑ i:ι,‖c i‖)≤1→ sign z c→ ∀ y:Fin n'→E4,Cord.Near n' lamp r y → ‖((R') m)^h • blend q V c z y‖≤cost m*A:=by |
| 65 | let L(i:ι):ℝ:= (lumps V (S.classTokens∘q i) 0:ℝ) -h - β |
| 66 | have hw':Tendsto (fun k:ℕ=>(k:ℝ)*(τ-1)) atTop atTop:= Tendsto.atTop_mul_const (sub_pos.mpr ht) tendsto_natCast_atTop_atTop |
| 67 | obtain ⟨D,hD⟩:= (eventually_all.mpr fun i=> hw'.eventually_gt_atTop (L i)).exists |
| 68 | obtain ⟨A,hA,HH⟩:= Cord.sample lamp D n' |
| 69 | refine ⟨A,hA,?_⟩ |
| 70 | have hpiece := fun (i:ι)(k:Fin n') b=> step_cost K hK hsafe hw q lamp V hc hp hq hC hc' ht hj hJ W k b D (hD i) |
| 71 | have hpPos := Cord.radius_pos n' D |
| 72 | have hx: Note C.S (fun i:ℕ=>Cord.radius n' D*C.S.a (j i)) (-τ):= ((Note.notes C.S _ hpPos).mills ((Note.note_a C.S).relay j hj hJ)).swapP (by ring) |
| 73 | have hy: Note C.S (fun i:ℕ=> Cord.tolerates n' ((R') i)) (-1):= (hw.splits (Note.notes C.S _ (by positivity))).swapP (sub_zero _) |
| 74 | have hK':= hx.outweigh hy ?_; swap; · linarith only [ht] |
| 75 | filter_upwards [HE,eventually_all.mpr fun i=>eventually_all.mpr fun k=>eventually_all.mpr fun b=>hpiece i k b,hK',Guard.fits (n':=n') K hK hsafe hw lamp] with m he hp' hs' hcG r hr hr' z hz c hm' hsign y hY |
| 76 | apply HH r (C.S.a (j m)) (cost m) (C.S.a_pos _) (hc'.pos _) ((hw.pos m).trans_le hr) (hs'.trans (by apply div_le_div_of_nonneg_right hr; positivity)) _ (he r hr hr' z hz c hm' hsign) ?_ y hY |
| 77 | intro ⟨k,b⟩ hk x hband |
| 78 | let a':= C.S.a (j m); let r0:= ((R') m)^h |
| 79 | let f(i:ι) (p:ℕ)(t:ℝ):= (a'^p:ℝ) • many (Line.tags V W k b p) (q i) (Cord.polar (k,b) x a' t) (z i) |
| 80 | refine ⟨fun p t=>∑ i,r0 • (c i * f i p t),?_,?_,fun t ht=>?_⟩ |
| 81 | · funext t; unfold f blend; simp only [Function.comp_apply, Finset.smul_sum] |
| 82 | simp only [a',r0,pow_zero,one_smul, Line.tags,trek,update_eq_self] |
| 83 | · intro j hj' t ht'; exact HasDerivAt.fun_sum (fun i _=> ((Line.deriv V q W hc hm x a' k b z i t (slide_conf C.S _ (hcG r hr hr' z hz _ (hband _ ht') i)) j).const_mul (c i)).const_smul r0) |
| 84 | calc _ ≤ ∑ i:ι, (‖c i‖*cost m) := (norm_sum_le ..).trans <| Finset.sum_le_sum fun i _=> by |
| 85 | change ‖r0 • (c i*f i D t)‖≤ _ |
| 86 | unfold f; rw [norm_smul,norm_mul,norm_smul,Real.norm_of_nonneg (Real.rpow_nonneg ((hw.pos m).le) h), Real.norm_of_nonneg (pow_nonneg (C.S.a_pos (j m)).le D),mul_left_comm] |
| 87 | exact mul_le_mul_of_nonneg_left (hp' i k b r ((hw.pos m).trans_le hr) hr' hr z hz _ (hband _ ht)) (norm_nonneg (c i)) |
| 88 | _ ≤ cost m:=by rw [← Finset.sum_mul]; exact mul_le_of_le_one_left (hc'.pos m).le hm' |
| 89 | end YM.MultipleContact.Bunching |