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.RG08.Glyph.Tempo |
| 2 | import YM.RG08.Skiff.Shed |
| 3 | |
| 4 | /-! # Differential of the finite log graph. Degree-count independent |
| 5 | of stencil algebras. PEER order bound `n ≤ l+a` supersedes positive-degree |
| 6 | rank roof `≤a+2`. This section never drops scalars (`Fintype I` where needed). |
| 7 | No parity required on marked fields or tags. |
| 8 | -/ |
| 9 | noncomputable section |
| 10 | namespace YM.RG08.Trickle |
| 11 | open Function Finset Jetty Skiff Forms Steam MvPolynomial Glyph Cloud |
| 12 | open scoped BigOperators Topology Classical |
| 13 | set_option autoImplicit false |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | variable {I J R:Type}{p q n j k e l m:ℕ}{Γ:Line I}{S:GrainS I}{V:Steam.Grain I} |
| 16 | |
| 17 | def brook (f:Pearl)(S:GrainS I):Steam.Grain I:=fun e n=>during f (S e n) |
| 18 | lemma dry(r:ℕ)(hv:Lit l S)(hl:l+e<r)(f:Pearl):brook f S e r=0:=by |
| 19 | have he: S e r=0:= Classical.not_not.mp fun h=> by have:=hv _ _ h;omega |
| 20 | unfold brook;rw [he];rfl |
| 21 | lemma drink(he:Lit l S)(hv:Eligible V){Γ:Line I}:Lit l (skate Γ V S j):=fun _ _ h=>(full he hv h).2 |
| 22 | |
| 23 | lemma during_sum {P:R→Pack n I}(s:Finset R)(f:Pearl):during f (∑ i∈s,P i)=∑ i∈s,during f (P i):=by ext; simp [during,Finset.sum_apply] |
| 24 | lemma during_add(P Q:Pack n I)(f:Pearl):during f (P+Q)=during f P+during f Q:=rfl |
| 25 | lemma during_smul(x:ℝ)(P:Pack n I)(f:Pearl):during f (x • P)=x • during f P:=rfl |
| 26 | |
| 27 | lemma rowing (P:Trips I)(V:Steam.Grain I)(j e n:ℕ)(f:Pearl) : |
| 28 | during f (rungs Γ V P j e n)= unilateral Γ (brook f (P j)) e n+ |
| 29 | ∑ c∈range (n+1),∑ i∈range (j+1),∑ a∈range (e+1),(2:ℝ) • Steam.pair Γ (brook f (P i) a (c+1)) (burn Γ V (j-i) (e-a) (n-c+1)) n:=by |
| 30 | unfold rungs |
| 31 | rw [during_add];congr 1 |
| 32 | · unfold shim unilateral;rw [during_smul,clocked]; rfl |
| 33 | simp_rw [during_sum] |
| 34 | apply sum_congr rfl;intro c _;apply sum_congr rfl;intro i _; apply sum_congr rfl;intro a _ |
| 35 | unfold Skiff.shift Steam.pair |
| 36 | split_ifs with he |
| 37 | · rw [during_smul,smul_smul]; congr 1; ring |
| 38 | have he2 {p q:ℕ}(h:p=q)(P:Pack p I):during f (ship h P)=move h (during f P):=by subst h;rfl |
| 39 | rw [he2,reel_stamp];rfl |
| 40 | · change (0:Flake _ I)=(2:ℝ) • 0; rw [smul_zero] |
| 41 | |
| 42 | lemma rushing (Γ:Line I)(V:Steam.Grain I)(P:GrainS I)(j e n:ℕ)(f:Pearl): |
| 43 | brook f (skate Γ V P (j+1)) e n=((j+1:ℝ)⁻¹) • (unilateral Γ (brook f (skate Γ V P j)) e n+ |
| 44 | ∑ c∈range (n+1),∑ i∈range (j+1),∑ a∈range (e+1),(2:ℝ) • Steam.pair Γ (brook f (skate Γ V P i) a (c+1)) (burn Γ V (j-i) (e-a) (n-c+1)) n):=by change during f _=_;rw [climbs,during_smul, rowing] |
| 45 | |
| 46 | def Combed (P:GrainS I):Prop:=∀ f:Pearl,waxed (brook f P) |
| 47 | theorem comb (Γ:Forms.Line I)(V:Steam.Grain I)(h:Combed S)(j:ℕ):Combed (skate Γ V S j):=fun f e n=>by |
| 48 | cases j with |
| 49 | | zero=> rw [Skiff.start];exact h f e n |
| 50 | | succ j=> |
| 51 | have he2 {R:Type}(s:Finset R)(f:R→Flake n I)(h:∀ i, Forms.Sym (f i)):Forms.Sym (s.sum f):=by |
| 52 | induction s using Finset.induction_on with |
| 53 | | empty=> exact Forms.Sym.zero |
| 54 | | @insert i t hi ih=> rw [Finset.sum_insert hi];exact (h i).add ih |
| 55 | rw [rushing];apply Forms.Sym.smul;apply Forms.Sym.add |
| 56 | · exact Forms.Sym.smul (symmetric _) _ |
| 57 | apply he2; intro c;apply he2;intro u;apply he2;intro a;apply Forms.Sym.smul; unfold Steam.pair |
| 58 | split_ifs; exact Forms.Sym.smul (sym_move _ _ (symmetric _)) _ |
| 59 | exact Forms.Sym.zero |
| 60 | |
| 61 | /-- Triangle↔rectangular reindex with a variable terminal diagonal; don't pad by positive |
| 62 | coupling unless polynomial was proven to have the corresponding rank roof. -/ |
| 63 | theorem curve [AddCommMonoid R](T:ℕ→ℕ→R)(N B C:ℕ)(hBN:B≤N)(hCN:C≤N) |
| 64 | (h1:∀ i j,B< i ∨ C< j ∨ N< i+j→T i j=0): |
| 65 | (∑ n∈range (N+1),∑ i∈range (n+1),T i (n-i))=(∑ i∈range (B+1),∑ j∈range (C+1),T i j):=by |
| 66 | -- Huge coincidence with finite-cap vacuum proof; use Nat antidiagonal raw or rectangular |
| 67 | let s:=range (N+1) |
| 68 | let A:=fun n i j=> if n=i+j then T i j else 0 |
| 69 | have he (n:ℕ)(hn:n≤N):∑ i∈range (n+1), T i (n-i)=∑ i∈s,∑ j∈s,A n i j:=by |
| 70 | apply Eq.trans ?_ (Finset.sum_subset (range_mono (by omega:n+1≤N+1)) ?_) |
| 71 | · apply sum_congr rfl;intro i hi |
| 72 | simp only [mem_range] at hi |
| 73 | rw [Finset.sum_eq_single_of_mem (n-i) (s:=s) (by simp [s];omega)] |
| 74 | · exact (if_pos (by omega:n=i+(n-i))).symm |
| 75 | intro k _ hk;exact if_neg (by omega) |
| 76 | intro i _ hj; apply sum_eq_zero;intro k _;apply if_neg;simp only [mem_range] at hj;omega |
| 77 | calc |
| 78 | _ = ∑ n∈s,∑ i∈s,∑ j∈s,A n i j:=sum_congr rfl fun n hn=>he n (by simpa [s] using hn) |
| 79 | _ = ∑ i∈s,∑ j∈s,∑ n∈s,A n i j:=by rw [Finset.sum_comm];apply sum_congr rfl;intro j _; exact Finset.sum_comm |
| 80 | _ = ∑ i∈s,∑ j∈s,T i j:=by |
| 81 | apply sum_congr rfl;intro i _;apply sum_congr rfl;intro j _ |
| 82 | by_cases hh:i+j≤N |
| 83 | · rw [sum_eq_single_of_mem (i+j) (by simp [s,hh]) (fun a _ ha=>if_neg ha)];exact if_pos rfl |
| 84 | rw [h1 i j (Or.inr (Or.inr (by omega)))];apply sum_eq_zero;intro n _;simp [A,h1 i j (Or.inr (Or.inr (by omega)))] |
| 85 | _ = _:= Eq.symm <| calc |
| 86 | _ = ∑ i∈range (B+1),∑ j∈s,T i j:=sum_congr rfl fun i _=>sum_subset (range_mono (by omega:C+1≤N+1)) fun j _ hj=>h1 i j (Or.inr (Or.inl (by simp only [mem_range] at hj;omega))) |
| 87 | _ = _:=sum_subset (range_mono (by omega:B+1≤N+1)) fun i _ hi=>sum_eq_zero fun j _=>h1 i j (Or.inl (by simp only [mem_range] at hi;omega)) |
| 88 | -- h unused drop. |
| 89 | |
| 90 | variable [Fintype I] |
| 91 | def shine (l:ℕ)(S:GrainS I)(f:Pearl)(e:ℕ):Inn I:=∑ n∈range (l+e+1),parley (brook f S e n) |
| 92 | def coupon (Γ:Line I)(P Q:Inn I):Inn I:=∑ i,∑ j, Γ i j • (axes I i P*axes I j Q) |
| 93 | |
| 94 | lemma timid (S:GrainS I)(h:Combed S)(hv:Lit l S)(Γ:Line I)(hΓ:∀ i j,Γ i j=Γ j i)(e:ℕ)(f:Pearl): |
| 95 | ∑ n∈range (l+e+1), parley (unilateral Γ (brook f S) e n)=slab (half Γ) (axes I) (shine l S f e):=by |
| 96 | simp_rw [unital Γ _ _ _ hΓ (h f _ _)]; rw [shine,map_sum] |
| 97 | let T(n:ℕ):=slab (half Γ) (axes I) (parley (brook f S e n)) |
| 98 | have he(n)(H:l+e<n):T n=0:=by unfold T;rw [dry n hv H f,parley_zero,map_zero] |
| 99 | have hc:T 0=0:=by simp_rw [T,slab_do,axes,barren,map_zero,smul_zero,Finset.sum_const_zero] |
| 100 | have hs:T 1=0:=solitary _ (h _ _ _) _ |
| 101 | change ∑ n∈range (l+e+1),T (n+2)=∑ n∈range (l+e+1),T n |
| 102 | have hshift (N:ℕ):(∑ n∈range N,T (n+2))+(T 1+T 0)=∑ n∈range (N+2),T n:=by rw [Finset.sum_range_succ' T (N+1),Finset.sum_range_succ' (fun n=>T (n+1)) N]; abel |
| 103 | rw [hs,hc] at hshift; simp only [add_zero] at hshift |
| 104 | rw [hshift,Finset.sum_range_succ _ (l+e+2),Finset.sum_range_succ _ (l+e+1),he _ (by omega),he _ (by omega),add_zero,add_zero] |
| 105 | |
| 106 | lemma combine (F:Flake (p+1) I)(G:Flake (q+1) I)(hF:Forms.Sym F)(hG:Forms.Sym G):parley ((2:ℝ) • Steam.pair Γ F G (p+q))=coupon Γ (parley F) (parley G):=by |
| 107 | rw [parley_smul,interconnect _ _ _ hF hG];unfold coupon axes; simp_rw [Finset.smul_sum,smul_smul]; unfold half; refine sum_congr rfl fun i _=>sum_congr rfl fun j _=>congrArg (· • _) ?_; ring |
| 108 | lemma joint (S:GrainS I)(h:Combed S)(hv:Lit l S)(W:Steam.Grain I)(w:waxed W)(hw:Eligible W)(Γ:Line I)(b k:ℕ)(f:Pearl): |
| 109 | (∑ n∈range (l+(b+k)+1),∑ i∈range (n+1),parley ((2:ℝ) • Steam.pair Γ (brook f S b (i+1)) (W k (n-i+1)) n))=coupon Γ (shine l S f b) (showV W k):=by |
| 110 | let P(i:ℕ):=parley (brook f S b i) |
| 111 | let Q(j:ℕ):=parley (W k j) |
| 112 | let T:=fun i j=>coupon Γ (P (i+1)) (Q (j+1)) |
| 113 | -- if k+1>l+(b+k) when l+b=0: handle trivial |
| 114 | by_cases hb:l+b=0 |
| 115 | · have hi(n:ℕ):brook f S b (n+1)=0:=dry (n+1) hv (by omega) f |
| 116 | simp_rw [hi,Steam.pair_zero_left,smul_zero,parley_zero,Finset.sum_const_zero];rw [shine,hb];simp only [zero_add,range_one,sum_singleton,coupon,axes,barren,zero_mul,smul_zero,sum_const_zero] |
| 117 | let N:=l+(b+k) |
| 118 | have he:∀ i j,l+b-1< i ∨ k+1< j ∨ N< i+j→T i j=0:=by |
| 119 | intro i j hij |
| 120 | have hh : l+b< i+1 ∨ k+2< j+1:=by dsimp [N] at hij;omega |
| 121 | rcases hh with hh|hh |
| 122 | · simp [T,P,dry (i+1) hv hh f,parley_zero,coupon] |
| 123 | have hh':W k (j+1)=0:=Classical.not_not.mp (fun h=>show False from by have := hw.head _ _ h;omega) |
| 124 | simp [T,Q,hh',parley_zero,coupon] |
| 125 | have hi:(∑ n∈range (N+1),∑ i∈range (n+1),parley ((2:ℝ) • Steam.pair Γ (brook f S b (i+1)) (W k (n-i+1)) n))=∑ n∈range (N+1),∑ i∈range (n+1),T i (n-i):=by |
| 126 | apply sum_congr rfl;intro n _; apply sum_congr rfl;intro i hi |
| 127 | simp only [mem_range] at hi |
| 128 | have Hz {p q n:ℕ}(hz:p+q=n)(F:Flake (p+1) I)(G:Flake (q+1) I)(hF:Forms.Sym F)(hG:Forms.Sym G):parley ((2:ℝ) • Steam.pair Γ F G n)=coupon Γ (parley F) (parley G):=by subst hz;exact combine _ _ hF hG |
| 129 | exact Hz (by omega) _ _ (h _ _ _) (w _ _) |
| 130 | change _=coupon Γ (∑ n∈range (l+b+1),P n) (∑ n∈range (k+3),Q n) |
| 131 | change (∑ n∈range (N+1),_)=_ |
| 132 | rw [hi,curve T N (l+b-1) (k+1) (by dsimp [N];omega) (by dsimp [N];omega) he,show l+b-1+1=l+b by omega]; unfold T coupon |
| 133 | simp_rw [map_sum,Finset.sum_range_succ' (fun n=>axes I _ (P n)) (l+b),Finset.sum_range_succ' (fun n=>axes I _ (Q n)) (k+2),show ∀ i,axes I i (P 0)=0 from fun i=>barren _ _,show ∀ i,axes I i (Q 0)=0 from fun i=>barren _ _, add_zero,Finset.sum_mul,Finset.mul_sum,Finset.smul_sum] |
| 134 | exact square (range (l+b)) (range (k+2)) univ univ (fun i j a d=> _) |
| 135 | |
| 136 | end YM.RG08.Trickle |