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.AnalyticBridge.ANNULUS_GAUSSIAN_INTERFACE.Rows |
| 2 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.LocalJet |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | /-! |
| 7 | # Literal oriented affine squares |
| 8 | |
| 9 | At the coordinates used in `dyed`. `Q` receives its actual rotated |
| 10 | directions, not a transformation by the V tangent of a canonical bond |
| 11 | noise! In particular this file walks the jets in both developments and |
| 12 | compares them; no implicit identification because of similar sizes. In |
| 13 | this piece the analytic branch prerequisite for blockJet is an explicit |
| 14 | hypothesis; addressed locally later. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.AnalyticBridge.Annulus |
| 19 | open Function Lattice RG RG.Patch Precision Wilson Pressure Pressure.Stores Pressure.Tube Pressure.Teller Tree |
| 20 | YM.Push.SectorMeasure Oriented Exterior Bloch Next.SectorChange Motion |
| 21 | open YM.SectorNext.Remainder.Affine |
| 22 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius BigOperators Classical YM.Push.SectorMeasure ContDiff |
| 23 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 24 | variable (T : Tube G S) (x : ℝ) (V : Config G c) (k : S.Choices) (A : Stores S) (F : Forest S.ratio) (q : Chi) |
| 25 | (d : ℝ) (Y : LinkArray G (Frozen A x F)) (a : Prices G (Active A x F)) |
| 26 | |
| 27 | def theta := Rows.input x A F (autoShell q d V Y)+Rows.fresh x (shots S x) A F (tape a) |
| 28 | |
| 29 | def angle (s : Signed) := inChannel s (replica S.ratio V) (theta x V A F q d Y a) |
| 30 | |
| 31 | /-- E affvd p tangent. Smooth (no branch). -/ |
| 32 | theorem face_match (s : Signed) (p : Cell f) (u : Directions G f) : |
| 33 | plaquetteJet S V s p u = faceVar (replica S.ratio (pull s 0 V)) (inChannel s (replica S.ratio V) u) p := by |
| 34 | let W := pull s 0 (replica S.ratio V) |
| 35 | let L := pTest W p |
| 36 | let e := inChannel s (replica S.ratio V) u |
| 37 | have ht : ContDiffAt ℝ ω L 0 := (LocalJet.face_smooth ..).contDiffAt |
| 38 | have he := (plaquette_turn s V p ht).2 u |
| 39 | unfold plaquetteJet |
| 40 | rw [he]; unfold faceVar |
| 41 | rw [← replica_turn] |
| 42 | have hf := YM.Push.side L (ht.differentiableAt (by simp)) e |
| 43 | exact hf.deriv.symm |
| 44 | |
| 45 | /-- Noise tangent. Match on branch with actual normalization. -/ |
| 46 | theorem side_match (s : Signed) (i : Bond c) (u : Directions G f) |
| 47 | (hp : ContDiffAt ℝ ω (bTest (pull s 0 (replica S.ratio V)) (choice s k) i) 0) : |
| 48 | blockJet V k s i u=qVar S (replica S.ratio (pull s 0 V)) i (choice s k) (inChannel s (replica S.ratio V) u) := by |
| 49 | let W := pull s 0 (replica S.ratio V) |
| 50 | let L := bTest W (choice s k) i |
| 51 | let a := inChannel s (replica S.ratio V) u |
| 52 | unfold qVar blockJet |
| 53 | rw [(block_turn s V i k hp).2 u, ← replica_turn, actuate,zero_smul,Motion.increment_zero] |
| 54 | exact (YM.Push.side L (hp.differentiableAt (by simp)) a).deriv.symm |
| 55 | |
| 56 | private theorem first_cut (s : Signed) (p : Cell f) (u : Directions G f) {o σ C Λ} (h : T.up.Bounds o σ C Λ) : |
| 57 | let W := replica S.ratio (pull s 0 V); let R := till x; let a := inChannel s (replica S.ratio V) u |
| 58 | shorten T.up R 1 W p + barrel T.up R W (fun i => plaquetteJet S V s i u) p = firstCut T.up R W a p := by |
| 59 | intro W R a; rw [← barrel_term,← barrel_add _ _ _ _ _ h]; simp_rw [face_match] |
| 60 | rfl |
| 61 | |
| 62 | /-- One *selected* p-block; both p rows included. -/ |
| 63 | theorem twin_match (s : Signed) (p : Cell f) {o σ C Λ} (h : T.up.Bounds o σ C Λ) |
| 64 | (hi : curb (shots S x) A F x s (.inl p)) : |
| 65 | let w := pull s 0 V; let W := replica S.ratio w |
| 66 | (∑ j : Bool, Rows.chargedUp T x V k (shots S x) A F q d Y a s (p,j)) = |
| 67 | squareP T (till x) (temp x) w W (angle x V A F q d Y a s) p := by |
| 68 | intro w W |
| 69 | let u := theta x V A F q d Y a |
| 70 | let e (i : Bool) := Rows.lands T x V k (shots S x) A F q d Y a (s,.inl (p,i)) |
| 71 | have he : facade S s V 0 = W := (fixed_facade ..).trans (replica_turn ..) |
| 72 | let α := angle x V A F q d Y a s |
| 73 | have hα : inChannel s (replica S.ratio V) u=α := rfl |
| 74 | have hh0 : e false = affF0 T (till x) (temp x) w W α p := by |
| 75 | change Rows.faceFixed T x s V (p,false)+Rows.faceKick T x V u s (p,false) = _ |
| 76 | unfold Rows.faceFixed Rows.faceKick affF0 firstFace |
| 77 | simp only [Bool.false_eq_true, ↓reduceIte, Xf,shoot,plotted, he, smul_add] |
| 78 | rw [face_match, hα]; unfold W w; abel |
| 79 | have hh1 : e true = affF1 T (till x) (temp x) w W α p := by |
| 80 | change Rows.faceFixed T x s V (p,true)+Rows.faceKick T x V u s (p,true)=_ |
| 81 | unfold Rows.faceFixed Rows.faceKick affF1 |
| 82 | simp only [↓reduceIte,Xf,plotted,he] |
| 83 | have ht := first_cut T x V s p u h |
| 84 | change shorten T.up _ _ W _ + barrel T.up _ W _ _ = firstCut T.up _ W α _ at ht |
| 85 | rw [← ht]; unfold w; abel |
| 86 | unfold squareP Rows.chargedUp |
| 87 | rw [Fintype.sum_bool]; dsimp only; rw [if_pos hi, if_pos hi] |
| 88 | dsimp only [e,α] at hh0 hh1 |
| 89 | rw [hh0,hh1]; exact add_comm .. |
| 90 | |
| 91 | /-- Noise row with Q in the actual pulled orientation. -/ |
| 92 | theorem noise_match (s : Signed) (i : Bond c) |
| 93 | (hp : ContDiffAt ℝ ω (bTest (pull s 0 (replica S.ratio V)) (choice s k) i) 0) |
| 94 | (hi : curb (shots S x) A F x s (.inr i)) : |
| 95 | let w := pull s 0 V; let W := replica S.ratio w |
| 96 | Rows.chargedSide T x V k (shots S x) A F q d Y a s i = |
| 97 | squareQ T (till x) (temp x) w W (choice s k) (angle x V A F q d Y a s) i := by |
| 98 | intro w W |
| 99 | let u := theta x V A F q d Y a |
| 100 | have he : facade S s V 0 = W := (fixed_facade ..).trans (replica_turn ..) |
| 101 | unfold Rows.chargedSide squareQ; rw [if_pos hi] |
| 102 | change ‖Rows.noiseFixed T x V k s i+Rows.noiseKick V k u s i‖^2/2 = _ |
| 103 | unfold Rows.noiseKick Rows.noiseFixed |
| 104 | rw [side_match V k s i u hp,he] |
| 105 | let b := Real.sqrt S.kernel.penalty • qVar S W i (choice s k) (angle x V A F q d Y a s) |
| 106 | change ‖Z S _ w i-T.Mw _ _ w i + -b‖^2/2 = _ |
| 107 | rw [show Z S _ w i-T.Mw _ _ w i + -b = Z S (S.prediction W (choice s k)) w i-b-T.Mw (till x) (temp x) w i from ?_] |
| 108 | abel |
| 109 | |
| 110 | def AtBranches (s : Signed) (X : Window S) := |
| 111 | ∀ i∈(selectFrom X A F x s).noise, ContDiffAt ℝ ω (bTest (pull s 0 (replica S.ratio V)) (choice s k) i) 0 |
| 112 | |
| 113 | theorem cost_match (s : Signed) (X : Window S) {o σ C Λ} (h : T.up.Bounds o σ C Λ) |
| 114 | (hb : AtBranches x V k A F s X) : |
| 115 | squares T x V k A F q d Y a s X = |
| 116 | (selectFrom X A F x s).extract T x (choice s k) (pull s 0 V) (angle x V A F q d Y a s) := by |
| 117 | rw [squares_select]; unfold squares Window.extract |
| 118 | apply congr_arg₂ (fun t v : ℝ => t+v) |
| 119 | · exact Finset.sum_congr rfl fun i hi => twin_match T x V k A F q d Y a s i h (Finset.mem_filter.mp hi).2 |
| 120 | exact Finset.sum_congr rfl fun i hi => noise_match T x V k A F q d Y a s i (hb _ hi) (Finset.mem_filter.mp hi).2 |
| 121 | |
| 122 | theorem core_match (U : Config G f) (O : Stores S) (s : Signed) (D : ℕ) {o σ C Λ} (h : T.up.Bounds o σ C Λ) |
| 123 | (hp : span S.patch x ≤ radiusB x/50) (hd : 2 ≤ D) {r : ℕ} (hc : Clearance O A r) |
| 124 | (hb : AtBranches x V k A F s (rim O D x s)) : |
| 125 | debris T x V k A F q d Y a U s (inner O D x s) = |
| 126 | credits U V O (rim O D x) (fun s => selectFrom (rim O D x s) A F x s) T x k (angle x V A F q d Y a) s := by |
| 127 | rw [debris_core T x V k A F q d Y a U O D s hd hp hc]; unfold debris credits boost |
| 128 | rw [cost_match _ _ _ _ _ _ _ _ _ _ _ _ h hb] |
| 129 | end YM.AnalyticBridge.Annulus |