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.FullVolume.Silent |
| 2 | import YM.FullVolume.Stand |
| 3 | import YM.MergeProof.Powder |
| 4 | |
| 5 | /-! # Uniform rank detection (whole mesh × every volume) -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.FullVolume |
| 9 | open Function Filter Set MeasureTheory Metric Lattice RG Wilson Extraction Extraction.Lease Difference Gaps Cells Next.Rank Next.Rank.Market Push.RelayDifference |
| 10 | open Next.Extract MergeProof |
| 11 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 12 | variable {G:Gauge}{C:Family G}{S:Table C.book}{d : ℕ}{Y:Columns C S d} (T:Y.Trials) (M:C.Makes)(B:Stock.Tabs C.path.levels)(hp: Wcmain C) (h:VitalRank T) |
| 13 | (V:∀ d,Source.SectionData (C.labels.level d))(R:Push.Mark.Weave G)(hV: ∀ d:ℕ,Push.Mark.Portfolio C.params (V d) (R d)) |
| 14 | {P:∀ d,Cutoffs→ (C.label d≃ₗ[ℂ] C.label d)} (a: Presentation C){ζ:ℕ→ℕ→ℝ}(hf:Hearthside C V R P a ζ) |
| 15 | |
| 16 | include M B V R hf hV |
| 17 | lemma sweep (x:Bid.Rowe C d)(hx:Coin C x)(he:∀ i, a.step d i (x i)=0): Owed (Bid.upper C x) (flight C (-(1/32))):=by |
| 18 | obtain ⟨p,q,h⟩:=hf.hearth d |
| 19 | exact banked M B (V d) R (hV d) _ h _ hx fun i=> ((hf.foundation.step d i.1 i.2).ker) ▸ (show x i∈LinearMap.ker (a.step d i).toLinearMap from LinearMap.mem_ker.mpr (he i)) |
| 20 | |
| 21 | omit M B hV in |
| 22 | lemma weighed (i:Cutoffs): Module.finrank ℂ (LinearMap.range (a.step d i).toLinearMap) ≤ Y.dim+1:=by |
| 23 | let v:= bindP C R d i.1 i.2 (P d i) |
| 24 | let F:= C.labels.level d |
| 25 | let T:= Maxwell.freeTable C.labels; let U:= Maxwell.equationIdeal G d |
| 26 | have hg : T.null d=U.map F.coords.toLinearMap:=by |
| 27 | ext x; obtain ⟨j,rfl⟩:= F.coords.surjective x |
| 28 | change F.coords j∈ T.null d ↔ _ |
| 29 | have hh : F.coords j∈T.null d ↔ j∈U:= by |
| 30 | have H := Maxwell.projectionExact C.labels (c:=F.coords j) |
| 31 | rw [Extra.FD.no_residual] at H |
| 32 | refine H.symm.trans ?_; simp only [Submodule.mem_bot]; constructor |
| 33 | · intro h; apply LinearMap.mem_ker.mpr |
| 34 | have hh : Maxwell.observable G d ((C.labels.level d).coords.symm (F.coords j))=0 := congr_arg Subtype.val h |
| 35 | rw [F.coords.symm_apply_apply] at hh; exact hh |
| 36 | intro h; apply Subtype.ext |
| 37 | change Maxwell.observable G d ((C.labels.level d).coords.symm (F.coords j))=0; rw [F.coords.symm_apply_apply]; exact h |
| 38 | rw [hh]; exact ⟨fun hi=> ⟨j,hi,rfl⟩,fun ⟨k,h,hj⟩=> F.coords.injective (show F.coords k=F.coords j from hj) ▸ h⟩ |
| 39 | have he := LinearEquiv.finrank_eq (v.submoduleMap U) |
| 40 | have hz := LinearEquiv.finrank_eq (F.coords.submoduleMap U) |
| 41 | have ha : Module.finrank ℂ (T.Field d)+Module.finrank ℂ (T.null d) = Module.finrank ℂ (C.label d):= (T.null d).finrank_quotient_add_finrank |
| 42 | have hb : Module.finrank ℂ (LinearMap.ker (a.step d i).toLinearMap) = Module.finrank ℂ U:= (congrArg (fun W : Submodule ℂ (C.label d) => Module.finrank ℂ W) (hf.foundation.step d i.1 i.2).ker).trans he.symm |
| 43 | have hz' : Module.finrank ℂ (T.null d)=Module.finrank ℂ U:= |
| 44 | (congrArg (fun W : Submodule ℂ (C.label d)=> Module.finrank ℂ W) hg).trans hz.symm |
| 45 | have hK : Module.finrank ℂ (T.Field d)=Y.dim+1:= (Module.finrank_eq_card_basis Y.basis).trans (Fintype.card_fin _) |
| 46 | have hx:= LinearMap.finrank_range_add_finrank_ker (a.step d i).toLinearMap |
| 47 | rw [hz',hK] at ha; rw [hb] at hx; exact (Nat.add_right_cancel (hx.trans ha.symm)).le |
| 48 | include T hp h |
| 49 | |
| 50 | abbrev display (x : Bid.Rowe C d)(i:Cutoffs):= a.step d i (x i) |
| 51 | lemma trained (l:List Axis): |
| 52 | ∀ᶠ k:ℕ in atTop, ∀ᶠ b:ℝ in 𝓝[>] 0, ∃ Z:ℝ,0≤Z ∧ ∀ᶠ i in mesh,∀ x:C.label d, |
| 53 | ‖a.step d i x‖ ≤ Z *‖probe T k i b l (a.step d i x)‖:=by |
| 54 | obtain ⟨δ,L,hd,hL,hZ⟩:= firm (true_lower Y); let ε:= δ/4; have hε:0<ε:=div_pos hd (by norm_num) |
| 55 | obtain ⟨A,hA⟩:= hf.uniform d; have hAp:0≤A:= (norm_nonneg _).trans (hA (0,0)) |
| 56 | filter_upwards [h.performance ε hε] with k hk |
| 57 | obtain ⟨v,hv⟩:= h.shops.bounded k |
| 58 | have hwp : 0 ≤ v:= (norm_nonneg _).trans (hv 0 0 0) |
| 59 | filter_upwards [probesUp T M hp l h.shops hε k, invites T M hp l h.shops k] with b hb hB |
| 60 | let X j i:= T.lift k (Prod.fst i) (Prod.snd i) j |
| 61 | let F i:= probe T k i b l; let Y' := A*(Y.dim+1:ℕ)*v*L |
| 62 | have hY : 0≤Y' :=by unfold Y'; positivity |
| 63 | refine ⟨Y',hY,?_⟩ |
| 64 | have hx j:Tendsto (fun i=> F i (X j i-display a (boostsAt T k j) i)) mesh (𝓝 0):=by |
| 65 | let s := display a (boostsAt T k j); let x:Bid.Rowe C d:= boostsAt T k j - s |
| 66 | have hc: ∀ i,x i=X j i-display a (boostsAt T k j) i:= fun _=> rfl |
| 67 | have hC: Coin C (boostsAt T k j):= Coin.from_bound M (A:=v) (Eventually.of_forall fun i=> hv i.1 i.2 j) |
| 68 | have hs: Coin C s:= Coin.from_bound M (A:=A*v) (Eventually.of_forall fun i=> |
| 69 | ((a.step d i).le_opNorm _).trans (mul_le_mul (hA i) (hv _ _ j) (norm_nonneg _) hAp)) |
| 70 | have he : Owed (Bid.upper C x) (flight C (-(1/32))) := by |
| 71 | apply sweep M B V R hV a hf x (hC.sub hs); intro i; change a.step _ _ (_ - a.step _ _ _) = _; rw [map_sub,a.projected, sub_self] |
| 72 | simp_rw [← hc]; unfold F; simp_rw [probe_eq T k _ b l x]; exact hB.2 _ _ he (flown (by norm_num)) |
| 73 | filter_upwards [hk,hb,eventually_all.mpr (fun j=> (hx j|>.norm).eventually (gt_mem_nhds (show ‖(0:Fin Y.amount→ℂ)‖ < ε by simpa using hε)))] with i hi hv' hh x |
| 74 | let f (j:Fin (Y.dim+1)) := X j i; let Z := (F i).comp ((a.step d i).toLinearMap.comp (arrange f)) |
| 75 | apply rank_upper (a:=a.step d i) (f:=f) (hv i.1 i.2) (hA i) hL.le (F i) (hZ Z ?_) (weighed V R a hf (Y:=Y) i) hwp x |
| 76 | intro j |
| 77 | have hu: Z ((Pi.basisFun ℂ _) j)=(F i) (display a (boostsAt T k j) i) := by unfold Z; rw [LinearMap.comp_apply, LinearMap.comp_apply, ordered_at]; rfl |
| 78 | rw [hu] |
| 79 | let v:= display a (boostsAt T k j) i |
| 80 | have hd' : ‖F i (f j)- F i v‖ ≤ ε:= by |
| 81 | have he := hh j |
| 82 | rw [← map_sub]; exact le_of_lt he |
| 83 | apply (pi_norm_le_iff_of_nonneg hd.le).mpr; intro k' |
| 84 | let w := fun i=> monitor (siblings T k k') i (Bid.upper C (boostsAt T k j)) (loc T k k' i) |
| 85 | have hx : ‖F i (f j) k'-w i‖ ≤ ε := by rw [← dist_eq_norm]; exact hv' k' j |
| 86 | have ht : ‖w i-focus (X:=Y) k' j‖ < ε:= by rw [← dist_eq_norm]; exact hi k' j |
| 87 | have hb': ‖F i v k'- F i (f j) k'‖ ≤ ε:= le_trans (norm_le_pi_norm (F i v-F i (f j)) k') (by rwa [norm_sub_rev]) |
| 88 | change ‖F i v k'-focus k' j (X:=Y)‖ ≤ δ |
| 89 | apply le_trans (norm_sub_le_norm_sub_add_norm_sub _ (F i (f j) k') _) |
| 90 | have hy:= norm_sub_le_norm_sub_add_norm_sub (F i (f j) k') (w i) (focus k' j (X:=Y)) |
| 91 | dsimp only [ε] at *; linarith only [hy,ht,hx,hb',hd] |
| 92 | end YM.FullVolume |