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.AnalyticNext.CUBIC_MATCH.Region.TrialCost |
| 2 | import YM.AnalyticNext.CUBIC_MATCH.Region.WalkCost |
| 3 | import YM.AnalyticNext.CUBIC_MATCH.Trial |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! |
| 9 | # The S.patch reading |
| 10 | |
| 11 | Still arbitrary t. Footprint grows with J, estimates here explicitly scale |
| 12 | with J in the chosen constants; no commitment uniform over all shapes J. `Theta` |
| 13 | positive from a shape/algebra invoice. Integrations etc not purchased. These |
| 14 | costs will pay for two coefficients of the *prediction* (with noncentral |
| 15 | terms in both frame and compensation). |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.CubicMatch |
| 20 | open Function Filter Lattice Laurent RG Wilson Precision Exterior Tree Tensor Bid Push Branch |
| 21 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 22 | |
| 23 | variable {G : Gauge} {μ : Type*} {L : Side} {c f : μ → Side} |
| 24 | {θ C B : ℝ} {V : ∀ p, Dir G (c p) → Dir G (f p)} {P : Patch} {K : KernelChoices} |
| 25 | |
| 26 | /-- At fixed shape and all periods indexed. -/ |
| 27 | abbrev perform (P : Patch) (K : KernelChoices) (eqs : ∀ p, (f p).val=(c p).val * P.L.val) (p : μ) : StepData (c p) (f p) := ⟨P,K,eqs p⟩ |
| 28 | |
| 29 | lemma route_span (x y : Cover) (s : Lattice.Order) : (route x y s).length=size (y-x) := by |
| 30 | unfold route allAxes axisRoute size |
| 31 | rw [← Equiv.sum_comp s] |
| 32 | have he : List.finRange 4=[(0:Axis),1,2,3] := by decide |
| 33 | simp [he,straight,Axis,Fin.sum_univ_succ] |
| 34 | lemma box_size (x : P.Points) : size x.val ≤ 4*P.radius := by |
| 35 | have hh := box_test.mp x.property |
| 36 | unfold size; exact (Finset.sum_le_sum (g:=fun _ => P.radius) (fun i _ => by have hx := hh.1 i; have hv := hh.2 i; omega)).trans_eq (by simp [Axis]) |
| 37 | |
| 38 | def radar (J : ℕ) := 12*(J+3) |
| 39 | lemma radar_reach (x y : P.Points) (s : Lattice.Order) : size x.val+(route x.val y.val s).length ≤ radar P.J * P.L.val := by |
| 40 | rw [route_span]; have hh := size_add y.val (-x.val); rw [← sub_eq_add_neg,size_neg] at hh |
| 41 | rw [radar, Nat.mul_assoc,← show P.radius=(P.J+3)*P.L.val from rfl] |
| 42 | have he := box_size x; have ht := box_size y; omega |
| 43 | |
| 44 | |
| 45 | /-- Size allowance only J-shaped. -/ |
| 46 | def journey (G : Gauge) (J : ℕ) (C θ : ℝ) := (radar J : ℝ)*tileFee G C * Real.exp (θ*radar J) |
| 47 | |
| 48 | |
| 49 | section payable |
| 50 | variable (eqs : ∀ p, (f p).val=(c p).val * P.L.val) |
| 51 | variable (h : ScaleRead c f P.L (mainRoot eqs) V θ C) |
| 52 | |
| 53 | include h |
| 54 | |
| 55 | /-- Costs of all mat travels within the route. -/ |
| 56 | lemma ScaleRead.journeyMat {y : P.Points} (v : Walk) (hp : size y.val+v.length ≤ radar P.J*P.L.val) : RayReceipt c θ |
| 57 | (journey G P.J C θ) ((journey G P.J C θ)^2) (walkMat V (mainRoot eqs) y.val v) := by |
| 58 | have ht := h.along _ _ _ hp |
| 59 | let B := tileFee G C*tilt P.L*phaseCost P.L θ (radar P.J*P.L.val) |
| 60 | have hA : 0≤B := mul_nonneg (mul_nonneg (tileFee_nonneg h.fee) tilt_pos.le) (phase_pos ..).le |
| 61 | have he : ((v.length):ℝ) * B ≤ journey G P.J C θ := |
| 62 | (mul_le_mul_of_nonneg_right (show (v.length:ℝ) ≤ ((radar P.J*P.L.val:ℕ):ℝ) by exact_mod_cast (Nat.le_trans (Nat.le_add_left ..) hp)) hA).trans_eq (by unfold B journey tilt; rw [phase_length]; push_cast; field_simp) |
| 63 | exact ht.raisePrice he (pow_le_pow_left₀ ht.first.cash he 2) |
| 64 | |
| 65 | lemma ScaleRead.roadSum (K : KernelChoices) (u v : P.Points) (o : Lattice.Order) : LocalRep c 1 θ |
| 66 | (G.colorScale⁻¹ * journey G P.J C θ) (fun p x a => Push.fee (perform P K eqs p) x u v o (V p a)) := by |
| 67 | let w := route u.val v.val o |
| 68 | let T := walkMat V (mainRoot eqs) u.val w |
| 69 | have ht := (h.journeyMat eqs w (radar_reach ..)).first |
| 70 | refine ht.tint.fits fun p x a => ?_ |
| 71 | have hh : term 1 (T p x a)=G.colorMat (Push.fee (perform P K eqs p) x u v o (V p a)) := by |
| 72 | rw [term_one]; exact (Push.travell (G:=G) w (wrap (f p) u.val+mainRoot eqs p x) (V p a)).deriv |
| 73 | change G.projectColor (term 1 (T p x a))=_; rw [hh,G.project_colorMat] |
| 74 | lemma ScaleRead.fees (K : KernelChoices) (i : P.Points) : LocalRep c 1 θ |
| 75 | (G.colorScale⁻¹ * journey G P.J C θ) (fun p x a => Push.tap (perform P K eqs p) x i (V p a)) := |
| 76 | (LocalRep.equalWeights (fun z : P.Points => LocalRep.equalWeights fun o => h.roadSum eqs K i z o)).negative |
| 77 | lemma ScaleRead.rootMotion (K : KernelChoices) : LocalRep c 1 θ (2 * G.colorScale⁻¹*journey G P.J C θ) |
| 78 | (fun p x a => psi (perform P K eqs p) (V p a) (x,vac)) := by |
| 79 | have ht := h.fees eqs K |
| 80 | have he := LocalRep.weighed h.rate ht P.weight_nonneg P.weight_sum |
| 81 | have hr := (ht P.center).minus he |
| 82 | refine (hr.raisePrice ?_).fits (fun p x a => ?_) |
| 83 | · exact le_of_eq (by ring) |
| 84 | let M := perform P K eqs p; let v := V p a |
| 85 | ext i |
| 86 | let L := PiLp.proj (𝕜:=ℝ) 2 (fun _ : G.ColorIndex => ℝ) i |
| 87 | have hh (z : P.Points) : L (Push.tap M x z v)=_ := Push.tap_line M x v z i |
| 88 | change L (Push.tap M x P.center v - ∑ i,P.weight i • Push.tap M x i v)=(Matrix.mulVec (fixRoot M) (parts G 1 v i)) (x,vac) |
| 89 | rw [map_sub,map_sum,hh]; simp_rw [map_smul,hh]; simp only [fixRoot,LinearMap.toMatrix'_mulVec,LinearMap.pi_apply,adjusted,LinearMap.sub_apply, |
| 90 | LinearMap.sum_apply,LinearMap.smul_apply]; rfl |
| 91 | end payable |
| 92 | end YM.CubicMatch |