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.FOUNDATIONS.TestBounds |
| 2 | |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | /-! |
| 7 | # From literal left bounds at any healthy point to mixed Fréchet |
| 8 | |
| 9 | Cf `TestBounds` private tools at identity, derive in scaled |
| 10 | form here (allow any per-link weight as specified dirBound multiplier, even |
| 11 | ca. ≤0 handles zero rays). No dependence on link count, L, threshold etc. |
| 12 | Using at every test position, constants only arity (not buying current |
| 13 | sections). Does not yet test log charts at nonzero input. -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.MultiNext.SignedSource.Lyre |
| 17 | open Function Filter Finset Tensor Work Set MeasureTheory RG Wilson Lattice Labels Source Drops Analysis |
| 18 | open Next.Foundations |
| 19 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 20 | variable {G : Gauge} {n : Side} {d : ℕ} |
| 21 | |
| 22 | section |
| 23 | |
| 24 | local notation "F" k => Fin k → ℝ |
| 25 | |
| 26 | /-- `finite pullbacks`: test on only same direction, lose constant JUST |
| 27 | of tensor order. -/ |
| 28 | private theorem concert (k : ℕ) : ∃ C : ℝ, 1 ≤ C ∧ ∀ T : Tensor.T (F k) ℂ k,Sym T → ∀ c : ℝ,0 ≤ c → |
| 29 | (∀ v,(∑ i,‖v i‖) ≤ 1 → ‖Tensor.diagonal T v‖ ≤ c) → ‖T (fun i => Pi.single i 1)‖ ≤ C*c := by |
| 30 | by_contra! hu |
| 31 | let B (i : ℕ) := (i:ℝ)+1 |
| 32 | choose f hf c hc he H using fun i => hu (B i) (by unfold B; linarith only [Nat.cast_nonneg (α:=ℝ) i]) |
| 33 | have hn i : 0 < B i := by unfold B; positivity |
| 34 | let w : Fin k → F k := fun i => Pi.single i 1 |
| 35 | let M := ∏ i, ‖w i‖ |
| 36 | have hm : 0 ≤ M := prod_nonneg fun _ _ => norm_nonneg _ |
| 37 | have hp i : B i*c i < ‖f i‖ * M := (H i).trans_le ((f i).le_opNorm w) |
| 38 | have hh i : 0 < ‖f i‖ := by nlinarith only [mul_nonneg (hn i).le (hc i),hp i,norm_nonneg (f i),hm] |
| 39 | let Y (i : ℕ) := ‖f i‖⁻¹ • f i |
| 40 | have ht i : Y i∈Metric.sphere (0:Tensor.T (F k) ℂ k) 1 := by simp [Y, norm_smul, (hh i).ne'] |
| 41 | letI : ProperSpace (Tensor.T (F k) ℂ k) := FiniteDimensional.proper ℝ _ |
| 42 | obtain ⟨p,hz,s,hS,hp'⟩:= (isCompact_sphere (0:Tensor.T (F k) ℂ k) 1).isSeqCompact ht |
| 43 | suffices p=(0:Tensor.T (F k) ℂ k) by simp [this] at hz |
| 44 | let J x := ContinuousMultilinearMap.apply ℝ (fun _ : Fin k => F k) ℂ x |
| 45 | have hx w : Tendsto (fun i : ℕ => Y (s i) w) atTop (𝓝 (p w)) := (J w).continuous.continuousAt.tendsto.comp hp' |
| 46 | apply ext_diag _ _ ?_ (fun _ _ => rfl) |
| 47 | · funext v |
| 48 | let r := 1+∑ i, ‖v i‖ |
| 49 | have hr : 0 < r := add_pos_of_pos_of_nonneg zero_lt_one (sum_nonneg fun _ _ => norm_nonneg _) |
| 50 | have hR : (∑ i, ‖(r⁻¹ • v) i‖) ≤ 1 := by |
| 51 | simp_rw [Pi.smul_apply,norm_smul,Real.norm_of_nonneg (inv_pos.mpr hr).le,← Finset.mul_sum] |
| 52 | unfold r; rw [inv_mul_le_iff₀ hr,mul_one]; linarith |
| 53 | let x : F k := r⁻¹ • v |
| 54 | have he i : ‖Tensor.diagonal (Y i) x‖ ≤ M/B i := by |
| 55 | change ‖(‖f i‖⁻¹:ℝ) • Tensor.diagonal (f i) x‖ ≤ _ |
| 56 | rw [norm_smul, Real.norm_of_nonneg (inv_pos.mpr (hh i)).le] |
| 57 | refine le_trans (mul_le_mul_of_nonneg_left (he i x hR) (inv_pos.mpr (hh i)).le) ?_ |
| 58 | rw [inv_mul_le_iff₀ (hh i),← mul_div_assoc,le_div_iff₀ (hn i),mul_comm (c i)]; exact (hp i).le |
| 59 | have hZ : Tendsto (fun i => ‖Tensor.diagonal (Y i) x‖) atTop (𝓝 (0:ℝ)) := by |
| 60 | refine squeeze_zero (fun i => norm_nonneg _) he (tendsto_const_nhds.div_atTop ?_) |
| 61 | exact tendsto_natCast_atTop_atTop.atTop_add (tendsto_const_nhds (x:=(1:ℝ))) |
| 62 | have hv : Tensor.diagonal p x=0 := norm_eq_zero.mp (tendsto_nhds_unique (hx (fun _ => x)).norm (hZ.comp hS.tendsto_atTop)) |
| 63 | rw [show v=r • x from (smul_inv_smul₀ hr.ne' v).symm,Tensor.homogeneous,hv,smul_zero]; rfl |
| 64 | intro i a; apply tendsto_nhds_unique (hx _) |
| 65 | simp only [Y,smul_apply,hf _ i a]; exact hx i |
| 66 | end |
| 67 | |
| 68 | /-! explicit weight for each link. -/ |
| 69 | def width (P : BudgetPoint) (o : Site n) (i : Edge (Site n)) := P.threshold*(1+(separation i.1 o:ℝ))^P.power |
| 70 | |
| 71 | lemma width_pos (P : BudgetPoint) (o : Site n) (i : Edge (Site n)) : 0 < width P o i := by unfold width; have ht := P.threshold_pos; positivity |
| 72 | |
| 73 | /-- Calendar-free polarization. -/ |
| 74 | theorem entry (k : ℕ) (G : Gauge) : ∃ C : ℝ,1 ≤ C ∧ ∀ (n : Side) (P : BudgetPoint) (Y : Support n) (o : Site n) |
| 75 | (u : Config G n → ℂ) (V : Config G n) (c : ℝ) (f : Fin k → Directions G n), k ≤ P.order → Healthy P.threshold Y V → P.Regular Y u → |
| 76 | P.supBounds o Y u c → (∀ i j,‖f i j‖ ≤ width P o j) → |
| 77 | ‖iteratedFDeriv ℝ k (u ∘ increment V) 0 f‖ ≤ C*c := by |
| 78 | obtain ⟨C,h,H⟩:=concert k; refine ⟨C,h,fun n P Y o u V c f he hh hp hu hv => ?_⟩ |
| 79 | let g := u ∘ increment V |
| 80 | let R (x) := f x |
| 81 | let L : (Fin k → ℝ) →L[ℝ] Directions G n := ∑ i,(ContinuousLinearMap.proj (R:=ℝ) i).smulRight (f i) |
| 82 | have hs (v : Fin k→ℝ) : L v=∑ i,v i • f i := by simp [L] |
| 83 | let T := iteratedFDeriv ℝ k g 0 |
| 84 | let A := T.compContinuousLinearMap (fun _ => L) |
| 85 | have ht : ContDiffAt ℝ k g 0 := (hp.smooth V hh).of_le (Nat.cast_le.mpr he) |
| 86 | have ha : Sym A := fun v s => Analysis.sym_Jet ht (L ∘ v) s |
| 87 | have hT v (hy : (∑ i, ‖v i‖) ≤ 1) : ‖Tensor.diagonal A v‖ ≤ c := by |
| 88 | have hC : P.dirBound o (L v) := by |
| 89 | intro e |
| 90 | calc |
| 91 | _ = ‖∑ i, v i • f i e‖ := by rw [hs,Finset.sum_apply]; rfl |
| 92 | _ ≤ ∑ i, ‖v i • f i e‖ := norm_sum_le .. |
| 93 | _ ≤ ∑ i, ‖v i‖*width P o e := sum_le_sum (fun i _ => by rw [norm_smul]; exact mul_le_mul_of_nonneg_left (hv i e) (norm_nonneg _)) |
| 94 | _ ≤ _ := by rw [← Finset.sum_mul]; exact mul_le_of_le_one_left (width_pos ..).le hy |
| 95 | change ‖Tensor.diagonal T (L v)‖ ≤ _ |
| 96 | rw [show Tensor.diagonal T (L v)=iteratedDeriv k (fun t : ℝ => u (increment V (t • L v))) 0 from (iteratedDeriv_on_line ht _).symm, |
| 97 | ← leftDerivs_diag, zero_smul, Work.G07.at_zero_increment] |
| 98 | refine hu.2 V hh _ (List.length_replicate.trans_le he) fun i hi => (List.mem_replicate.mp hi).2 ▸ hC |
| 99 | rw [show T f=A (fun i => Pi.single i 1) from congr_arg T (by |
| 100 | funext i; simp [hs,Pi.single_apply,ite_smul])] |
| 101 | exact H A ha c hu.1 hT |
| 102 | |
| 103 | def Sized (a : ℝ) (w : Directions G n) (P : BudgetPoint) (o : Site n) := |
| 104 | 0 ≤ a ∧ ∀ i, ‖w i‖ ≤ a*width P o i |
| 105 | |
| 106 | /-- Remains uniform for per-leg sizes, even if zero. -/ |
| 107 | theorem lyre (k : ℕ) (G : Gauge) : ∃ C : ℝ,1 ≤ C ∧ ∀ (n : Side) (P : BudgetPoint) (Y : Support n) (o : Site n) |
| 108 | (u : Config G n → ℂ) (V : Config G n) (c : ℝ) (f : Fin k → Directions G n) (a : Fin k→ℝ), |
| 109 | k ≤ P.order → Healthy P.threshold Y V → P.Regular Y u → P.supBounds o Y u c → |
| 110 | (∀ i, Sized (a i) (f i) P o) → ‖iteratedFDeriv ℝ k (u ∘ increment V) 0 f‖ ≤ (∏ i,a i)*C*c := by |
| 111 | obtain ⟨C,hc,he⟩:=entry k G |
| 112 | refine ⟨C,hc,fun n P Y o u V c f a h hp hi ht hA => ?_⟩ |
| 113 | let A := iteratedFDeriv ℝ k (u ∘ increment V) 0 |
| 114 | let w (i : Fin k) := (a i)⁻¹ • f i |
| 115 | have hh i : f i=a i • w i := by |
| 116 | rcases eq_or_lt_of_le (hA i).1 with H|H |
| 117 | · have ht j : f i j=0 := norm_le_zero_iff.mp (by have hv := (hA i).2 j; simpa [← H] using hv) |
| 118 | rw [← H,zero_smul]; exact funext ht |
| 119 | exact (smul_inv_smul₀ H.ne' (f i)).symm |
| 120 | have hf : ∀ i j, ‖w i j‖ ≤ width P o j := by |
| 121 | intro i j |
| 122 | rcases eq_or_lt_of_le (hA i).1 with H|H |
| 123 | · unfold w; rw [← H,inv_zero,zero_smul,Pi.zero_apply,norm_zero]; exact (width_pos ..).le |
| 124 | rw [show w i j=(a i)⁻¹ • (f i j) from rfl,norm_smul,Real.norm_of_nonneg (inv_pos.mpr H).le,inv_mul_le_iff₀ H]; exact (hA i).2 j |
| 125 | have hS : 0 ≤ ∏ i,a i := prod_nonneg fun i _ => (hA i).1 |
| 126 | change ‖A f‖ ≤ _ |
| 127 | rw [funext hh,A.map_smul_univ,norm_smul,Real.norm_of_nonneg hS,mul_assoc] |
| 128 | exact mul_le_mul_of_nonneg_left (he n P Y o u V c w h hp hi ht hf) hS |
| 129 | end YM.MultiNext.SignedSource.Lyre |