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.CONNECTED_ACTIVITY_JETS_E6.Neumann |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Pulse |
| 3 | |
| 4 | /-! |
| 5 | # Local + exponential chain sums of both log-determinants |
| 6 | |
| 7 | Integral convention (Jacobi fixed interpolation). Write `log|det(...)|` |
| 8 | also on F defects, justified invertible throughout. `first=0` arm count |
| 9 | includes actual S. For use in product branches h label attendance split |
| 10 | the raw summed powers into ordered BOND components; note no volume prefactor |
| 11 | estimated as though per hit. Defect/determinant letters keep all color indices. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.ConnectedActivityE6.Pulse |
| 16 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 17 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 18 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals Control Window |
| 19 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 20 | variable {c : Side} {ι : Type*} {a : ι→Site c} {B m : ℕ} (D : Window a B) [DecidableEq ι] [Fintype ι] |
| 21 | variable (A : Matrix ι ι ℝ) {η Q r : ℝ} (hp : Torch η r Q) (h : Allow A a m η r Q) |
| 22 | |
| 23 | /-- Full vs principal. Summed at one color index, to combine later. -/ |
| 24 | def intensity (x : ℝ) (s : ℕ) := (A-1)*(D.pad (glide A x)*(-D.error (glide A x))^s) |
| 25 | def lact (i : ι) (n : ℕ) := ∫ x in (0:ℝ)..1, intensity D A x n i i |
| 26 | def localBase (i : ι) := lact D A i 0 |
| 27 | |
| 28 | def coil (i : ι) := ∫ x in (0:ℝ)..1, ((A-1)*(glide A x)⁻¹) i i |
| 29 | |
| 30 | section |
| 31 | include hp h |
| 32 | lemma energy_all (i : ι) (hd : scraps η r Q m B < 1) : HasSum (lact D A i) (coil A i) := by |
| 33 | let K := retain η r Q; let R := scraps η r Q m B |
| 34 | let S := payE η r Q m; let U := Set.uIcc (0:ℝ) 1 |
| 35 | have hE : 0≤R := h.heap B |
| 36 | let X : ℕ→ℝ := fun n => (Q+1)*(S*R^n) |
| 37 | have hk : Summable X := ((summable_geometric_of_lt_one hE hd).mul_left S).mul_left _ |
| 38 | have he := vibrate D A h hp |
| 39 | have hQ := h.weather.1 |
| 40 | refine up_integral X hk (fun n t => intensity D A t n i i) ?_ ?_ (fun x => ((A-1)*(glide A x)⁻¹) i i) ?_ |
| 41 | · have ht : ContinuousOn (fun s => D.error (glide A s)) U := ContinuousOn.sub |
| 42 | ((strung A).continuousOn.mul he) continuousOn_const |
| 43 | intro n; exact continuousOn_pi.mp (continuousOn_pi.mp (show ContinuousOn |
| 44 | (fun x=>intensity D A x n) U from ContinuousOn.mul continuousOn_const (he.mul (ht.neg.pow n))) i) i |
| 45 | · intro x t ht |
| 46 | have hl := h.glide hp.hv hp.hQ t ht |
| 47 | have hZ := hl.discrepancy D |
| 48 | have hv : Price a a (A-1) K (Q+1) := by rw [sub_eq_add_neg]; exact paid_add h.relented (spent_neg (one_pay ..)) |
| 49 | have hy := h.disc |
| 50 | have hs : Price a a (D.pad (glide A t)*(-D.error (glide A t))^x) K (S*R^x) := |
| 51 | paid_mul (increase (hl.primal D) (by unfold K; linarith) le_rfl) (raising (spent_neg hZ) hE hQ.le x) hQ.le hy (by positivity) |
| 52 | exact only_price ((paid_mul hv hs hQ.le (by have h:=hp.hQ; linarith) (by unfold S; positivity)).1) hQ.le i i |
| 53 | intro s hs |
| 54 | have h₁ := (h.glide hp.hv hp.hQ s hs).discrepancy D |
| 55 | have hx := stitch h₁ hE hQ.le hd (show glide A s*D.pad (glide A s)-1=D.error _ from rfl) |
| 56 | exact Pi.hasSum.mp ((Pi.hasSum.mp (hx.mul_left (A-1))) i) i |
| 57 | |
| 58 | lemma nofirst (i : ι) (hd : scraps η r Q m B<1) : |
| 59 | HasSum (fun n : ℕ => lact D A i (n+1)) (coil A i-localBase D A i) := by |
| 60 | have he := energy_all D A hp h i hd |
| 61 | have hv : coil A i-localBase D A i=∑' n : ℕ, lact D A i (n+1) := by |
| 62 | have hh := (he.summable.sum_add_tsum_nat_add 1).trans he.tsum_eq |
| 63 | rw [sum_range_one] at hh; rw [← hh]; unfold localBase; abel |
| 64 | rw [hv]; exact ((summable_nat_add_iff 1).2 he.summable).hasSum |
| 65 | |
| 66 | lemma clustered : Real.log A.det = ∑ i, coil A i := by |
| 67 | let M s := glide A s |
| 68 | let U := Set.uIcc (0:ℝ) 1 |
| 69 | have hf (s) (hs : s∈Set.Icc (0:ℝ) 1) := Matrix.isUnit_det_of_right_inverse ((h.glide hp.hv hp.hQ s hs).initial.1) |
| 70 | have ht : ContinuousOn (fun s => (A-1)*(M s)⁻¹) U := ContinuousOn.mul continuousOn_const (flowing U |
| 71 | (strung A) (fun s hs => hf s (by unfold U at hs; rwa [Set.uIcc_of_le zero_le_one] at hs))) |
| 72 | rw [total A hf]; unfold coil |
| 73 | change (∫ s in (0:ℝ)..1, ∑ i : ι, ((A-1)*(M s)⁻¹) i i ) = _ |
| 74 | exact intervalIntegral.integral_finsetSum (f:=fun i s => ((A-1)*(M s)⁻¹) i i) fun i _ => |
| 75 | (continuousOn_pi.mp (continuousOn_pi.mp ht i) i).intervalIntegrable |
| 76 | end |
| 77 | |
| 78 | section corr |
| 79 | |
| 80 | def note (E : Matrix ι ι ℝ) (s : ℝ) (n : ℕ) := E*(-(s • E))^n |
| 81 | |
| 82 | def tick (E : Matrix ι ι ℝ) (i : ι) (n : ℕ) := ∫ x in (0:ℝ)..1, note E x n i i |
| 83 | |
| 84 | lemma defect {E : Matrix ι ι ℝ} (h : Price a a E η Q) (hr : 0 ≤ Q) (he : 0≤η) (hg : Q<1) : |
| 85 | HasSum (fun n => ∑ i, tick E i n) (Real.log (1+E).det) := by |
| 86 | let P := 1+E |
| 87 | have hp : P-1=E := by unfold P; abel |
| 88 | have hz s : glide P s=1- -(s • E) := by rw [glide,hp]; abel |
| 89 | have hs (s : ℝ) (hh : s∈Set.Icc (0:ℝ) 1) : Price a a (-(s • E)) η Q := by |
| 90 | refine spent_neg (increase (weighted_by h s) le_rfl ?_); rw [abs_of_nonneg hh.1]; exact mul_le_of_le_one_left hr hh.2 |
| 91 | have hu s (hh : s ∈ Set.Icc (0:ℝ) 1) : IsUnit (glide P s).det := by rw [hz]; exact (involves (hs s hh) hr he hg).1 |
| 92 | let f s := E*(glide P s)⁻¹ |
| 93 | have he' : ContinuousOn f (Set.uIcc (0:ℝ) 1) := ContinuousOn.mul continuousOn_const (flowing _ (strung P) |
| 94 | (fun s h => hu s (Set.uIcc_of_le (show (0:ℝ) ≤ 1 by norm_num) ▸ h))) |
| 95 | let F (i : ι) := ∫ s in (0:ℝ)..1, f s i i |
| 96 | rw [total P hu,hp,show (∫ s in (0:ℝ)..1, trace (E*(glide P s)⁻¹))=∑ i, F i from |
| 97 | intervalIntegral.integral_finsetSum (f:=fun i s => f s i i) |
| 98 | fun i _ => (continuousOn_pi.mp (continuousOn_pi.mp he' i) i).intervalIntegrable] |
| 99 | refine hasSum_sum (fun i _ => ?_); let K (n : ℕ) := Q*Q^n |
| 100 | refine up_integral K ((summable_geometric_of_lt_one hr hg).mul_left Q) |
| 101 | (fun n s => note E s n i i) ?_ ?_ (fun s => f s i i) ?_ |
| 102 | · intro n |
| 103 | have h : Continuous (fun s => note E s n) := by unfold note; fun_prop |
| 104 | exact continuousOn_pi.mp (continuousOn_pi.mp h.continuousOn i) i |
| 105 | · intro x y hy |
| 106 | have hv := paid_mul h (raising (hs y hy) hr he x) he hr (pow_nonneg hr _) |
| 107 | exact only_price hv.1 he i i |
| 108 | intro y hy |
| 109 | have hv := ((involves (hs y hy) hr he hg).2).mul_left E |
| 110 | rw [← hz] at hv; exact Pi.hasSum.mp (Pi.hasSum.mp hv i) i |
| 111 | |
| 112 | include hp h in |
| 113 | lemma records_C (hs : Q*distPay η r Q m B<1) (H : PosDef (D.frameMean A)) : |
| 114 | HasSum (fun n => ∑ i, tick (D.flawed A) i n) (Real.log A.det + Real.log (D.frameMean A).det) := by |
| 115 | have h' := defect (h.flank D) (mul_nonneg h.fuel.le (mul_nonneg h.disc (h.heap B))) hp.prices.le hs |
| 116 | have hx := (Control.definite h.symmetry h.ground hp.spans).det_pos |
| 117 | rw [show 1+D.flawed A=A*D.frameMean A by unfold flawed; abel, Matrix.det_mul,Real.log_mul hx.ne' H.det_pos.ne'] at h' |
| 118 | exact h' |
| 119 | end corr |
| 120 | end YM.ConnectedActivityE6.Pulse |