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.Recut |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Actual tagged transition of a marked vector density |
| 7 | |
| 8 | `Permission` supplies absolute integrability (slice, each frozen section and |
| 9 | joint; integrals against the Gaussian with the guards **still present**) |
| 10 | as well as equality, even with norms INSIDE. Just `Envelope` on the input |
| 11 | observable, on this fixed finite volume. No need for e.g. derivatives of |
| 12 | forced occurrences or nonvanishing of R.eval. Summing all stores and tags |
| 13 | of an actual gauge invariant input gives the push pointwise. This sums k |
| 14 | only once regardless of the number of marks. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Next.SectorChange.Marked |
| 19 | open Function Filter Lattice Wilson RG Precision Exterior Tree MeasureTheory Metric Matrix |
| 20 | open Gaussian Rows YM.Pressure YM.Pressure.Tube YM.Pressure.Stores YM.Bid |
| 21 | open YM.Push.SectorMeasure YM.Next.Fluctuations.Sector |
| 22 | open YM.Push.SectorMeasure.Oriented YM.Push.SectorMeasure.Presented |
| 23 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius |
| 24 | |
| 25 | variable {G : Gauge} {c f : Side} {S : StepData c f} {x w : ℝ} |
| 26 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 27 | variable (T : Tube G S) (x : ℝ) (V : Config G c) (k : S.Choices) (A : Stores S) (R : Rep G f) |
| 28 | (W : Stencils S) (F : Forest S.ratio) (D : Allocation G S x w) (q : Chi) (J : ChartRatio G) (d : ℝ) |
| 29 | (C : Gaussian.Table (Rows.In x A F (G:=G))) (m : LinkArray G (Frozen A x F) → Prices G (Active A x F)) |
| 30 | |
| 31 | def before (u : Config G f → X) := D.portion A F V (through S F R.beta V (fun _ a => u (F.drape a))) k |
| 32 | |
| 33 | /-- All unmarked scalar factors appropriate to `ink`; e.g., for u carrying |
| 34 | the v-volume exponent, that v part remains inside recut. Chart/determinant |
| 35 | charge computed on active positions only, not on any identity completion. -/ |
| 36 | def outside : ℝ := sieve T R.beta x V * prefactor S G R.beta * |
| 37 | J.scale ^ Fintype.card (Active A x F) * chartCost C (coupling R.beta) |
| 38 | |
| 39 | def afterChange (u : Config G f → X) := |
| 40 | outside T x V A R F J C • ∫ Y, (∫ z, ink T x V k A R W F D q J d C m u Y z ∂cloud C) |
| 41 | ∂piHaar G (Frozen A x F) |
| 42 | |
| 43 | lemma before_eq (ht : Fits T R x) (h : S.patch.Branches S.kernel G) (u : Config G f → X) : |
| 44 | before x V k A R F D u = fun a => sieve T R.beta x V • attending D A F V k (dress T x V k A R u) a := by |
| 45 | funext a; unfold before Allocation.portion through attending |
| 46 | rw [uncover ht u, ← dress_eq _ _ _ _ _ _ h, mul_smul, smul_comm] |
| 47 | |
| 48 | lemma before_norm (u : Config G f → X) : |
| 49 | before x V k A R F D (fun U => ‖u U‖) = fun a => ‖before x V k A R F D u a‖ := by |
| 50 | funext a; unfold before Allocation.portion through |
| 51 | simp only [smul_eq_mul,norm_smul, Real.norm_of_nonneg (D.nonneg ..), Real.norm_of_nonneg (kernel_nonneg ..)] |
| 52 | |
| 53 | /-- CompleteSpace needed when *using* the equality. No positivity price from |
| 54 | `outside` claimed on wrong-flag records, which contribute zero. -/ |
| 55 | structure Permission (u : Config G f → X) : Prop where |
| 56 | slice : Integrable (before x V k A R F D u) (F.order G) |
| 57 | fibre : ∀ Y, Integrable (ink T x V k A R W F D q J d C m u Y) (cloud C) |
| 58 | pair : Integrable (uncurry (ink T x V k A R W F D q J d C m u)) |
| 59 | ((piHaar G (Frozen A x F)).prod (cloud C)) |
| 60 | result : (∫ a, before x V k A R F D u a ∂F.order G) = afterChange T x V k A R W F D q J d C m u |
| 61 | absolute : (∫ a, ‖before x V k A R F D u a‖ ∂F.order G) = outside T x V A R F J C * |
| 62 | ∫ Y, (∫ z, ‖ink T x V k A R W F D q J d C m u Y z‖ ∂cloud C) ∂piHaar G (Frozen A x F) |
| 63 | |
| 64 | lemma wrong (hV : A.flags≠RG.flags (temp x) V) (u : Config G f → X) : |
| 65 | before x V k A R F D u = 0 ∧ ink T x V k A R W F D q J d C m u = 0 := by |
| 66 | have he (U : Config G f) : D.bill A k U V = 0 := not_not.mp fun hx => hV (D.actual _ _ _ _ hx).exactFlags |
| 67 | constructor |
| 68 | · funext a; simp [before,Allocation.portion, he] |
| 69 | funext Y z; simp [ink,backdrop, he] |
| 70 | |
| 71 | section License |
| 72 | variable [MeasurableSpace X] [BorelSpace X] [SecondCountableTopology X] [CompleteSpace X] |
| 73 | variable {σ n Λ δ l : ℝ} {P : Teller G} {C m} |
| 74 | (h : R.Lawful σ n Λ δ l) (hT : P.Funds S T) (ht : Fits T R x) |
| 75 | |
| 76 | include h hT ht |
| 77 | private theorem transport (hp : Permitted x V k A F D J d R.beta C m) {u : Config G f → X} |
| 78 | (hg : Envelope u) : |
| 79 | let v := ink T x V k A R W F D q J d C m u |
| 80 | let p := before x V k A R F D u |
| 81 | Integrable p (F.order G) ∧ |
| 82 | (∀ Y, Integrable (v Y) (cloud C)) ∧ |
| 83 | Integrable (uncurry v) ((piHaar G (Frozen A x F)).prod (cloud C)) ∧ |
| 84 | ((∫ a, p a ∂F.order G) = afterChange T x V k A R W F D q J d C m u) := by |
| 85 | intro v p |
| 86 | obtain ⟨_, _, hH,_⟩ := hT.feeds |
| 87 | let r := regularized D A F V k q J d (dress T x V k A R u) |
| 88 | let s := prefactor S G R.beta |
| 89 | let b := coupling R.beta |
| 90 | let t := chartCost C b |
| 91 | have hh := dress_envelope T x V k A R h hT hg |
| 92 | obtain ⟨hl,hY,hπ,_,hr⟩ := regularized_price D A F V k hp.trueChart q hp.doorPos hp.scalePaid hp.core _ |
| 93 | (funds_branch hT) hh |
| 94 | have hb : 0<b := coupling_pos hp.bpos |
| 95 | have hs : 0<s := prefactor_pos _ |
| 96 | have ht' : 0<t := chartCost_pos C hp.nativePos hb |
| 97 | have he (Y z) : Real.exp (force C z/2) • r Y (displaced (m Y) b z) = s • v Y z := |
| 98 | (ink_regularized T x V k A R W F D q J d C m hH hp.bpos u Y z).symm |
| 99 | have hy Y : Integrable (v Y) (cloud C) := by |
| 100 | have hi := (at_price C hp.nativePos hb (m Y) (r Y)).1.mp (hY Y) |
| 101 | simp_rw [he] at hi |
| 102 | have hu := hi.smul s⁻¹ |
| 103 | change Integrable (s⁻¹ • s • v Y) _ at hu |
| 104 | simpa only [smul_smul,inv_mul_cancel₀ hs.ne',one_smul] using hu |
| 105 | have hm : Measurable (uncurry v) := by |
| 106 | let L (y : LinkArray G (Frozen A x F) × Prices G (Active A x F)) := (y.1, displaced (m y.1) b y.2) |
| 107 | have hL : Measurable L := measurable_fst.prodMk (tape.measurable.comp |
| 108 | ((hp.shift.comp measurable_fst).add (by fun_prop))) |
| 109 | have hf : Continuous (fun z : Prices G (Active A x F) => force C z) := by unfold force dotProduct mulVec; fun_prop |
| 110 | have hM : Measurable (uncurry r) := regularized_meas D A F V k hp.trueChart q hp.doorPos hp.scalePaid _ |
| 111 | (funds_branch hT) hh |
| 112 | convert! (measurable_const (a:=s⁻¹)).smul |
| 113 | ((Real.continuous_exp.measurable.comp ((hf.measurable.comp measurable_snd).div_const 2)).smul (hM.comp hL)) using 1 |
| 114 | funext y |
| 115 | change v y.1 y.2 = s⁻¹ • (Real.exp (force C y.2/2) • r y.1 (displaced (m y.1) b y.2)) |
| 116 | rw [he, smul_smul, inv_mul_cancel₀ hs.ne', one_smul] |
| 117 | refine ⟨?_,hy,(integrable_prod_iff hm.aestronglyMeasurable).mpr |
| 118 | ⟨Eventually.of_forall hy,?_⟩,?_⟩ |
| 119 | · unfold p; rw [before_eq T x V k A R F D ht (funds_branch hT)]; exact hl.smul _ |
| 120 | · let M := piHaar G (Frozen A x F) |
| 121 | let τ (Y : LinkArray G (Frozen A x F)) := ∫ z, ‖v Y z‖ ∂cloud C |
| 122 | have hx (Y) : (∫ a, ‖r Y a‖) = (t*s)*τ Y := by |
| 123 | have ho (z : Prices G (Active A x F)) := congr_arg (‖·‖) (he Y z) |
| 124 | simp only [norm_smul,Real.norm_of_nonneg (Real.exp_pos _).le,Real.norm_of_nonneg hs.le] at ho |
| 125 | calc |
| 126 | _ = t * ∫ z, Real.exp (force C z/2) * ‖r Y (displaced (m Y) b z)‖ ∂cloud C := |
| 127 | (at_price C hp.nativePos hb (m Y) (fun a => ‖r Y a‖)).2 |
| 128 | _ = _ := by simp_rw [ho,integral_const_mul]; unfold τ; ring |
| 129 | change Integrable (fun Y => ∫ a, ‖r Y a‖) M at hπ |
| 130 | simp_rw [hx] at hπ |
| 131 | have hi := hπ.smul (t*s)⁻¹ |
| 132 | change Integrable ((t*s)⁻¹ • (t*s) • τ) _ at hi |
| 133 | rw [smul_smul, inv_mul_cancel₀ (mul_pos ht' hs).ne', one_smul] at hi |
| 134 | exact hi |
| 135 | have ht'' (Y) : (∫ a, r Y a)=(t*s) • ∫ z,v Y z ∂cloud C := by |
| 136 | have hw := (at_price C hp.nativePos hb (m Y) (r Y)).2 |
| 137 | simp_rw [he,integral_smul, smul_smul] at hw |
| 138 | exact hw |
| 139 | unfold p; rw [before_eq T x V k A R F D ht (funds_branch hT), integral_smul, hr] |
| 140 | change sieve T R.beta x V • (J.scale ^ Fintype.card (Active A x F) • ∫ Y, (∫ a, r Y a) ∂_) = |
| 141 | (_ * s * _ * t) • ∫ Y, (∫ a, v Y a ∂cloud C) ∂_ |
| 142 | simp_rw [ht'', integral_smul, smul_smul] |
| 143 | ac_rfl |
| 144 | |
| 145 | /-- The fixed Output V theorem. No GI requirement here; the multiplier can be |
| 146 | made after local choices of tag-dependent data. For going all the way back to |
| 147 | the physical `StepData.push` use a common gauge invariant u. -/ |
| 148 | theorem fixed (hp : A.flags=RG.flags (temp x) V → Permitted x V k A F D J d R.beta C m) |
| 149 | {u : Config G f → X} (hg : Envelope u) : Permission T x V k A R W F D q J d C m u := by |
| 150 | by_cases he : A.flags=RG.flags (temp x) V |
| 151 | · obtain ⟨hp',hY,hπ,H⟩ := transport T x V k A R W F D q J d h hT ht (hp he) hg |
| 152 | have hn : Envelope (fun U => ‖u U‖) := by |
| 153 | obtain ⟨hs,B,hB⟩ := hg |
| 154 | exact ⟨hs.norm,B,fun U => (Real.norm_of_nonneg (norm_nonneg _)).trans_le (hB U)⟩ |
| 155 | have hx := (transport T x V k A R W F D q J d h hT ht (hp he) hn).2.2.2 |
| 156 | rw [before_norm] at hx |
| 157 | simp_rw [afterChange, ink_norm] at hx |
| 158 | exact ⟨hp',hY,hπ,H,hx⟩ |
| 159 | obtain ⟨hz,hθ⟩ := wrong T x V k A R W F D q J d C m he u |
| 160 | constructor |
| 161 | · rw [hz]; exact integrable_zero .. |
| 162 | · intro Y; rw [hθ]; exact integrable_zero .. |
| 163 | · rw [hθ]; exact integrable_zero .. |
| 164 | · simp only [afterChange, hz,hθ]; simp |
| 165 | · rw [hz,hθ]; simp |
| 166 | |
| 167 | end License |
| 168 | end YM.Next.SectorChange.Marked |