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.QUARTIC_MATCH.Multiples |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Residual |
| 3 | import YM.Work.B04 |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Functoriality of the actual value on admission and repetitions |
| 8 | |
| 9 | No equality of frozen likelihood measures assumed; this is classical germ data on |
| 10 | every permitted tag/forest. May use different comparison bounds after repetitions. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticNext.QuarticMatch.Sheets |
| 15 | open Matrix Lattice RG Wilson Tree Precision Exterior Bid Filter Function Topology Joint |
| 16 | open Work.F04 Work.F05 |
| 17 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 18 | |
| 19 | variable (P : Patch) (K : KernelChoices) {G : Gauge} {c d : Side} (h : c.val∣d.val) |
| 20 | |
| 21 | def spinUp (b : Deck h) : Vertical G d (d*P.L) →L[ℝ] Vertical G d (d*P.L) := |
| 22 | rephase (S:=stepAt P K d) 1 b.val |
| 23 | |
| 24 | def cycle (b : Deck h) : Dir G d × Vertical G d (d*P.L) →L[ℝ] Dir G d × Vertical G d (d*P.L) := |
| 25 | (shifts 1 b.val).prodMap (spinUp P K h b) |
| 26 | |
| 27 | section verticalShift |
| 28 | |
| 29 | lemma spin_fst (b : Deck h) (v : Vertical G d (d*P.L)) (i : Body 1 (d*P.L)) : |
| 30 | (spinUp P K h b v).1 i = v.1 (i.1 + (embedDeck P K h b).val,i.2) := |
| 31 | Joint.shift_one_apply .. |
| 32 | lemma spin_snd (b : Deck h) (v : Vertical G d (d*P.L)) (i : Site d) : |
| 33 | (spinUp P K h b v).2 i = v.2 (i+b.val) := by |
| 34 | change v.2 (affine 1 b.val i)=_ |
| 35 | simp [affine] |
| 36 | lemma spin_once (b y : Deck h) (v : Vertical G d (d*P.L)) : |
| 37 | spinUp P K h b (spinUp P K h y v) = spinUp P K h (b+y) v := by |
| 38 | apply Prod.ext |
| 39 | · funext i; rw [spin_fst,spin_fst,spin_fst, show (embedDeck P K h (b+y)).val=(embedDeck P K h b).val+ |
| 40 | (embedDeck P K h y).val from (stepAt P K d).ratio.root.map_add _ _]; simp [add_assoc] |
| 41 | funext i; simp only [spin_snd, AddSubgroup.coe_add,add_assoc] |
| 42 | lemma necklace (b : Deck h) (v : Dir G c × Vertical G c (c*P.L)) : |
| 43 | cycle P K h b (rideAlong P h v) = rideAlong P h v := by |
| 44 | apply Prod.ext |
| 45 | · funext i |
| 46 | change (shifts 1 b.val (reuses h v.1)) i=_ |
| 47 | rw [shift_one_apply]; change v.1 (project h _,i.2)=v.1 (project h _,i.2) |
| 48 | rw [map_add, show project h b.val=0 from b.property,add_zero] |
| 49 | change spinUp _ _ _ b (ride P h v.2) = _ |
| 50 | apply Prod.ext |
| 51 | · funext i |
| 52 | rw [spin_fst]; change v.2.1 (project _ _,i.2)=v.2.1 (project _ _,i.2) |
| 53 | rw [map_add,show project (within P h) (embedDeck P K h b).val=0 from (embedDeck P K h b).property,add_zero] |
| 54 | funext i; rw [spin_snd] |
| 55 | change v.2.2 (project _ _) = v.2.2 (project _ _) |
| 56 | rw [map_add,show project _ _=0 from b.property,add_zero] |
| 57 | lemma periodic_vertical (v : Vertical G d (d*P.L)) (hv : ∀ b : Deck h, spinUp P K h b v=v) : v ∈ Set.range (ride P h) := by |
| 58 | refine ⟨(fun x => v.1 (pin (within P h) x.1,x.2),v.2 ∘ pin h),?_⟩ |
| 59 | apply Prod.ext |
| 60 | · funext i; let F (j : Site (d*P.L)) := v.1 (j,i.2) |
| 61 | refine congr_fun (periodic (within P h) F ?_) i.1 |
| 62 | intro y hy x |
| 63 | obtain ⟨j,hj⟩ := embedDeck_onto P K h ⟨y,hy⟩ |
| 64 | have hb : F (x+(embedDeck P K h j).val)=F x := by rw [← show (spinUp P K h j v).1 (x,i.2)=F (x+_) from spin_fst ..,hv] |
| 65 | rwa [hj] at hb |
| 66 | refine periodic h v.2 ?_ |
| 67 | intro u hu x |
| 68 | rw [← spin_snd P K h (b:=⟨u,hu⟩),hv] |
| 69 | |
| 70 | lemma earnings [Fintype ↥(Deck h)] (v : Vertical G d (d*P.L)) : |
| 71 | (∑ b : ↥(Deck h), spinUp P K h b v) ∈ Set.range (ride P h) := by |
| 72 | refine periodic_vertical P K h _ (fun i => ?_) |
| 73 | simp_rw [map_sum,spin_once] |
| 74 | exact Equiv.sum_comp (Equiv.addLeft i) fun x => spinUp P K h x v |
| 75 | end verticalShift |
| 76 | |
| 77 | variable {p : Clip} {W : PathData G} |
| 78 | variable {T : Forest (stepAt P K c).ratio} {B : Forest (stepAt P K d).ratio} |
| 79 | {b : Dir G c → AxisChart G T} {u : Dir G d → AxisChart G B} |
| 80 | {σ C Λ : ℝ} |
| 81 | |
| 82 | section equivariance |
| 83 | variable (hb : P.Branches K G) (hW : W.Bounds p σ C Λ) |
| 84 | include hb hW |
| 85 | |
| 86 | lemma cycle_law (B : Forest (stepAt P K d).ratio) (k : (stepAt P K d).Choices) (y : Deck h) : |
| 87 | let F := Joint.action (stepAt P K d) k p W |
| 88 | F ∘ cycle P K h y =ᶠ[𝓝 0] F := by |
| 89 | intro F |
| 90 | let S := stepAt P K d |
| 91 | let t := S.withinChoice 1 y.val k |
| 92 | have he : F ∘ cycle P K h y = Joint.action _ t p W := |
| 93 | funext fun x => (commutes (S:=stepAt P K d) p W hb 1 y.val k x) |
| 94 | have hh : Tendsto (fun z : Dir G d × Vertical G d (d*P.L) => (z.1,slice B z)) (𝓝 0) (𝓝 0) := by |
| 95 | have ht := (slice_jet (G:=G) B).continuousAt.tendsto |
| 96 | rw [slice_zero] at ht |
| 97 | exact (continuous_fst.tendsto _).prodMk_nhds ht |
| 98 | rw [he] |
| 99 | exact (Joint.reduce B hb hW t).trans (((tested_germ (S:=stepAt P K d) hb B _ _ t k).comp_tendsto hh).trans (Joint.reduce B hb hW k).symm) |
| 100 | |
| 101 | lemma station_paid (hu : Critical B p W u) (t : (stepAt P K d).Choices) : |
| 102 | let F := Joint.action _ t p W |
| 103 | ∀ᶠ z in 𝓝 (0 : Dir G c × Vertical G c (c*P.L)), ∀ i : Deck h, |
| 104 | vert F (rideAlong P h z)=vert F (rideAlong P h z) ∘L spinUp P K h i := by |
| 105 | classical |
| 106 | intro F; apply eventually_all.mpr; intro i |
| 107 | let L := rideAlong (G:=G) P h |
| 108 | let V := cycle P K h i (G:=G) |
| 109 | have ht : Tendsto L (𝓝 0) (𝓝 0) := by simpa only [map_zero] using L.continuous.tendsto 0 |
| 110 | filter_upwards [ht.eventually (Filter.EventuallyEq.fderiv (𝕜:=ℝ) (cycle_law P K h hb hW B t i)), |
| 111 | ht.eventually ((root_born hb hW hu t).eventually (by simp))] with z hz hx |
| 112 | have he : V (L z)= L z := necklace .. |
| 113 | have H : DifferentiableAt ℝ F (V (L z)) := he.symm ▸ (show ContDiffAt ℝ ω F (L z) from hx).differentiableAt (by simp) |
| 114 | change fderiv ℝ (F ∘ V) (L z)=_ at hz |
| 115 | rw [fderiv_comp (L z) H V.differentiableAt,V.fderiv,he] at hz |
| 116 | apply ContinuousLinearMap.ext; intro v |
| 117 | have hx : V (0,v) = (0,spinUp P K h i v) := Prod.ext (shifts 1 i.val (G:=G) |>.map_zero) rfl |
| 118 | change fderiv ℝ F _ (0,v) = fderiv ℝ F _ (0,spinUp P K h i v) |
| 119 | rw [← hx]; exact DFunLike.congr_fun hz.symm (0,v) |
| 120 | |
| 121 | /-- Vanishing upstairs, despite possible terms using identified locations in |
| 122 | torus evaluations. Doesn't transport Hessian eigenvalues or radius. -/ |
| 123 | theorem pays_vert (hb' : Critical T p W b) (hu : Critical B p W u) (k : (stepAt P K c).Choices) : |
| 124 | let V := Joint.action _ k p W |
| 125 | let A := Joint.action _ (mimic P K h k) p W |
| 126 | ∀ᶠ x in 𝓝 0, vert V x=0 → vert A (rideAlong P h x)=0 := by |
| 127 | classical |
| 128 | letI := Fintype.ofFinite (Deck h) |
| 129 | intro V A |
| 130 | let L := rideAlong P h (G:=G) |
| 131 | have he : A ∘ L=(mult h:ℝ) • V := funext fun x => action_copy P K h k p W x |
| 132 | have hx := root_born hb hW hb' k |
| 133 | have hy := root_born hb hW hu (mimic P K h k) |
| 134 | have ht : Tendsto L (𝓝 0) (𝓝 0) := by simpa only [map_zero] using L.continuous.tendsto 0 |
| 135 | filter_upwards [hx.eventually (by simp),ht.eventually (hy.eventually (by simp)),station_paid P K h hb hW hu (mimic P K h k)] |
| 136 | with z hF hH hS hv |
| 137 | have hf : DifferentiableAt ℝ V z := hF.differentiableAt (by simp) |
| 138 | have hH := (show ContDiffAt ℝ ω A (L z) from hH).differentiableAt (by simp) |
| 139 | let D := vert A (L z) |
| 140 | have hs (i : (Vertical G c (c*P.L))) : D (ride P h i)=0 := by |
| 141 | have hb : (fderiv ℝ A (L z)) ∘L L = (mult h:ℝ) • fderiv ℝ V z := by |
| 142 | have ht := fderiv_comp z hH (L.differentiableAt) |
| 143 | rwa [L.fderiv, he, fderiv_const_smul hf,eq_comm] at ht |
| 144 | have hw : D (ride P h i) = (mult h:ℝ) • vert V z i := by |
| 145 | have hx : L (0,i)=(0,ride P h i) := Prod.ext ((reuses h (G:=G) (k:=1)).map_zero) rfl |
| 146 | change fderiv ℝ A _ (0,ride P h i) = _; rw [← hx]; exact DFunLike.congr_fun hb (0,i) |
| 147 | rw [hw,hv,_root_.zero_apply,smul_zero] |
| 148 | apply ContinuousLinearMap.ext; intro v |
| 149 | have hY i : D (spinUp P K h i v)=D v := DFunLike.congr_fun (hS i).symm v |
| 150 | obtain ⟨w,hw⟩ := earnings P K h v |
| 151 | have ha : ∑ i : ↥(Deck h), D (spinUp P K h i v) = 0 := by rw [← map_sum, ← hw,hs] |
| 152 | simp_rw [hY] at ha |
| 153 | simp only [Finset.sum_const,Finset.card_univ,nsmul_eq_mul] at ha |
| 154 | exact (mul_eq_zero.mp ha).resolve_left (by positivity) |
| 155 | end equivariance |
| 156 | |
| 157 | variable {M : Bed} {η : ℝ} |
| 158 | |
| 159 | /-- The real germ on projected fields. Detect all orders on precisely these |
| 160 | physical lifts; no ancestor path regenerated. -/ |
| 161 | theorem covers_value (hp : P.Branches K G) (hW : W.Bounds p σ C Λ) |
| 162 | (hb : Critical T p W b) (hu : Critical B p W u) (hm : Comptroller B M p W) |
| 163 | (he : 0 < η) (hη : PriceGap B p W η) (k : (stepAt P K c).Choices) (t : (stepAt P K d).Choices) : |
| 164 | Joint.value B t p W u ∘ reuses h =ᶠ[𝓝 0] (mult h:ℝ) • Joint.value T k p W b := by |
| 165 | let s := mimic P K h k |
| 166 | let Z := Joint.action _ s p W |
| 167 | let F := arc (plant T ∘ arc b) |
| 168 | obtain ⟨ha,hj,hJ⟩ := Joint.joints hp hW hb k |
| 169 | have ht : Tendsto F (𝓝 0) (𝓝 0) := by |
| 170 | have hx := hj.arc_smooth.continuousAt.tendsto |
| 171 | simpa only [show F 0=0 from Prod.ext rfl ha] using (show Tendsto F _ (𝓝 (F 0)) from hx) |
| 172 | let L := reuses (k:=1) (G:=G) h |
| 173 | let U := rideAlong (G:=G) P h |
| 174 | have hU : Tendsto U (𝓝 0) (𝓝 0) := by simpa only [map_zero] using U.continuous.tendsto 0 |
| 175 | have hL : Tendsto L (𝓝 0) (𝓝 0) := by simpa only [map_zero] using L.continuous.tendsto 0 |
| 176 | filter_upwards [hJ,hj.station, ht.eventually (pays_vert P K h hp hW hb hu k), ht.eventually |
| 177 | (hU.eventually (Joint.recognizes hp hW hu s M hm he hη)), hL.eventually ((crit_home hu).eventually (tested_germ hp B p W t s))] |
| 178 | with x hx hy hp hh hv |
| 179 | have hw : Z (U (F x)) = Joint.value B s p W u (L x) := hh (hp hy) |
| 180 | exact hv.trans (hw.symm.trans ((action_copy P K h k p W (F x)).trans (congr_arg ((mult h:ℝ)*·) hx))) |
| 181 | |
| 182 | /-- Wilson base/corrections already evaluate correctly on all sheets. -/ |
| 183 | theorem peak_lift (p : Clip) (W : PathData G) : (Residual.wilsonAt-Residual.baseAt (c:=d) p W) ∘ reuses h = |
| 184 | (mult h:ℝ) • (Residual.wilsonAt - Residual.baseAt (c:=c) p W) := by |
| 185 | funext u |
| 186 | simp only [Function.comp_apply, Pi.sub_apply, Residual.wilsonAt, Residual.baseAt, ← represented, wilson_copy, |
| 187 | main_copy, Pi.smul_apply, smul_eq_mul,nsmul_eq_mul]; ring |
| 188 | end YM.AnalyticNext.QuarticMatch.Sheets |