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.Coat |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Coercive block assignments |
| 6 | |
| 7 | Orientation-local Cut. Individually F or I can pay a square. All |
| 8 | accounting happens on the **actual** drows, recombine exactly at halo |
| 9 | and its complement. Signs on `debit`: still energy before -β. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.ConnectedActivityE6.Coat |
| 14 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory |
| 15 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 16 | open Bloch Laurent SliceRows |
| 17 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 18 | variable {G : Gauge} {P : Teller G} {c f : Side} {S : StepData c f} {T : Tube G S} {F : Forest S.ratio} |
| 19 | |
| 20 | /-- Coarse L/D at same physical anchor/color as C; bundle with it; N |
| 21 | rows separate. -/ |
| 22 | abbrev Spot (c f : Side) := Cell f ⊕ Bond c ⊕ Cell c ⊕ Co c Gain |
| 23 | |
| 24 | def lead (S : StepData c f) : Spot c f → Site c := Sum.elim (fun i => S.ratio.parent i.1) |
| 25 | (Sum.elim Prod.fst (Sum.elim Prod.fst Prod.fst)) |
| 26 | |
| 27 | def parents (X : Spot c f) : Finset (Rod c f) := |
| 28 | match X with |
| 29 | | .inl i => {.inl (i,true),.inl (i,false)} |
| 30 | | .inr (.inl b) => {.inr b} |
| 31 | | _ => ∅ |
| 32 | |
| 33 | def spot (_S : StepData c f) (p : Rod c f) : Spot c f := p.elim (fun i => .inl i.1) (fun b => .inr (.inl b)) |
| 34 | |
| 35 | |
| 36 | |
| 37 | lemma cost_is_here (i : Rod c f) : focus S i=lead S (spot S i) := by rcases i with i|b <;> rfl |
| 38 | |
| 39 | lemma spots_sum (_S : StepData c f) (G : Rod c f → ℝ) : |
| 40 | (∑ i, ∑ p∈parents i, G p)=∑ p,G p := by |
| 41 | unfold Spot Rod Bond Cell Twin; simp only [Fintype.sum_sum_type]; |
| 42 | simp [parents, Fintype.sum_prod_type,Finset.sum_add_distrib] |
| 43 | |
| 44 | def principal (T : Tube G S) (x : ℝ) (U : Config G f) (V Q : Config G c) : Spot c f → ℝ := |
| 45 | let R := till x; let t := Pressure.fiery G x S.patch.L; let y := Pressure.temp x |
| 46 | Sum.elim (T.workF R U V t y) (Sum.elim (T.workI R Q V y) (Sum.elim (fun p => T.workC R V y p+ |
| 47 | (T.workL R U Q V y p+T.workD R V y p)) (T.workN R V y))) |
| 48 | |
| 49 | /-- Keep V switches actual (can override later when checking derivatives |
| 50 | with flags frozen good throughout the stencil; value estimates do not |
| 51 | cover derivative obligations by themselves). F switch extension. -/ |
| 52 | def yielding (T : Tube G S) (x : ℝ) (U : Config G f) (V : Config G c) (k : S.Choices) : Spot c f → ℝ := |
| 53 | Sum.elim (soft T x U V k) (fun i => principal T x U V (S.prediction U k) (.inr i)) |
| 54 | |
| 55 | /-- Look-up at one oriented lattice. -/ |
| 56 | def posted (A : Stores S) (d : ℕ) := univ.filter fun i : Spot c f => Inside (lead S i) A d |
| 57 | |
| 58 | theorem posted_charge (A : Stores S) (U : Config G f) (V Q : Config G c) (x : ℝ) : |
| 59 | A.assessed T x U Q V = ∑ i∈posted A (2*radiusB x), principal T x U V Q i := by |
| 60 | let d := 2*radiusB x; let t := Pressure.temp x; let R := till x |
| 61 | have h : (∑ p : Cell c, (if p.1∈A.dome d then T.workC R V t p+(T.workL R U Q V t p+T.workD R V t p) else 0)) = |
| 62 | (∑ p : Cell c, (if p.1∈A.dome d then T.workC R V t p else 0))+ |
| 63 | ∑ p : Cell c, (if p.1∈A.dome d then T.workL R U Q V t p+T.workD R V t p else 0) := by |
| 64 | rw [← sum_add_distrib]; refine sum_congr rfl fun p _ => ?_; split <;> simp_all |
| 65 | unfold assessed tally talli tallc talll talln |
| 66 | simp_rw [limit,intern,outs,coordN,posted, sum_filter] |
| 67 | unfold Spot; simp only [Fintype.sum_sum_type] |
| 68 | change _ = (∑ p : Cell f, if S.ratio.parent p.1∈A.dome d then T.workF R U V (Pressure.fiery G x S.patch.L) t p else 0) + |
| 69 | ((∑ p : Bond c, if p.1∈A.dome d then T.workI R Q V t p else 0) + |
| 70 | ((∑ p : Cell c, if p.1∈A.dome d then T.workC R V t p+(T.workL R U Q V t p+T.workD R V t p) else 0) + |
| 71 | (∑ p : Co c Gain, if p.1∈A.dome d then T.workN R V t p else 0))) |
| 72 | rw [h]; unfold d R t; abel |
| 73 | |
| 74 | variable (X : Coat T F) |
| 75 | def addr (_X : Coat T F) (s : Signed) (i : Spot c f) : Site c := s.act (lead S i) |
| 76 | |
| 77 | /-- Use all rows out of H6 of X (in each orientation), even where linear |
| 78 | coefficient zero. No actual core/seed supplies Gaussian Hessian. -/ |
| 79 | def selected (s : Signed) (p : Spot c f) := ¬ Inside (X.addr s p) X.seeds (6*X.B) |
| 80 | |
| 81 | def energy (u : Directions G f) (s : Signed) (p : Spot c f) := |
| 82 | let k := choice s X.k; let U := pull s 0 (X.input u) |
| 83 | principal T X.x U (pull s 0 X.V) (S.prediction U k) p |
| 84 | |
| 85 | def surcharge (s : Signed) (p : Rod c f) (u : Directions G f) := |
| 86 | if X.selected s (spot S p) then ‖X.realPath s p u‖^2/2 else 0 |
| 87 | |
| 88 | def extracted (u : Directions G f) (s : Signed) (p : Spot c f) := |
| 89 | ∑ i∈parents p, X.surcharge s i u |
| 90 | |
| 91 | lemma surcharge_nn (u : Directions G f) (s : Signed) (p : Rod c f) : 0≤X.surcharge s p u := by |
| 92 | unfold surcharge; split <;> positivity |
| 93 | |
| 94 | lemma extracted_nn (u : Directions G f) (s : Signed) (p : Spot c f) : 0 ≤ X.extracted u s p := |
| 95 | sum_nonneg fun _ _ => X.surcharge_nn .. |
| 96 | |
| 97 | lemma parent_iff (i : Rod c f) (p : Spot c f) : i∈parents p ↔ spot S i=p := by |
| 98 | rcases i with ⟨i,b | b⟩|i <;> rcases p with i|(i|(i|i)) <;> simp [parents,spot] |
| 99 | |
| 100 | lemma uncaptured (u : Directions G f) (s : Signed) (p : Spot c f) (h : ¬ X.selected s p) : X.extracted u s p=0 := by |
| 101 | unfold extracted; apply sum_eq_zero |
| 102 | intro i hi; unfold surcharge; rw [(parent_iff i p).1 hi, if_neg h] |
| 103 | |
| 104 | def debit (u : Directions G f) (s : Signed) (p : Spot c f) := X.energy u s p - X.extracted u s p |
| 105 | |
| 106 | def light (u : Directions G f) (s : Signed) (p : Spot c f) := |
| 107 | yielding T X.x (pull s 0 (X.input u)) (pull s 0 X.V) (choice s X.k) p-X.extracted u s p |
| 108 | |
| 109 | def assigned (A : Stores S) (u : Directions G f) (s : Signed) := |
| 110 | ∑ i∈posted (turnStore s A) (200*X.B), X.debit u s i |
| 111 | |
| 112 | def quoteNear (A : Stores S) (u : Directions G f) := averaged (X.assigned A u) |
| 113 | |
| 114 | def liftSq (u : Directions G f) := averaged fun s => ∑ p, X.extracted u s p |
| 115 | |
| 116 | /-- full cut recombination, no subtraction of determinant here. -/ |
| 117 | lemma covers_paths (h : P.Funds S T) (u : Directions G f) : |
| 118 | wholeGap T X.x (X.input u) X.V + (∑ i, monetary S (S.prediction (X.input u) X.k) X.V i) = |
| 119 | (averaged fun s => ∑ p, X.debit u s p)+ X.liftSq u := by |
| 120 | let Q := S.prediction (X.input u) X.k |
| 121 | let m := ∑ i, monetary S Q X.V i |
| 122 | rw [liftSq, ← av_const (∑ i, monetary S (S.prediction (X.input u) X.k) X.V i)] |
| 123 | unfold wholeGap; rw [← av_add, ← av_add]; apply congr_arg averaged; funext s |
| 124 | let U := pull s 0 (X.input u); let k := Oriented.choice s X.k; let Z := S.prediction U k; let V := pull s 0 X.V |
| 125 | have hg := T.locates X.R U Z V X.t (Pressure.temp X.x) |
| 126 | have hv : (∑ i, monetary S Z V i)=m := by |
| 127 | rw [show Z=_ from (Oriented.carry s (SectorMeasure.funds_branch h) X.k (X.input u)).2]; unfold monetary V; simp_rw [wire_pulled] |
| 128 | exact Equiv.sum_comp (StepData.sendBonds s 0) (monetary S Q X.V) |
| 129 | simp_rw [debit,sum_sub_distrib,sub_add_cancel] |
| 130 | simp only [Spot,Fintype.sum_sum_type] |
| 131 | change ((∑ i, crown T.up T.high _ _ _ U i) - (∑ i,crown T.down T.low _ _ _ V i))+m = _ |
| 132 | simp only [energy,principal,Sum.elim,sum_add_distrib]; |
| 133 | rw [hv] at hg; unfold Z U V k Coat.R Coat.t at hg; unfold V U; linarith only [hg] |
| 134 | |
| 135 | lemma core (A : Stores S) (hi : A.place ⊆ X.seeds.place) (s : Signed) (u : Directions G f) : |
| 136 | (∑ p∈posted (turnStore s A) (2*X.B),X.debit u s p) = |
| 137 | (turnStore s A).assessed T X.x (pull s 0 (X.input u)) (S.prediction (pull s 0 (X.input u)) (choice s X.k)) (pull s 0 X.V) := by |
| 138 | rw [posted_charge]; apply sum_congr rfl; intro i hi' |
| 139 | have hp : Inside (X.addr s i) A (2*X.B) := (rotates_dome ..).1 (mem_filter.mp hi').2 |
| 140 | have he : Inside (X.addr s i) X.seeds (6*X.B) := Corona.halo_mono (by omega) hi hp |
| 141 | rw [debit,X.uncaptured u s i (fun hw => hw he),sub_zero]; rfl |
| 142 | end YM.ConnectedActivityE6.Coat |