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.UVNext.FREE_STRESS_CERTIFICATE.Choose |
| 2 | import YM.UVNext.FREE_STRESS_CERTIFICATE.Contact |
| 3 | import YM.UVNext.FREE_STRESS_CERTIFICATE.TripleMeter |
| 4 | |
| 5 | |
| 6 | |
| 7 | set_option linter.unusedSectionVars false |
| 8 | set_option linter.unnecessarySeqFocus false |
| 9 | |
| 10 | /-! |
| 11 | # Fix the numerical κ on canonical MaxwellData |
| 12 | |
| 13 | Test `lit.delta` on only the degree-four square pair. Don't need any |
| 14 | general determinant or Ward validity ante beyond success of delta on this |
| 15 | sample (and W reading d4 derivatives). Does not establish delta on every |
| 16 | B,q from W/K/κ, as would be needed to fill MaxwellData, but a necessity |
| 17 | result for those assemblers and for `ignite`. |
| 18 | -/ |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.UVNext.FreeStress |
| 22 | open Maxwell Set MeasureTheory Filter Analysis Function Table Work.A01 Climb Labels Next.UVStress |
| 23 | open scoped Topology ContDiff RealInnerProductSpace |
| 24 | variable {G : Gauge} (F : Frames G) (τ : ℝ) |
| 25 | |
| 26 | private def earth : Points 2 := points (readings 0 (-basis 0)) |
| 27 | @[simp] private lemma center : earth 0=0 := rfl |
| 28 | @[simp] private lemma abroad : earth 1= -basis 0 := read_one 0 _ |
| 29 | private lemma farAway : earth∈conf _ := by |
| 30 | have he : earth 0≠earth 1 := fun h => (zero_ne_one (α:=ℝ)) (by simpa using congr_arg norm h) |
| 31 | intro i j h; rcases (show i=(0:Fin 2)∨i=1 by fin_cases i <;> decide) with rfl|rfl <;> rcases (show j=(0:Fin 2)∨j=1 by omega) with rfl|rfl |
| 32 | exacts [rfl,(he h).elim,(he h.symm).elim,rfl] |
| 33 | |
| 34 | private def sea : Set E4 := {z | z≠ -basis 0} |
| 35 | private def wake : Maxwell.Field ℝ := fun i j x => bareCurl i j 0 1 (x+basis 0) |
| 36 | |
| 37 | private lemma chain (f : E4 → ℝ) {x} (h : DifferentiableAt ℝ f (x+basis 0)) (a) : |
| 38 | grad a (fun x : E4 => f (x+basis 0)) x=grad a f (x+basis 0) := by |
| 39 | unfold grad D |
| 40 | change fderiv ℝ (f ∘ fun x => id x+basis 0) x _ = _ |
| 41 | rw [fderiv_comp x h (differentiableAt_id.add_const _),(hasFDerivAt_id x).add_const (basis 0) |>.fderiv,ContinuousLinearMap.comp_apply]; rfl |
| 42 | |
| 43 | private lemma sail : WaveOn sea wake := by |
| 44 | have he {x} (hx : x∈sea) : x+basis 0≠0 := fun hh => hx (eq_neg_of_add_eq_zero_left hh) |
| 45 | have ht (a b : Axis) (x) (hx : x∈sea) := Bare.curl_diff (he hx) a b 0 1 |
| 46 | have hd (a i j : Axis) (x) (hx : x∈sea) : grad a (wake i j) x = grad a (bareCurl i j 0 1) (x+basis 0) := |
| 47 | chain _ ((ht i j x hx).differentiableAt (by simp)) a |
| 48 | refine ⟨fun a b x hx => (ht a b x hx).comp x (contDiffAt_id.add contDiffAt_const), |
| 49 | fun a b x hx => (Bare.equation 0 1).form a b _ (he hx), fun a b c x hx => ?_, fun b x hx => ?_⟩ |
| 50 | · simp_rw [hd _ _ _ x hx]; exact (Bare.equation 0 1).cycle a b c _ (he hx) |
| 51 | simp_rw [hd _ _ _ x hx]; exact (Bare.equation 0 1).divergence b _ (he hx) |
| 52 | |
| 53 | private lemma on_wake : grad 0 (wake 0 1) 0 = 16 * normal := by |
| 54 | have h : (0:E4)+basis 0≠0 := by intro h; simpa using congr_arg norm h |
| 55 | change grad 0 (fun x => bareCurl 0 1 0 1 (x+basis 0)) 0=_ |
| 56 | rw [chain _ ((Bare.curl_diff h 0 1 0 1).differentiableAt (by simp)),zero_add,view_ray, |
| 57 | show rotate (ray 0 0) 0 1 0 1=16 from by decide]; push_cast; ring |
| 58 | |
| 59 | private def call : FourFields F := flat F 0 1 0 1 |
| 60 | private def cap : Fin 1→(freeTable F).Tag := fun _ => ⟨4,call F⟩ |
| 61 | private def monitor (a : Axis) (z : E4) := crossing (fun i j => bareCurl i j 0 1 z) (fun i j => wake i j z) a (0:Axis) |
| 62 | private def burning (G : Gauge) := 4*(G.lieDim:ℝ)*(-4*normal) |
| 63 | |
| 64 | private lemma transmitted {χ : E4 → ℝ} (hχ : Window earth χ) (a : Axis) : |
| 65 | ∫ z : E4, ((D (basis a) χ z : ℝ):ℂ) * (freeTable F).useAt (freeTable F) (Points.cons z earth) |
| 66 | (Fin.cons ⟨4,torch F τ a 0⟩ (Fin.cons ⟨4,call F⟩ (cap F))) = |
| 67 | ((τ * burning G * (∫ z, D (basis a) χ z * monitor a z) : ℝ):ℂ) := by |
| 68 | rw [show (fun z : E4 => ((D (basis a) χ z : ℝ):ℂ) * (freeTable F).useAt (freeTable F) (Points.cons z earth) |
| 69 | (Fin.cons ⟨4,torch F τ a 0⟩ (Fin.cons ⟨4,call F⟩ (cap F)))) = |
| 70 | fun z : E4 => ((τ*burning G : ℝ):ℂ) * ((D (basis a) χ z * monitor a z : ℝ):ℂ) from ?_, integral_const_mul] |
| 71 | · rw [integral_complex_ofReal]; push_cast; rfl |
| 72 | funext z |
| 73 | by_cases he : D (basis a) χ z=0 |
| 74 | · simp [he] |
| 75 | have hm := separated_of_D farAway hχ he |
| 76 | have hi := battery F τ hm 0 1 0 1 a 0 |
| 77 | have h (s : E4) : (Points.cons s earth) 1=0 := by |
| 78 | change (Points.cons s earth) (0:Fin 2).succ=0; rw [Points.cons,points_apply,Fin.cons_succ,center] |
| 79 | have hw (s : E4) : (Points.cons s earth) 2= -basis 0 := by |
| 80 | change (Points.cons s earth) (1:Fin 2).succ= -_; rw [Points.cons,points_apply,Fin.cons_succ,abroad] |
| 81 | have hc : charge (G:=G) (Points.cons z earth) 0 1 0 1= burning G := by |
| 82 | unfold charge burning; rw [h z,hw z, zero_sub,neg_neg,one_view,show rotate (curve 0) 0 1 0 1 = -4 from by decide]; push_cast; ring |
| 83 | rw [hc] at hi |
| 84 | unfold monitor wake |
| 85 | rw [show Fin.cons (α:=fun _ : Fin 2 => (freeTable F).Tag) ⟨4,call F⟩ (cap F)= readings ⟨4,call F⟩ ⟨4,call F⟩ from rfl, |
| 86 | ← front_eval] |
| 87 | change ↑(D (basis a) χ z) * tripod F (Points.cons z earth) 0 1 0 1 _ = _ |
| 88 | rw [hi] |
| 89 | rw [h z,hw z, show Points.cons z earth 0=z from rfl,sub_zero,sub_neg_eq_add] |
| 90 | push_cast; ring |
| 91 | |
| 92 | section callK |
| 93 | variable (W : DiffPlan (freeTable F)) |
| 94 | |
| 95 | -- same kernel differentiation reading as before, now translated to (0,-basis 0) |
| 96 | lemma at_tower (hW : W.Derivatives (freeTable F)) : |
| 97 | (freeTable F).useAt (freeTable F) earth (Fin.cons ⟨5,W.deriv 4 0 (call F)⟩ (cap F)) = |
| 98 | -256*(G.lieDim:ℂ)*(normal:ℂ)^2 := by |
| 99 | rw [show cap F = negs F 0 1 0 1 from rfl, ← listens F earth 0 1 0 1] |
| 100 | -- compare hearing at the camera by homogeneity (any arity), or redo germ |
| 101 | let w := Fin.cons (α:=fun _ : Fin 2 => (freeTable F).Tag) ⟨4,call F⟩ (cap F) |
| 102 | let f := fun y : Points 2 => (freeTable F).useAt (freeTable F) y w |
| 103 | have H (v : Fin 2 → (freeTable F).Tag) (x y : Points 2) (h : x 0-x 1 = y 0-y 1) : |
| 104 | (freeTable F).useAt (freeTable F) x v = (freeTable F).useAt (freeTable F) y v := by |
| 105 | -- decisions use abstract moment not only ff samples |
| 106 | let A i := v i |
| 107 | suffices h : Maxwell.Wick.moment G x = Maxwell.Wick.moment G y from |
| 108 | DFunLike.congr_fun h (fun i => observable G (A i).1 ((F.level (A i).1).coords.symm ((freeTable F).representative _ (A i).2))) |
| 109 | refine Module.Basis.ext_multilinear (fun _ => Maxwell.Wick.monBasis G) fun g => ?_ |
| 110 | simp_rw [Maxwell.Wick.moment_basis,Maxwell.Wick.monomial]; apply Finset.sum_congr rfl; intro k _ |
| 111 | unfold Wick.Occ.graph |
| 112 | apply Finset.prod_congr rfl; rintro j hj |
| 113 | have he : j.label < (Wick.Occ.partner k j).label := (Finset.mem_filter.mp hj).2 |
| 114 | unfold Wick.Occ.edge Wick.entry |
| 115 | rw [show j.label=0 by omega,show (Wick.Occ.partner k j).label=1 by omega, h] |
| 116 | have hh := listens_to F W hW 0 0 0 1 0 1 0 1 0 1 |
| 117 | rw [listens F, H _ earth (camera 0) (by simp), ← listens F _ 0 1 0 1,show hearing _ _ _ _ _ _ _ (W.deriv 4 0 (call F)) =_ from hh,show slide 0 0 0 1 0 1 0 1 0 1 = -256 from by decide] |
| 118 | unfold loud; push_cast; ring |
| 119 | |
| 120 | lemma translation_signal (κ : ℝ) (χ : E4 → ℝ) (hχ : Window earth χ) (p : Ward.SpinRows (freeTable F)) |
| 121 | (h : StressLaws (freeTable F) (torch F τ) (κ • W.deriv) p) : |
| 122 | -∑ a : Axis, (((τ * burning G * ∫ z, D (basis a) χ z * monitor a z):ℝ):ℂ)= |
| 123 | ((κ:ℝ):ℂ) • (freeTable F).useAt (freeTable F) earth (Fin.cons ⟨5,W.deriv 4 0 (call F)⟩ (cap F)) := by |
| 124 | simp_rw [← transmitted F τ hχ] |
| 125 | have he := h.translation farAway (cap F) hχ 0 4 (call F) |
| 126 | rw [← front_eval, ← map_smul] |
| 127 | exact he.trans <| by rw [front_eval]; congr 3 |
| 128 | |
| 129 | /-- Necessity of the *numeric* normalization `κ=-τ` as well (from δ success |
| 130 | on the real comparator). In particular the canonical t=1 output of `ignite` |
| 131 | uses κ=-1, not merely some unknown factor. -/ |
| 132 | theorem negated (hG : G.Simple) (κ : ℝ) (p : Ward.SpinRows (freeTable F)) |
| 133 | (hW : W.Derivatives (freeTable F)) (h : StressLaws (freeTable F) (torch F τ) (κ • W.deriv) p) : κ= -τ := by |
| 134 | obtain ⟨χ,hχ⟩ := exists_window earth farAway |
| 135 | have ha : tsupport χ ⊆ sea := by |
| 136 | intro x hx h |
| 137 | exact hχ.2.2.2 (0:Fin 1) (by change earth (1:Fin 2) ∈ _; rwa [abroad, ← h]) |
| 138 | have hx := translation_signal F τ W κ χ hχ p h |
| 139 | simp_rw [← Complex.ofReal_sum,← Finset.mul_sum] at hx |
| 140 | have ht := single_cross wake sail (show IsOpen sea from isOpen_compl_singleton) χ hχ.1 hχ.2.1 ha (center ▸ hχ.2.2.1) 0 1 0 |
| 141 | rw [on_wake] at ht |
| 142 | change -(∑ a : Axis, ∫ z, D (basis a) χ z * monitor a z) = _ at ht |
| 143 | have hv : ∑ a : Axis, ∫ z, D (basis a) χ z * monitor a z = 16*normal := neg_injective ht |
| 144 | rw [hv,at_tower F W hW, smul_eq_mul] at hx |
| 145 | unfold burning at hx |
| 146 | have hp : G.lieDim ≠ 0 := by |
| 147 | rw [Gauge.lieDim, ← G.colorIso.finrank_eq]; haveI := hG.nontrivial_color; exact Module.finrank_pos.ne' |
| 148 | apply Complex.ofReal_injective |
| 149 | apply (mul_right_cancel₀ (show (G.lieDim:ℂ)*(normal:ℂ)^2*256 ≠ 0 by exact mul_ne_zero (mul_ne_zero (by exact_mod_cast hp) (by exact_mod_cast pow_ne_zero 2 normal_pos.ne')) (by norm_num))) |
| 150 | push_cast at * |
| 151 | linear_combination hx |
| 152 | end callK |
| 153 | |
| 154 | open Org |
| 155 | variable {C : Family G} |
| 156 | |
| 157 | /-- In particular, callers using from_data obtain the exact κ as well. -/ |
| 158 | theorem required (h : G.Simple) (T : MaxwellData C) (ht : T.T.J=torch C.book.grid τ) : T.T.κ= -τ := by |
| 159 | have he := T.lit.delta |
| 160 | rw [ht] at he |
| 161 | exact negated C.book.grid τ _ h _ _ T.lit.pales he |
| 162 | |
| 163 | /-- Assemble canonical MaxwellData at E-normalized flux even if only some |
| 164 | other MaxwellData was constructed so far (no waiver for that extremely |
| 165 | strong obligation incl window identities). Use before weak-sequence choices |
| 166 | as for `Choose.fire`. -/ |
| 167 | theorem names (hG : G.Simple) (T : MaxwellData C) (h : τ≠0) : ∃ Q : MaxwellData C, |
| 168 | Q.T.J=torch C.book.grid τ ∧ Q.T.κ= -τ ∧ Q.vacuum=T.vacuum ∧ Q.T.W=T.T.W ∧ Q.T.K=T.T.K ∧ |
| 169 | Tensorial T.T.K Q.T.J ∧ FreeDiv Q.T Q.hT Q.lit.hers := by |
| 170 | obtain ⟨Q,hv,hV,hD,hb,-,ha,ha'⟩ := fire hG T τ h |
| 171 | exact ⟨Q,hv,required τ hG Q hv,hb,hV,hD,ha,ha'⟩ |
| 172 | |
| 173 | end YM.UVNext.FreeStress |