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.SECTOR_MARKED_IDENTITY.License |
| 2 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Chosen |
| 3 | |
| 4 | |
| 5 | set_option warningAsError false |
| 6 | |
| 7 | /-! |
| 8 | # Sum in the SAME endpoint-pair prescription and Haar normalization |
| 9 | |
| 10 | Sufficient hypotheses, to be booked in the committed consumer. The positive |
| 11 | β clause is explicit; not inferring prices by assuming every flag record is |
| 12 | consistent. All equalities at all V, also wrong flags. `outer` budgets the |
| 13 | nested integral and its absolute version even for use with coarse spectators. |
| 14 | As in `SectorChange.accounted`, no assertion one can interchange dV inside |
| 15 | the V-dependent Gaussian. `balance` gives an exact total of the fully |
| 16 | prefactored absolute integrals. |
| 17 | -/ |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.Next.SectorChange.Marked |
| 21 | open Function Filter Lattice Wilson RG Precision Exterior Tree MeasureTheory Metric Matrix |
| 22 | open Gaussian Rows YM.Pressure YM.Pressure.Tube YM.Pressure.Stores YM.Bid |
| 23 | open YM.Push.SectorMeasure YM.Next.Fluctuations.Sector |
| 24 | open YM.Push.SectorMeasure.Oriented YM.Push.SectorMeasure.Presented |
| 25 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius |
| 26 | |
| 27 | variable {G : Gauge} {c f : Side} {S : StepData c f} {x w : ℝ} |
| 28 | variable (T : Tube G S) (x : ℝ) (R : Rep G f) |
| 29 | (F : Forest S.ratio) (D : Allocation G S x w) (q : Chi) (J : ChartRatio G) (d : ℝ) |
| 30 | |
| 31 | /-- Noncircular socket shared by all sources. -/ |
| 32 | structure Bought : Prop where |
| 33 | lawful : ∃ σ n Λ δ l : ℝ, R.Lawful σ n Λ δ l |
| 34 | funds : ∃ P : Teller G, P.Funds S T |
| 35 | beta : 0 < R.beta |
| 36 | fitted : Fits T R x |
| 37 | permits (A : Stores S) (k : S.Choices) (V : Config G c) : A.flags=RG.flags (temp x) V → |
| 38 | Permitted x V k A F D J d R.beta (fog A F T x V k) (meanLog A F T x V k q d) |
| 39 | |
| 40 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 41 | |
| 42 | def amount (u : Config G f → X) (A : Stores S) (k : S.Choices) (V : Config G c) : X := |
| 43 | afterChange T x V k A R (shots S x) F D q J d (fog A F T x V k) (meanLog A F T x V k q d) u |
| 44 | |
| 45 | /-- Equal to weighted nested integral of the norm, NOT norm of answer. -/ |
| 46 | def magnitude (u : Config G f → X) := amount T x R F D q J d (fun U => ‖u U‖) |
| 47 | |
| 48 | def paidSum (u : Config G f → X) (V : Config G c) := |
| 49 | ∑ A, ∑ k, amount T x R F D q J d u A k V |
| 50 | |
| 51 | lemma magnitude_nested (u : Config G f → X) (A k V) : |
| 52 | let C := fog A F T x V k; let m := meanLog A F T x V k q d |
| 53 | magnitude T x R F D q J d u A k V = outside T x V A R F J C * |
| 54 | ∫ Y, (∫ z, ‖ink T x V k A R (shots S x) F D q J d C m u Y z‖ ∂cloud C) |
| 55 | ∂piHaar G (Frozen A x F) := by |
| 56 | intro C m; unfold magnitude amount afterChange; simp_rw [ink_norm]; rfl |
| 57 | |
| 58 | variable {T x R F D q J d} |
| 59 | |
| 60 | namespace Bought |
| 61 | variable (L : Bought T x R F D q J d) |
| 62 | include L |
| 63 | |
| 64 | lemma branches : S.patch.Branches S.kernel G := L.funds.elim fun _ h => funds_branch h |
| 65 | |
| 66 | variable [MeasurableSpace X] [BorelSpace X] [SecondCountableTopology X] [CompleteSpace X] |
| 67 | {u : Config G f → X} |
| 68 | |
| 69 | /-- Every summand has a license, even before gauge-invariant assembly. -/ |
| 70 | theorem fixedTerm (he : Envelope u) (A : Stores S) (k : S.Choices) (V) : |
| 71 | Permission T x V k A R (shots S x) F D q J d (fog A F T x V k) |
| 72 | (meanLog A F T x V k q d) u := by |
| 73 | obtain ⟨σ,n,Λ,δ,l,h⟩ := L.lawful |
| 74 | obtain ⟨P,hT⟩ := L.funds |
| 75 | exact fixed T x V k A R _ F D q J d h hT L.fitted (L.permits A k V) he |
| 76 | |
| 77 | theorem row (he : Envelope u) (A V) : |
| 78 | output D F R.beta u A V = ∑ k, amount T x R F D q J d u A k V := |
| 79 | Finset.sum_congr rfl fun k _ => (L.fixedTerm he A k V).result |
| 80 | |
| 81 | /-- Actual Haar-block `push` with absolute-integrability receipt already |
| 82 | available termwise. -/ |
| 83 | theorem apply_push (he : Envelope u) (hi : GaugeInvariant u) : S.push R.beta u = paidSum T x R F D q J d u := by |
| 84 | funext V; unfold paidSum; simp_rw [← L.row he]; exact (push_columns D F R.beta u L.branches (Env.integrableX he _) hi V).symm |
| 85 | |
| 86 | omit [CompleteSpace X] in |
| 87 | lemma joint_before (he : Envelope u) (A k) : |
| 88 | Envelope (fun a : F.Slice G × Config G c => before x a.2 k A R F D u a.1) := by |
| 89 | let g (k : S.Choices) (a : F.Slice G × Config G c) := |
| 90 | through S F R.beta a.2 (fun _ i => u (F.drape i)) k a.1 |
| 91 | apply D.portion_env L.branches A F g k |
| 92 | have hm : Measurable (fun a : F.Slice G × Config G c => F.drape a.1) := |
| 93 | F.continuous_drape.measurable.comp measurable_fst |
| 94 | exact Env.scale (env_tagged R.beta k L.branches hm measurable_snd) (Env.along he hm) |
| 95 | |
| 96 | /-- Permits following the inner calculation by the coarse Haar integral, |
| 97 | or multiplication by a coarse probe. Nested integral order. -/ |
| 98 | theorem outer (he : Envelope u) (A k) : |
| 99 | Envelope (amount T x R F D q J d u A k) ∧ Envelope (magnitude T x R F D q J d u A k) := by |
| 100 | have hh := L.joint_before he A k |
| 101 | constructor |
| 102 | · rw [show amount T x R F D q J d u A k = fun V => ∫ a, before x V k A R F D u a ∂F.order G from |
| 103 | funext fun V => (L.fixedTerm he A k V).result.symm] |
| 104 | exact Env.marginal hh _ |
| 105 | rw [show magnitude T x R F D q J d u A k = fun V => ∫ a, ‖before x V k A R F D u a‖ ∂F.order G from |
| 106 | funext fun V => (magnitude_nested ..).trans (L.fixedTerm he A k V).absolute.symm] |
| 107 | obtain ⟨hm,B,hB⟩ := hh |
| 108 | apply Env.marginal (g:=fun (y : F.Slice G × Config G c) => ‖before x y.2 k A R F D u y.1‖) |
| 109 | exact ⟨hm.norm,B,fun y => (Real.norm_of_nonneg (norm_nonneg _)).trans_le (hB y)⟩ |
| 110 | |
| 111 | |
| 112 | |
| 113 | end Bought |
| 114 | end YM.Next.SectorChange.Marked |