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.ProjectorNext.PROJECTOR_CALIBRATION.Germ |
| 2 | import YM.ProjectorNext.PROJECTOR_CALIBRATION.Telescope |
| 3 | |
| 4 | /-! |
| 5 | # Finite coupons for polarized main and divergence |
| 6 | |
| 7 | Analytic laws on parameters `(θ, β⁻¹ θ⁻²)`. After crossing one |
| 8 | leg, the weight costs θ^{l-1}; its derivative needs θ^{l-2} |
| 9 | instead; differentiating the channel itself costs NO amplitude inverse. |
| 10 | Handle l<2 using natural subtraction, including l=0 where mix is zero. |
| 11 | No analytic estimate in growing d. -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.ProjectorNext.Calibration.Coupon |
| 15 | open Function Filter Tensor Work Next.Foundations |
| 16 | open scoped Topology BigOperators ContDiff |
| 17 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [FiniteDimensional ℝ X] |
| 18 | {l : ℕ} (B : Tensor.T X ℂ l) (Q : Module.End ℝ X) (d : ℕ) |
| 19 | |
| 20 | abbrev Screen (X : Type*) := X → X × X |
| 21 | /-- energy part after one power of θ extracted from each snap filter. -/ |
| 22 | def daylight (Z : Screen X) (θ : ℝ) (x : X) : ℂ := Cross.mix B Q (trim d Z θ x).1 (trim d Z θ x).2 |
| 23 | |
| 24 | lemma day_smooth (Z : Screen X) : ContDiff ℝ ω (uncurry (daylight B Q d Z)) := by |
| 25 | refine contDiff_iff_contDiffAt.mpr fun p => Cross.mix_smooth B Q ?_ ?_ |
| 26 | · exact (trim_smooth d Z).fst.contDiffAt |
| 27 | exact (trim_smooth d Z).snd.contDiffAt |
| 28 | |
| 29 | omit [FiniteDimensional ℝ X] in |
| 30 | lemma day_value (Z : Screen X) (A : X) : daylight B Q d Z 0 A = Cross.mix B Q (fderiv ℝ Z 0 A).1 (fderiv ℝ Z 0 A).2 := by rw [daylight,trim_value] |
| 31 | |
| 32 | abbrev Slides (X : Type*) := X → X × X × X × X |
| 33 | |
| 34 | /-- Divergence terms; pack `(R,dR,channel,dchannel)` only first of which is |
| 35 | required to vanish. Keep χ as separate parameter from the stencil |
| 36 | coefficients. -/ |
| 37 | def evening (Z : Slides X) (θ : ℝ) (χ : ℝ) (x : X) : ℂ := |
| 38 | let v := trim d Z θ x |
| 39 | let w := Z 0+θ • v |
| 40 | χ • ((θ^(2+(l-2)-l)) • Cross.rate B Q v.1 w.2.1 w.2.2.1 + |
| 41 | (θ^(2+(l-1)-l)) • Cross.mix B Q v.1 w.2.2.2) |
| 42 | |
| 43 | lemma eve_smooth (Z : Slides X) : ContDiff ℝ ω (fun p : ℝ × ℝ × X => evening B Q d Z p.1 p.2.1 p.2.2) := by |
| 44 | unfold evening; dsimp only |
| 45 | let v (p : ℝ × ℝ × X) := trim d Z p.1 p.2.2 |
| 46 | let w (p : ℝ × ℝ × X) := Z 0+p.1 • v p |
| 47 | have hv : ContDiff ℝ ω v := (trim_smooth d Z).comp (contDiff_fst.prodMk contDiff_snd.snd) |
| 48 | have hw : ContDiff ℝ ω w := contDiff_const.add (contDiff_fst.smul hv) |
| 49 | apply ContDiff.smul (f:=fun p : ℝ × ℝ × X => p.2.1) (g:=fun p => _ + _) contDiff_snd.fst |
| 50 | refine ContDiff.add ((contDiff_fst.pow _).smul (contDiff_iff_contDiffAt.mpr fun p => |
| 51 | Cross.rate_smooth B Q hv.fst.contDiffAt hw.snd.fst.contDiffAt hw.snd.snd.fst.contDiffAt)) ?_ |
| 52 | exact (contDiff_fst.pow _).smul (contDiff_iff_contDiffAt.mpr fun p => Cross.mix_smooth B Q hv.fst.contDiffAt hw.snd.snd.snd.contDiffAt) |
| 53 | |
| 54 | omit [FiniteDimensional ℝ X] in |
| 55 | private lemma flat (h : l=0) (x y : X) : Cross.mix B Q x y=0 := by |
| 56 | rw [Cross.mixSum] |
| 57 | subst l; exact Finset.sum_of_isEmpty _ -- ? |
| 58 | |
| 59 | def raw (p : X × X) := Cross.mix B Q p.1 p.2 |
| 60 | |
| 61 | def marked (p : X × X × X × X) := Cross.rate B Q p.1 p.2.1 p.2.2.1 + Cross.mix B Q p.1 p.2.2.2 |
| 62 | |
| 63 | lemma raw_smooth : ContDiff ℝ ω (raw B Q) := |
| 64 | contDiff_iff_contDiffAt.mpr fun _ => Cross.mix_smooth B Q contDiffAt_fst contDiffAt_snd |
| 65 | |
| 66 | lemma marked_smooth : ContDiff ℝ ω (marked B Q) := |
| 67 | contDiff_iff_contDiffAt.mpr fun _ => |
| 68 | (Cross.rate_smooth B Q contDiffAt_fst contDiffAt_snd.fst contDiffAt_snd.snd.fst).add (Cross.mix_smooth B Q contDiffAt_fst contDiffAt_snd.snd.snd) |
| 69 | |
| 70 | private lemma scaled (θ : ℝ) (ht : θ ≠ 0) (χ : ℝ) (x : ℂ) (l k : ℕ) (hk : l≤2+k) : |
| 71 | θ⁻¹^l • ((χ*θ^2) • (θ^k • x)) = χ • (θ^(2+k-l) • x) := by |
| 72 | have he : θ^l*θ^(2+k-l)= θ^2 * θ^k := by rw [← pow_add,Nat.add_sub_of_le hk, pow_add] |
| 73 | simp_rw [smul_smul,inv_pow] |
| 74 | congr 1 |
| 75 | field_simp; nth_rw 1 [mul_assoc]; rw [← he]; ring |
| 76 | |
| 77 | omit [FiniteDimensional ℝ X] in |
| 78 | lemma day_exact (Z : Screen X) (hz : Z 0=0) (θ : ℝ) (ht : θ≠0) (x : X) : |
| 79 | θ⁻¹^l • raw B Q (Z 0+θ • trim d Z θ x) = daylight B Q d Z θ x := by |
| 80 | by_cases hh : l=0 |
| 81 | · exact (congr_arg _ (flat B Q hh ..)).trans ((smul_zero _).trans (flat B Q hh ..).symm) |
| 82 | let v := trim d Z θ x |
| 83 | rw [hz, zero_add] |
| 84 | change _ • Cross.mix _ _ (θ • v.1) (θ • v.2) = _ |
| 85 | rw [map_smul, Cross.mix_degree,smul_smul,smul_smul,mul_assoc,← pow_succ',Nat.sub_add_cancel (Nat.pos_of_ne_zero hh),inv_pow,inv_mul_cancel₀ (pow_ne_zero l ht),one_smul] -- map_smul |
| 86 | rfl |
| 87 | |
| 88 | omit [FiniteDimensional ℝ X] in |
| 89 | lemma eve_exact (Z : Slides X) (hz : (Z 0).1=0) (θ χ : ℝ) (ht : θ≠0) (x : X) : |
| 90 | θ⁻¹^l • ((χ*θ^2) • marked B Q (Z 0+θ • trim d Z θ x)) = evening B Q d Z θ χ x := by |
| 91 | let v := trim d Z θ x |
| 92 | let w := Z 0+θ • v |
| 93 | have hw : w.1=θ • v.1 := by simp [w,hz] |
| 94 | change θ⁻¹^l • ((χ*θ^2) • (Cross.rate B Q w.1 w.2.1 w.2.2.1 + Cross.mix B Q w.1 w.2.2.2))= |
| 95 | χ • _ |
| 96 | rw [hw, Cross.rate_degree, Cross.mix_degree] |
| 97 | simp_rw [smul_add] |
| 98 | rw [scaled θ ht _ _ _ _ (by omega), scaled θ ht _ _ _ _ (by omega)] |
| 99 | |
| 100 | /-- Exact coupons on k derivatives of energy or density insertions. Even |
| 101 | true at negative θ as long as nonzero. Smooth at θ=0 on RHS gives limit. -/ |
| 102 | lemma cash (k : ℕ) (hk : k≤d+1) {Z : Screen X} (h : ContDiffAt ℝ ω Z 0) (hz : Z 0=0) {r : ℝ → X} |
| 103 | (hr : ContDiff ℝ ω r) (he : r 0=0) {θ : ℝ} (ht : θ≠0) : |
| 104 | iteratedDeriv k (fun t : ℝ => θ⁻¹^l • raw B Q (Z (θ • r t))) 0 = |
| 105 | iteratedDeriv k (fun t : ℝ => daylight B Q d Z θ (r t)) 0 := by |
| 106 | let P (p : X × X) := θ⁻¹^l • raw B Q p |
| 107 | have hx := exchanged d hk θ h ((contDiff_const (c:=θ⁻¹^l)).smul (raw_smooth B Q) : ContDiff ℝ ω P) hr he |
| 108 | simp_rw [← day_exact B Q d Z hz θ ht]; exact hx |
| 109 | |
| 110 | lemma cash_div (k : ℕ) (hk : k≤d+1) {Z : Slides X} (h : ContDiffAt ℝ ω Z 0) (hz : (Z 0).1=0) {r : ℝ → X} |
| 111 | (hr : ContDiff ℝ ω r) (he : r 0=0) {θ χ : ℝ} (ht : θ≠0) : |
| 112 | iteratedDeriv k (fun t : ℝ => θ⁻¹^l • ((χ*θ^2) • marked B Q (Z (θ • r t)))) 0 = |
| 113 | iteratedDeriv k (fun t : ℝ => evening B Q d Z θ χ (r t)) 0 := by |
| 114 | let P (p : X × X × X × X) := θ⁻¹^l • ((χ*θ^2) • marked B Q p) |
| 115 | have hx := exchanged d hk θ h ((contDiff_const (c:=θ⁻¹^l)).smul ((contDiff_const (c:=χ*θ^2)).smul (marked_smooth B Q)) : ContDiff ℝ ω P) hr he |
| 116 | simp_rw [← eve_exact B Q d Z hz θ χ ht]; exact hx |
| 117 | end YM.ProjectorNext.Calibration.Coupon |