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.FREE_KERNELS.Lifts |
| 2 | import YM.Push.CORRECTED_COLUMNS.Tree |
| 3 | import YM.Push.SECTOR_MEASURE.Presented |
| 4 | import YM.SectorNext.VACUUM_NORMALIZATION.Stripped |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Exact weighted leftOver queries (intact) |
| 9 | |
| 10 | Positive and signed probes with arbitrary Store/tag/position dependence |
| 11 | (structurally explicit bounds, for other use glue sector/LF integrands |
| 12 | **before** invoking estimate). Keep every profile. Nothing charged for log |
| 13 | branches or smoothness at switches. `cargo` allows support/pay bills varying |
| 14 | per share; interest rates chosen in `Station`. Sampling always on the SAME |
| 15 | joint array and probability measures. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.Further.RootedInteractingRemainder |
| 20 | open Lattice RG Wilson Filter Function Set Tree Finset MeasureTheory Precision |
| 21 | open SectorNext.Vacuum Pressure Pressure.Stores Push.SectorMeasure |
| 22 | open Next.Fluctuations.Sector Oriented Presented |
| 23 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 24 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 25 | (F : Forest S.ratio) (T : Tube G S) (R : Rep G f) {x W : ℝ} (D : Allocation G S x W) |
| 26 | |
| 27 | /-- An ALL-store/tag probe. Functions themselves, not just prior ae values; |
| 28 | may test every input dependency/status. Measurable domination for true |
| 29 | cost below. -/ |
| 30 | abbrev GaugeProbe (G : Gauge) {c f : Side} (S : StepData c f) (F : Forest S.ratio) (X : Type*) := |
| 31 | Stores S→S.Choices→ F.Slice G × Config G c → X |
| 32 | |
| 33 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 34 | (g : GaugeProbe G S F X) |
| 35 | |
| 36 | def carrier (A : Stores S) (i : S.Choices) (V : Config G c) (a : F.Slice G) := |
| 37 | ‖Real.exp (-R.scalar)*exposed R (till x) (F.drape a)‖ * |
| 38 | ‖g A i (a,V)‖ * leaves A T R.beta x i V (F.drape a) -- x omitted by lean because curly? |
| 39 | |
| 40 | def cargo (A : Stores S) (V : Config G c) := |
| 41 | sieve T R.beta x V * D.column A F V (fun i a => carrier (x:=x) F T R g A i V a) |
| 42 | |
| 43 | /-- The literal RHS remainders, including complement queries. Set `g=1` for |
| 44 | scalar-stripped `leftOver`. -/ |
| 45 | def itinerary (κ : ℝ) (Y : Finset (Stores S)) (V : Config G c) := |
| 46 | ∑ A∈Y, earn S G x κ R.beta A.shares * cargo F T R D g A V |
| 47 | |
| 48 | /-- Same expression on LHS of the flight. Includes true signed/vector |
| 49 | coefficients, requires legitimate integrability for applying. |
| 50 | Keep CompleteSpace or use no application claim. -/ |
| 51 | def inspectAt (A : Stores S) (i : S.Choices) (V : Config G c) := |
| 52 | ∫ a : F.Slice G, ((D.bill A i (F.drape a) V * |
| 53 | taggedKernel S R.beta i (F.drape a) V * stripped R (F.drape a)) • g A i (a,V)) ∂F.order G |
| 54 | |
| 55 | def repaid (Y : Finset (Stores S)) (V : Config G c) := |
| 56 | ∑ A∈Y, ∑ i : S.Choices, ‖inspectAt F R D g A i V‖ |
| 57 | |
| 58 | section payment |
| 59 | -- Envelopes even for integrating RHS. Integrands permitting L^p |
| 60 | -- growth on slice instead can relax these separately. All estimates actual |
| 61 | -- whenever queries are Envelopes (finite per period, no payment of |
| 62 | -- their `cost` on uniform conclusions). Allocation complement enlargements |
| 63 | -- could break that as well; check first. - |
| 64 | |
| 65 | variable {T} {P : Teller G} (hT : P.Funds S T) |
| 66 | [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X] |
| 67 | {σ C Λ δ w : ℝ} (hR : R.Lawful σ C Λ δ w) |
| 68 | (A : Stores S) (i : S.Choices) |
| 69 | include hR hT |
| 70 | set_option linter.unusedSectionVars false |
| 71 | lemma actual (he : Envelope (g A i)) : Envelope |
| 72 | (fun p : F.Slice G × Config G c => D.bill A i (F.drape p.1) p.2 * |
| 73 | carrier (x:=x) F T R g A i p.2 p.1) ∧ Envelope |
| 74 | (fun p : F.Slice G × Config G c => (D.bill A i (F.drape p.1) p.2 * |
| 75 | taggedKernel S R.beta i (F.drape p.1) p.2 * stripped R (F.drape p.1)) • g A i p) := by |
| 76 | have hf : Measurable (fun p : F.Slice G × Config G c => F.drape p.1) := F.continuous_drape.measurable.comp measurable_fst |
| 77 | let U := fun p : F.Slice G × Config G c => F.drape p.1 |
| 78 | have hB : S.patch.Branches S.kernel G := funds_branch hT |
| 79 | have hE : Envelope (fun p => Real.exp (-R.scalar)*exposed R (till x) (U p)) := |
| 80 | (Envelope.const _).mul (Env.along (env_exposed R hR _) hf) |
| 81 | have hN : Envelope (fun p => ‖Real.exp (-R.scalar)*exposed R (till x) (U p)‖) := by |
| 82 | obtain ⟨b,hb⟩ := hE.cost; exact ⟨hE.meas.norm,b,fun i => (Real.norm_of_nonneg (norm_nonneg _)).trans_le (hb i)⟩ |
| 83 | have h₁ := D.envelope (U:=U) (V:=Prod.snd) hB hf measurable_snd A i |
| 84 | have h₂ : Envelope (fun p => ‖g A i p‖) := by |
| 85 | obtain ⟨b,hb⟩ := he.cost; exact ⟨he.meas.norm,b,fun j => (Real.norm_of_nonneg (norm_nonneg _)).trans_le (hb j)⟩ |
| 86 | have h₃ := env_leaves (V:=Prod.snd) hT A R.beta x i hf measurable_snd |
| 87 | refine ⟨h₁.mul ((hN.mul h₂).mul h₃),?_⟩ |
| 88 | exact Env.scale ((h₁.mul (env_tagged (V:=Prod.snd) R.beta i hB hf measurable_snd)).mul |
| 89 | ((Envelope.const _).mul (Env.along (R.envelope hR) hf))) he |
| 90 | |
| 91 | lemma cargo_portable (he : ∀ i, Envelope (g A i)) : Envelope (cargo F T R D g A) := by |
| 92 | apply (sieve_env R.beta x hT).mul |
| 93 | unfold Allocation.column tagTotal |
| 94 | apply Envelope.sum; intro i |
| 95 | -- real smul, defeq |
| 96 | exact Env.marginal (actual F R D g hT hR A i (he i)).1 _ |
| 97 | |
| 98 | lemma inspect_portable (he : Envelope (g A i)) : Envelope (inspectAt F R D g A i) := |
| 99 | Env.marginal (actual F R D g hT hR A i he).2 _ |
| 100 | |
| 101 | lemma itinerary_portable (κ : ℝ) (Y : Finset (Stores S)) (he : ∀ A i, Envelope (g A i)) : |
| 102 | Envelope (itinerary F T R D g κ Y) := by |
| 103 | unfold itinerary; apply Envelope.sum; intro i; exact (Envelope.const _).mul (cargo_portable F R D g hT hR i (he i)) |
| 104 | |
| 105 | lemma repaid_portable (Y : Finset (Stores S)) (he : ∀ A i, Envelope (g A i)) : Envelope (repaid F R D g Y) := by |
| 106 | unfold repaid; apply Envelope.sum; intro A; apply Envelope.sum; intro i |
| 107 | have h := inspect_portable F R D g hT hR A i (he A i) |
| 108 | obtain ⟨b,hb⟩ := h.cost; exact ⟨h.meas.norm,b,fun j => (Real.norm_of_nonneg (norm_nonneg _)).trans_le (hb j)⟩ |
| 109 | |
| 110 | lemma individual [CompleteSpace X] {κ : ℝ} (he : Envelope (g A i)) (hp : PointCharge T x W κ) (hh : Fits T R x) (hβ : 0 ≤ R.beta) |
| 111 | (V : Config G c) : ‖inspectAt F R D g A i V‖ ≤ |
| 112 | earn S G x κ R.beta A.shares * sieve T R.beta x V * |
| 113 | ∫ a : F.Slice G,D.bill A i (F.drape a) V * carrier (x:=x) F T R g A i V a ∂F.order G := by |
| 114 | let Y := F.Slice G × Config G c |
| 115 | let M (p : Y) := D.bill A i (F.drape p.1) p.2 * carrier (x:=x) F T R g A i p.2 p.1 |
| 116 | let N (p : Y) := (D.bill A i (F.drape p.1) p.2 * taggedKernel S R.beta i (F.drape p.1) p.2 * |
| 117 | stripped R (F.drape p.1)) • g A i p |
| 118 | obtain ⟨hM,hN⟩ : Envelope M ∧ Envelope N := actual F R D g hT hR A i he |
| 119 | let u (p : F.Slice G) := (p,V) |
| 120 | have hU : Measurable u := measurable_id.prodMk measurable_const |
| 121 | unfold inspectAt; rw [←integral_const_mul] |
| 122 | apply (norm_integral_le_integral_norm _).trans; apply integral_mono |
| 123 | (Env.integrableX (Env.along hN hU) _).norm ((Env.integrableX (Env.along hM hU) _).const_mul _) |
| 124 | intro a |
| 125 | let y := F.drape a |
| 126 | change ‖(_ : ℝ) • _‖ ≤ _ * (D.bill A i y V * carrier (x:=x) F T R g A i V a) |
| 127 | by_cases h0 : D.bill A i y V = 0 |
| 128 | · change ‖(D.bill A i y V*_*_) • _‖ ≤ _*_ |
| 129 | simp [h0] |
| 130 | by_cases hy : Alive S y i |
| 131 | swap |
| 132 | · change ‖(D.bill A i y V*(S.likelihood y i*_)*_) • _‖ ≤ _*(D.bill A i y V*(‖_‖ * _ *(S.likelihood y i*_))) |
| 133 | simp [dead hy] |
| 134 | have hb := funds_branch hT |
| 135 | have hk : taggedKernel S R.beta i y V*R.eval y = _ := use_gap hh y i V |
| 136 | rw [enters_eq hb A] at hk |
| 137 | let C := earn S G x κ R.beta A.shares |
| 138 | have hC : prefactor S G R.beta * Real.exp (-R.beta * meanEnergy A T x y i V) ≤ C := |
| 139 | mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (mul_le_mul_of_nonpos_left |
| 140 | (mean_pays F A x W y i V hb (fun j hj => F.on_tree a ⟨j,hj⟩) (D.actual _ _ _ _ h0) hy hp) (neg_nonpos.mpr hβ))) |
| 141 | (prefactor_pos R.beta).le |
| 142 | let s := sieve T R.beta x V |
| 143 | let l := leaves A T R.beta x i V y |
| 144 | have hl : 0≤l := mul_nonneg (S.likelihood_pos ..) (Real.exp_pos _).le |
| 145 | have hs : 0≤s := (Real.exp_pos _).le |
| 146 | rw [norm_smul] |
| 147 | change ‖D.bill A i y V*taggedKernel S R.beta i y V*(Real.exp (-R.scalar)*R.eval y)‖ * ‖g A i (a,V)‖ ≤ C*s*(D.bill A i y V*(_*_*l)) |
| 148 | rw [show D.bill A i y V*taggedKernel S R.beta i y V*(Real.exp (-R.scalar)*R.eval y)= |
| 149 | D.bill A i y V*Real.exp (-R.scalar)*(taggedKernel S R.beta i y V*R.eval y) by ring,hk] |
| 150 | change ‖D.bill A i y V*Real.exp (-R.scalar)*(s*(exposed R _ y*(prefactor S G R.beta*_*l)))‖ * _ ≤ C*s*(D.bill A i y V*(‖Real.exp (-R.scalar)*exposed R (till x) y‖*_*l)) |
| 151 | simp only [norm_mul,Real.norm_of_nonneg hs,Real.norm_of_nonneg hl,Real.norm_of_nonneg (D.nonneg ..), |
| 152 | Real.norm_of_nonneg (prefactor_pos R.beta).le,Real.norm_of_nonneg (Real.exp_pos _).le] |
| 153 | apply le_trans ?_ (le_of_eq (show D.bill A i y V*Real.exp (-R.scalar)*(s*(‖exposed R _ y‖*(C*l)))*‖g A i (a,V)‖= |
| 154 | C*s*(D.bill _ _ _ _*(Real.exp (-R.scalar)*‖exposed R _ _‖*_*l)) by ring)) |
| 155 | gcongr |
| 156 | · exact mul_nonneg (D.nonneg ..) (Real.exp_pos _).le |
| 157 | all_goals first| exact D.nonneg .. | exact hs | exact hl | exact hC |
| 158 | |
| 159 | lemma authorized [CompleteSpace X] {κ : ℝ} (Y : Finset (Stores S)) (he : ∀ A i,Envelope (g A i)) |
| 160 | (hp : PointCharge T x W κ) (hh : Fits T R x) (hβ : 0≤R.beta) (V : Config G c) : |
| 161 | repaid F R D g Y V ≤ itinerary F T R D g κ Y V := by |
| 162 | unfold repaid itinerary |
| 163 | refine sum_le_sum fun A _ => ?_ |
| 164 | unfold cargo Allocation.column tagTotal Allocation.portion |
| 165 | change _ ≤ _*(sieve T _ _ V*∑ i,∫ a : F.Slice G, D.bill A i (F.drape a) V * carrier (x:=x) F T R g A i V a ∂_) |
| 166 | rw [←mul_assoc,Finset.mul_sum]; exact sum_le_sum fun i _ => individual F R D g hT hR A i (he _ _) hp hh hβ V |
| 167 | end payment |
| 168 | |
| 169 | section bare_uses |
| 170 | omit [NormedSpace ℝ X] |
| 171 | |
| 172 | |
| 173 | lemma sees_flags {A : Stores S} {V : Config G c} (h : RG.flags (temp x) V≠ A.flags) : cargo F T R D g A V=0 := by |
| 174 | unfold cargo Allocation.column tagTotal Allocation.portion |
| 175 | have h0 (i) (a : F.Slice G) : D.bill A i (F.drape a) V = 0 := by |
| 176 | by_contra he |
| 177 | exact h (D.actual _ _ _ _ he).exactFlags.symm |
| 178 | simp [h0] |
| 179 | |
| 180 | |
| 181 | |
| 182 | |
| 183 | end bare_uses |
| 184 | |
| 185 | end YM.Further.RootedInteractingRemainder |