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_BOUNDS.Palace |
| 2 | |
| 3 | /-! |
| 4 | # E estimates F/I work against affine square |
| 5 | |
| 6 | Pointwise on patch of a real sector. Equality to original multipliers |
| 7 | only requested on their masks. `Fextend` is one choice for exponent |
| 8 | letters outside compulsory. I requires no such expansion for values: |
| 9 | use its real Q, with the branch forced on broad patches. Unselected F/I |
| 10 | pay with their own sign on the patch prerequisites. Even though E writes |
| 11 | an analytic Taylor split, for ungraded hit it suffices to retain the real |
| 12 | values. Needn't extend DIFFERENT casts for every incoming mask term. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticNext.ConnectedActivity.Aff |
| 17 | open Filter Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior Bloch Turn |
| 18 | open Matrix Work.F03 Progress.StationaryScenes Push.SectorMeasure Push.SectorMeasure.Oriented |
| 19 | open Push.AbsoluteSums Tree Next.Fluctuations Finset Win Rates |
| 20 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius Classical |
| 21 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 22 | |
| 23 | def squareOf (a : G.Color) := ‖a‖^2/2 |
| 24 | |
| 25 | def missed (G : Gauge) (u : G.El) := G.chord u^2- ‖G.curvature u‖^2 |
| 26 | |
| 27 | theorem missed_nn (G : Gauge) (u : G.El) : 0≤ missed G u := |
| 28 | sub_nonneg.mpr (pow_le_pow_left₀ (norm_nonneg _) (G.curvature_norm u) _) |
| 29 | |
| 30 | lemma currency (C : ℝ) (D : Patch) (p : ℕ) : ∀ᶠ x : ℝ in atTop, |
| 31 | ∀ u : G.El, G.chord u ≤ allowance G D x 1 p → |C*missed G u| ≤ allowance G D x 4 (p+p+p+p+1) := by |
| 32 | obtain ⟨K,r,hK,hr,h⟩ := Work.E05.curvature_lower G |
| 33 | filter_upwards [(vanishes G D p).eventually (ge_mem_nhds hr), grow G D (|C| *K) |
| 34 | (show p+p+p+p<p+p+p+p+1 by omega) 4] with x hx hv u he |
| 35 | have hz := (h u (he.trans hx)).1 |
| 36 | rw [abs_mul,abs_of_nonneg (missed_nn ..)] |
| 37 | apply le_trans _ hv |
| 38 | calc |
| 39 | _ ≤ |C| *(K*G.chord u^4) := by |
| 40 | unfold missed |
| 41 | apply mul_le_mul_of_nonneg_left _ (abs_nonneg _); linarith |
| 42 | _ ≤ |C| *(K*allowance G D x 1 p^4) := by gcongr; exact G.chord_nonneg _ |
| 43 | _ = _ := by rw [← mul_assoc]; unfold allowance pieces; ring |
| 44 | |
| 45 | lemma difference_pay (G : Gauge) (D : Patch) (p q : ℕ) : ∀ᶠ x : ℝ in atTop, |
| 46 | ∀ a b : G.Color, ‖a‖ ≤ allowance G D x 1 p → ‖a-b‖ ≤ allowance G D x 2 q → |
| 47 | |squareOf a-squareOf b| ≤ allowance G D x 3 (q+p+1) := by |
| 48 | filter_upwards [grow G D (3/2) (show q+p<q+p+1 by omega) 3, Rates.widen G D 1 (show 0≤p by omega), |
| 49 | burn G D 1 q 1 1 (by norm_num)] with x hx he hp a b ha h |
| 50 | have ht : ‖b‖ ≤ 2*allowance G D x 1 p := by |
| 51 | have hh := norm_le_norm_sub_add b a; rw [norm_sub_rev] at hh; linarith |
| 52 | apply le_trans _ hx |
| 53 | have hq : 0 ≤ allowance G D x 2 q := allowance_nn .. |
| 54 | calc |
| 55 | _ = |‖a‖-‖b‖| *((‖a‖+‖b‖)/2) := by |
| 56 | rw [← abs_of_nonneg (show 0 ≤ (‖a‖+‖b‖)/2 by positivity), ← abs_mul]; unfold squareOf; ring_nf |
| 57 | _ ≤ allowance G D x 2 q * (3/2*allowance G D x 1 p) := |
| 58 | mul_le_mul ((abs_norm_sub_norm_le ..).trans h) (by linarith) (by positivity) hq |
| 59 | _ = _ := by rw [mul_left_comm,exchange] |
| 60 | |
| 61 | def sqref (T : Tube G S) (x : ℝ) (k : S.Choices) (i : Pos S) (V : Config G c) (w : Directions G f) := |
| 62 | squareOf (target T (till x) (temp x) i k V (replica S.ratio V) + derivative T (till x) i V w) |
| 63 | |
| 64 | def crownF (T : Tube G S) (x : ℝ) (k : S.Choices) (s : Signed) (i : Cell f) (V : Config G c) (a : Directions G f) := |
| 65 | ∑ l : Bool, sqref T x k (s,Sum.inl (i,l)) V a |
| 66 | |
| 67 | def crownI (T : Tube G S) (x : ℝ) (k : S.Choices) (s : Signed) (i : Bond c) (V : Config G c) (a : Directions G f) := |
| 68 | sqref T x k (s,Sum.inr i) V a |
| 69 | |
| 70 | /-- unweighted inside exponent, per entire oriented face, scalar. -/ |
| 71 | def Fextend (T : Tube G S) (x : ℝ) (k : S.Choices) (s : Signed) (i : Cell f) (V : Config G c) (U : Config G f) := |
| 72 | let W := pull s 0 U |
| 73 | T.high.direct/2*missed G (faceValue W i) + ∑ l : Bool, squareOf (target T (till x) (temp x) (s,Sum.inl (i,l)) k V U) |
| 74 | |
| 75 | |
| 76 | |
| 77 | lemma square_residue (A B : G.Color) : squareOf A + (‖B‖^2/2-inner ℝ B A)=squareOf (A-B) := by |
| 78 | unfold squareOf; rw [norm_sub_sq_real,real_inner_comm]; ring |
| 79 | |
| 80 | lemma work_expandF (T : Tube G S) (x : ℝ) (k : S.Choices) (s : Signed) (i : Cell f) (V : Config G c) (U : Config G f) |
| 81 | (hp : PathData.kept T.high (fiery G x S.patch.L) i.1 (pull s 0 U)) : |
| 82 | T.workF (till x) (pull s 0 U) (pull s 0 V) (fiery G x S.patch.L) (temp x) i = Fextend T x k s i V U := by |
| 83 | let W := pull s 0 U; let R := till x; let X j := T.Xf R W (i,j); let H j := T.Mv R (temp x) (pull s 0 V) (i,j) |
| 84 | have ht : toll W i ≤ fiery G x S.patch.L := by |
| 85 | have he := hp i; simpa only [W,toll,separation_self,Nat.cast_zero,zero_div,Real.exp_zero,mul_one] using he |
| 86 | have h1 : crown T.up T.high R 1 (fiery G x S.patch.L) W i = |
| 87 | T.high.direct/2*missed G (faceValue W i)+ ∑ l:Bool,squareOf (X l) := by |
| 88 | unfold crown; rw [trunk,if_pos hp,PathData.clipped, if_pos (show G.chord (faceValue W i)≤_ from ht),Fintype.sum_bool] |
| 89 | simp only [squareOf,missed,X,Tube.Xf,plotted,Bool.false_eq_true, ↓reduceIte,shoot,norm_smul, |
| 90 | Real.norm_of_nonneg (Real.sqrt_nonneg _),mul_pow,Real.sq_sqrt T.high.quadratic_pos.le] |
| 91 | ring |
| 92 | unfold Tube.workF; rw [h1,add_assoc]; unfold Fextend; apply congr_arg (fun v : ℝ => T.high.direct/2*missed G (faceValue W i)+v) |
| 93 | rw [← Finset.sum_add_distrib]; exact Finset.sum_congr rfl fun j _ => square_residue (X j) (H j) |
| 94 | |
| 95 | lemma work_expandI (T : Tube G S) (Q V : Config G c) (s : ℝ) (R : ℕ) (i : Bond c) : |
| 96 | T.workI R Q V s i = S.kernel.penalty/2 * missed G (V i * (Q i)⁻¹) + squareOf (Tube.Z S Q V i-T.Mw R s V i) := by |
| 97 | rw [← square_residue]; unfold Tube.workI Tube.monetary |
| 98 | unfold wire squareOf Tube.Z missed |
| 99 | rw [norm_smul,Real.norm_of_nonneg (Real.sqrt_nonneg _),mul_pow,Real.sq_sqrt S.kernel.penalty_pos.le]; ring |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | -- Momentum-to-chord bootstrapping. Need to pay `Mw` here; can't deduce |
| 107 | -- connector accuracy from a bound on `Z-Mw` alone. N. likelihood bought |
| 108 | -- on the same stencil. State for all turned I though stencils overlap. |
| 109 | lemma alerts (P : Teller G) (C : ℝ) (he : Reserve P C) (D : Patch) (hD : D.Branches P.bind G) (p : ℕ) (hp : 7≤p) : |
| 110 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S), |
| 111 | S.patch=D → P.Funds S T → ∀ (V : Config G c) (A : Stores S) (_F : Forest S.ratio), cert S x A V → |
| 112 | ∀ (k : S.Choices) (U : Config G f) (i : Bond c) (s : Signed) (w : Directions G f), let B := radiusB x |
| 113 | let o := s.act i.1 |
| 114 | o∉A.dome (2*B) → Stops S w V U o B (allowance G D x 1 p) → |
| 115 | let W := pull s 0 V; let U' := pull s 0 U; let k' := choice s k; let Q := S.prediction U' k' |
| 116 | wire Q W i ≤ allowance G D x 1 (p+6) ∧ αSite U' i.1 k'=1 ∧ αBond U' i k'=1 := by |
| 117 | obtain ⟨K,r,hK,hr,hk⟩ := Work.E05.curvature_lower G |
| 118 | let l := Real.sqrt P.bind.penalty |
| 119 | have hl : 0 < l := Real.sqrt_pos.mpr P.bind.penalty_pos |
| 120 | filter_upwards [arc_bill P C he D hD p hp, shine G D p hp, cordF D P.bind hD (p+2) r hr, he.receipt D.L, |
| 121 | grow G D C (show 0<p+4 by omega) 1,grow G D (2*(2/l)) (show p+4<p+6 by omega) 1] |
| 122 | with x hx hv hp ht hh hm c f S T hS hT V A F he k U i s w B o hA hw W U' k' Q |
| 123 | obtain ⟨z,hz⟩ := hv c f S U V A w hS he s i.1 hA hw |
| 124 | obtain ⟨ha,hy,hv⟩ := hp S i W U' z k' hS hT.knobs hz |
| 125 | let b := allowance G D x 1 (p+4) |
| 126 | let g := W i * (Q i)⁻¹ |
| 127 | refine ⟨?_,hy,hv⟩ |
| 128 | have hf : ‖Tube.Z S Q W i - T.Mw (till x) (temp x) W i‖ ≤ b := (hx c f S T hS hT V A F he k U (s,Sum.inr i) w hA hw).1 |
| 129 | have hc : ‖T.Mw (till x) (temp x) W i‖ ≤ b := by |
| 130 | have hp := (ht c f S T hT (congr_arg Patch.L hS) he.1 F W).2.2.hot i |
| 131 | rw [hS] at hp; simp only [allowance,pieces,pow_zero,one_mul,pow_one] at hh; apply hp.trans; simpa [b,allowance,pieces] using hh |
| 132 | have hs : l * ‖G.curvature g‖ ≤ 2*b := by |
| 133 | have he : ‖Tube.Z S Q W i‖ ≤ 2*b := le_trans (norm_le_norm_sub_add _ _) ((add_le_add hf hc).trans_eq (two_mul b).symm) |
| 134 | rwa [Tube.Z,norm_smul,Real.norm_of_nonneg (Real.sqrt_nonneg _),hT.knobs] at he |
| 135 | have hh : ‖G.curvature g‖ ≤ 2/l*b := le_of_mul_le_mul_left (hs.trans (le_of_eq (show 2*b=l*(2/l*b) by field_simp))) hl |
| 136 | calc |
| 137 | _ ≤ 2 * ‖G.curvature g‖ := by unfold wire; change G.chord g ≤ 2*_; nlinarith only [(hk g ha.le).2,norm_nonneg (G.curvature g)] |
| 138 | _ ≤ _ := le_trans (mul_le_mul_of_nonneg_left hh (by norm_num)) (by rw [← mul_assoc]; exact hm) |
| 139 | |
| 140 | |
| 141 | end YM.AnalyticNext.ConnectedActivity.Aff |