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.Perfect.Temple |
| 2 | import YM.Planned.STATIONARY_JET_PORT.InUse |
| 3 | import YM.Push.STATIONARY_UNIFORM.Continue |
| 4 | |
| 5 | /-! # Invoke Before on path-matched solution. No competing branch in Ward proof -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Trace.Perfect |
| 9 | open Function Filter Matrix Lattice Precision Laurent Stationary Bloch Exterior Tree RG Wilson |
| 10 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius |
| 11 | variable {n N:ℕ} |
| 12 | section temp |
| 13 | open Push.Uniform |
| 14 | variable {I J:Type}[Fintype I][DecidableEq I][Fintype J][DecidableEq J] |
| 15 | {D Y V α :ℝ}{B:I→ Site ⟨1,Nat.zero_lt_one⟩} |
| 16 | -- unify classical.decide templates |
| 17 | lemma rail_entry (f:Rays I→Rays J)(x:Rays I)(v:Fin n→I)(j:J): |
| 18 | leaf f x n v j=Push.Uniform.entry f x v j:=by |
| 19 | unfold leaf bank entry; rw [show desk (I:=I) =bolt (ι:=I) from funext fun i=> by ext j; by_cases he:j=i <;> simp [desk,bolt,he]]; rfl |
| 20 | lemma footed (A:I→ℕ)(f:Rays I→ Rays J) (x:Rays I)(a : ℝ)(j : J) {n:ℕ}(h:ContDiffAt ℝ ω f x): |
| 21 | sail f x A n j a 0 0 = cost A a 0 0 (leaf (fun z=> f z j) x n):=by |
| 22 | unfold sail leaf; rw [show (fun z=> f z j)=(ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _:J=>ℝ) j) ∘ f from rfl,(ContinuousLinearMap.proj ..).iteratedFDeriv_comp_left h le_top];rfl |
| 23 | variable {c: Side} |
| 24 | lemma shade_total {l:I→Site c}{m:J→Site c}{f:Rays I→Rays J}{K:ℕ} {x:Rays I}(h:Push.Uniform.Envelope l m α n f x D)(hp:Multiplicity l K)(hN:n≠0)(hD:0 ≤ D)(ha:0<α)(i : J): sail f x (fun j=> separation (m i) (l j)) n i (α/2) 0 0 ≤ D*(K*countCost (α/2))^n:=by |
| 25 | let A k:=separation (m i) (l k); let g j:= Decay (α/2) (m i) (l j) |
| 26 | unfold sail cost; refine (Finset.sum_le_sum (g:=fun s:Fin n→I=> D*∏ j:Fin n, g (s j)) ?_).trans ?_ |
| 27 | · intro v _; have ht:= h n hN le_rfl v i; rw [← rail_entry f] at ht |
| 28 | apply (mul_le_mul_of_nonneg_left ht (show 0 ≤ spot (α/2) 0 0 (limitN A v) from (spot_pos ..).le)).trans |
| 29 | rw [mul_left_comm,show (∏ j,g (v j))=_ from (glaze_prod l (m i) v (α/2)).symm]; refine mul_le_mul_of_nonneg_left ?_ hD |
| 30 | unfold glaze spot shelter; simp only [pow_zero, sub_zero, max_eq_right (Nat.cast_nonneg _),one_mul,← Real.exp_add]; apply Real.exp_monotone |
| 31 | have he(k): limitN A v ≥ A (v k):=limitN_ge A v k; have hf : Nonempty (Fin n) := ⟨⟨0,Nat.pos_of_ne_zero hN⟩⟩ |
| 32 | obtain ⟨j,hj⟩:= limitN_mem A v hf |
| 33 | have hs : (limitN A v:ℝ) ≤ spanSites l (m i) v := by |
| 34 | apply Nat.cast_le.mpr |
| 35 | rw [hj]; exact Finset.single_le_sum (f:=fun j=> A (v j)) (fun k _=> Nat.zero_le _) (Finset.mem_univ j) |
| 36 | change α/2*(limitN A v:ℝ)+_ ≤ _; nlinarith only [hs, mul_le_mul_of_nonneg_left hs ha.le] |
| 37 | rw [← Finset.mul_sum]; apply mul_le_mul_of_nonneg_left ?_ hD |
| 38 | rw [← Fintype.prod_sum]; |
| 39 | refine (Finset.prod_le_prod (fun j _=> Finset.sum_nonneg fun _ _=> (Real.exp_pos _).le) (g:=fun _=> (K:ℝ)*countCost (α/2)) (fun j _=> hp.count l (half_pos ha) (m i))).trans_eq ?_; simp |
| 40 | end temp |
| 41 | |
| 42 | structure Lot (G : Gauge) (P : Patch) (Y : KernelChoices) (p:Clip)(α D:ℝ) where |
| 43 | c : Side |
| 44 | f : Side |
| 45 | s : StepData c f |
| 46 | kit : s.kernel=Y |
| 47 | patch : s.patch=P |
| 48 | wood : Forest s.ratio |
| 49 | b : PathData G |
| 50 | Λ: ℝ |
| 51 | ρ : Bid.Dir G c→AxisChart G wood |
| 52 | law: Critical wood p b ρ |
| 53 | price: b.Bounds p α D Λ |
| 54 | size : Bid.Larger (G:=G) s |
| 55 | namespace Lot |
| 56 | open Push.Uniform Planned.JetPort |
| 57 | variable {G:Gauge} {P:Patch}{Y:KernelChoices}{p:Clip}{α D:ℝ} {W:Type*}(L:W→ Lot G P Y p α D) |
| 58 | |
| 59 | lemma earnings (e:∀ w, Key (L w).wood G): Calm |
| 60 | (fun (w:W) (i: Primary (L w).c G)=> separation (address (L w).wood G (Sum.inr (e w))) (address (L w).wood G (Sum.inl i))) |
| 61 | (fun w v=> station (L w).ρ v (e w)) N:=by |
| 62 | classical |
| 63 | rcases isEmpty_or_nonempty W with hs|hs; · exact ⟨fun i=>isEmptyElim i,1,0,zero_lt_one,le_rfl,fun i=>isEmptyElim i⟩ |
| 64 | obtain ⟨w₀⟩:=hs |
| 65 | obtain ⟨A⟩:= pre_order G α D P.J Y (n:=N+3) (by omega) |
| 66 | let V:=A.tables p P |
| 67 | choose ρ H using fun w=> A.graph (L w).wood (L w).price (L w).size (by rw [(L w).patch]) (L w).kit |
| 68 | have hx(w:W): Counter V N (Classical.arbitrary (L w).s.Choices) p (L w).b (ρ w):=by |
| 69 | unfold V; rw [← show A.tables p (L w).s.patch=A.tables p P from congr_arg _ (L w).patch] |
| 70 | apply Counter.service (B:=_) (H w) (L w).price (L w).size (by rw [(L w).patch]) (L w).kit |
| 71 | have hH(w:W): (0: Positions (Primary (L w).c G)) ∈ domain V:= Metric.mem_ball_self (show 0<V.horizon from ((congr_arg (fun z : Patch=> (A.tables p z).horizon) (L w).patch) ▸ (H w).1)) |
| 72 | let Z := fun (w:W) (i: Primary (L w).c G) => separation (address (L w).wood G (Sum.inr (e w))) (address (L w).wood G (Sum.inl i)); let a:= pathRate V N;let C:= pathCost V N |
| 73 | have ht:= (hx w₀).carrier (hH w₀)|>.2 N (by omega);have ha:0<a:=ht.1;have hC:0<C:=ht.2.1 |
| 74 | let E w (v:Positions (Primary (L w).c G)):= station (ρ w) v (e w) |
| 75 | have he : Calm Z E N:=by |
| 76 | let b:= (townCost G*(Push.Uniform.countCost (a/2))) |
| 77 | have hh :0≤b:=mul_nonneg (Nat.cast_nonneg _) (count_pos (half_pos ha)).le |
| 78 | have hv (w:W):ContDiffAt ℝ ω (station (ρ w)) 0:= (H w).series (by rw [show A.tables p (L w).s.patch=A.tables p P from by rw [(L w).patch]]; exact hH w) |
| 79 | refine ⟨fun w=> contDiffAt_pi.mp (hv w) _,a/2,C*(1+b)^N, half_pos ha,by positivity, fun w n hn=> ?_⟩ |
| 80 | rcases n with _|n |
| 81 | · have hx': station (ρ w) 0=0:=by simp [station,(H w).2.2.2.2.2.1.1] |
| 82 | rw [zero_price, show E w 0=0 from by simp [E,hx'], norm_zero,mul_zero]; positivity |
| 83 | unfold E; rw [← footed _ _ _ _ _ (hv w)] |
| 84 | let T:=Multiplicity.comp (a:=address (L w).wood G) (town (L w).wood) (Sum.inl_injective (β:=Key (L w).wood G)) |
| 85 | have hx' := (hx w).carrier (hH w) |>.2 N (by omega) |>.2.2.2 |
| 86 | have hu : Push.Uniform.Envelope _ _ _ (n+1) _ _ _:= fun i hi hQ=> hx' i hi (hQ.trans hn) |
| 87 | refine (shade_total (x:=0) hu T (Nat.succ_ne_zero _) hC.le ha (e w)).trans ?_; change C*b^(n+1) ≤ _; exact mul_le_mul_of_nonneg_left ((pow_le_pow_left₀ hh (show b ≤ 1+b by linarith) _).trans (pow_le_pow_right₀ (by linarith only[hh]) hn)) hC.le |
| 88 | apply he.near; intro w |
| 89 | let K:= tint G (Body 1 (L w).c) |
| 90 | filter_upwards [(show Tendsto K _ (𝓝 0) from (K.map_zero) ▸ K.continuous.tendsto 0).eventually ((H w).is_extension (L w).law)] with x hx; unfold E station; rw [Function.comp_apply,Function.comp_apply,← hx]; rfl |
| 91 | end Lot |
| 92 | end YM.Trace.Perfect |