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.TraceExtension.Fock.Jets |
| 2 | |
| 3 | /-! Uniform Cauchy-data distribution in one leg. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.TraceExtension.Photons |
| 7 | open Function Set Filter MeasureTheory Measure Metric Complex Mink Boundary Spectral |
| 8 | open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical ContDiff |
| 9 | variable {m n d : ℕ} |
| 10 | |
| 11 | /-- Leave one leg open. -/ |
| 12 | def slot (g : Fin n→Probe E4) (i : Fin n) (p : Mom n) := ∏ j∈Finset.univ.erase i, front (g j) (p j) |
| 13 | def sink (b : ℕ) (g : Fin n→Probe E4) (i : Fin n) (f : Probe Space3) (p : Mom n) := |
| 14 | (‖p i‖:ℂ) ^ (b+1) * f (p i)*slot g i p |
| 15 | @[fun_prop] lemma sink_cont (b : ℕ) (g : Fin n→Probe E4) (i : Fin n) (f : Probe Space3) : Continuous (sink b g i f) := by |
| 16 | unfold sink slot front; fun_prop |
| 17 | |
| 18 | def normCost (j : ℕ) : Seminorm ℂ (Probe Space3) := |
| 19 | NNReal.mk ((2:ℝ)^j) (by positivity) • (SchwartzMap.seminorm ℂ 0 0 + SchwartzMap.seminorm ℂ j 0) |
| 20 | lemma normCost_le (j : ℕ) (f : Probe Space3) (p : Space3) : |
| 21 | ‖f p‖ ≤ normCost j f * (env j p)⁻¹ := by |
| 22 | have hx := pow_mul_le_of_le_of_pow_mul_le (k:=0) (x:=‖p‖) (l:=j) (C₁:=Probe.size 0 0 f) |
| 23 | (C₂:=Probe.size j 0 f) (norm_nonneg _) (norm_nonneg (f p)) |
| 24 | (by simpa using SchwartzMap.le_seminorm ℂ 0 0 f p) |
| 25 | (by simpa using SchwartzMap.le_seminorm ℂ j 0 f p) |
| 26 | simpa [normCost,env, mul_add,Real.rpow_neg (by positivity : 0 ≤ 1+‖p‖),NNReal.smul_def] using hx |
| 27 | lemma normCost_cont (j:ℕ) : Continuous ⇑(normCost j) := Continuous.const_smul |
| 28 | ((Probe.cont_size 0 0).add (Probe.cont_size j 0)) (NNReal.mk ((2:ℝ)^j) (by positivity)) |
| 29 | |
| 30 | lemma slot_cost (d b : ℕ) (g : Fin n → Probe E4) (i : Fin n) : |
| 31 | ∃ A : ℝ, 0≤A ∧ ∀ f p, ‖sink b g i f p‖≤ (A*normCost (d+(b+1)) f)*(shield d p)⁻¹ := by |
| 32 | choose C hC hv using fun j => front_bound (g j) d |
| 33 | let A := ∏ j∈Finset.univ.erase i, C j |
| 34 | have hA : 0≤A := Finset.prod_nonneg fun j _ => hC j |
| 35 | refine ⟨A,hA,fun f p=>?_⟩ |
| 36 | let R := ∏ j∈ Finset.univ.erase i, env d (p j) |
| 37 | have he : ‖slot g i p‖ ≤ A*R⁻¹ := by |
| 38 | unfold slot; rw [norm_prod]; apply (Finset.prod_le_prod (fun _ _=>norm_nonneg _) (fun j _=>hv j (p j))).trans_eq |
| 39 | rw [Finset.prod_mul_distrib,Finset.prod_inv_distrib] |
| 40 | have hw : shield d p=env d (p i)*R := (Finset.mul_prod_erase _ _ (Finset.mem_univ _)).symm |
| 41 | let N := normCost (d+(b+1)) f |
| 42 | have hN : 0≤N := apply_nonneg .. |
| 43 | have ht : ‖p i‖^(b+1)*‖f (p i)‖≤N*(env d (p i))⁻¹ := by |
| 44 | calc _ ≤ (1+‖p i‖)^(b+1) * (N * (env (d+(b+1)) (p i))⁻¹) := mul_le_mul (pow_le_pow_left₀ (norm_nonneg _) (le_add_of_nonneg_left zero_le_one) _) (normCost_le _ _ _) (norm_nonneg _) (by positivity) |
| 45 | _ = _ := by unfold env; rw [pow_add]; field_simp; ring |
| 46 | unfold sink; simp only [norm_mul,norm_pow,Complex.norm_real, norm_norm] |
| 47 | refine (mul_le_mul ht he (norm_nonneg _) (mul_nonneg hN (inv_nonneg.mpr (env_positive .. |>.le)))).trans_eq ?_ |
| 48 | rw [hw,mul_inv_rev]; unfold N; ring |
| 49 | lemma sink_int (b) (q : Wave n) (hp : tempered q d) (g) (i : Fin n) (f : Probe Space3) : |
| 50 | Integrable (fun k => q k*sink b g i f k) (photons n) ∧ Integrable (fun k => star (q k)*sink b g i f k) (photons n) := by |
| 51 | obtain ⟨A,hA,he⟩ := slot_cost (d+2) b g i; let a := A*normCost ((d+2)+(b+1)) f |
| 52 | have hs (k) : ‖q k‖ * ‖sink b g i f k‖≤(‖q k‖*(shield (d+2) k)⁻¹)*a := by |
| 53 | refine (mul_le_mul_of_nonneg_left (he f k) (norm_nonneg _)).trans_eq ?_; unfold a; ring |
| 54 | have ht := (austere q hp).mul_const a |
| 55 | exact ⟨ht.mono' ((wave_meas q).aestronglyMeasurable.mul (sink_cont b g i f).aestronglyMeasurable) |
| 56 | (ae_of_all _ fun k => (norm_mul ..).trans_le (hs k)), |
| 57 | ht.mono' ((wave_meas q).aestronglyMeasurable.star.mul (sink_cont b g i f).aestronglyMeasurable) |
| 58 | (ae_of_all _ fun k => (by change ‖star (q k)*sink b g i f k‖≤ _; rw [norm_mul,norm_star]; exact hs k))⟩ |
| 59 | |
| 60 | def dataM (b) (q : Wave n) (g : Fin n→Probe E4) (i : Fin n) (f : Probe Space3) := |
| 61 | ∫ p, q p*sink b (Probe.hat ∘ g) i (Probe.hat f) p ∂photons n |
| 62 | def dataP (b) (q : Wave n) (g : Fin n→Probe E4) (i : Fin n) (f : Probe Space3) := |
| 63 | ∫ p, star (q p)*sink b (testPlus ∘ g) i (testPlus f) p ∂photons n |
| 64 | def data (b) (q : Wave n) (g : Fin n→Probe E4) (i : Fin n) (f : Probe Space3) := |
| 65 | dataM b q g i f - (-1:ℂ)^b*dataP b q g i f |
| 66 | |
| 67 | lemma sink_add (b g) (i : Fin n) (f h : Probe Space3) (p) : sink b g i (f+h) p=sink b g i f p+sink b g i h p := by simp only [sink,_root_.add_apply,mul_add,add_mul] |
| 68 | lemma sink_smul (b g) (i : Fin n) (f : Probe Space3) (c : ℂ) (p) : sink b g i (c • f) p = c*sink b g i f p := by unfold sink; rw [_root_.smul_apply,smul_eq_mul]; ring |
| 69 | lemma data_linear (b) (q : Wave n) (hp : tempered q d) (g) (i : Fin n) : IsLinearMap ℂ (data b q g i) := by |
| 70 | constructor |
| 71 | · intro x y; unfold data dataM dataP; simp_rw [map_add,sink_add,mul_add] |
| 72 | rw [integral_add (sink_int _ _ hp ..|>.1) (sink_int _ _ hp ..|>.1),integral_add (sink_int _ _ hp ..|>.2) (sink_int _ _ hp ..|>.2),mul_add]; ring |
| 73 | intro c v; unfold data dataM dataP; simp_rw [map_smul,sink_smul,mul_left_comm (q _),mul_left_comm (star (q _)) c] |
| 74 | rw [integral_const_mul,integral_const_mul,smul_eq_mul]; ring |
| 75 | |
| 76 | def dataCost (j) := (normCost j).comp ((Probe.hat:(Probe Space3)→L[ℂ](Probe Space3)).toLinearMap) + |
| 77 | (normCost j).comp ((testPlus:(Probe Space3)→L[ℂ](Probe Space3)).toLinearMap) |
| 78 | lemma dataCost_cont (j) : Continuous ⇑(dataCost j) := Continuous.add ((normCost_cont j).comp Probe.hat.continuous) ((normCost_cont j).comp testPlus.continuous) |
| 79 | |
| 80 | lemma band_cost (b) (q : Wave n) (hp : tempered q d) (g) (i : Fin n) : |
| 81 | ∃ C : ℝ, 0≤C ∧ ∀ x, ‖data b q g i x‖ ≤ C*dataCost ((d+2)+(b+1)) x := by |
| 82 | obtain ⟨A,hA,hM⟩ := slot_cost (d+2) b (Probe.hat ∘ g) i |
| 83 | obtain ⟨B,hB,hP⟩ := slot_cost (d+2) b (testPlus ∘ g) i |
| 84 | let W k := ‖q k‖*(shield (d+2) k)⁻¹ |
| 85 | let K := ∫ k,W k ∂photons n |
| 86 | have hK : 0≤K := integral_nonneg (fun k => mul_nonneg (norm_nonneg _) (by have := shield_pos (d+2) k; positivity)) |
| 87 | let N := normCost ((d+2)+(b+1)); let c := K*(A+B) |
| 88 | refine ⟨c,by unfold c; positivity,fun x=>?_⟩ |
| 89 | have he (p : Mom n) : ‖q p‖*‖sink b (Probe.hat ∘ g) i (Probe.hat x) p‖ ≤ (A*N (Probe.hat x))*W p := (mul_le_mul_of_nonneg_left (hM _ _) (norm_nonneg _)).trans_eq (by unfold W N; ring) |
| 90 | have hs (p : Mom n) : ‖q p‖*‖sink b (testPlus ∘ g) i (testPlus x) p‖ ≤ (B*N (testPlus x))*W p := (mul_le_mul_of_nonneg_left (hP _ _) (norm_nonneg _)).trans_eq (by unfold W N; ring) |
| 91 | have hv := norm_integral_le_of_norm_le (f:=fun k=> q k*sink b (Probe.hat ∘ g) i (Probe.hat x) k) ((austere _ hp).const_mul (A*N (Probe.hat x))) (ae_of_all _ fun k => by rw [norm_mul]; exact he _) |
| 92 | rw [integral_const_mul] at hv |
| 93 | have hw := norm_integral_le_of_norm_le (f:=fun k=> star (q k)*sink b (testPlus ∘ g) i (testPlus x) k) ((austere _ hp).const_mul (B*N (testPlus x))) (ae_of_all _ fun k => by rw [norm_mul,norm_star]; exact hs _) |
| 94 | rw [integral_const_mul] at hw |
| 95 | apply (norm_sub_le ..).trans; simp only [norm_mul,norm_pow,norm_neg,norm_one,one_pow,one_mul]; apply (add_le_add hv hw).trans |
| 96 | change A*N (Probe.hat x)*K+B*N (testPlus x)*K ≤ c*(N (Probe.hat x)+N (testPlus x)) |
| 97 | have hm : 0≤A*N (testPlus x)*K := mul_nonneg (mul_nonneg hA (apply_nonneg ..)) hK |
| 98 | have hy : 0≤B*N (Probe.hat x)*K := mul_nonneg (mul_nonneg hB (apply_nonneg ..)) hK |
| 99 | unfold c; linarith |
| 100 | |
| 101 | lemma data_order (n b d : ℕ) : ∃ ℓ : ℕ, ∀ (q : Wave n), tempered q d → ∀ (g : Fin n→ Probe E4) (i : Fin n), (∀ f : Probe Space3, HasCompactSupport ⇑f → 0∉tsupport f → data b q g i f=0) → ∀ f, finiteOrder f ℓ → data b q g i f=0 := by |
| 102 | let p := dataCost ((d+2)+(b+1)) |
| 103 | obtain ⟨k,hk⟩ := jet_support p (dataCost_cont _) |
| 104 | refine ⟨k,fun q h g i hp f hf =>?_⟩ |
| 105 | obtain ⟨C,hC,hA⟩ := band_cost b q h g i |
| 106 | let A := IsLinearMap.mk' _ (data_linear b q h g i) |
| 107 | have ht : Continuous A := by |
| 108 | apply continuous_of_continuousAt_zero A |
| 109 | apply Metric.tendsto_nhds.mpr; intro ε he |
| 110 | have hv : Continuous (fun F => C*p F) := continuous_const.mul (dataCost_cont _) |
| 111 | have hu : (0:ℝ) < ε := he |
| 112 | filter_upwards [(hv.tendsto 0).eventually (gt_mem_nhds (by rw [map_zero,mul_zero]; exact he))] with y hy |
| 113 | rw [map_zero,dist_zero_right]; exact lt_of_le_of_lt (hA y) hy |
| 114 | exact hk (⟨A,ht⟩ : Distn Space3) _ hC hA hp f hf |
| 115 | end YM.TraceExtension.Photons |