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.Maintain |
| 2 | |
| 3 | /-! Linear algebra of probes in finite dimension. Explicitly state |
| 4 | purchases of rank lower and upper *on the same varying rows*. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.FullVolume |
| 8 | open Function Set Filter Metric MeasureTheory Lattice RG Wilson Extraction Extraction.Lease Difference Gaps Cells Next.Rank Next.Rank.Market Push.RelayDifference |
| 9 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 10 | variable {E:Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 11 | {n m : ℕ} |
| 12 | |
| 13 | abbrev Size (n:ℕ) := Fin n→ℂ |
| 14 | def arrange (f:Fin n→E) : Size n→ₗ[ℂ] E:= (Pi.basisFun _ _).constr ℂ f |
| 15 | lemma ordered (f : Fin n → E) (x:Size n): arrange f x=∑ i,x i • f i:= by simp [arrange] |
| 16 | lemma ordered_at (f:Fin n→E) (j:Fin n): arrange f ((Pi.basisFun ℂ _) j) = f j:= Module.Basis.constr_basis .. |
| 17 | lemma capacity (x: Size n) (f : Fin n→E) (A:ℝ) (h:∀ i, ‖f i‖≤A): ‖arrange f x‖≤ n*‖x‖*A:= by |
| 18 | rw [ordered]; apply (norm_sum_le ..).trans ((Finset.sum_le_sum (g:= fun _ => ‖x‖ * A) (fun i _=> by rw [norm_smul]; exact mul_le_mul (norm_le_pi_norm x i) (h i) (norm_nonneg _) (norm_nonneg _))).trans_eq ?_) |
| 19 | simp [mul_assoc] |
| 20 | lemma firm {g:Fin n → Size m} (h:Injective (arrange g)): |
| 21 | ∃ δ M : ℝ, 0<δ ∧ 0<M ∧ ∀ L: Size n →ₗ[ℂ] Size m, |
| 22 | (∀ i,‖L ((Pi.basisFun ℂ _) i)-g i‖ ≤ δ) → |
| 23 | ∀ x, ‖x‖ ≤ M*‖L x‖ := by |
| 24 | obtain ⟨K,hK,k⟩:= LinearMap.exists_antilipschitzWith _ (LinearMap.ker_eq_bot.mpr h) |
| 25 | let K':= (K:ℝ); let δ:ℝ:= (2*K'*(n+1))⁻¹ |
| 26 | have ht:0<K':=by exact_mod_cast hK |
| 27 | refine ⟨δ,2*K',by unfold δ; positivity,by positivity,fun L h' x=>?_⟩ |
| 28 | let y:=(L-arrange g) |
| 29 | have hy:y=arrange (fun i=> L ((Pi.basisFun ℂ _) i)-g i):=by apply (Pi.basisFun ..).ext; intro i; change L _ - arrange g _=_; rw [ordered_at g, ordered_at] |
| 30 | have hp: ‖L x-arrange g x‖ ≤ n*‖x‖*δ:=by change ‖y x‖ ≤ _; rw [hy]; exact capacity x _ _ h' |
| 31 | have hb : 0<δ:=by unfold δ; positivity |
| 32 | have hv : ‖x‖≤K'*‖arrange g x‖:= ZeroHomClass.bound_of_antilipschitz (arrange g) k x |
| 33 | have hg := hp; rw [norm_sub_rev] at hg |
| 34 | have he: K'*(n*‖x‖*δ)≤‖x‖/2:= by |
| 35 | calc |
| 36 | _ ≤ K'*(((n:ℝ)+1)*‖x‖*δ) := by gcongr; linarith |
| 37 | _ = _ := by unfold δ; field_simp |
| 38 | have hx:= norm_sub_norm_le (arrange g x) (L x) |
| 39 | nlinarith only [hg,hx,mul_le_mul_of_nonneg_left (hx.trans hg) ht.le,he,hv] |
| 40 | |
| 41 | variable [FiniteDimensional ℂ E] |
| 42 | lemma rank_upper {a: E →L[ℂ] E} {f: Fin n→E} {A:ℝ} (h:∀ i, ‖f i‖ ≤ A) {M L:ℝ}(hM:‖a‖ ≤ M) (_hP:0≤L) (g:E→ₗ[ℂ] Size m) |
| 43 | (h':∀ x: Size n, ‖x‖≤ L*‖g (a (arrange f x))‖) (hp: Module.finrank ℂ (LinearMap.range a.toLinearMap) ≤ n) (hA: 0 ≤ A): |
| 44 | ∀ x:E, ‖a x‖ ≤ M*n*A*L*‖g (a x)‖:= by |
| 45 | let F:= (LinearMap.rangeRestrict a.toLinearMap).comp (arrange f) |
| 46 | have hf: Injective F:=by |
| 47 | apply LinearMap.ker_eq_bot.mp; apply LinearMap.ker_eq_bot'.mpr; intro x hx |
| 48 | have he: a (arrange f x)=0:= congr_arg Subtype.val hx |
| 49 | simpa [he] using h' x |
| 50 | have hs : Surjective F:= (LinearMap.injective_iff_surjective_of_finrank_eq_finrank (Nat.le_antisymm (LinearMap.finrank_le_finrank_of_injective hf) (by simpa [Size] using hp))).1 hf |
| 51 | intro x |
| 52 | obtain ⟨t,ht⟩:= hs (a.toLinearMap.rangeRestrict x) |
| 53 | have ht: a (arrange f t)=a x:= congr_arg Subtype.val ht |
| 54 | rw [←ht]; refine (a.le_opNorm _).trans ((mul_le_mul hM (capacity t f A h) (norm_nonneg _) ((norm_nonneg a).trans hM)).trans ?_) |
| 55 | have hv : 0≤M:= (norm_nonneg a).trans hM |
| 56 | exact (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (h' t) (Nat.cast_nonneg _)) hA) hv).trans_eq (by ring) |
| 57 | variable {G:Gauge}{C:Family G}{S:Table C.book}{d:ℕ}(X:Columns C S d) |
| 58 | |
| 59 | -- reuse `functional` form from Beam on same columns |
| 60 | private lemma functional (i : Fin X.amount) : ∃ F : (standard C).Field d →ₗ[ℂ] ℂ, |
| 61 | ∀ x, F x=(X.row i).tests (standard C) X.basis x := by |
| 62 | let T := standard C |
| 63 | let n := (X.row i).extra |
| 64 | let p := (X.row i).expected |
| 65 | let r (j : Fin n) := X.basis ((X.row i).uses j) |
| 66 | let v (j : Fin n) : (Maxwell.standard C.labels).Token := ⟨d,T.representative d (r j)⟩ |
| 67 | let F := (T.injectFront v p d).comp (T.representative d) |
| 68 | refine ⟨F,fun x => ?_⟩ |
| 69 | change T.read p (Fin.cons ⟨d,T.representative d x⟩ v)=T.useAt T p (Fin.cons ⟨d,x⟩ (fun i => ⟨d,r i⟩)) |
| 70 | let H (a : T.Tag) := (⟨a.1,T.representative a.1 a.2⟩ : (Maxwell.standard C.labels).Token) |
| 71 | change _= T.read p (H ∘ (Fin.cons (α:=fun _ => T.Tag) ⟨d,x⟩ (fun i => ⟨d,r i⟩))) |
| 72 | congr 1; funext i; refine Fin.cases ?_ (fun _ => ?_) i <;> rfl |
| 73 | lemma true_lower : Injective (arrange (fun j i => focus (X:=X) i j)):=by |
| 74 | choose V hv using functional X |
| 75 | let T:= LinearMap.pi V |
| 76 | have hf: Injective T:= by intro x y H; apply X.full; funext i; dsimp only; rw [←hv,←hv]; exact congr_fun H i |
| 77 | let B:=(Pi.basisFun ℂ (Fin (X.dim+1))).equiv X.basis (Equiv.refl _) |
| 78 | have hd : arrange (fun j i => focus (X:=X) i j) = T.comp B.toLinearMap:= by |
| 79 | apply (Pi.basisFun ..).ext; intro i |
| 80 | rw [ordered_at (fun j i => focus (X:=X) i j)]; ext j:1; symm |
| 81 | change V j (B _)=_; rw [show B _= X.basis i from (Pi.basisFun ℂ _).equiv_apply i X.basis (Equiv.refl _) ] -- check |
| 82 | apply hv |
| 83 | rw [hd]; exact hf.comp B.injective |
| 84 | end YM.FullVolume |