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.Next.FOUNDATIONS.Primary |
| 2 | import YM.Push.LOCAL_SPLITTING.Projection |
| 3 | |
| 4 | /-! |
| 5 | # Singleton atom conversion in the vacuum threshold convention |
| 6 | |
| 7 | Exact (`Jmdef`) **prior** to a forced merger. No differentiation of the |
| 8 | bad-set contributions. The attaching correction retains its whole support at |
| 9 | zero amplitudes, permits the final flag read, and is evaluated with the actual |
| 10 | mask at this level, also at equality. Address costs here are per atom (sum |
| 11 | cost with enlargement and forced hits in subsequent modules). |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Push.Local |
| 17 | open Function Filter Lattice Wilson RG Source Labels Next.Foundations |
| 18 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 19 | |
| 20 | variable {G : Gauge} {n : Side} {d : ℕ} {F : Labels.Frame G d} |
| 21 | |
| 22 | /-- A term to multiply into the same vacuum gas. -/ |
| 23 | structure Attaches (t : ℝ) (X : Support n) (f : Config G n → ℂ) : Prop where |
| 24 | sites : UsesFinal t X f |
| 25 | symmetry : GaugeInvariant f |
| 26 | borel : Measurable f |
| 27 | healthy_zero : ∀ U, Healthy t X U → f U = 0 |
| 28 | |
| 29 | theorem Attaches.zero (t : ℝ) (X : Support n) : Attaches t X (0 : Config G n → ℂ) := |
| 30 | ⟨fun _ _ _ _ => rfl,fun _ _ => rfl,measurable_const,fun _ _ => rfl⟩ |
| 31 | |
| 32 | theorem uses_mask (t : ℝ) {X : Support n} {f : Config G n → ℂ} (h : LocalOn X f) : UsesFinal t X (masked t X f) := by |
| 33 | intro U V huv ht |
| 34 | have he : Healthy t X U ↔ Healthy t X V := by simp only [Healthy, Finset.disjoint_iff_inter_eq_empty,ht] |
| 35 | by_cases hx : Healthy t X U |
| 36 | · simpa only [masked_eq _ _ _ _ hx,masked_eq _ _ _ _ (he.mp hx)] using h U V huv |
| 37 | rw [masked_ne _ _ _ _ hx,masked_ne _ _ _ _ (mt he.mpr hx)] |
| 38 | |
| 39 | theorem invariant_mask {f : Config G n → ℂ} (h : GaugeInvariant f) (t : ℝ) (X : Support n) : GaugeInvariant (masked t X f) := by |
| 40 | intro g U |
| 41 | have he : Healthy t X (gauge g U) ↔ Healthy t X U := by rw [Healthy,Healthy,gauge_flags] |
| 42 | by_cases hx : Healthy t X U |
| 43 | · simpa only [masked_eq _ _ _ _ hx, masked_eq _ _ _ _ (he.mpr hx)] using h g U |
| 44 | rw [masked_ne _ _ _ _ (mt he.mp hx),masked_ne _ _ _ _ hx] |
| 45 | |
| 46 | def maskLinear (t : ℝ) (X : Support n) : (Config G n → ℂ) →ₗ[ℂ] (Config G n → ℂ) where |
| 47 | toFun := masked t X |
| 48 | map_add' f g := by funext U; by_cases hx : Healthy t X U <;> simp [*,masked_ne,masked_eq] |
| 49 | map_smul' f g := by funext U; by_cases hx : Healthy t X U <;> simp [*,masked_ne,masked_eq] |
| 50 | |
| 51 | structure Readable (H : Hol G) (T : SectionData F) (B : BudgetPoint) (n : Side) (w : ℝ) : Prop where |
| 52 | sound : T.Sound H |
| 53 | fit (x : Cover) : x∈T.stencil → ∀ i : Axis, 20*((x i).natAbs+1) ≤ n.val |
| 54 | order : d ≤ B.order |
| 55 | power : d ≤ B.power |
| 56 | paid : Bid.Credit T B.order B.power w |
| 57 | nonneg : 0 ≤ w |
| 58 | |
| 59 | theorem foundation_readable (G : Gauge) (d : ℕ) {n : Side} {B : BudgetPoint} (hf : minSide G d ≤ n.val) (h : d ≤ B.order) (hq : d ≤ B.power) : |
| 60 | Readable (hol G) (localSection G d) B n (price G (max B.order B.power)) := |
| 61 | ⟨sound G d,stencil_price G hf,h,hq,priced G (h.trans (le_max_left _ _)) (le_max_left _ _) (le_max_right _ _),zero_le_one.trans (price_one_le G _)⟩ |
| 62 | |
| 63 | /-- Scaled section (all coordinates, unmasked). -/ |
| 64 | def presented (T : SectionData F) (o : Site n) (t : ℝ) : F.Coeff →ₗ[ℂ] (Config G n → ℂ) where |
| 65 | toFun v := T.places (F.scaled t⁻¹ v) o |
| 66 | map_add' u v := by funext U; exact congr_fun ((congr_arg T.evaluate (map_add ..)).trans (T.eval_linear.map_add _ _)) (expandAt o U) |
| 67 | map_smul' u v := by funext U; exact congr_fun ((congr_arg T.evaluate (map_smul ..)).trans (T.eval_linear.map_smul _ _)) (expandAt o U) |
| 68 | |
| 69 | /-- Exponential coordinate entry, leaving the unit global as in `Coefficient`. -/ |
| 70 | def primary (T : SectionData F) (o : Site n) (t : ℝ) : F.Coeff →ₗ[ℂ] (Config G n → ℂ) := |
| 71 | let g : F.Coeff →ₗ[ℂ] (Config G n → ℂ) := { |
| 72 | toFun v := fun _ => v 0 |
| 73 | map_add' _ _ := rfl |
| 74 | map_smul' _ _ := rfl |
| 75 | } |
| 76 | g + maskLinear t (T.footprint o) ∘ₗ presented T o t ∘ₗ F.core |
| 77 | |
| 78 | variable {H : Hol G} {T : SectionData F} {B : BudgetPoint} {w : ℝ} |
| 79 | |
| 80 | theorem presented_good (o : Site n) (h : Readable H T B n w) (v : F.Coeff) : |
| 81 | B.Regular (T.footprint o) (presented T o B.threshold v) ∧ B.supBounds o (T.footprint o) (presented T o B.threshold v) (w*F.coeffSize v) := by |
| 82 | simpa [presented, F.scaled_inv B.threshold_pos.ne'] using combination_bound B o h.paid (F.scaled B.threshold⁻¹ v) |
| 83 | |
| 84 | theorem presented_primary (o : Site n) {t : ℝ} (h : T.Sound H) (v : F.Coeff) (U : Config G n) |
| 85 | (hU : Healthy t (T.footprint o) U) : primary T o t v U = presented T o t v U := by |
| 86 | change v 0 + masked .. = _ |
| 87 | rw [masked_eq _ _ _ _ hU] |
| 88 | conv_rhs => rw [core_split F v,map_add, map_smul, Pi.add_apply,Pi.smul_apply] |
| 89 | congr 1; change _ = v 0 • T.evaluate (F.scaled t⁻¹ F.e0) (expandAt o U) |
| 90 | simp [h.unit] |
| 91 | |
| 92 | theorem primary_price (o : Site n) (h : Readable H T B n w) (v : F.Coeff) (U : Config G n) : |
| 93 | ‖primary T o B.threshold v U‖ ≤ (1+w)*F.coeffSize v := by |
| 94 | by_cases hU : Healthy B.threshold (T.footprint o) U |
| 95 | · rw [presented_primary o h.sound v U hU] |
| 96 | apply ((presented_good o h v).2.2 U hU [] (Nat.zero_le _) (by simp)).trans |
| 97 | exact mul_le_mul_of_nonneg_right (by linarith) (Work.G08.size_nonneg ..) |
| 98 | change ‖v 0 + masked ..‖ ≤ _ |
| 99 | rw [masked_ne _ _ _ _ hU, add_zero] |
| 100 | exact ((norm_le_pi_norm v 0).trans (norm_le_size ..)).trans (le_mul_of_one_le_left (Work.G08.size_nonneg ..) (le_add_of_nonneg_right h.nonneg)) |
| 101 | |
| 102 | variable (H T) in |
| 103 | def joint (o : Site n) (X : Support n) : Support n := X ∪ T.footprint o |
| 104 | variable (H T) in |
| 105 | def residual (o : Site n) (X : Support n) (t : ℝ) (f : Config G n → ℂ) := f - presented T o t (weighted H F o X t f) |
| 106 | variable (H T) in |
| 107 | def rebate (o : Site n) (X : Support n) (t : ℝ) (f : Config G n → ℂ) := |
| 108 | masked t X f - primary T o t (weighted H F o X t f) - masked t (joint T o X) (residual H T o X t f) |
| 109 | |
| 110 | variable (o : Site n) {X : Support n} {f : Config G n → ℂ} |
| 111 | |
| 112 | theorem convert_atom (h : Readable H T B n w) (hf : B.Regular X f) : |
| 113 | let Z := joint T o X |
| 114 | let g := residual H T o X B.threshold f |
| 115 | B.Regular Z g ∧ o ∈ Z ∧ Reads H o Z (0 : Label G d) g ∧ Attaches B.threshold Z (rebate H T o X B.threshold f) := by |
| 116 | intro Z g |
| 117 | let v := weighted H F o X B.threshold f |
| 118 | have hp := project_reads H o hf h.order |
| 119 | have hz : F.scaled B.threshold⁻¹ v = F.coords (project H o X f d) := by |
| 120 | simpa [v,weighted] using F.scaled_inv (inv_ne_zero B.threshold_pos.ne') (F.coords (project H o X f d)) |
| 121 | have hY : Nonwrapping (T.footprint o) o := nonwrapping_placement T o h.fit |
| 122 | have hx : X ⊆ Z := Finset.subset_union_left |
| 123 | have hy : T.footprint o ⊆ Z := Finset.subset_union_right |
| 124 | have hu : B.Regular Z f := regular_larger hf hx |
| 125 | have hr := presented_good o h v |
| 126 | have hg : B.Regular Z g := regular_sub hu (regular_larger hr.1 hy) |
| 127 | refine ⟨hg,hy (Finset.mem_image.mpr ⟨0,h.sound.anchored,by simp⟩), ?_,?_⟩ |
| 128 | · unfold g residual presented |
| 129 | dsimp only [LinearMap.coe_mk,AddHom.coe_mk]; rw [hz] |
| 130 | have hZ : Nonwrapping Z o ↔ Nonwrapping X o := by simp [Z,joint,Nonwrapping, or_imp, forall_and]; exact fun _ => hY |
| 131 | have he : Reads H o Z (project H o X f d) f := by |
| 132 | classical |
| 133 | rw [Reads] at hp ⊢ |
| 134 | simp_rw [hZ]; exact hp |
| 135 | have h' : Reads H o Z (project H o X f d) (T.places (F.coords (project H o X f d)) o) := by |
| 136 | unfold Reads |
| 137 | split <;> rename_i hN |
| 138 | · have ht := placed_reads T o h.fit h.sound (F.coords (project H o X f d)) |
| 139 | rwa [Reads,if_pos hY,F.coords.symm_apply_apply] at ht |
| 140 | rw [Reads,if_neg (mt hZ.mpr hN)] at hp |
| 141 | rw [hp,map_smul,F.coords_unit,SectionData.places,T.eval_linear.map_smul,h.sound.unit]; simp |
| 142 | simpa only [sub_self] using reads_sub he h' |
| 143 | unfold rebate |
| 144 | let t := B.threshold |
| 145 | have hcore : B.Regular (T.footprint o) (presented T o t (F.core v)) := (presented_good o h _).1 |
| 146 | have hP (U : Config G n) : primary T o t v U = v 0 + masked t (T.footprint o) (presented T o t (F.core v)) U := rfl |
| 147 | refine ⟨?_,?_, (masked_measurable _ _ _ hf.borel |>.sub (show Measurable (fun U => v 0 + masked t _ _ U) from measurable_const.add (masked_measurable _ _ _ hcore.borel)) |>.sub (masked_measurable _ _ _ hg.borel)),?_⟩ |
| 148 | · intro U V huv ht; change _ - primary T o t v U - masked t Z g U = _ - primary T o t v V - masked t Z g V |
| 149 | rw [Work.H03.reads_larger hx (uses_mask t hf.sites) U V huv ht,hP,hP,Work.H03.reads_larger hy (uses_mask _ hcore.sites) U V huv ht, uses_mask _ hg.sites U V huv ht] |
| 150 | · intro k U; change _ - primary T o t v (gauge k U) - masked t Z g (gauge k U) = _ - primary T o t v U - masked t Z g U |
| 151 | rw [invariant_mask hf.symmetry t X k U,hP,hP,invariant_mask hcore.symmetry t _ k U,invariant_mask hg.symmetry t Z k U] |
| 152 | intro U hU |
| 153 | change masked t X f U - primary T o t v U - masked t Z g U = 0 |
| 154 | rw [masked_eq _ _ _ _ (Finset.disjoint_of_subset_left hx hU), masked_eq _ _ _ _ hU, presented_primary o h.sound v U (Finset.disjoint_of_subset_left hy hU)] |
| 155 | exact sub_self _ |
| 156 | |
| 157 | def atomPrice (H : Hol G) (F : Labels.Frame G d) (w : ℝ) := 1 + (1+w)*readPrice H F |
| 158 | |
| 159 | theorem atomPrice_ge_one (H : Hol G) (F : Labels.Frame G d) {w : ℝ} (h : 0 ≤ w) : 1 ≤ atomPrice H F w := by |
| 160 | unfold atomPrice; exact le_add_of_nonneg_right (by positivity [readPrice_pos H F]) |
| 161 | |
| 162 | theorem charge_atom (h : Readable H T B n w) (hf : B.Regular X f) {c : ℝ} (hc : B.supBounds o X f c) : |
| 163 | B.supBounds o (joint T o X) (residual H T o X B.threshold f) (atomPrice H F w*c) ∧ |
| 164 | ∀ U, ‖rebate H T o X B.threshold f U‖ ≤ atomPrice H F w*c := by |
| 165 | let v := weighted H F o X B.threshold f |
| 166 | have he : F.coeffSize v ≤ readPrice H F*c := weighted_bound H F o hf h.order h.power hc |
| 167 | obtain ⟨hr,hb⟩ := presented_good o h v |
| 168 | have ht : 0 ≤ 1+w := by linarith [h.nonneg] |
| 169 | have hy : c+(1+w)*F.coeffSize v ≤ atomPrice H F w*c := by |
| 170 | exact le_trans (add_le_add_right (mul_le_mul_of_nonneg_left he ht) c) (by unfold atomPrice; linarith) |
| 171 | constructor |
| 172 | · exact bound_weaken (bound_sub (regular_larger hf Finset.subset_union_left) (regular_larger hr Finset.subset_union_right) (bound_larger hc Finset.subset_union_left) (bound_larger hb Finset.subset_union_right)) (le_trans (add_le_add_right (mul_le_mul_of_nonneg_right (by linarith) (Work.G08.size_nonneg ..)) c) hy) |
| 173 | intro U |
| 174 | by_cases hU : Healthy B.threshold (joint T o X) U |
| 175 | · rw [(convert_atom o h hf).2.2.2.healthy_zero U hU, norm_zero]; exact mul_nonneg (zero_le_one.trans (atomPrice_ge_one _ _ h.nonneg)) hc.1 |
| 176 | have hX : ‖masked B.threshold X f U‖ ≤ c := by |
| 177 | by_cases hx : Healthy B.threshold X U |
| 178 | · rw [masked_eq _ _ _ _ hx]; exact hc.2 U hx [] (Nat.zero_le _) (by simp) |
| 179 | rw [masked_ne _ _ _ _ hx,norm_zero]; exact hc.1 |
| 180 | rw [rebate,Pi.sub_apply, Pi.sub_apply, masked_ne _ _ _ _ hU, sub_zero] |
| 181 | exact (norm_sub_le ..).trans ((add_le_add hX (primary_price o h v U)).trans hy) |
| 182 | |
| 183 | end YM.Push.Local |