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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Das |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Levan |
| 3 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Zest |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Weak sprouts for integral differentiation wrt PROB reference |
| 8 | |
| 9 | Bottom lifted while interpolating. Need polynomial suit opacity, this part |
| 10 | does not assert *Hit*, only controls germs uniformly near Eval per support |
| 11 | in FIXED volume. -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.ConnectedActivityE6.Blaze.Flux |
| 15 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 16 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 17 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals Control Window Coat Footprint Raw |
| 18 | open Pulse Itinerary Scroll Vine Polar Frond Corona Brush Foramen Gate Tablet Strokes Quill Bid Matter |
| 19 | open Packets Art Silica Poll Pond Shield Eider |
| 20 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical ENNReal |
| 21 | variable {G : Gauge} {ι α E : Type} [Fintype ι] [DecidableEq ι] [NormedAddCommGroup E] [NormedSpace ℝ E] {x:E} |
| 22 | variable {j n : ℕ} {L : Side} {A : Matrix ι ι ℝ} {t η b τ y : ℝ} {a v : Body ι} |
| 23 | |
| 24 | lemma protect (h : A.PosDef) (he : 0<b) : Integrable (fun z:Body ι=> Real.exp (-b*‖z‖^2)/Shield.lens₀ A z) (sweep A) := by |
| 25 | rw [magnifies _ h] |
| 26 | have hg : Measurable (fun x=> ENNReal.ofReal (lens₀ A x)) := ENNReal.measurable_ofReal.comp (bulbB |
| 27 | (S:=fun _:Body ι=>A) (fun i j=> measurable_const) measurable_id) |
| 28 | rw [MeasureTheory.integrable_withDensity_iff_integrable_smul' hg (ae_of_all _ fun _=> ENNReal.ofReal_lt_top)] |
| 29 | have hp := (GaussianFourier.integrable_cexp_neg_mul_sq_norm_add (b:=(b:ℂ)) (by exact he) 0 (0:Body ι)).norm |
| 30 | apply hp.congr |
| 31 | refine ae_of_all _ fun z=> ?_ |
| 32 | dsimp only; simp_rw [ENNReal.toReal_ofReal (fullFuel A z).le,smul_eq_mul,Complex.norm_exp] |
| 33 | have hx : lens₀ A z≠0:= (fullFuel A z).ne' |
| 34 | field_simp; simp [← Complex.ofReal_pow] |
| 35 | |
| 36 | omit [DecidableEq ι] in |
| 37 | private lemma dot_shape (v:Body ι) : dotProduct v.ofLp v.ofLp=‖v‖^2 := by simp_rw [dotProduct,EuclideanSpace.real_norm_sq_eq]; simp only [pow_two] |
| 38 | |
| 39 | omit [DecidableEq ι] [NormedSpace ℝ E] in |
| 40 | lemma squarePulse (A : E→Matrix ι ι ℝ) (t : ℝ) (ht:0<t) (hB : Bottom (A x) t) (hp:∀ i j', ContinuousAt (fun p=> A p i j') x) : |
| 41 | ∀ᶠ y in 𝓝 x, Bottom (A y) (t/2) := by |
| 42 | let u:=Fintype.card ι; let b:= t/(2*(1+u)); have he:0<b := by unfold b; positivity |
| 43 | have hx i j : ∀ᶠ y in 𝓝 x, |(A y-A x) i j| ≤ b := by |
| 44 | have he':ContinuousAt (fun y=> |(A y-A x) i j|) x := ((hp i j).sub_const _).abs |
| 45 | filter_upwards [he'.eventually (gt_mem_nhds (show |(A x-A x) i j| < b from by simpa using he))] with x hx; exact le_of_lt hx |
| 46 | filter_upwards [eventually_all.mpr fun i=> eventually_all.mpr (hx i)] with y hy |
| 47 | let f (i:ι):Site (1:Side):=0 |
| 48 | have hg (F : Matrix ι ι ℝ) (h : ∀ i j, |F i j| ≤ b): Green.Rows f f F 0 (t/2) := by |
| 49 | intro i; apply (sum_le_sum (g:=fun _=> b) (fun j hj=> ?_)).trans |
| 50 | · rw [sum_const,nsmul_eq_mul]; change ↑u * b ≤ _; unfold b; field_simp; nlinarith |
| 51 | apply le_trans _ (h i j); unfold wt; rw [zero_mul,Real.exp_zero,one_mul] |
| 52 | have hv:= Control.bilinear_floor (A:=A y-A x) ⟨hg _ hy,hg _ (fun j i=>hy i j)⟩ (le_refl 0) |
| 53 | intro v; have hx:= hv v; have hV:= hB v; rw [Matrix.sub_mulVec,dotProduct_sub] at hx; nlinarith |
| 54 | |
| 55 | omit [DecidableEq ι] in |
| 56 | private lemma scalar_jet (A : E→Matrix ι ι ℝ) (p : ∀ i j', Brush j b 1 (fun x=> A x i j') x) |
| 57 | (_hf : 0≤b) (f : E→Body ι) (h : Brush j η 1 f x) : |
| 58 | let v:= Fintype.card ι; let Q:ℝ:=↑v* (η*(↑v*(b*η))) |
| 59 | Brush j (Q*(1+(1+(1+1)))^j) 1 (fun p=> dotProduct (WithLp.ofLp (f p)) (A p*ᵥ WithLp.ofLp (f p))) x := by |
| 60 | intro v W |
| 61 | have he i: Brush j η 1 (fun x=>f x i) x := by |
| 62 | -- color general FIN |
| 63 | let P:=EuclideanSpace.proj (𝕜:=ℝ) (ι:=ι) i |
| 64 | have hp: ‖P‖≤1 := ContinuousLinearMap.opNorm_le_bound _ zero_le_one (fun x => by |
| 65 | change ‖x i‖≤_; rw [one_mul,← EuclideanSpace.basisFun_inner]; exact (abs_real_inner_le_norm ..).trans_eq (by rw [OrthonormalBasis.norm_eq_one,one_mul])) |
| 66 | have hv:= h.report P hp; rw [one_mul] at hv; exact hv |
| 67 | have hx i := (((Brush.spree univ (fun j p=> A p i j*f p j) _ (show (0:ℝ) ≤ 1+1 by norm_num) (fun j (_:j∈univ)=> |
| 68 | (p i j).paints (he j))))) |
| 69 | simp only [sum_const,nsmul_eq_mul,card_univ] at hx |
| 70 | have hh:= Brush.spree (univ (α:=ι)) _ _ (by norm_num) (fun j _=> (he j).paints (hx j)); simp only [sum_const,nsmul_eq_mul,card_univ] at hh |
| 71 | exact hh.trim |
| 72 | |
| 73 | lemma winglet {A:E→Matrix ι ι ℝ} {Z:α → Body ι} {V:α→ E→ Body ι} (hp : (A x).PosDef) |
| 74 | (h : Bottom (A x)⁻¹ t) (ht : 0<t) (hA : ∀ i j', ContDiffAt ℝ (↑j : WithTop ℕ∞) (fun x=> A x i j') x) (hV : Zest |
| 75 | (fun a x=> V a x-Z a) x j) : |
| 76 | ∃ (M : Body ι→ℝ), Measurable M ∧ Integrable M (sweep (A x)) ∧ ∀ᶠ y in 𝓝 x, |
| 77 | ∀ a, Brush j (M (Z a)) 1 (fun y=> lens₀ (A y) (V a y)/lens₀ (A x) (Z a)) y := by |
| 78 | have hx:= isUnit_iff_ne_zero.mpr hp.det_pos.ne' |
| 79 | have he i k:= jetBack hA hx i k |
| 80 | let P i:= (A i)⁻¹; let S := sweep (A x) |
| 81 | obtain ⟨B,hB,hF⟩:=hV.post |
| 82 | let s := Fintype.card ι; let v y:= -Real.log (A y).det/2 |
| 83 | obtain ⟨A',hA',hH⟩:= Brush.neighborhood x (((determinant hA).log hx.ne_zero).neg.div_const 2 : ContDiffAt ℝ (↑j) v x) |
| 84 | choose k hk hQ using fun i j=> Brush.neighborhood x (he i j) |
| 85 | let U := ∑ i:ι, ∑ j:ι,k i j; have htU : 0≤U := sum_nonneg fun _ _=> sum_nonneg fun j _=> (hk _ j).le |
| 86 | have hm := (squarePulse (x:=x) P t ht h (fun i j=> (he i j).continuousAt)) |
| 87 | let f a y:= dotProduct (V a y).ofLp ((P y)*ᵥ(V a y).ofLp) |
| 88 | let g a y:= v y - f a y/2 |
| 89 | have hh (p:ℝ) (x:E) (i:α) (hp:Brush j p 1 (fun x=> V i x) x) (h : ∀ i j, Brush _ U 1 (fun x=>P x i j) x) := |
| 90 | scalar_jet P h htU (V i) hp |
| 91 | obtain ⟨C,hC,hΨ⟩:= Brush.neighborhood (k:=j) 0 Real.contDiff_exp.contDiffAt |
| 92 | let n y := A'+((s:ℝ)*(y*(s*(U*y))))*(1+(1+(1+1)))^j |
| 93 | let b y := (1+(1+(j.factorial:ℝ)*C)*(1+(n y+n y)))^j |
| 94 | let X : ℝ := t/8; let D:=(t/4)*B^2 |
| 95 | let Z':= ((Real.sqrt (2*Real.pi))^Fintype.card ι)⁻¹ |
| 96 | have hz:0≤Z':= by unfold Z'; positivity |
| 97 | let F (z:Body ι):= Z' * Real.exp (A'+D-X * ‖z‖^2)* b (B+ ‖z‖)/lens₀ (A x) z |
| 98 | have hF' : Measurable F := by |
| 99 | unfold F; refine Measurable.div (show Measurable _ from ?_) (bulbB (fun _ _=> measurable_const : Art.Borel (fun _ : Body ι=> A x)) measurable_id) |
| 100 | unfold b n; fun_prop |
| 101 | refine ⟨F,hF',?_,?_⟩ |
| 102 | swap |
| 103 | · filter_upwards [hm,hF,hH,eventually_all.mpr (fun i=> eventually_all.mpr (hQ i))] with y hp hv hh' hz' a |
| 104 | have hp' : Brush j (B+‖Z a‖) 1 (V a) y := ((hv a).gathering (Brush.certified zero_le_one (Z a))).shimmy |
| 105 | (Eventually.of_forall fun _=> (sub_add_cancel ..).symm) |
| 106 | have hx: Brush j (n (B+‖Z a‖)) 1 (g a) y := hh'.separating (semi (hh _ _ _ hp' (fun i j=> |
| 107 | (hz' i j).climb ((Finset.single_le_sum (fun b _=>(hk _ b).le) (mem_univ j)).trans (Finset.single_le_sum |
| 108 | (f:=fun i=> ∑ j,k i j) (fun i _=>sum_nonneg fun j _=> (hk _ _).le) (mem_univ i))) le_rfl))) |
| 109 | have hSS y : lens₀ (A y) (V a y)= Z'*Real.exp (g a y) := rfl |
| 110 | have hz' := ((Blaze.fever _ (hx.separating ((Brush.certified zero_le_one _).climb hx.bound le_rfl)) hΨ.self_of_nhds).trim.smul Z').smul (lens₀ (A x) (Z a))⁻¹ |
| 111 | have hP:= fullFuel (A x) (Z a) |
| 112 | apply (hz'.climb ?_ le_rfl).shimmy (Eventually.of_forall (fun t=> by |
| 113 | change lens₀ _ _ / _= (lens₀ (A x) (Z a))⁻¹ * (Z' * _); rw [hSS]; ring)) |
| 114 | unfold F; rw [Real.norm_of_nonneg hz, norm_inv, Real.norm_of_nonneg hP.le] |
| 115 | have hv': f a y≥ t/2 * ‖V a y‖^2 := (mul_le_mul_of_nonneg_left (dot_shape _).symm.le (by positivity)).trans (hp _) |
| 116 | have hs: ‖Z a‖^2 ≤ 2*(‖V a y‖^2+B^2) := by |
| 117 | have he := (hv a).bound; have hh : ‖Z a‖ ≤ ‖V a y‖+B := by |
| 118 | nth_rw 1 [show Z a=V a y-(V a y-Z a) from by abel]; exact (norm_sub_le ..).trans (add_le_add_right he _) |
| 119 | nlinarith [norm_nonneg (Z a),norm_nonneg (V a y),sq_nonneg (‖V a y‖-B)] |
| 120 | have hf' : g a y ≤ A'+D-X*‖Z a‖^2 := by unfold g D X; nlinarith only [hv', show v y≤A' from (le_abs_self _).trans hh'.bound, mul_le_mul_of_nonneg_left hs ht.le] |
| 121 | change _⁻¹*(Z'*(Real.exp (g a y)*b _))≤_ |
| 122 | rw [div_eq_inv_mul] |
| 123 | apply mul_le_mul_of_nonneg_left _ (inv_nonneg.mpr hP.le) |
| 124 | rw [mul_assoc Z' (Real.exp _)] |
| 125 | apply mul_le_mul_of_nonneg_left _ hz |
| 126 | apply mul_le_mul_of_nonneg_right (Real.exp_le_exp.mpr hf'); unfold b; have hf:=hx.nonneg; positivity |
| 127 | -- polynomial absorbed into exponential, rank and κ entirely free here |
| 128 | let N := n (B+1); let P:= 1+(1+(j.factorial:ℝ)*C)*(1+(N+N)); let y:= X/2 |
| 129 | let D' := (2*(j:ℝ))^2/(4*y) |
| 130 | let H := Z'*P^j*Real.exp (A'+D+D') |
| 131 | have hs: 0≤(s:ℝ):= Nat.cast_nonneg _ |
| 132 | have hN :0≤N := by unfold N n; positivity |
| 133 | have h' :0<y := by unfold y X; positivity |
| 134 | have hb :∀ t:ℝ,0≤t→0≤b (B+t) := by intro t ht; unfold b n; positivity |
| 135 | have hP: 0<P := by unfold P; positivity |
| 136 | apply ((Flux.protect hp h').const_mul H).mono' hF'.aestronglyMeasurable |
| 137 | apply ae_of_all; intro z |
| 138 | have hP' := (fullFuel (A x) z).le |
| 139 | have hp :0≤ F z := by unfold F; exact div_nonneg (mul_nonneg (mul_nonneg hz (Real.exp_pos _).le) (hb _ (norm_nonneg _))) hP' |
| 140 | rw [Real.norm_of_nonneg hp]; unfold F |
| 141 | let t:= ‖z‖; let U' := (1+t); have ht:0≤t := norm_nonneg _; have hu: 1≤U' := le_add_of_nonneg_right ht |
| 142 | have hF : b (B+t)≤ P^j*Real.exp (2*j*t) := by |
| 143 | have hf := Real.add_one_le_exp t; rw [add_comm] at hf |
| 144 | have hh : B+t ≤ (B+1)*U' := by unfold U'; nlinarith only [hB,ht] |
| 145 | have hp:n (B+t)≤N*U'^2 := by |
| 146 | have hbb : n (B+t) ≤ n ((B+1)*U') := by unfold n; gcongr |
| 147 | apply hbb.trans; unfold N n; rw [add_mul A'] |
| 148 | apply add_le_add (le_mul_of_one_le_right hA'.le (one_le_pow₀ hu)); exact le_of_eq (by ring) |
| 149 | have hx' : 1+(1+(j.factorial:ℝ)*C)*(1+(n (B+t)+n (B+t))) ≤ P*U'^2 := by |
| 150 | unfold P; nlinarith only [one_le_pow₀ (n:=2) hu,hp,mul_le_mul_of_nonneg_left hp (show 0≤(j.factorial:ℝ)*C by positivity), show 0≤(j.factorial:ℝ)*C by positivity] |
| 151 | unfold b; apply le_trans (b:=(P*(Real.exp t)^2)^j) (pow_le_pow_left₀ (by unfold n; positivity) (hx'.trans |
| 152 | (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (zero_le_one.trans hu) hf _) hP.le)) j) |
| 153 | rw [mul_pow,← Real.exp_nat_mul,← Real.exp_nat_mul]; exact le_of_eq (by push_cast; ring_nf) |
| 154 | have hH : Real.exp (A'+D-X*t^2)* Real.exp (2*j*t)≤ Real.exp (A'+D+D')*Real.exp (-y*t^2) := by |
| 155 | rw [← Real.exp_add,← Real.exp_add]; apply Real.exp_monotone; unfold D' |
| 156 | rw [show X=2*y by unfold y; ring]; field_simp; nlinarith [sq_nonneg (2*(j:ℝ)-2*y*t)] |
| 157 | change _/lens₀ _ _ ≤ H*(Real.exp (-y*t^2)/ _); rw [← mul_div_assoc]; apply div_le_div_of_nonneg_right _ hP' |
| 158 | change Z' * Real.exp _* b (B+t)≤_ |
| 159 | apply (mul_le_mul_of_nonneg_left hF (show 0≤Z'*Real.exp (A'+D-X*t^2) by positivity)).trans |
| 160 | calc |
| 161 | _ = (Z'*P^j)*(Real.exp (A'+D-X*t^2)*Real.exp (2*j*t)) := by ring |
| 162 | _ ≤ _ := (mul_le_mul_of_nonneg_left hH (show 0≤Z'*P^j by positivity)).trans_eq (mul_assoc ..).symm |
| 163 | end YM.ConnectedActivityE6.Blaze.Flux |