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.Energy |
| 2 | import YM.Slice.Strips |
| 3 | import YM.TimeKernel.Trace |
| 4 | import YM.Vac.Treasury |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Coarse row lower bounds in drows ( E) |
| 9 | |
| 10 | Use the **ambient tubular chart**. Curvature in the row, converted back to matrix, |
| 11 | actually *is* the tangential projection of `U - 1`. So its squared-norm deficit |
| 12 | (chord versus curvature, same scale) prices only the squared *normal* |
| 13 | displacement. Need a real second-order bound on this displacement; take the |
| 14 | chart jet of `Gauge.focus`. Then apply in the clipped ranges after ℓ cancels. No |
| 15 | branch smoothness of the row assumed. Constants needed before L. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.Work.E05 |
| 20 | open Filter Asymptotics Lattice RG Wilson Pressure |
| 21 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators |
| 22 | |
| 23 | section chart |
| 24 | attribute [local instance] Gauge.frobInner |
| 25 | variable (G : Gauge) |
| 26 | |
| 27 | /-- The conversion in the defining representation, not assuming U near the identity. -/ |
| 28 | theorem curvature_tangent (u : G.El) : |
| 29 | G.lie.starProjection (G.mat u - 1) = G.colorMat (G.curvature u) := by |
| 30 | let X := (1/2 : ℝ) • (G.mat u - G.mat u⁻¹) |
| 31 | let H := G.mat u - 1 - X |
| 32 | have hs : star H = H := by |
| 33 | unfold H X |
| 34 | simp only [star_sub, star_smul, star_trivial, star_one, G.mat_inv, star_star] |
| 35 | module |
| 36 | have hh : G.lie.starProjection H = 0 := by |
| 37 | apply G.lie.starProjection_apply_eq_zero_iff.mpr |
| 38 | intro w hw |
| 39 | have h := real_inner_comm w H |
| 40 | change (H * star w).trace.re = (w * star H).trace.re at h |
| 41 | have hw' : star w = -w := G.generates_skew hw |
| 42 | rw [hw', hs, mul_neg, Matrix.trace_neg, Complex.neg_re, Matrix.trace_mul_comm H w] at h |
| 43 | change (w * star H).trace.re = 0 |
| 44 | rw [hs]; linarith |
| 45 | change _ = G.colorMat (G.projectColor X) |
| 46 | rw [G.colorMat_project, ← sub_eq_zero, ← map_sub] |
| 47 | exact hh |
| 48 | |
| 49 | private theorem norm_difference (u : G.El) : ‖G.mat u - 1‖ = G.colorScale * G.chord u := by |
| 50 | simpa only [G.mat_one, inv_one, mul_one] using (chord_gap u (1:G.El)).symm |
| 51 | |
| 52 | theorem sq_deficit (u : G.El) : |
| 53 | G.colorScale^2 * (G.chord u ^ 2 - ‖G.curvature u‖^2) = |
| 54 | ‖G.mat u - 1 - G.lie.starProjection (G.mat u - 1)‖^2 := by |
| 55 | have h := G.lie.norm_sq_eq_add_norm_sq_starProjection (G.mat u - 1) |
| 56 | rw [norm_difference, curvature_tangent, G.colorMat_norm, |
| 57 | Submodule.starProjection_orthogonal_val] at h |
| 58 | nlinarith only [h] |
| 59 | |
| 60 | /-- Quadratic approximation, uniform for group elements in an ambient ball. -/ |
| 61 | theorem normal_quadratic : ∃ (C r : ℝ), 0 < C ∧ 0 < r ∧ ∀ u : G.El, |
| 62 | ‖G.mat u - 1‖ ≤ r → |
| 63 | ‖G.mat u - 1 - G.lie.starProjection (G.mat u - 1)‖ ≤ C * ‖G.mat u - 1‖^2 := by |
| 64 | have hn (u : G.El) : G.Nearest u (G.mat u) := fun v => by simp |
| 65 | have he : G.mat (G.focus 1) = 1 := by |
| 66 | rw [← (G.nearest_is_focus.self_of_nhds 1 (hn 1)), G.mat_one] |
| 67 | obtain ⟨p,hp⟩ := G.focus_diff.analyticAt |
| 68 | have h1 (x : G.Mat) : p 1 (fun _ => x) = G.lie.starProjection x := |
| 69 | DFunLike.congr_fun (hp.hasFDerivAt.unique G.focus_deriv.hasFDerivAt) x |
| 70 | have h2 (x : G.Mat) : p.partialSum 2 x = 1 + G.lie.starProjection x := by |
| 71 | rw [FormalMultilinearSeries.partialSum, Finset.sum_range_succ, Finset.sum_range_one, |
| 72 | hp.coeff_zero, h1, he] |
| 73 | obtain ⟨C, hC, hbig⟩ := (hp.isBigO_sub_partialSum_pow 2).exists_pos |
| 74 | have ht : Tendsto (fun x : G.Mat => x - 1) (𝓝 1) (𝓝 0) := by |
| 75 | simpa only [sub_self] using (show Continuous (fun x : G.Mat => x - 1) from by fun_prop).tendsto 1 |
| 76 | have hloc : ∀ᶠ x : G.Mat in 𝓝 1, |
| 77 | ∀ u : G.El, x = G.mat u → ‖x - 1 - G.lie.starProjection (x - 1)‖ ≤ C * ‖x - 1‖^2 := by |
| 78 | filter_upwards [ht.eventually hbig.bound, G.nearest_is_focus] with x hx hy u hu |
| 79 | subst x |
| 80 | change ‖G.mat (G.focus (1 + (G.mat u - 1))) - p.partialSum 2 (G.mat u - 1)‖ ≤ |
| 81 | C * ‖‖G.mat u - 1‖^2‖ at hx |
| 82 | rw [add_sub_cancel, ← hy u (hn u), h2, Real.norm_of_nonneg (by positivity), sub_add_eq_sub_sub] at hx |
| 83 | exact hx |
| 84 | obtain ⟨r,hr,h⟩ := Metric.nhds_basis_closedBall.eventually_iff.1 hloc |
| 85 | exact ⟨C,r,hC,hr,fun u hu => h (by rwa [Metric.mem_closedBall,dist_eq_norm]) u rfl⟩ |
| 86 | |
| 87 | /-- Lower bound in the *physical* normalization. Choose constants on G alone. -/ |
| 88 | theorem curvature_lower : ∃ (K δ : ℝ), 0 < K ∧ 0 < δ ∧ ∀ u : G.El, G.chord u ≤ δ → |
| 89 | G.chord u^2 - K * G.chord u^4 ≤ ‖G.curvature u‖^2 ∧ |
| 90 | 3/4 * G.chord u^2 ≤ ‖G.curvature u‖^2 := by |
| 91 | obtain ⟨C,r,hC,hr,hq⟩ := normal_quadratic G |
| 92 | let D := G.colorScale |
| 93 | let K := C^2 * D^2 |
| 94 | let b : ℝ := Real.sqrt (1 / (4*K)) |
| 95 | have hD : 0 < D := G.colorScale_pos |
| 96 | have hK : 0 < K := by unfold K; positivity |
| 97 | have hb : 0 < b := by unfold b; positivity |
| 98 | refine ⟨K,min (r/D) b,hK,lt_min (by positivity) hb,?_⟩ |
| 99 | intro u hu |
| 100 | have hg := G.chord_nonneg u |
| 101 | obtain ⟨ha,hb'⟩ := le_min_iff.mp hu |
| 102 | have ht := hq u (show ‖G.mat u - 1‖ ≤ r by |
| 103 | rw [norm_difference, mul_comm]; exact (le_div_iff₀ hD).1 ha) |
| 104 | have he := pow_le_pow_left₀ (norm_nonneg _) ht 2 |
| 105 | rw [← sq_deficit, norm_difference] at he |
| 106 | have hm : G.chord u^2 - K * G.chord u^4 ≤ ‖G.curvature u‖^2 := by |
| 107 | apply le_of_mul_le_mul_left (a:=D^2) ?_ (by positivity) |
| 108 | unfold K D |
| 109 | nlinarith only [he] |
| 110 | refine ⟨hm, le_trans ?_ hm⟩ |
| 111 | have hδ : b^2 = 1 / (4*K) := Real.sq_sqrt (by positivity) |
| 112 | have hu := mul_le_mul_of_nonneg_left (pow_le_pow_left₀ hg hb' 2) hK.le |
| 113 | rw [hδ, show K * (1 / (4*K)) = 1 / 4 by field_simp] at hu |
| 114 | nlinarith only [mul_le_mul_of_nonneg_right hu (sq_nonneg (G.chord u))] |
| 115 | end chart |
| 116 | |
| 117 | section clipping |
| 118 | variable {G : Gauge} {c f : Side} {S : StepData c f} (T : Tube G S) |
| 119 | (R : ℕ) (V : Config G c) (s : ℝ) (i : Cell c) |
| 120 | |
| 121 | open Pressure.Tube |
| 122 | open scoped Classical |
| 123 | |
| 124 | /-- Coarse ℓ contributions cancel on both sides of kept, including cutoffs. -/ |
| 125 | theorem workC_eq : |
| 126 | let r := toll V i |
| 127 | let a : ℝ := if r=0 then 1 else min 1 (s/r) |
| 128 | T.workC R V s i = T.low.direct * (a - a^2/2) * ‖G.curvature (faceValue V i)‖^2 - |
| 129 | PathData.clipped T.low s r := by |
| 130 | intro r a |
| 131 | let d := shoot T.low V i |
| 132 | have hel : inner ℝ (T.vision R s V (i,true)) (T.Xn R V (i,true)) - |
| 133 | ‖T.vision R s V (i,true)‖^2/2 = trunk T.down T.low R S.patch.L.val s V i := by |
| 134 | by_cases h : PathData.kept T.low s i.1 V |
| 135 | · simp [Tube.vision, Tube.Xn, thinned, plotted, trunk, h] |
| 136 | ring |
| 137 | · simp [Tube.vision, Tube.Xn, thinned, plotted, trunk, h] |
| 138 | have hv : T.vision R s V (i,false) = a • d := by |
| 139 | simp only [Tube.vision, thinned, Bool.false_eq_true, ↓reduceIte] |
| 140 | rfl |
| 141 | have hx : T.Xn R V (i,false)=d := by simp [Tube.Xn, plotted, d] |
| 142 | have hd : ‖d‖^2 = T.low.direct * ‖G.curvature (faceValue V i)‖^2 := by |
| 143 | unfold d shoot |
| 144 | rw [norm_smul, Real.norm_of_nonneg (Real.sqrt_nonneg _), mul_pow, |
| 145 | Real.sq_sqrt T.low.quadratic_pos.le] |
| 146 | unfold Tube.workC crown |
| 147 | rw [Fintype.sum_bool, hel, hv, hx, real_inner_smul_left, |
| 148 | real_inner_self_eq_norm_sq, norm_smul, mul_pow, Real.norm_eq_abs, sq_abs, hd] |
| 149 | dsimp only [r, toll] |
| 150 | ring |
| 151 | |
| 152 | lemma workC_small (h : toll V i ≤ s) (K : ℝ) (hK : 0 ≤ K) |
| 153 | (hc : toll V i^2 - K * toll V i^4 ≤ ‖G.curvature (faceValue V i)‖^2) : |
| 154 | -(T.low.direct*K/2*s^4) ≤ T.workC R V s i := by |
| 155 | have hd := T.low.quadratic_pos |
| 156 | have hr : 0 ≤ toll V i := G.chord_nonneg _ |
| 157 | have he : (if toll V i = 0 then 1 else min 1 (s/toll V i)) = 1 := by |
| 158 | split |
| 159 | · rfl |
| 160 | next hn => rw [min_eq_left (by |
| 161 | rw [le_div_iff₀ (lt_of_le_of_ne hr (Ne.symm hn)), one_mul]; exact h)] |
| 162 | rw [workC_eq T, he, PathData.clipped, if_pos h] |
| 163 | have hf := pow_le_pow_left₀ hr h 4 |
| 164 | nlinarith only [mul_le_mul_of_nonneg_left hc hd.le, |
| 165 | mul_le_mul_of_nonneg_left hf (mul_nonneg hd.le hK)] |
| 166 | |
| 167 | /-- In both next ranges the source of positive credit costs at least half a. -/ |
| 168 | lemma workC_large (hs : 0 ≤ s) (hh : s < toll V i) : |
| 169 | T.low.direct * (s / toll V i / 2) * ‖G.curvature (faceValue V i)‖^2 - |
| 170 | T.low.linear*s*toll V i ≤ T.workC R V s i := by |
| 171 | have hd := T.low.quadratic_pos |
| 172 | have hr : 0 < toll V i := hs.trans_lt hh |
| 173 | rw [workC_eq T, if_neg hr.ne', PathData.clipped, if_neg (not_le.2 hh)] |
| 174 | have h : s / toll V i ≤ 1 := (div_le_one hr).mpr hh.le |
| 175 | have hu : 0 ≤ s / toll V i := div_nonneg hs hr.le |
| 176 | rw [min_eq_right h] |
| 177 | apply sub_le_sub_right _ |
| 178 | apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) |
| 179 | apply mul_le_mul_of_nonneg_left _ hd.le |
| 180 | nlinarith only [mul_le_mul_of_nonneg_left h hu] |
| 181 | |
| 182 | lemma workC_mid (hs : 0 ≤ s) (hh : s < toll V i) |
| 183 | (hc : 3/4 * toll V i^2 ≤ ‖G.curvature (faceValue V i)‖^2) : |
| 184 | T.low.direct/4*s*toll V i ≤ T.workC R V s i := by |
| 185 | have hd := T.low.quadratic_pos |
| 186 | have hr : 0 < toll V i := hs.trans_lt hh |
| 187 | apply le_trans ?_ (workC_large T R V s i hs hh) |
| 188 | have hb := mul_le_mul_of_nonneg_left hc (show 0 ≤ T.low.direct * (s / toll V i / 2) by positivity) |
| 189 | have he : T.low.direct * (s / toll V i / 2) * (3/4 * toll V i^2) = |
| 190 | 3/8*T.low.direct*s*toll V i := by field_simp; ring |
| 191 | have hi : T.low.linear*s*toll V i ≤ T.low.direct/8*s*toll V i := by |
| 192 | apply mul_le_mul_of_nonneg_right _ hr.le |
| 193 | apply mul_le_mul_of_nonneg_right _ hs |
| 194 | linarith only [hd,T.low.kink] |
| 195 | rw [he] at hb |
| 196 | linarith only [hi,hb] |
| 197 | end clipping |
| 198 | |
| 199 | open Pressure.Teller Pressure.Stores |
| 200 | |
| 201 | lemma ultimately_cool (δ : ℝ) (h : 0 < δ) : ∀ᶠ x : ℝ in atTop, 0 ≤ temp x ∧ temp x ≤ δ := by |
| 202 | filter_upwards [Vac.Numbers.uniform_loop, eventually_gt_atTop (1 / δ^3)] with x hx hy |
| 203 | have hd : 0 < δ^3 := by positivity |
| 204 | have ht : 0 < x := lt_trans (by positivity) hy |
| 205 | refine ⟨by unfold temp; positivity,?_⟩ |
| 206 | have he : x*temp x^3 ≤ 1 := hx.2.1 |
| 207 | rw [div_lt_iff₀ hd] at hy |
| 208 | by_contra! hh |
| 209 | exact he.not_gt (hy.trans (mul_lt_mul_of_pos_left (pow_lt_pow_left₀ hh h.le (by norm_num)) ht)) |
| 210 | |
| 211 | theorem answer : YM.Bid.E05 := by |
| 212 | intro G P |
| 213 | obtain ⟨K,δ,hK,hδ,h⟩ := curvature_lower G |
| 214 | have hp := P.below.clip.quadratic_pos |
| 215 | refine ⟨δ,hδ,P.below.clip.direct*K/2,by positivity,fun L W => ⟨?_⟩⟩ |
| 216 | filter_upwards [ultimately_cool δ hδ] with x hx |
| 217 | intro c f S _ _ T hT _ A U k V _ _ |
| 218 | refine ⟨fun i hs ht => ?_, fun i hi => ?_, fun i hi => ?_⟩ |
| 219 | · exact workC_mid T _ V _ i hx.1 hs ((h _ ht).2) |
| 220 | · rw [← hT.low] |
| 221 | exact workC_small T _ V _ i hi K hK.le (h _ (hi.trans hx.2)).1 |
| 222 | · have he : temp x < toll V i := hx.2.trans_lt hi |
| 223 | have ht : 0 < toll V i := hx.1.trans_lt he |
| 224 | apply le_trans ?_ (workC_large T _ V _ i hx.1 he) |
| 225 | have hd := T.low.quadratic_pos |
| 226 | have hs := hx.1 |
| 227 | have hk : 0 ≤ T.low.direct * (temp x / toll V i / 2) * ‖G.curvature (faceValue V i)‖^2 := by positivity |
| 228 | linarith only [hk] |
| 229 | end YM.Work.E05 |