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.Multi.Positions |
| 2 | import YM.MultipleContact.Bunch.Corridor |
| 3 | /-! Cost of the finite comparator as a bounded quotient field, separately from the joint signed template. -/ |
| 4 | set_option autoImplicit false |
| 5 | set_option maxHeartbeats 1600000 |
| 6 | set_option maxRecDepth 100000 |
| 7 | noncomputable section |
| 8 | namespace YM.MultipleContact.Joins |
| 9 | open Filter Set Function MeasureTheory Extraction Table Ward MergeProof Acme Ribbons Cells Next.UVStress Wilson Lattice Arbor |
| 10 | open Script Scene Bunching |
| 11 | open Accent Matching |
| 12 | open RG Bunching.Cord |
| 13 | open Drama ScheduleRow |
| 14 | open scoped Topology BigOperators Classical ContDiff |
| 15 | variable {G:Gauge}{C:Family G}{S:Table C.book}{F:Extraction.Order} |
| 16 | variable {b n m:ℕ}[Inhabited (Fin n)]{V:Fin n → S.Tag}{D:Detector S b} |
| 17 | variable {P:DiffPlan S}(hA:Acme.Aroma C)(hT:Treasury C)(hc:CellHyp C F)(hM:F.PointLimits C S)(H:S.Hierarchy)(hP:P.Derivatives S)(hC:C.Makes) |
| 18 | variable {X:S.Rotation}(hX:X.Oriented S)(hG:G.Simple) |
| 19 | variable {ε:ℝ}(hε:0< ε) (L:Lattice.Side) |
| 20 | def relative (e:Exterior C.book):Points (e.n):=points (fun i:Fin e.n=>e.point i.succ-e.point 0) |
| 21 | private lemma maps_lands (x:Points m)(e:Exterior C.book): Points.across (e.point 0) (Bunching.lands x.ofLp (relative e))=YM.MultipleContact.joint e x:=by |
| 22 | unfold YM.MultipleContact.joint relative Bunching.lands; ext1 i; refine Fin.addCases ?_ ?_ i |
| 23 | · intro s; simp |
| 24 | intro t; simp [Points.tail] |
| 25 | private lemma same_raw (hs : S.Homogeneous) {v:Fin n→ S.Tag} (y:Fin n→E4) (e:Exterior C.book){δ:ℝ}(hy:Injective y) (he': ∀i:Fin e.n,δ≤ ‖e.point i.succ - e.point 0‖)(hx:∀ i,‖y i‖<δ): raw S v (points y) e = many v e.letter y (relative e):=by |
| 26 | have hu:=joint_clear e he' (points y) hx hy |
| 27 | rw [← maps_lands] at hu |
| 28 | have hh:lands y (relative e)∈conf _:=fun i j he=>hu (congr_arg (· + e.point 0) he) |
| 29 | change S.useAt S _ _= S.useAt S _ _ |
| 30 | rw [← maps_lands]; exact (hs _ _ hh _ (fun i=>⟨(tagsPlaced v e i).1,S.representative _ (tagsPlaced v e i).2⟩)) -- _ hierarchy |
| 31 | def expand (L:Lattice.Side) (n:ℕ):Lattice.Side:=⟨L.val*(n+1),Nat.mul_pos L.pos n.succ_pos⟩ |
| 32 | lemma spread {V:Fin m→E4}[Inhabited (Fin m)] {r:ℝ}(h:Band m L r V)(hr:0< r):Near m (expand L 31) (r/8) V:= by |
| 33 | constructor |
| 34 | · exact h.1 |
| 35 | refine ⟨fun i j hij=> (by nlinarith only [h.2.1 i j hij,hr]),?_⟩ |
| 36 | intro s |
| 37 | change _ < 2 * ((L.val*32:ℕ):ℝ)*(r/8); push_cast; have hp:(0:ℝ)< (L.val:ℝ):=by exact_mod_cast L.pos |
| 38 | nlinarith only [hr,h.2.2 s, mul_pos hp hr] |
| 39 | lemma expand_peer [Inhabited (Fin m)] {v:Fin m → E4}{r:ℝ} (h:Near m L r v)(hr:0<r):Near m (expand L 31) (r/8) v:=spread L ⟨h.1,(by intro a b hh; linarith only [hr,h.2.1 a b hh]),(by |
| 40 | have hp:(1:ℝ) ≤ L.val:=by exact_mod_cast (Nat.succ_le_of_lt L.pos) |
| 41 | intro i; nlinarith only [hr,h.2.2 i, mul_le_mul_of_nonneg_right hp hr.le])⟩ hr |
| 42 | include hA hT hC hG hc hP H hX hM hε |
| 43 | lemma apply_cost: |
| 44 | let d':ℕ:= massOf V;∃ C' ρ₀:ℝ,0 < C' ∧ 0 < ρ₀ ∧ ∀ρ> (0:ℝ),ρ < ρ₀→ ∀y:Fin n→E4,Band n L ρ y → ‖D.apply V (points y)‖ ≤ C' * ρ^(-(d':ℝ)-ε):= by |
| 45 | intro d' |
| 46 | obtain ⟨δ,hδ,h⟩ := detector_clearance D |
| 47 | let ι:= D.probes; let q (e:D.probes):Fin (e.val.n) → C.book.Token:=e.val.letter; let z (e:D.probes):Points (e.val.n):=relative e.val |
| 48 | have hx (e:D.probes): Points.cons (0:E4) (z e)∈conf _:=by |
| 49 | suffices hE: (fun i:Fin (e.val.n+1)=>Points.cons (0:E4) (z e) i)=fun i=>e.val.point i-e.val.point 0 by |
| 50 | exact fun i j he=>e.val.clear (sub_left_injective (show (e.val.point i-e.val.point 0=e.val.point j-e.val.point 0) from (by rw [← congr_fun hE i,← congr_fun hE j];exact he))) |
| 51 | funext i; exact Fin.cases (sub_self _).symm (fun i=>rfl) i |
| 52 | let b:ℝ:= -(d':ℝ)-ε |
| 53 | obtain ⟨r,hr,hnear⟩:= manyOrdinary hX q V (expand L 31) {z} isCompact_singleton (fun k h i=> (Set.mem_singleton_iff.mp h) ▸ hx i) hP H hM hc hC hA hT hG ε hε |
| 54 | let l:= L.val; have hl:(0:ℝ)<(l:ℝ):=by exact_mod_cast L.pos |
| 55 | let A':= (LinearMap.toContinuousLinearMap D.decode) |
| 56 | let K:= (‖A'‖+1)*(1/8:ℝ)^b |
| 57 | refine ⟨K,min r (δ/(l*4)),by unfold K;exact mul_pos (by linarith only [norm_nonneg A']) (Real.rpow_pos_of_pos (by norm_num) _), lt_min hr (by exact div_pos hδ (mul_pos hl (by norm_num))),fun ρ hρ h' y hy=>?_⟩ |
| 58 | have h₁(e:D.probes): ‖raw S V (points y) e.val‖ ≤ (ρ/8)^b:=by |
| 59 | have he:= hnear z (mem_singleton _) (fun i:D.probes=>if i=e then (1:ℂ) else 0) (le_of_eq (by rw [Finset.sum_eq_single e]; all_goals first | (intro j _ hj'; simp [hj'])|simp)) (True.intro) (ρ/8) (by positivity) (by linarith only [(lt_min_iff.mp h').1,hρ]) y (spread L hy hρ) |
| 60 | change ‖Bunching.blend q V (fun i=> if i=e then _ else _) z y‖ ≤ (ρ/8)^(-(d':ℝ)-ε) at he |
| 61 | rw [same_raw H.translations y _ (fun i j he=>by by_contra hh; exact (hy.2.1 i j hh).not_ge (show ‖y i-y j‖≤ρ/16 from by rw [he,sub_self,norm_zero];exact div_nonneg hρ.le (by positivity))) (h e.val e.property)] -- replace |
| 62 | · simpa [Bunching.blend,z,q] using! he |
| 63 | intro i |
| 64 | nlinarith only [(hy.2.2 i),show ρ*(l*4)<δ from (lt_div_iff₀ (by positivity : 0<(l:ℝ)*4)).mp (by simpa [mul_assoc] using (lt_min_iff.mp h').2),hδ] |
| 65 | |
| 66 | have he:(‖D.apply V (points y)‖:ℝ)=‖A' (fun i=>raw S V (points y) i.val)‖:=rfl |
| 67 | apply he.trans_le ((A'.le_opNorm _).trans (mul_le_mul_of_nonneg_left ((pi_norm_le_iff_of_nonneg (by positivity)).mpr h₁) (norm_nonneg _)) |>.trans ?_) -- fix |
| 68 | calc ‖A'‖ * (ρ/8)^b ≤ (‖A'‖+1)*(ρ/8:ℝ)^b:=mul_le_mul_of_nonneg_right (by linarith) (Real.rpow_nonneg (by positivity) _) |
| 69 | _ = K*ρ^(-(d':ℝ)-ε):=by rw [show ρ/8=(1/8:ℝ)*ρ by ring, Real.mul_rpow (by norm_num) hρ.le];exact (mul_assoc ..).symm |
| 70 | end YM.MultipleContact.Joins |