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.Next.UV_STRESS.Fringe |
| 2 | import YM.ProofPorts.COMMON_COMPLEX_PRODUCTION.Slope |
| 3 | |
| 4 | /-! |
| 5 | # Score for the normalizer of the COMMON MARGINAL in Pin |
| 6 | |
| 7 | Real tables (restricted). Not the relative log-det chain expansion of the |
| 8 | physical global exponent and not differentiating a per-sector precision |
| 9 | prescription! This appearance of log(det) is only a consequence of holding |
| 10 | hard arguments *inside a particular connected component*. Dimension can now |
| 11 | be paid polynomially. Need V-entry jets for THAT marginal and its true |
| 12 | inverse (not principal inverse of the full table); values stay real on the |
| 13 | chosen derivative extension. No analyticity through actual V flag bits used. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.ProofPorts.CommonComplexProduction.Score |
| 18 | open Function Filter Finset Matrix Lattice RG Wilson Precision Multi Multi.Vacuum Next.SectorChange |
| 19 | open MeasureTheory Gaussian Gauss Jets Puff |
| 20 | open scoped Topology BigOperators Classical MatrixOrder ContDiff Matrix.Norms.Frobenius |
| 21 | |
| 22 | variable {I : Type} [Fintype I] [DecidableEq I] |
| 23 | |
| 24 | private lemma mislay {σ : Equiv.Perm I} (he : σ ≠ 1) (i : I) : (∏ j ∈ univ.erase i,(1 : Gaussian.Table I) (σ j) j) = 0 := by |
| 25 | obtain ⟨j,hj,hs⟩ : ∃ j, j≠i ∧ σ j ≠ j := by |
| 26 | by_contra! hf; apply he; ext j |
| 27 | by_cases ht : j=i |
| 28 | · subst j; by_contra! h; exact h (σ.injective (hf (σ i) h)) |
| 29 | exact hf _ ht |
| 30 | exact Finset.prod_eq_zero (mem_erase.mpr ⟨hj,mem_univ _⟩) (by simp [hs]) |
| 31 | |
| 32 | private lemma det_line {A : ℝ → Gaussian.Table I} {B : Gaussian.Table I} {x : ℝ} (h : A x=1) |
| 33 | (he : ∀ i j, HasDerivAt (fun t => A t i j) (B i j) x) : HasDerivAt (fun t => (A t).det) (∑ i,B i i) x := by |
| 34 | let f (σ : Equiv.Perm I) (t : ℝ) := Equiv.Perm.sign σ • ∏ i,A t (σ i) i |
| 35 | have ht (σ : Equiv.Perm I) : HasDerivAt (f σ) (if σ=1 then ∑ i,B i i else 0) x := by |
| 36 | have hh := (HasDerivAt.finsetProd (u:=univ) (fun i _ => he (σ i) i)).const_smul (Equiv.Perm.sign σ) |
| 37 | simp only [h] at hh |
| 38 | unfold f; by_cases hi : σ=1 |
| 39 | · subst σ; simpa only [Pi.smul_def, Equiv.Perm.sign_one,one_smul,Matrix.one_apply, Equiv.Perm.coe_one,id_eq,↓reduceIte, |
| 40 | prod_const_one, ← Finset.prod_fn (s:=univ)] using hh |
| 41 | have hv := mislay hi; simpa only [if_neg hi,hv,zero_smul,sum_const_zero,smul_zero,Pi.smul_def,Finset.prod_apply] using hh |
| 42 | simp_rw [Matrix.det_apply]; simpa [f] using HasDerivAt.fun_sum (u:=univ) (fun i _ => ht i) |
| 43 | |
| 44 | private lemma jacobi {A : ℝ → Gaussian.Table I} {B : Gaussian.Table I} {x : ℝ} (h : IsUnit (A x).det) |
| 45 | (he : ∀ i j, HasDerivAt (fun t => A t i j) (B i j) x) : HasDerivAt (fun t => Real.log (A t).det) |
| 46 | (∑ i,((A x)⁻¹ * B) i i) x := by |
| 47 | let C t := (A x)⁻¹ * A t |
| 48 | let E := (A x)⁻¹ * B |
| 49 | have hc : C x=1 := Matrix.nonsing_inv_mul _ h |
| 50 | have ht : HasDerivAt (fun t => (C t).det) (∑ i,E i i) x := det_line hc fun i j => |
| 51 | HasDerivAt.fun_sum (u:=univ) (fun k _ => (he k j).const_mul _) |
| 52 | have hh (t) : A t=A x*C t := by unfold C; rw [← Matrix.mul_assoc, Matrix.mul_nonsing_inv _ h, Matrix.one_mul] |
| 53 | convert ((ht.const_mul (A x).det).congr_deriv rfl).log (by rw [hc,det_one,mul_one]; exact h.ne_zero) using 1 |
| 54 | · ext t; rw [← Matrix.det_mul, ← hh] |
| 55 | rw [hc,det_one,mul_one]; unfold E; rw [mul_div_cancel_left₀ _ h.ne_zero] |
| 56 | |
| 57 | lemma crest_cast {G : Gauge} {n : Side} {f : Config G n→ℝ} {U k} : Crest k (fun V => (f V : ℂ)) U ↔ Crest k f U := by |
| 58 | exact ⟨fun h => Puff.into k _ (Complex.reCLM.contDiff.contDiffAt.comp (f:=(fun V => (f V:ℂ)) ∘ increment U) _ h.germ), |
| 59 | fun h => Puff.into k _ (Complex.ofRealCLM.contDiff.contDiffAt.comp _ h.germ)⟩ |
| 60 | |
| 61 | lemma crest_tr {X : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] {G : Gauge} {n : Side} {f : Config G n→X} {U k} (h : Crest k f U) : ContinuousAt f U := by |
| 62 | obtain ⟨g,h,hg⟩:=h |
| 63 | exact (h.continuousAt.comp Puff.visible.continuousAt).congr hg.symm |
| 64 | |
| 65 | namespace Normalizer |
| 66 | variable {G : Gauge} {n : Side} {A : Config G n → Gaussian.Table I} |
| 67 | {U : Config G n} {k : ℕ} |
| 68 | |
| 69 | def entry (A : Config G n → Gaussian.Table I) (i j : I) (V : Config G n) : ℂ := A V i j |
| 70 | |
| 71 | def smooth_table (k : ℕ) (A : Config G n → Gaussian.Table I) (U : Config G n) := ∀ i j,Crest k (entry A i j) U |
| 72 | |
| 73 | lemma det_smooth (h : smooth_table k A U) : Crest k (fun x => (A x).det) U := by |
| 74 | apply Puff.into |
| 75 | simp_rw [comp_def,Matrix.det_apply] |
| 76 | refine ContDiffAt.sum fun σ _ => ?_ |
| 77 | exact (contDiffAt_prod fun i _ => (crest_cast.mp (h (σ i) i)).germ).const_smul _ |
| 78 | |
| 79 | lemma cog (h : smooth_table (k+1) A U) (hA : IsUnit (A U).det) (v : Directions G n) : |
| 80 | leftDerivs (fun W => (Real.log (A W).det:ℂ)) [v] U = ∑ i,∑ j,(((A U)⁻¹ i j:ℝ):ℂ)*leftDerivs (entry A j i) [v] U := by |
| 81 | let z (t:ℝ) := increment U (t • v) |
| 82 | have hf := fun i j => ((crest_cast.mp (h i j)).line [] (by simp) v).hasDerivAt |
| 83 | let B := Matrix.of fun i j => leftDerivs (fun W => A W i j) [v] U |
| 84 | have hi : A (z 0) = A U := by simp only [z,zero_smul,inc_zero] |
| 85 | have he := (jacobi (A:=fun t => A (z t)) (B:=B) (hi.symm ▸ hA) hf).ofReal_comp.deriv |
| 86 | have ht i j : leftDerivs (entry A i j) [v] U = (B i j:ℂ) := (hf i j).ofReal_comp.deriv |
| 87 | rw [hi] at he |
| 88 | refine he.trans ?_; simp [mul_apply,ht] |
| 89 | |
| 90 | lemma slope {r c d : ℝ} {D : Directions G n → Prop} |
| 91 | (hr : 0 ≤ r) (hc : 0≤c) (hd : 0≤d) |
| 92 | (hs : ∀ i j, Slope k D U r d (entry A i j)) (h : ∀ i j, Band k D U r c (entry (fun x => (A x)⁻¹) i j)) (hA : IsUnit (A U).det) : |
| 93 | Slope k D U (2*r) ((Fintype.card I:ℝ)^2*c*d) (fun W => (Real.log (A W).det : ℂ)) := by |
| 94 | have he : smooth_table k A U := fun i j => (hs i j).read |
| 95 | refine Slope.from_core (by positivity) (by positivity) (crest_cast.mpr (into k _ ((det_smooth he).germ.log (by |
| 96 | change (A (increment U 0)).det ≠ 0; rw [inc_zero]; exact hA.ne_zero)))) ?_ |
| 97 | rintro l rfl v hv |
| 98 | have h' : ∀ᶠ V in 𝓝 U, smooth_table (l+1) A V := Filter.eventually_all.mpr fun i => Filter.eventually_all.mpr fun j => (he i j).near |
| 99 | let b i j := (entry (fun x => (A x)⁻¹) i j * leftDerivs (entry A j i) [v]) |
| 100 | have hj (i j) : Band l D U (2*r) (c*(d*r)) (b i j) := (show r+r=2*r by ring) ▸ (h i j).crop.multiply ((hs j i).core hv) |
| 101 | have he := band_comb (s:=univ) (by positivity) (fun i _ => band_comb (s:=univ) (by positivity) (fun j _ => hj i j)) |
| 102 | apply band_move (F:=∑ i,∑ j,b i j) (band_rise he ?_ le_rfl) |
| 103 | · filter_upwards [h', (crest_tr (det_smooth (A:=A) (k:=l+1) (fun i j => (hs i j).read))).eventually_ne hA.ne_zero] with V he hq |
| 104 | simpa only [b,Finset.sum_apply,Pi.mul_apply,entry] using cog he (IsUnit.mk0 _ hq) v |
| 105 | simp only [sum_const,card_univ,nsmul_eq_mul]; nlinarith [mul_nonneg (mul_nonneg (show (0:ℝ)≤(Fintype.card I:ℝ)^2 by positivity) hc) (mul_nonneg hd hr)] |
| 106 | end Normalizer |
| 107 | end YM.ProofPorts.CommonComplexProduction.Score |