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.AnalyticBridge.GAUSSIAN_FIELD_ALIGNMENT.Relative |
| 2 | import YM.SectorTools.PHYSICAL_GAUSSIAN_SWITCH.Kernel |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Exact real-exponent Lp comparison in SectorChange coordinates |
| 7 | |
| 8 | A,D are covariances (actual counting `Table`s). In `trade A D h z` |
| 9 | (Relative.lean), `z` is under the REFERENCE `Gaussian.cloud D`, and |
| 10 | `h` = reference mean MINUS target mean (same coupling units as z). |
| 11 | All determinants in counting conventions; prices below are MOMENTS, |
| 12 | so remember the `1/p` power in using with Hölder. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.SectorTools.PhysicalGaussianSwitch |
| 17 | open Function Filter Set Matrix MeasureTheory |
| 18 | open Next.SectorChange.Gaussian |
| 19 | open AnalyticBridge.GaussianFieldAlignment.Relative (trade) |
| 20 | open scoped Topology BigOperators ENNReal |
| 21 | local notation "Covar" => Next.SectorChange.Gaussian.Table |
| 22 | |
| 23 | variable {I : Type} [Fintype I] [DecidableEq I] |
| 24 | |
| 25 | section auxiliary |
| 26 | variable {X : Type*} [MeasurableSpace X] {μ : Measure X} |
| 27 | variable {F L : X → ℝ} {E : Type*} [NormedAddCommGroup E] |
| 28 | |
| 29 | lemma mem_by_norm {f : X → E} (hm : AEStronglyMeasurable f μ) {p : ℝ} (hp : 0 < p) : |
| 30 | MemLp f (ENNReal.ofReal p) μ ↔ Integrable (fun x => ‖f x‖ ^ p) μ := by |
| 31 | have h := integrable_norm_rpow_iff (p:=ENNReal.ofReal p) hm |
| 32 | ((ENNReal.ofReal_pos.mpr hp).ne') ENNReal.ofReal_ne_top |
| 33 | rwa [ENNReal.toReal_ofReal hp.le,Iff.comm] at h |
| 34 | |
| 35 | lemma mem_by_rpow (hm : Measurable L) (hl : ∀ x, 0 ≤ L x) {p : ℝ} (hp : 0 < p) : |
| 36 | MemLp L (ENNReal.ofReal p) μ ↔ Integrable (fun x => L x ^ p) μ := by |
| 37 | simp_rw [mem_by_norm hm.aestronglyMeasurable hp,Real.norm_of_nonneg (hl _)] |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | variable [NormedSpace ℝ E] |
| 44 | /-- Keep integrability as well; this is not a bound obtained by interpreting |
| 45 | an undefined density comparison as an integral. -/ |
| 46 | lemma holder_step {f : X → E} {p : ℝ} (hp : 1<p) (hm : MemLp L (ENNReal.ofReal p) μ) (hl : ∀ x, 0 ≤ L x) |
| 47 | (hf : MemLp f (ENNReal.ofReal (Real.conjExponent p)) μ) : |
| 48 | let q := Real.conjExponent p |
| 49 | Integrable (fun x => L x • f x) μ ∧ |
| 50 | ‖∫ x,L x • f x ∂μ‖ ≤ (∫ x, L x ^ p ∂μ) ^ (1/p) * (∫ x, ‖f x‖ ^ q ∂μ) ^ (1/q) := by |
| 51 | intro q |
| 52 | have he := Real.HolderConjugate.conjExponent hp |
| 53 | haveI := he.ennrealOfReal |
| 54 | refine ⟨memLp_one_iff_integrable.mp (hf.smul hm), (norm_integral_le_integral_norm _).trans ?_⟩ |
| 55 | simp_rw [norm_smul,Real.norm_of_nonneg (hl _)] |
| 56 | exact integral_mul_le_Lp_mul_Lq_of_nonneg he (Eventually.of_forall hl) (Eventually.of_forall fun _ => norm_nonneg _) hm hf.norm |
| 57 | end auxiliary |
| 58 | |
| 59 | variable {A D : Covar I} {h : Vec I} {p : ℝ} |
| 60 | lemma trade_pos (hA : A.PosDef) (hD : D.PosDef) (h z : Vec I) : 0 < trade A D h z := |
| 61 | mul_pos (div_pos (Real.sqrt_pos.mpr hD.det_pos) (Real.sqrt_pos.mpr hA.det_pos)) (Real.exp_pos _) |
| 62 | lemma trade_cont (A D : Covar I) (h : Vec I) : Continuous (trade A D h) := by |
| 63 | unfold trade force Matrix.mulVec dotProduct; fun_prop |
| 64 | |
| 65 | /-- Factor in front of the variable quadratic+linear potential (NOT |
| 66 | changing the normalizer to its reciprocal). -/ |
| 67 | def tax (A D : Covar I) (h : Vec I) := |
| 68 | Real.sqrt D.det / Real.sqrt A.det * Real.exp (-quad A⁻¹ h/2) |
| 69 | lemma tax_pos (hA : A.PosDef) (hD : D.PosDef) (h : Vec I) : 0 < tax A D h := |
| 70 | mul_pos (div_pos (Real.sqrt_pos.mpr hD.det_pos) (Real.sqrt_pos.mpr hA.det_pos)) (Real.exp_pos _) |
| 71 | |
| 72 | lemma trade_as_potential (hA : A.PosDef) (D : Covar I) (h z : Vec I) : |
| 73 | trade A D h z = tax A D h * kernel (A⁻¹-D⁻¹) (-(A⁻¹ *ᵥ h)) z := by |
| 74 | unfold trade tax kernel |
| 75 | rw [mul_assoc,← Real.exp_add] |
| 76 | unfold force exponent |
| 77 | change _ * Real.exp ((quad D⁻¹ z-quad A⁻¹ (h+z))/2) = _ |
| 78 | rw [quad_add (symm_pos hA.inv),quad_diff,neg_dotProduct,dotProduct_comm (A⁻¹ *ᵥ h) z, |
| 79 | turn (symm_pos hA.inv) z h] |
| 80 | ring_nf |
| 81 | |
| 82 | def mixed (A D : Covar I) (p : ℝ) := p • A⁻¹ + (1-p) • D⁻¹ |
| 83 | def debt (A : Covar I) (p : ℝ) (h : Vec I) := (-p) • (A⁻¹ *ᵥ h) |
| 84 | |
| 85 | def price (A D : Covar I) (p : ℝ) (h : Vec I) := |
| 86 | (Real.sqrt D.det / Real.sqrt A.det)^p * |
| 87 | (Real.sqrt ((mixed A D p)⁻¹).det / Real.sqrt D.det) * |
| 88 | Real.exp ((quad (mixed A D p)⁻¹ (debt A p h)-p*quad A⁻¹ h)/2) |
| 89 | |
| 90 | lemma mixed_symm (hA : A.PosDef) (hD : D.PosDef) : (mixed A D p).IsSymm := by |
| 91 | unfold mixed Matrix.IsSymm; rw [transpose_add,transpose_smul,transpose_smul,(symm_pos hA.inv).eq,(symm_pos hD.inv).eq] |
| 92 | |
| 93 | section volume |
| 94 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 95 | |
| 96 | /-- Under the probability law; `ratio` here is the accepted Lebesgue density. -/ |
| 97 | lemma through_volume (hD : D.PosDef) (f : Vec I → E) : |
| 98 | (Integrable f (cloud D) ↔ Integrable (fun z => ratio D z • f z)) ∧ |
| 99 | (∫ z,f z ∂cloud D) = ∫ z,ratio D z • f z := by |
| 100 | rw [cloud_formula hD, |
| 101 | integrable_withDensity_iff_integrable_smul' ((measurable_ratio _).ennreal_ofReal) (Eventually.of_forall fun _ => ENNReal.ofReal_lt_top), |
| 102 | integral_withDensity_eq_integral_toReal_smul ((measurable_ratio _).ennreal_ofReal) (Eventually.of_forall fun _ => ENNReal.ofReal_lt_top)] |
| 103 | simp_rw [ENNReal.toReal_ofReal (ratio_pos hD _).le]; trivial |
| 104 | |
| 105 | private def receipt (A D : Covar I) (p : ℝ) (h : Vec I) := tax A D h ^ p / coat D |
| 106 | private lemma receipt_pos (hA : A.PosDef) (hD : D.PosDef) : 0 < receipt A D p h := |
| 107 | div_pos (Real.rpow_pos_of_pos (tax_pos hA hD h) _) (coat_pos hD) |
| 108 | |
| 109 | private lemma volume_entry (hA : A.PosDef) (hD : D.PosDef) (z : Vec I) : |
| 110 | ratio D z * trade A D h z ^ p = receipt A D p h * kernel (mixed A D p) (debt A p h) z := by |
| 111 | have he : -force D z/2 + exponent (A⁻¹-D⁻¹) (-(A⁻¹ *ᵥ h)) z * p = exponent (mixed A D p) (debt A p h) z := by |
| 112 | unfold force exponent mixed debt |
| 113 | change -quad D⁻¹ z/2 + _ = _ |
| 114 | rw [quad_sum,quad_smul,quad_smul,quad_diff,neg_dotProduct,smul_dotProduct,smul_eq_mul]; ring |
| 115 | rw [trade_as_potential hA, Real.mul_rpow (tax_pos hA hD _).le (kernel_pos ..).le,ratio] |
| 116 | unfold kernel receipt |
| 117 | rw [← Real.exp_mul,← he,Real.exp_add]; ring |
| 118 | end volume |
| 119 | |
| 120 | theorem trade_integrable_iff (hA : A.PosDef) (hD : D.PosDef) : |
| 121 | Integrable (fun z => trade A D h z ^ p) (cloud D) ↔ (mixed A D p).PosDef := by |
| 122 | rw [(through_volume hD _).1] |
| 123 | simp_rw [smul_eq_mul, volume_entry hA hD] |
| 124 | let k := receipt A D p h |
| 125 | have hk : k ≠ 0 := (receipt_pos hA hD).ne' |
| 126 | let f := kernel (mixed A D p) (debt A p h) |
| 127 | change Integrable (fun z => k*f z) ↔ _ |
| 128 | rw [← kernel_integrable_iff (mixed_symm hA hD) (debt A p h)] |
| 129 | constructor |
| 130 | · intro ht |
| 131 | simpa [← mul_assoc,hk] using! ht.const_mul k⁻¹ |
| 132 | intro ht; exact ht.const_mul k |
| 133 | |
| 134 | theorem trade_mem_iff (hA : A.PosDef) (hD : D.PosDef) (hp : 0<p) : |
| 135 | MemLp (trade A D h) (ENNReal.ofReal p) (cloud D) ↔ (mixed A D p).PosDef := by |
| 136 | rw [mem_by_rpow (trade_cont ..).measurable (fun _ => (trade_pos hA hD _ _).le) hp, trade_integrable_iff hA hD] |
| 137 | |
| 138 | /-- Exact integral (positive moment) in the admissible case. -/ |
| 139 | theorem trade_integral (hA : A.PosDef) (hD : D.PosDef) (he : (mixed A D p).PosDef) : |
| 140 | (∫ z, trade A D h z ^ p ∂ cloud D) = price A D p h := by |
| 141 | rw [(through_volume hD _).2] |
| 142 | simp_rw [smul_eq_mul, volume_entry hA hD]; rw [integral_const_mul,(kernel_paid he _).2] |
| 143 | have hr : 0 < Real.sqrt D.det / Real.sqrt A.det := div_pos (Real.sqrt_pos.mpr hD.det_pos) (Real.sqrt_pos.mpr hA.det_pos) |
| 144 | have hi : (quad (mixed A D p)⁻¹ (debt A p h) - p * quad A⁻¹ h)/2 = |
| 145 | -quad A⁻¹ h /2 * p + quad (mixed A D p)⁻¹ (debt A p h) / 2 := by ring |
| 146 | rw [receipt,tax,Real.mul_rpow hr.le (Real.exp_pos _).le, ← Real.exp_mul,price,hi,Real.exp_add] |
| 147 | unfold coat |
| 148 | field_simp [(show 0 < dome I from dome_pos).ne'] |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | lemma normalized_trade (hA : A.PosDef) (hD : D.PosDef) (h : Vec I) : |
| 155 | Integrable (trade A D h) (cloud D) ∧ (∫ z, trade A D h z ∂cloud D) = 1 := by |
| 156 | obtain ⟨hh,he⟩ := AnalyticBridge.GaussianFieldAlignment.Relative.change hA hD h (fun _ => (1:ℝ)) |
| 157 | simp only [smul_eq_mul,mul_one] at hh he; exact ⟨hh.mp (integrable_const _), by simpa using he.symm⟩ |
| 158 | |
| 159 | /-- Consume the *actual* accepted identity. `hf` sees h+z under D, |
| 160 | not just z under D. -/ |
| 161 | theorem trade_comparison {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 162 | (hA : A.PosDef) (hD : D.PosDef) (hp : 1<p) (he : (mixed A D p).PosDef) |
| 163 | {f : Vec I → X} (hf : MemLp (fun z => f (h+z)) (ENNReal.ofReal (Real.conjExponent p)) (cloud D)) : |
| 164 | let q := Real.conjExponent p |
| 165 | Integrable f (cloud A) ∧ |
| 166 | ‖∫ z,f z ∂cloud A‖ ≤ price A D p h ^ (1/p) * (∫ z, ‖f (h+z)‖ ^ q ∂cloud D) ^ (1/q) := by |
| 167 | obtain ⟨ha,hb⟩ := AnalyticBridge.GaussianFieldAlignment.Relative.change hA hD h f |
| 168 | obtain ⟨ht,hi⟩ := holder_step hp ((trade_mem_iff (h:=h) hA hD (zero_lt_one.trans hp)).mpr he) |
| 169 | (fun _ => (trade_pos hA hD _ _).le) hf |
| 170 | rw [trade_integral hA hD he] at hi |
| 171 | intro q; rw [ha,hb]; exact ⟨ht,hi⟩ |
| 172 | end YM.SectorTools.PhysicalGaussianSwitch |