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.Push.SECTOR_MEASURE.Presented |
| 2 | import YM.SectorNext.VACUUM_NORMALIZATION.Covered |
| 3 | import YM.SectorNext.VACUUM_NORMALIZATION.Stripped |
| 4 | |
| 5 | /-! |
| 6 | # Uniform joint price of cutting (all winding costs stay in paths) |
| 7 | |
| 8 | Useful also in comparing the exact normalized transfer to the conditional |
| 9 | Gaussian/first gas desk. Not using the finite envelope cost of `exposed` for |
| 10 | a volume-uniform result. These estimates can be used at intermediate scales; |
| 11 | see Serving for numerical eventualities in x. Path clip/path Bounds of the |
| 12 | very same antennas! |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Further.RootedInteractingRemainder |
| 17 | open Filter Function Lattice RG Wilson Finset Precision Tree |
| 18 | open Pressure Pressure.Stores Pressure.Teller Bid Next.Fluctuations |
| 19 | open Next.Fluctuations.Sector Push.SectorMeasure Oriented Presented |
| 20 | open SectorNext.Vacuum |
| 21 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 22 | variable {G : Gauge} {c f n : Side} |
| 23 | |
| 24 | def fringe (σ : ℝ) (R d : ℕ) := Real.exp (-σ * ((R:ℝ)/d)) |
| 25 | lemma fringe_nonneg (σ : ℝ) (R d : ℕ) : 0 ≤ fringe σ R d := by unfold fringe; positivity |
| 26 | |
| 27 | open Work.E04 |
| 28 | private lemma remaining_ell {T : PathData G} {C : Clip} {σ r Λ : ℝ} (h : T.Bounds C σ r Λ) |
| 29 | (R d : ℕ) (he : 1≤d) (p : Cell n) (U : Config G n) : |
| 30 | ‖T.ell U p-shorten T R d U p‖ ≤ 2*r*fringe σ R d := by |
| 31 | have hr := h.rows p.2 |
| 32 | let v := fun i => |(T.row p.2 i).1| * Real.exp (σ*(T.row p.2 i).2.length) |
| 33 | let u := fun i => T.ellTerms p i U |
| 34 | let w := fun i => shortenTerm T R d U p i |
| 35 | have hg : Summable u := ((T.ell_dominated h p).absolute U).of_norm |
| 36 | have hb : Summable w := by |
| 37 | refine ((show Summable (fun i => ‖u i‖) from (T.ell_dominated h p).absolute U).of_nonneg_of_le |
| 38 | (g:=fun i => ‖w i‖) (fun i => norm_nonneg _) ?_).of_norm |
| 39 | intro i; unfold w shortenTerm; split; exact le_rfl; exact (norm_zero).le.trans (norm_nonneg _) |
| 40 | have hs : Summable fun i=> v i*(2*fringe σ R d) := hr.2.1.mul_right _ |
| 41 | have hk (i : ℕ) : ‖u i-w i‖ ≤ v i*(2*fringe σ R d) := by |
| 42 | let y := (T.row p.2 i).2 |
| 43 | let a := |(T.row p.2 i).1| |
| 44 | unfold w shortenTerm; split; next => simp only [u,sub_self,norm_zero]; exact mul_nonneg (hr.1 i) (by unfold fringe; positivity) |
| 45 | next hm => |
| 46 | unfold u v |
| 47 | simp only [sub_zero,PathData.ellTerms,norm_smul,Real.norm_eq_abs] |
| 48 | change a * ‖y.atSite U p.1‖ ≤ a * Real.exp (σ*y.length)*(2*fringe σ R d) |
| 49 | calc |
| 50 | _ ≤ a * 2 := mul_le_mul_of_nonneg_left (Slot.eval_norm ..) (abs_nonneg _) |
| 51 | _ ≤ a * 2 * (Real.exp (σ*y.length)*fringe σ R d) := by |
| 52 | have hf : (R:ℝ)/d ≤ y.length := by |
| 53 | rw [div_le_iff₀ (by exact_mod_cast he)] -- needs 0<d |
| 54 | exact_mod_cast Nat.le_of_not_le hm |
| 55 | refine le_mul_of_one_le_right (by unfold a; positivity) ?_ |
| 56 | unfold fringe; rw [←Real.exp_add]; apply Real.one_le_exp; nlinarith only [hf,h.width] |
| 57 | _ = _ := by ring |
| 58 | have hh := hs.of_nonneg_of_le (g:=fun i=>‖u i-w i‖) (fun _=>norm_nonneg _) hk |
| 59 | change ‖(∑' i,u i)-∑' i,w i‖ ≤ _ |
| 60 | rw [← hg.tsum_sub hb] |
| 61 | refine (norm_tsum_le_tsum_norm hh).trans ((hh.tsum_le_tsum hk hs).trans ?_) |
| 62 | rw [tsum_mul_right] |
| 63 | exact (mul_le_mul_of_nonneg_right hr.2.2 (mul_nonneg (by norm_num) (fringe_nonneg ..))).trans_eq (by ring) |
| 64 | |
| 65 | /-- rho² cut price per real plaquette. Works even when kept mask not smooth |
| 66 | and at equality. `r` = native antenna exponential row sum. -/ |
| 67 | def wound (σ r t : ℝ) (R d : ℕ) := |
| 68 | (2*r*fringe σ R d) * (r*t+r*fringe σ R d) |
| 69 | |
| 70 | theorem cut_model {T : PathData G} (C : Stage) {Λ : ℝ} (h : T.Bounds C.clip C.width C.paths Λ) |
| 71 | (R d : ℕ) (he : 1≤d) (p : Cell n) (U : Config G n) (b : BudgetPoint) : |
| 72 | |crown T C.clip R d b.threshold U p - T.baseTerm C.clip b U p| ≤ |
| 73 | wound C.width C.paths b.threshold R d := by |
| 74 | have hW : 0 ≤ wound C.width C.paths b.threshold R d := by |
| 75 | unfold wound; have := fringe_nonneg C.width R d; have := C.paths_pos; have := b.threshold_pos; positivity |
| 76 | unfold crown trunk PathData.baseTerm |
| 77 | split <;> rename_i H |
| 78 | · let u := ‖shorten T R d U p‖ |
| 79 | let v := ‖T.ell U p‖ |
| 80 | let g := 2*C.paths*fringe C.width R d |
| 81 | have hu : 0 ≤ u := norm_nonneg _ |
| 82 | have hv : 0 ≤ v := norm_nonneg _ |
| 83 | have hr : |u-v| ≤ g := (abs_norm_sub_norm_le _ _).trans (by rw [norm_sub_rev]; exact remaining_ell h R d he p U) |
| 84 | have hp : u ≤ C.paths*b.threshold := shorten_small R d h p b.threshold_pos.le U H |
| 85 | change |u^2/2+_-(_+v^2/2)| ≤ _ |
| 86 | rw [show u^2/2+PathData.clipped _ _ (G.chord (faceValue U p))-(_+v^2/2) = (u-v)*(u+v)/2 by ring, abs_div,abs_mul, abs_of_nonneg (show (0:ℝ) ≤ u+v by linarith)] |
| 87 | norm_num |
| 88 | unfold wound |
| 89 | change _ ≤ g * _ |
| 90 | have hh : u+v ≤ 2*C.paths*b.threshold+g := by linarith only [hp,(abs_le.mp hr).1] |
| 91 | have hx := mul_le_mul hr hh (by linarith only [hv,hu] : 0 ≤ u+v) ((abs_nonneg _).trans hr) |
| 92 | unfold g at *; linarith only [hx] |
| 93 | · simp only [zero_add,add_zero,sub_self,abs_zero]; exact hW |
| 94 | |
| 95 | /-- Sup over fine links & background V (not just chart). -/ |
| 96 | theorem launched {R : Rep G f} (c : Stage) {Λ δ w : ℝ} (H : R.Lawful c.width c.paths Λ δ w) |
| 97 | (hc : R.clip=c.clip) (hβ : 0 ≤ R.beta) (hw : w ≤ 1) (n : ℕ) (U : Config G f) : |
| 98 | let L := R.exCost c.paths Λ δ + R.beta*(Fintype.card PlaqAxes*(wound c.width c.paths R.p.threshold n 1)) |
| 99 | ‖Real.exp (-R.scalar)*exposed R n U‖ ≤ Real.exp (sites f * L) := by |
| 100 | intro L |
| 101 | let e := sites f |
| 102 | let b := Fintype.card PlaqAxes*(wound c.width c.paths R.p.threshold n 1) |
| 103 | have ht := H.paths |
| 104 | rw [hc] at ht |
| 105 | have hk (s : Signed) (p : Cell f) : |
| 106 | crown R.path R.clip n 1 R.p.threshold (pull s 0 U) p - R.path.baseTerm R.clip R.p (pull s 0 U) p |
| 107 | ≤ wound c.width c.paths R.p.threshold n 1 := by |
| 108 | rw [hc]; exact (abs_le.mp (cut_model c ht _ 1 le_rfl p _ _)).2 |
| 109 | let lp := PathData.loopsPrice R.p R.beta c.paths Λ |
| 110 | let F := fun s : Signed => R.path.principal R.clip R.p R.beta (pull s 0 U) |
| 111 | let g := fun s : Signed => ∑ i, crown R.path R.clip n 1 R.p.threshold (pull s 0 U) i |
| 112 | have hj (s : Signed) : R.beta*g s - F s ≤ e*(lp + R.beta * b) := by |
| 113 | let V := pull s 0 U |
| 114 | have he : g s - ∑ p, R.path.baseTerm R.clip R.p V p ≤ e*b := by |
| 115 | unfold g; rw [← sum_sub_distrib] |
| 116 | apply (sum_le_sum (fun p _ => hk s p)).trans_eq |
| 117 | simp only [sum_const,card_univ,nsmul_eq_mul,Cell,Face,Fintype.card_prod,Nat.cast_mul,mul_assoc]; rfl |
| 118 | have hf := (abs_le.mp (R.path.volume_price _ R.p R.beta hβ V H.paths)).1 |
| 119 | unfold e V F lp sites at *; linarith only [mul_le_mul_of_nonneg_left he hβ,hf] |
| 120 | have hm : R.beta * cutR R n U - R.path.inChannels R.clip R.p R.beta U ≤ e*(lp+R.beta*b) := by |
| 121 | change R.beta*Branch.avg g - Branch.avg F ≤ _ |
| 122 | rw [Branch.avg_mul R.beta g|>.symm,← Branch.avg_sub] |
| 123 | exact (Branch.avg_mono (g:=fun _ => (sites f:ℝ)*(lp+R.beta*b)) hj).trans_eq (Branch.avg_const ..) |
| 124 | have he := (abs_le.mp (volumeE _ H.labels U)).1 |
| 125 | rw [expel,Rep.eval,show Real.exp (-R.scalar)*(Real.exp _*(Real.exp _*R.activities.gas R.p U)) = |
| 126 | (Real.exp (-R.scalar)*Real.exp (R.beta*cutR R n U)*Real.exp (R.exponent U))*R.activities.gas R.p U by ring, |
| 127 | ← Real.exp_add, ← Real.exp_add,Real.norm_eq_abs,abs_mul,abs_of_nonneg (Real.exp_pos _).le] |
| 128 | apply (mul_le_of_le_one_right (Real.exp_pos _).le (gas_le_one _ hw H.labels _)).trans |
| 129 | refine Real.exp_le_exp.mpr ?_ |
| 130 | unfold L Rep.scalar Rep.exCost Rep.exponent; unfold e lp b sites at * |
| 131 | linarith only [hm,he] |
| 132 | |
| 133 | /-- Wounded outgoing sieve vs the FULL unmasked base cost (still not |
| 134 | loop/Hessian). -/ |
| 135 | def girder (T : PathData G) (a : Clip) (b : BudgetPoint) (U : Config G f) := |
| 136 | Branch.avg fun s : Signed => ∑ p, T.baseTerm a b (pull s 0 U) p |
| 137 | |
| 138 | theorem sieve_nonpositive (S : StepData c f) (T : Tube G S) (β x : ℝ) (hp : 0≤β) (V : Config G c) : sieve T β x V ≤ 1 := by |
| 139 | refine Real.exp_le_one_iff.mpr (mul_nonpos_of_nonpos_of_nonneg (neg_nonpos.mpr hp) ?_) |
| 140 | unfold averaged; apply mul_nonneg (by positivity) |
| 141 | refine sum_nonneg (fun i _ => sum_nonneg (fun j _ => ?_)) |
| 142 | unfold crown; apply add_nonneg |
| 143 | · unfold trunk; split <;> positivity |
| 144 | unfold PathData.clipped; have := T.low.quadratic_pos; have := T.low.tail_pos |
| 145 | have hz := Push.SectorMeasure.temp_nonneg x |
| 146 | have := G.chord_nonneg (faceValue (pull i 0 V) j); split <;> positivity |
| 147 | |
| 148 | theorem aligned {S : StepData c f} (T : Tube G S) (C : Stage) {Λ : ℝ} (hc : T.low = C.clip) (h : T.down.Bounds C.clip C.width C.paths Λ) |
| 149 | (β x : ℝ) (hp : 0≤β) (b : BudgetPoint) (ht : b.threshold = temp x) |
| 150 | (V : Config G c) : |
| 151 | let K := (Fintype.card PlaqAxes:ℝ)*wound C.width C.paths b.threshold (till x) S.patch.L.val |
| 152 | |Real.log (sieve T β x V) + β*girder T.down C.clip b V| ≤ sites c*(β*K) := by |
| 153 | intro K |
| 154 | let Q := fun (i : Signed) (j : Cell c) => crown T.down T.low (till x) S.patch.L.val (temp x) (pull i 0 V) j |
| 155 | let D := fun (i : Signed) (j : Cell c) => T.down.baseTerm C.clip b (pull i 0 V) j |
| 156 | have he (i : Signed) : |∑ j, Q i j - ∑ j,D i j| ≤ sites c*K := by |
| 157 | rw [← sum_sub_distrib] |
| 158 | apply (abs_sum_le_sum_abs ..).trans |
| 159 | apply (sum_le_sum (g:=fun _ => wound C.width C.paths b.threshold (till x) S.patch.L.val) (fun j _ => by |
| 160 | unfold Q D; rw [hc,←ht]; exact cut_model C h _ _ S.patch.L.property ..)).trans_eq |
| 161 | simp only [K,sites,sum_const,card_univ,nsmul_eq_mul,Cell,Face,Fintype.card_prod,Nat.cast_mul,mul_assoc] |
| 162 | unfold sieve; rw [Real.log_exp] |
| 163 | change |-β*Branch.avg (fun i => ∑ j,Q i j)+β*Branch.avg (fun i=>∑ j,D i j)| ≤ _ |
| 164 | rw [show -β*Branch.avg (fun i=>∑ j,Q i j)+β*Branch.avg (fun i=>∑ j,D i j) = -β*(Branch.avg (fun i=>∑ j,Q i j)-Branch.avg (fun i=>∑ j,D i j)) by ring,abs_mul,abs_neg,abs_of_nonneg hp,← Branch.avg_sub,mul_left_comm] |
| 165 | refine mul_le_mul_of_nonneg_left (abs_le.mpr ⟨?_,?_⟩) hp |
| 166 | · exact (Branch.avg_const (n:=Signed) _).symm.le.trans (Branch.avg_mono fun j => (abs_le.mp (he j)).1) |
| 167 | exact (Branch.avg_mono (g:=fun _ => sites c*K) fun j=> (abs_le.mp (he j)).2).trans_eq (Branch.avg_const ..) |
| 168 | |
| 169 | end YM.Further.RootedInteractingRemainder |