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.Next.FREE_KERNELS.Lifts |
| 2 | import YM.Next.UV_STRESS.Foundation |
| 3 | import YM.Next.UV_STRESS.Union |
| 4 | import YM.Push.COMMON_WITNESSES.Fields |
| 5 | import YM.Push.CUTOFF_PROJECTORS.Bank |
| 6 | import YM.UVNext.FREE_STRESS_CERTIFICATE.Consumer |
| 7 | import YM.UVNext.FREE_STRESS_CERTIFICATE.ShellChange |
| 8 | import YM.UVNext.FREE_STRESS_CERTIFICATE.ShellForce |
| 9 | import YM.Work.A10 |
| 10 | |
| 11 | |
| 12 | set_option linter.unusedSectionVars false |
| 13 | set_option linter.unnecessarySeqFocus false |
| 14 | |
| 15 | /-! |
| 16 | # Choosing a MaxwellData built with the canonical stress |
| 17 | |
| 18 | Relax the stress ante if Maxwell builder can prove only the literal current |
| 19 | `Org.MaxwellData` at first. Arbitrary nonempty MaxwellData -> MaxwellData with |
| 20 | the stress of our certificate, retaining H,W,K,omega etc. At this cut don't |
| 21 | ask for the *numerical* value of the rescaled κ – like in Lighthouse.Goes we |
| 22 | record and keep the same exact fluxes with a common nonzero factor (normalization |
| 23 | compiler). This does not give a proof of `lit.delta` from just Wick/hierarchy, |
| 24 | or of computing the candidate κ=-τ, and is not a license to change T |
| 25 | in any already-started ActLaw or producer chain. We can't necessarily infer |
| 26 | FreeDiv itself at the *input* T with no ante (in fact if there is any T at all, |
| 27 | there are ones for which this implication fails). Use at YU architecture |
| 28 | **before** weak comparison & κ-dependent requests, or use `from_data` for the |
| 29 | fixed canonical T. |
| 30 | -/ |
| 31 | set_option autoImplicit false |
| 32 | noncomputable section |
| 33 | namespace YM.UVNext.FreeStress |
| 34 | open Maxwell Labels Table Climb Work.A01 Work.A15 Next.UVStress Function Set MeasureTheory Filter Analysis Org |
| 35 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 36 | variable {G : Gauge} (hG : G.Simple) {C : Family G} (T : MaxwellData C) |
| 37 | |
| 38 | local notation "F" => C.book.grid |
| 39 | local notation "S" => Bel C.book |
| 40 | |
| 41 | include hG in |
| 42 | lemma every_light (J : KernelSpace T.hT.spin) (h : currentDiv T.T.W T.hT.spin T.lit.hers J=0) : |
| 43 | ∃ c : ℝ, J.val = torch F c := by |
| 44 | have hh := line_dim F T.hT.spin hG T.T.W T.lit.pales T.lit.hers |
| 45 | let j : LinearMap.ker (currentDiv T.T.W T.hT.spin T.lit.hers) := |
| 46 | ⟨generator _ _, radiating F T.hT.spin hG T.T.W T.lit.pales T.lit.hers⟩ |
| 47 | have he : j≠0 := fun h => generator_nonzero F T.hT.spin hG (congr_arg Subtype.val h) |
| 48 | obtain ⟨c,hc⟩ := (finrank_eq_one_iff_of_nonzero' j he).1 hh ⟨J,h⟩ |
| 49 | have he : c • (generator F T.hT.spin).val=J.val := congr_arg |
| 50 | (fun x : LinearMap.ker (currentDiv T.T.W T.hT.spin T.lit.hers) => x.val.val) hc |
| 51 | exact ⟨c,(lighting F T.hT.spin ▸ he).symm⟩ |
| 52 | |
| 53 | section auxiliary |
| 54 | variable {L : Register G} {X : Table L} (H : X.Hierarchy) |
| 55 | variable {R : X.Rotation} {W : DiffPlan X} (h : R.Laws W H.spin) (hv : R.Oriented X) |
| 56 | |
| 57 | include H hv in |
| 58 | private lemma rotate_center (K : Ortho) (x : X.Field 4) : |
| 59 | expectation X 4 (R.act 4 K x) = expectation X 4 x := by |
| 60 | simp_rw [expectation,front_eval] |
| 61 | let v := Fin.cons (α:=fun _ : Fin 1 => X.Tag) ⟨4,x⟩ (blank X) |
| 62 | have he := hv 1 v (0:Points 1) conf1 K |
| 63 | rw [show Points.move K (0:Points 1) = 0 from PiLp.ext fun i => map_zero (Ortho.motion K), |
| 64 | show R.label K ∘ v = Fin.cons (α:=fun _ : Fin 1 => X.Tag) ⟨4,R.act 4 K x⟩ (blank X) from |
| 65 | funext fun i => by rw [@Subsingleton.elim (Fin 1) _ i 0]; rfl] at he |
| 66 | exact he |
| 67 | |
| 68 | include h hv in |
| 69 | lemma stays_tensor {U : X.Stress} (he : Tensorial R U) : Tensorial R (reCenter X U) := by |
| 70 | intro K a b |
| 71 | change R.act _ K (centering X 4 _) = ∑ i : Axis, ∑ j : Axis, _ • centering X 4 _ |
| 72 | rw [show R.act _ K (centering X 4 (U a b)) = centering X 4 (R.act _ K (U a b)) from ?_, he] |
| 73 | · simp only [map_sum,map_smul] |
| 74 | rw [value_center,value_center,map_sub,map_smul,h.identity,rotate_center H hv] |
| 75 | end auxiliary |
| 76 | |
| 77 | include hG in |
| 78 | /-- Compiler output. κ not retuned afterwards. K and W, erases etc need |
| 79 | not be rebuilt for a special stress. -/ |
| 80 | theorem ignite (t : ℝ) (ht : t≠0) : ∃ V : Lighthouse C.book, |
| 81 | V.W=T.T.W ∧ V.K=T.T.K ∧ V.J=torch F t ∧ V.Goes C.book T.hT.spin ∧ Tensorial V.K V.J := by |
| 82 | let X : (Bel C.book).Stress := (((T.T.κ⁻¹ : ℝ):ℂ)) • T.T.J |
| 83 | have hx : StressLaws S X T.T.W.deriv T.T.K.lie := by |
| 84 | have hh := scale_stress T.hT T.lit.delta T.T.κ⁻¹ |
| 85 | simpa only [inv_smul_smul₀ T.T.hκ] using hh |
| 86 | let U := averageStress T.T.K X |
| 87 | have hU : StressLaws S U T.T.W.deriv T.T.K.lie := stressLaws_average X Work.A10.answer T.hT T.lit.turns T.lit.preserves hx |
| 88 | have htU : Tensorial T.T.K U := tensorial_average T.lit.turns X |
| 89 | let A := white T.hT U |
| 90 | have haT : Tensorial T.T.K A := plainTensor T.hT _ _ T.lit.turns _ htU |
| 91 | have haH : RawTensor T.hT.spin A := by |
| 92 | intro k a b |
| 93 | rw [← T.lit.turns.signed] |
| 94 | exact haT k.ortho a b |
| 95 | have ha : StressLaws S A T.T.W.deriv T.T.K.lie := averaged_white T.hT hU _ _ T.lit.turns T.lit.hers ⟨rfl,rfl⟩ |
| 96 | have hA : Conserved T.T.W T.hT.spin A := |
| 97 | ⟨symmetry T.hT T.T.W T.lit.pales A ha, white_real T.hT U, drain_div T.hT T.T.W T.lit.pales A ha⟩ |
| 98 | let j₀ : KernelSpace T.hT.spin := ⟨reCenter S A, enters T.hT _ (sym_mem.mpr ⟨hA.symmetric,hA.real,haH⟩)⟩ |
| 99 | have hJ : currentDiv T.T.W T.hT.spin T.lit.hers j₀=0 := by |
| 100 | apply (linear_cons ..).mpr |
| 101 | refine ⟨(sym_mem.mp (kernel_mem.mp j₀.property).1).1,(sym_mem.mp (kernel_mem.mp j₀.property).1).2.1,?_⟩ |
| 102 | intro b |
| 103 | change ∑ a, T.T.W.deriv 4 a (centering S 4 _)=0 |
| 104 | have hd := T.T.W.unit_drop T.hT.laws T.lit.pales T.hT.smooth 4 |
| 105 | simp only [value_center, map_sub,map_smul,hd,smul_zero,sub_zero,hA.divergence] |
| 106 | let down (i j) := -expectation S 4 (A i j) |
| 107 | have he : j₀.val = A+fossil down := by |
| 108 | funext i j |
| 109 | change centering S 4 (A i j) = A i j + down i j • (Bel C.book).unit 4 |
| 110 | rw [value_center]; simp [down,sub_eq_add_neg] |
| 111 | have hm : StressLaws S j₀.val T.T.W.deriv T.T.K.lie := he.symm ▸ add_unit T.hT ha down (fun i j => by dsimp [down]; rw [hA.symmetric i j]) |
| 112 | have hn : j₀.val ≠ 0 := by |
| 113 | intro ht; apply T.lit.born |
| 114 | funext b |
| 115 | apply ContinuousLinearMap.ext; intro i |
| 116 | apply Table.field_ext S T.hT.laws.toSymmetric; intro n q x hx |
| 117 | obtain ⟨χ,hχ⟩ := exists_window x hx |
| 118 | change (Bel C.book).useAt S x (Fin.cons ⟨5,T.T.W.deriv 4 b i⟩ q) = |
| 119 | (Bel C.book).useAt S x (Fin.cons ⟨5,0⟩ q) |
| 120 | rw [← hm.translation hx q hχ, ← translationFlux_apply hx hχ T.hT.smooth q,ht,map_zero, ← front_eval q x _ 0,map_zero] |
| 121 | obtain ⟨c,hc⟩ := every_light hG T j₀ hJ |
| 122 | have hxC : c ≠ 0 := by rintro rfl; exact hn (hc.trans (zero_smul _ _)) |
| 123 | let V : Lighthouse C.book := { T.T with |
| 124 | J := torch F t |
| 125 | κ := t * c⁻¹ |
| 126 | hκ := mul_ne_zero ht (inv_ne_zero hxC) } |
| 127 | have ht' : V.J = (((t*c⁻¹:ℝ):ℂ)) • j₀.val := by |
| 128 | rw [hc,torch, Complex.coe_smul, smul_smul, mul_assoc,inv_mul_cancel₀ hxC,mul_one]; rfl |
| 129 | have hV : StressLaws S V.J (V.κ • V.W.deriv) (V.κ • V.K.lie) := by rw [ht']; exact scale_stress T.hT hm _ |
| 130 | refine ⟨V,rfl,rfl,rfl, |
| 131 | ⟨T.lit.edges,T.lit.pales,T.lit.hers,T.lit.turns,T.lit.preserves,hV,T.lit.born,T.lit.cuts⟩,?_⟩ |
| 132 | have he : Tensorial V.K j₀.val := stays_tensor T.hT T.lit.turns T.lit.preserves haT |
| 133 | intro K a b |
| 134 | rw [ht']; simp only [Pi.smul_apply,map_smul,he K a b, Finset.smul_sum]; exact Finset.sum_congr rfl fun _ _ => Finset.sum_congr rfl fun _ _ => smul_comm .. |
| 135 | |
| 136 | |
| 137 | include T hG in |
| 138 | /-- Keep exactly the incoming hierarchy, spin, rotation, diffusion, rolls, |
| 139 | frames; same book. The stress and common *proved* nonzero flux factor |
| 140 | are chosen by this cut (κ now for t times the displayed polynomial, known |
| 141 | through common window identities on this K); use only when allowed to choose |
| 142 | these *now* (never to switch already chosen costs/incoming p/Y/rank |
| 143 | estimates). If builder hasn't supplied actual Wick flux identities at all |
| 144 | this is not callable. -/ |
| 145 | theorem fire (t : ℝ) (ht : t≠0) : ∃ Q : MaxwellData C, |
| 146 | Q.T.J = torch F t ∧ Q.T.W = T.T.W ∧ Q.T.K = T.T.K ∧ Q.vacuum = T.vacuum ∧ |
| 147 | Q.hT = T.hT ∧ Tensorial T.T.K Q.T.J ∧ FreeDiv Q.T Q.hT Q.lit.hers := by |
| 148 | obtain ⟨V,hV,hv,hD,hQ,hr⟩ := ignite hG T t ht |
| 149 | let Q : MaxwellData C := ⟨V,T.hT,hQ,T.vacuum,hv ▸ T.rolls,hv ▸ T.optic,hv ▸ T.marks,hV ▸ T.frames⟩ |
| 150 | exact ⟨Q,hD,hV,hv,rfl,rfl,hv ▸ hr,from_data hG Q _ ht hD⟩ |
| 151 | |
| 152 | open Spec Extraction Cells |
| 153 | open scoped Topology |
| 154 | |
| 155 | -- Unprepared in J, does not require that the builder succeed with a chosen |
| 156 | -- J before using χ comparison. Stations use only the original H regardless. |
| 157 | include hG in |
| 158 | theorem anew (t : ℝ) (ht : t≠0) {N : Extraction.Order} {Y : Table C.book} {W : DiffPlan Y} |
| 159 | (h : Seed C N Y) (hw : W.Inclusions Y) (hv : W.Derivatives Y) |
| 160 | (hu : Stations C N T.hT.spin) |
| 161 | (budget : ∀ J : KernelSpace h.kernel.spin,J.val ≠ 0 → Conserved W h.kernel.spin J.val → Probed N J.val) |
| 162 | (grill : Furnace C N) : |
| 163 | ∃ (Q : MaxwellData C) (I : IR (C:=C) Y) (X : Scaling Y), |
| 164 | Q.T.K=T.T.K ∧ Q.T.W=T.T.W ∧ Q.vacuum=T.vacuum ∧ Q.T.J=torch F t ∧ |
| 165 | I.J≠0 ∧ I.J∈KernelSpace h.kernel.spin ∧ Probed N I.J ∧ |
| 166 | Approaches (path X) (isoPanel X) ∧ Stable h.kernel.spin Q.hT.spin W T.T.W X ∧ |
| 167 | X.meter I.J Q.T.J ∧ UV C N Y W Q I := by |
| 168 | obtain ⟨Q,hvQ,hD,hK,hb,-,-,hr⟩ := fire hG T t ht |
| 169 | obtain ⟨I,X,hI,hX,hx,hA,hj⟩ := foundation Q h hw hv hr hu budget grill |
| 170 | exact ⟨Q,I,X,hK,hD,hb,hvQ,hI,hX,hx,hA,hD ▸ hj.1,hj.2⟩ |
| 171 | |
| 172 | -- Important obstruction to trying to squeeze `FreeDiv` directly out of arbitrary |
| 173 | |
| 174 | include T in |
| 175 | theorem not_every_builder : ∃ Q : MaxwellData C,Q.T.W=T.T.W ∧ Q.T.K=T.T.K ∧ Q.vacuum=T.vacuum ∧ |
| 176 | Q.T.κ=T.T.κ ∧ ¬ FreeDiv Q.T Q.hT Q.lit.hers := by |
| 177 | by_cases he : FreeDiv T.T T.hT T.lit.hers |
| 178 | · let V : Lighthouse C.book := { T.T with J := T.T.J + fossil (fun _ _ => 1) } |
| 179 | let Q : MaxwellData C := { T with T := V, lit := { T.lit with delta := add_unit T.hT T.lit.delta _ fun _ _ => rfl } } |
| 180 | refine ⟨Q,rfl,rfl,rfl,rfl,fun hi => ?_⟩ |
| 181 | have hh := (kernel_mem.mp hi.enters).2 0 0 |
| 182 | change expectation S 4 (T.T.J 0 0+(1:ℂ) • (Bel C.book).unit 4)=0 at hh |
| 183 | rw [one_smul,map_add, mean_unit T.hT.laws,(kernel_mem.mp he.enters).2,zero_add] at hh |
| 184 | exact one_ne_zero hh |
| 185 | exact ⟨T,rfl,rfl,rfl,rfl,he⟩ |
| 186 | |
| 187 | end YM.UVNext.FreeStress |