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.Bid.Drops |
| 2 | import YM.Next.FOUNDATIONS.JetReads |
| 3 | import YM.Org.Theatre |
| 4 | import YM.Work.G01 |
| 5 | import YM.Work.G02 |
| 6 | import YM.Work.G05.Taylor |
| 7 | |
| 8 | /-! |
| 9 | # The curvature-jet projection exists on B70 Regular coefficients |
| 10 | |
| 11 | Compute jets at **this** gauge group's genuine exp chart and actual test |
| 12 | holonomies. Finite Taylor expansion in the Snap space, then weighted |
| 13 | truncation. We spell out that this recovers exactly the labels evaluated |
| 14 | with the h test; invariance of the projected polynomial is from invariance |
| 15 | of the field (prior to any continuum limits). Thus the actual sections of |
| 16 | Primary have the readout that later, *finite-history*, consumers can use – |
| 17 | not just an abstract derivative or linearized plaquette comparison. |
| 18 | |
| 19 | Quantitative estimates on |
| 20 | it (still local at the anchors, independent of any future block step) are |
| 21 | separate below this. |
| 22 | -/ |
| 23 | |
| 24 | set_option autoImplicit false |
| 25 | noncomputable section |
| 26 | namespace YM.Next.Foundations |
| 27 | open Lattice Wilson RG Source Source.Drops Labels Work |
| 28 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 29 | |
| 30 | variable {G : Gauge} {d : ℕ} {n : Side} |
| 31 | |
| 32 | lemma one_healthy (X : Support n) (θ : ℝ) (h : 0 ≤ θ) : |
| 33 | Healthy θ X (1 : Config G n) := by |
| 34 | apply Finset.disjoint_left.mpr |
| 35 | intro x _ he |
| 36 | obtain ⟨p, -, hp⟩ := (flags_spec ..).mp he |
| 37 | rw [show faceValue (1 : Config G n) p = 1 by simp [faceValue, square, travel], |
| 38 | G.chord_one] at hp |
| 39 | exact h.not_gt hp |
| 40 | |
| 41 | lemma test_scaled (H : Hol G) (o : Site n) (J : Jet G) (t : ℝ) : |
| 42 | H.testLinks d o J t = H.testLinks d o (expand d (trunk d (scaleJet J t))) 1 := by |
| 43 | funext l |
| 44 | exact congr_fun (scales H J t) (lift (l.1-o),l.2) |
| 45 | |
| 46 | lemma test_one (H : Hol G) (o : Site n) (J : Jet G) : |
| 47 | H.testLinks d o J 0 = 1 := funext fun _ => congr_fun (H.flat d J) _ |
| 48 | |
| 49 | lemma test_colored (H : Hol G) (o : Site n) (u : G.El) (J : Jet G) (h : ℝ) : |
| 50 | H.testLinks d o (colored u J) h = gauge (fun _ => u) (H.testLinks d o J h) := by |
| 51 | funext l |
| 52 | exact congr_fun (G01.links_colored H d u J h) (lift (l.1-o),l.2) |
| 53 | |
| 54 | section Germ |
| 55 | open Filter Function |
| 56 | |
| 57 | private def atSnap (H : Hol G) (o : Site n) (X : Snap G d) := H.testLinks d o (expand d X) 1 |
| 58 | |
| 59 | private lemma snap_analytic (H : Hol G) (o : Site n) (l : Edge (Site n)) : |
| 60 | AnalyticAt ℝ (fun X : Snap G d => G.mat (atSnap H o X l)) 0 ∧ |
| 61 | atSnap H o (0 : Snap G d) l = 1 := |
| 62 | let h := G02.linkGerm H d (lift (l.1-o),l.2) |
| 63 | ⟨h.1, h.2.1⟩ |
| 64 | |
| 65 | private def logSnap (H : Hol G) (o : Site n) (X : Snap G d) : Directions G n := fun l => |
| 66 | G.plog (G.mat (atSnap H o X l)) |
| 67 | |
| 68 | private lemma logSnap_analytic (H : Hol G) (o : Site n) : |
| 69 | ContDiffAt ℝ ω (logSnap H o : Snap G d → Directions G n) 0 := by |
| 70 | refine contDiffAt_pi.mpr fun i => ?_ |
| 71 | have he := snap_analytic (d:=d) H o i |
| 72 | exact (show ContDiffAt ℝ ω G.plog (G.mat (atSnap H o (0 : Snap G d) i)) by |
| 73 | rw [he.2, G.mat_one]; exact G.plog_diff).comp (0 : Snap G d) he.1.contDiffAt |
| 74 | |
| 75 | private lemma snap_def (H : Hol G) (o : Site n) : |
| 76 | atSnap H o =ᶠ[𝓝 (0 : Snap G d)] increment 1 ∘ logSnap H o := by |
| 77 | suffices hh : ∀ i : Edge (Site n), ∀ᶠ X in 𝓝 (0 : Snap G d), |
| 78 | atSnap H o X i = increment 1 (logSnap H o X) i by |
| 79 | filter_upwards [eventually_all.mpr hh] with X hX |
| 80 | exact funext hX |
| 81 | intro i |
| 82 | have he := snap_analytic (d:=d) H o i |
| 83 | have hl : ContinuousAt (fun X : Snap G d => atSnap H o X i) 0 := |
| 84 | (G.continuous_mat.isClosedEmbedding G.mat_injective).isInducing.continuousAt_iff.mpr he.1.continuousAt |
| 85 | have ht : Tendsto (fun X : Snap G d => atSnap H o X i) (𝓝 0) (𝓝 1) := by |
| 86 | rw [← he.2]; exact hl.tendsto |
| 87 | filter_upwards [ht.eventually G.plog_right] with X hX |
| 88 | change _ = G.lieExp (G.plog (G.mat (atSnap H o X i))) * 1 |
| 89 | rw [mul_one] |
| 90 | exact hX.symm |
| 91 | |
| 92 | private lemma trunk_scale (J : Jet G) (d : ℕ) : ContDiff ℝ ω (fun t => trunk d (scaleJet J t)) := by |
| 93 | refine contDiff_pi.mpr fun i => ?_ |
| 94 | have he {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] (j : ℕ) (c : F) : |
| 95 | ContDiff ℝ ω (fun t : ℝ => t^j • c) := (contDiff_id.pow j).smul contDiff_const |
| 96 | exact he (i.val+2) (J i.val) |
| 97 | |
| 98 | private lemma trunk_zero (J : Jet G) (d : ℕ) : trunk d (scaleJet J 0) = 0 := by |
| 99 | funext l; simp [trunk, scaleJet] |
| 100 | |
| 101 | /-- The test log (only near h=0 will this be used). No common analytic radius |
| 102 | as a function of the torus size is being promised. -/ |
| 103 | def testLog (H : Hol G) (d : ℕ) (o : Site n) (J : Jet G) (h : ℝ) : Directions G n := fun e => |
| 104 | G.plog (G.mat (H.testLinks d o J h e)) |
| 105 | |
| 106 | private lemma testLog_def (H : Hol G) (d : ℕ) (o : Site n) (J : Jet G) (h : ℝ) : |
| 107 | testLog H d o J h = logSnap H o (trunk d (scaleJet J h)) := by |
| 108 | unfold testLog; rw [test_scaled]; rfl |
| 109 | |
| 110 | lemma testLog_diff (H : Hol G) (d : ℕ) (o : Site n) (J : Jet G) : |
| 111 | ContDiffAt ℝ ω (testLog H d o J) 0 := by |
| 112 | rw [funext (testLog_def H d o J)] |
| 113 | exact (show ContDiffAt ℝ ω (logSnap H o) (trunk d (scaleJet J 0)) by |
| 114 | rw [trunk_zero]; exact logSnap_analytic H o).comp 0 (trunk_scale J d).contDiffAt |
| 115 | |
| 116 | lemma testLog_zero (H : Hol G) (d : ℕ) (o : Site n) (J : Jet G) : testLog H d o J 0 = 0 := by |
| 117 | funext i; simp [testLog, test_one] |
| 118 | |
| 119 | lemma increment_testLog (H : Hol G) (d : ℕ) (o : Site n) (J : Jet G) : |
| 120 | H.testLinks d o J =ᶠ[𝓝 0] increment 1 ∘ testLog H d o J := by |
| 121 | have he : Tendsto (fun t => trunk d (scaleJet J t)) (𝓝 0) (𝓝 0) := by |
| 122 | rw [← trunk_zero J]; exact (trunk_scale J d).continuous.tendsto _ |
| 123 | filter_upwards [he.eventually (snap_def (d:=d) H o)] with x hx |
| 124 | rw [test_scaled, comp_apply, testLog_def] |
| 125 | exact hx |
| 126 | |
| 127 | end Germ |
| 128 | |
| 129 | section Taylor |
| 130 | open Function |
| 131 | |
| 132 | private theorem slot_polynomial {ι E : Type} [Fintype ι] |
| 133 | [NormedAddCommGroup E] [NormedSpace ℝ E] (X : Jet G → E) (V : ι → E) |
| 134 | (L : ι → Key G) (r : Jet G → ι → ℝ) (hr : ∀ J i, (r J i : ℂ) = coord J (L i)) |
| 135 | (ht : ∀ J, X J = ∑ i, r J i • V i) (m : ℕ) (A : Tensor.T E ℂ m) : |
| 136 | ∃ p : Pol G, ∀ J : Jet G, read J p = Tensor.diagonal A (X J) := by |
| 137 | classical |
| 138 | induction m with |
| 139 | | zero => |
| 140 | refine ⟨MvPolynomial.C (Tensor.diagonal A 0), fun J => ?_⟩ |
| 141 | simp only [Labels.read, MvPolynomial.aeval_C, Algebra.algebraMap_self, RingHom.id_apply] |
| 142 | exact congr_arg A (Subsingleton.elim ..) |
| 143 | | succ m ih => |
| 144 | choose p hp using fun i : ι => ih (A.curryLeft (V i)) |
| 145 | refine ⟨∑ i, MvPolynomial.X (L i) * p i, fun J => ?_⟩ |
| 146 | have he (x : E) : Tensor.diagonal A x = Tensor.diagonal (A.curryLeft x) x := by |
| 147 | apply congr_arg A |
| 148 | ext1 i; refine Fin.cases ?_ (fun j => ?_) i <;> simp |
| 149 | have hv : A.curryLeft (X J) = ∑ i, r J i • A.curryLeft (V i) := by rw [ht, map_sum]; simp |
| 150 | rw [he, hv, Tensor.diagonal, _root_.map_sum, sum_apply] |
| 151 | apply Finset.sum_congr rfl |
| 152 | intro i _ |
| 153 | rw [map_mul, hp, Labels.read, MvPolynomial.aeval_X, smul_apply, Complex.real_smul, hr] |
| 154 | rfl |
| 155 | |
| 156 | /-- Diagonal polynomial in the real (underlying) radial jet. Compare |
| 157 | `G05.diagonal_polynomial` for the other direction's space of samples. -/ |
| 158 | private theorem snap_polynomial (m : ℕ) (A : Tensor.T (Snap G d) ℂ m) : |
| 159 | ∃ p : Pol G, ∀ J : Jet G, read J p = Tensor.diagonal A (trunk d J) := by |
| 160 | classical |
| 161 | let I := (i : Fin (d-1)) × Fin (dim G i.val) |
| 162 | let V (i : I) : Snap G d := Pi.single i.1 (axes G i.1.val i.2) |
| 163 | let r (J : Jet G) (k : I) := ((axes G k.1.val).repr (J k.1.val)) k.2 |
| 164 | refine slot_polynomial (trunk d) V (fun i => ⟨i.1.val,i.2⟩) r (fun _ _ => rfl) ?_ m A |
| 165 | intro J |
| 166 | symm |
| 167 | funext j |
| 168 | rw [Fintype.sum_sigma, Finset.sum_apply, Finset.sum_eq_single j] |
| 169 | · simp only [Finset.sum_apply, Pi.smul_apply, V, Pi.single_eq_same] |
| 170 | exact (axes G j.val).sum_repr (J j.val) |
| 171 | · intro i _ hij; simp [Finset.sum_apply, V, Pi.single_eq_of_ne (Ne.symm hij)] |
| 172 | · simp |
| 173 | |
| 174 | private theorem raw_readout (H : Hol G) (f : Config G n → ℂ) (o : Site n) (d : ℕ) |
| 175 | (hf : ContDiffAt ℝ (d : WithTop ℕ∞) (f ∘ increment 1) 0) : |
| 176 | ∃ p : Pol G, p ∈ limited G d ∧ ∀ J : Jet G, |
| 177 | ContDiffAt ℝ (d : WithTop ℕ∞) (f ∘ H.testLinks d o J) 0 ∧ |
| 178 | ∀ k ≤ d, iteratedDeriv k (f ∘ H.testLinks d o J) 0 = |
| 179 | iteratedDeriv k (fun h => read (scaleJet J h) p) 0 := by |
| 180 | let F : Snap G d → ℂ := f ∘ atSnap H o |
| 181 | have hx : logSnap H o (0 : Snap G d) = 0 := funext fun i => by |
| 182 | unfold logSnap |
| 183 | rw [(snap_analytic H o i).2, G.mat_one, G.plog_one] |
| 184 | rfl |
| 185 | have hs : ContDiffAt ℝ d F 0 := by |
| 186 | have hQ : ContDiffAt ℝ d ((f ∘ increment 1) ∘ logSnap H o) (0 : Snap G d) := |
| 187 | (hx.symm ▸ hf).comp _ ((logSnap_analytic H o).of_le le_top) |
| 188 | refine hQ.congr_of_eventuallyEq ?_ |
| 189 | filter_upwards [snap_def (d:=d) H o] with x he |
| 190 | exact congr_arg f he |
| 191 | let T := G05.blockTaylor d F |
| 192 | choose P hP using fun k : ℕ => snap_polynomial k (Tensor.coeff F k 0) |
| 193 | let p₀ := ∑ k ∈ Finset.range (d+1), P k |
| 194 | have hT (J : Jet G) : read J p₀ = T (trunk d J) := by |
| 195 | unfold T p₀ G05.blockTaylor |
| 196 | rw [_root_.map_sum, Finset.sum_apply] |
| 197 | exact Finset.sum_congr rfl fun i _ => hP i J |
| 198 | refine ⟨capRead d p₀, cap_limited .., fun J => ?_⟩ |
| 199 | let r (t : ℝ) := trunk d (scaleJet J t) |
| 200 | have hr : r 0 = 0 := trunk_zero J d |
| 201 | have hd : ContDiffAt ℝ d r 0 := ((trunk_scale J d).contDiffAt).of_le le_top |
| 202 | have hs' : ContDiffAt ℝ d F (r 0) := by rw [hr]; exact hs |
| 203 | have he : f ∘ H.testLinks d o J = F ∘ r := by |
| 204 | funext i; rw [comp_apply, test_scaled]; rfl |
| 205 | rw [he]; refine ⟨hs'.comp 0 hd, fun k hk => ?_⟩ |
| 206 | have hy : iteratedFDeriv ℝ k (F ∘ r) 0 = iteratedFDeriv ℝ k (T ∘ r) 0 := |
| 207 | G05.jets_comp hd hd hs' (G05.blockTaylor_contDiff d F _).contDiffAt rfl (fun _ _ => rfl) |
| 208 | (fun l hl => by rw [hr]; exact (G05.blockTaylor_jets hs _ hl).symm) k hk |
| 209 | calc |
| 210 | iteratedDeriv k (F ∘ r) 0 = iteratedDeriv k (T ∘ r) 0 := by unfold iteratedDeriv; rw [hy] |
| 211 | _ = iteratedDeriv k (fun x => read (scaleJet J x) p₀) 0 := by rw [funext fun x => hT (scaleJet J x)]; rfl |
| 212 | _ = iteratedDeriv k (fun h => read (scaleJet J h) (capRead d p₀)) 0 := by |
| 213 | rw [deriv_read, deriv_read, tier_capRead d p₀ k hk] |
| 214 | |
| 215 | /-- Even at small order and trivial Snap. As with `JetTest`, interpret |
| 216 | physically on supports where the formula is to be used, i.e., with the |
| 217 | nonwrapping/locality conditions. -/ |
| 218 | theorem read_projection (H : Hol G) (o : Site n) (d : ℕ) (f : Config G n → ℂ) |
| 219 | (he : GaugeInvariant f) (hf : ContDiffAt ℝ (d : WithTop ℕ∞) (f ∘ increment 1) 0) : |
| 220 | ∃! p : Label G d, JetTest H o p f := by |
| 221 | obtain ⟨p, hp, hh⟩ := raw_readout H f o d hf |
| 222 | have hu (J : Jet G) (g : G.El) : read (colored g J) p = read J p := by |
| 223 | have hk (k : ℕ) (hk : k ≤ d) : read (colored g J) (tier k p) = read J (tier k p) := by |
| 224 | have hs : f ∘ H.testLinks d o (colored g J) = f ∘ H.testLinks d o J := by |
| 225 | funext v; simp only [Function.comp_apply, test_colored]; exact he _ _ |
| 226 | have hb := (hh (colored g J)).2 k hk |
| 227 | rw [hs, (hh J).2 k hk, deriv_read, deriv_read] at hb |
| 228 | exact smul_right_injective ℂ (show (k.factorial : ℝ) ≠ 0 by positivity) hb.symm |
| 229 | rw [← limited_cap d p hp, capRead, map_sum, map_sum] |
| 230 | exact Finset.sum_congr rfl fun i hi => hk i (Nat.le_of_lt_succ (Finset.mem_range.mp hi)) |
| 231 | let x : Label G d := ⟨p,hp,hu⟩ |
| 232 | have hX : JetTest H o x f := fun J => ⟨(hh J).1, (read_smooth J _ _).contDiffAt, (hh J).2⟩ |
| 233 | exact ⟨x,hX,fun _ Hy => JetTest.unique Hy hX⟩ |
| 234 | |
| 235 | /-- Includes the constant-only (wrapping) convention. This is the |
| 236 | projection from finite-order `Regular`. No extra analyticity/direction- |
| 237 | budget assumed on f. -/ |
| 238 | theorem exists_read (H : Hol G) (d : ℕ) (o : Site n) (B : BudgetPoint) {X : Support n} |
| 239 | {f : Config G n → ℂ} (h : d ≤ B.order) (hf : B.Regular X f) : |
| 240 | ∃! p : Label G d, Reads H o X p f := by |
| 241 | classical |
| 242 | by_cases hX : Nonwrapping X o |
| 243 | · have hs : ContDiffAt ℝ (d : WithTop ℕ∞) (f ∘ increment 1) 0 := |
| 244 | (hf.smooth 1 (one_healthy X _ B.threshold_pos.le)).of_le |
| 245 | (show (d : WithTop ℕ∞) ≤ (B.order : WithTop ℕ∞) from Nat.cast_le.mpr h) |
| 246 | simpa only [Reads, if_pos hX] using read_projection H o d f hf.symmetry hs |
| 247 | simp [Reads, hX, existsUnique_eq] |
| 248 | |
| 249 | end Taylor |
| 250 | end YM.Next.Foundations |