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.EXTRACTION.Base |
| 2 | import YM.Next.FOUNDATIONS.Regular |
| 3 | import YM.Work.H03 |
| 4 | |
| 5 | /-! |
| 6 | `C.factory` entries, including shifts used without recalibrating. Translate |
| 7 | regular jets *before* masking. Uniform prices on arbitrary finite collections |
| 8 | of copies of bounded labels at any queried weights. O itself can be complex |
| 9 | and always uses the terminal inverse of this N,p, including off-center. This |
| 10 | part consumes `C.Makes`, does not extend the one-source transfer identity to |
| 11 | mixtures on its own. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Extra.Multi |
| 17 | open Filter Function Lattice RG Wilson Source Overlay Marker Labels Finset |
| 18 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff Classical |
| 19 | |
| 20 | variable {G : Gauge} {d : ℕ} {F : Labels.Frame G d} {n : Side} |
| 21 | |
| 22 | namespace BasisCost |
| 23 | |
| 24 | def slots (F : Labels.Frame G d) : ℕ := Finset.univ.sup fun i => (F.grades i).2 |
| 25 | |
| 26 | def extent (T : SectionData F) : ℕ := T.stencil.sup fun z => univ.sup fun i => (z i).natAbs |
| 27 | |
| 28 | lemma small_footprint (T : SectionData F) (o : Site n) {B : ℕ} (he : extent T ≤ B) : |
| 29 | coverNumber B (T.footprint o) ≤ 1 := by |
| 30 | have hx : T.footprint o ⊆ halo (0+B) {o} := by |
| 31 | intro x hx; obtain ⟨z,hz,rfl⟩ := mem_image.mp hx |
| 32 | apply halo_spec.mpr; refine ⟨_,mem_singleton_self _,?_⟩ |
| 33 | rw [separation_comm,separation, add_sub_cancel_right] |
| 34 | apply Finset.sup_le; intro i _ |
| 35 | exact (Corona.lap ..).trans ((le_sup_of_le hz (le_sup (f:=fun i => (z i).natAbs) (mem_univ i)) : _ ≤ extent T).trans (by change extent T ≤ _; omega)) |
| 36 | rw [← card_singleton o]; apply Corona.list_cost; refine ⟨by simpa only [zero_add] using hx, Corona.ship_halo _ ?_⟩ |
| 37 | intro x hx y hy; obtain rfl := mem_singleton.mp hx; obtain rfl := mem_singleton.mp hy; exact .refl |
| 38 | |
| 39 | lemma coeff_nonneg (v : F.Coeff) : 0 ≤ F.coeffSize v := sum_nonneg fun _ _ => norm_nonneg _ |
| 40 | |
| 41 | lemma coeff_le (v : F.Coeff) : F.coeffSize (F.core v) ≤ F.coeffSize v := by |
| 42 | apply sum_le_sum; intro i (_ : i∈univ) |
| 43 | change ‖update v 0 0 i‖ ≤ ‖v i‖ |
| 44 | by_cases h : i=0 <;> simp [h] |
| 45 | |
| 46 | lemma coord_le (v : F.Coeff) (i) : ‖v i‖ ≤ F.coeffSize v := single_le_sum (fun _ _ => norm_nonneg _) (mem_univ i) |
| 47 | |
| 48 | lemma placed_columns (T : SectionData F) (v : F.Coeff) (o : Site n) : |
| 49 | T.places v o = ∑ i : F.Index, v i • T.places (Pi.single i 1) o := by |
| 50 | let L : F.Coeff →ₗ[ℂ] Config G n → ℂ := { |
| 51 | toFun v := T.places v o |
| 52 | map_add' _ _ := funext fun U => congr_fun (T.eval_linear.map_add ..) (expandAt o U) |
| 53 | map_smul' _ _ := funext fun U => congr_fun (T.eval_linear.map_smul ..) (expandAt o U) } |
| 54 | change L v = ∑ i, v i • L _ |
| 55 | simp_rw [← map_smul, ← map_sum]; congr 1 |
| 56 | ext1 i; simp [Pi.single_apply] |
| 57 | |
| 58 | lemma exists_price (T : SectionData F) : ∃ C : ℝ, 1 ≤ C ∧ ∀ i : F.Index, |
| 59 | ∀ n : Side, ∀ o : Site n, ∀ U : Config G n, ‖T.places (Pi.single i 1) o U‖ ≤ C := by |
| 60 | choose b hb using fun i : F.Index => ((isCompact_range (T.continuous_evaluate (Pi.single i 1)).norm).bddAbove).exists_ge (1:ℝ) |
| 61 | refine ⟨1+∑ i, |b i|, le_add_of_nonneg_right (sum_nonneg fun i _ => abs_nonneg _),fun i n o U => ?_⟩ |
| 62 | have he : b i ≤ ∑ j, |b j| := (le_abs_self _).trans (single_le_sum (f:=fun j => |b j|) (fun _ _ => abs_nonneg _) (mem_univ i)) |
| 63 | exact ((hb i).2 _ ⟨expandAt o U,rfl⟩).trans (he.trans (le_add_of_nonneg_left zero_le_one)) |
| 64 | |
| 65 | def price (T : SectionData F) : ℝ := (exists_price T).choose |
| 66 | lemma price_pos (T : SectionData F) : 1 ≤ price T := (exists_price T).choose_spec.1 |
| 67 | |
| 68 | lemma full (T : SectionData F) (v : F.Coeff) (o : Site n) (U : Config G n) : |
| 69 | ‖T.places v o U‖ ≤ price T * F.coeffSize v := by |
| 70 | rw [placed_columns, Finset.sum_apply,Frame.coeffSize,mul_sum] |
| 71 | refine (norm_sum_le ..).trans (sum_le_sum fun i _ => ?_) |
| 72 | rw [Pi.smul_apply, norm_smul, mul_comm (price T)] |
| 73 | exact mul_le_mul_of_nonneg_left ((exists_price T).choose_spec.2 i n o U) (norm_nonneg _) |
| 74 | |
| 75 | lemma full_scaled (T : SectionData F) (v : F.Coeff) (o : Site n) {t g : ℝ} (hg : 0<g) |
| 76 | (hgt : g ≤ t) (h : g ≤ 1) (U : Config G n) : |
| 77 | ‖T.places (F.scaled t⁻¹ v) o U‖ ≤ price T * (g⁻¹)^slots F * F.coeffSize v := by |
| 78 | apply (full ..).trans; rw [mul_assoc] |
| 79 | apply mul_le_mul_of_nonneg_left _ (zero_le_one.trans (price_pos T)) |
| 80 | rw [Frame.coeffSize,Frame.coeffSize,mul_sum]; refine sum_le_sum fun i _ => ?_ |
| 81 | rw [Frame.scaled_apply,norm_mul,Complex.norm_real,Real.norm_of_nonneg (pow_nonneg (inv_nonneg.mpr (hg.trans_le hgt).le) _)] |
| 82 | refine mul_le_mul_of_nonneg_right ((pow_le_pow_left₀ (inv_nonneg.mpr (hg.trans_le hgt).le) (inv_anti₀ hg hgt) _).trans ?_) |
| 83 | (norm_nonneg _) |
| 84 | exact pow_le_pow_right₀ ((one_le_inv₀ hg).mpr h) (le_sup (f:=fun i => (F.grades i).2) (mem_univ i)) |
| 85 | |
| 86 | /-- Cost on an actual BudgetPoint, using `Family.Makes.priced` if supplied, |
| 87 | with the genuine linear-combination derivative theorem (incl. equality at a |
| 88 | flag boundary). -/ |
| 89 | lemma analytic (T : SectionData F) (P : BudgetPoint) (v : F.Coeff) (o : Site n) {C : ℝ} |
| 90 | (hc : ∀ i : F.Index, P.Regular (T.footprint o) (T.places (Pi.single i 1) o) ∧ |
| 91 | P.supBounds o (T.footprint o) (T.places (Pi.single i 1) o) (C * P.threshold^(F.grades i).2)) : |
| 92 | P.Regular (T.footprint o) (T.places (F.scaled P.threshold⁻¹ v) o) ∧ |
| 93 | P.supBounds o (T.footprint o) (T.places (F.scaled P.threshold⁻¹ v) o) (C * F.coeffSize v) := by |
| 94 | nth_rw 3 [← F.scaled_inv P.threshold_pos.ne' v] |
| 95 | let w := F.scaled P.threshold⁻¹ v |
| 96 | have hu (i) : C * ‖F.scaled P.threshold w i‖ = ‖w i‖ * (C * P.threshold^(F.grades i).2) := by |
| 97 | rw [F.scaled_apply, norm_mul, Complex.norm_real, Real.norm_of_nonneg (pow_nonneg P.threshold_pos.le _)] |
| 98 | ring |
| 99 | rw [placed_columns T w o,Frame.coeffSize,mul_sum]; change _ ∧ P.supBounds o _ _ (∑ i, C * ‖F.scaled P.threshold w i‖); simp_rw [hu] |
| 100 | exact Next.Foundations.regular_bound_sum _ _ _ fun i _ => |
| 101 | ⟨Next.Foundations.regular_smul _ (hc i).1,Next.Foundations.bound_smul _ (hc i).2⟩ |
| 102 | |
| 103 | end BasisCost |
| 104 | |
| 105 | namespace Relocate |
| 106 | |
| 107 | def shift (y : Site n) (X : Support n) := X.image (· + y) |
| 108 | |
| 109 | theorem halo_shift (y : Site n) (X : Support n) (B : ℕ) : halo B (shift y X) = shift y (halo B X) := by |
| 110 | ext x |
| 111 | constructor |
| 112 | · intro h; obtain ⟨z,hz,he⟩ := halo_spec.mp h; obtain ⟨w,hw,rfl⟩ := mem_image.mp hz |
| 113 | refine mem_image.mpr ⟨x-y,halo_spec.mpr ⟨w,hw,?_⟩,sub_add_cancel ..⟩ |
| 114 | simpa only [← separation_translate w (x-y) y, sub_add_cancel] |
| 115 | intro h; obtain ⟨w,hw,rfl⟩ := mem_image.mp h; obtain ⟨z,hz,he⟩ := halo_spec.mp hw |
| 116 | exact halo_spec.mpr ⟨z+y,mem_image_of_mem _ hz,(separation_translate ..).trans_le he⟩ |
| 117 | |
| 118 | theorem cover_shift (y : Site n) (X : Support n) (B : ℕ) : coverNumber B (shift y X) ≤ coverNumber B X := by |
| 119 | obtain ⟨D,⟨hD,h⟩,hh⟩ := coverNumber_realized B X; rw [← hh] |
| 120 | apply le_trans _ (card_image_le (f:=(·+y)) (s:=D)) |
| 121 | apply Corona.list_cost B (D:=shift y D); rw [covers,halo_shift] |
| 122 | refine ⟨image_subset_image hD,fun i hi j hj => ?_⟩ |
| 123 | obtain ⟨i,hI,rfl⟩ := mem_image.mp hi; obtain ⟨j,hJ,rfl⟩ := mem_image.mp hj |
| 124 | have he := h i hI j hJ |
| 125 | clear hi hj hJ hI |
| 126 | induction he with |
| 127 | | refl => exact .refl |
| 128 | | tail _ he ih => exact .tail ih ⟨mem_image_of_mem _ he.1, mem_image_of_mem _ he.2.1, (separation_translate ..).trans_le he.2.2⟩ |
| 129 | |
| 130 | theorem healthy_shift {U : Config G n} {y : Site n} {t : ℝ} {X : Support n} |
| 131 | (h : Healthy t (shift y X) U) : Healthy t X (translate y U) := by |
| 132 | have ht := Work.H03.flags_send 1 y t U |
| 133 | rw [pull_one] at ht |
| 134 | refine disjoint_left.mpr fun i hi hb => disjoint_left.mp h (mem_image_of_mem _ hi) ?_ |
| 135 | rw [← ht]; exact mem_image.mpr ⟨_,hb,by simp [affine]⟩ |
| 136 | |
| 137 | def along (y : Site n) (a : Directions G n) : Directions G n := fun e => a (e.1+y,e.2) |
| 138 | |
| 139 | theorem jets (y : Site n) (f : Config G n → ℂ) (l : List (Directions G n)) (U : Config G n) : |
| 140 | leftDerivs (f ∘ translate y) l U = leftDerivs f (l.map (along y)) (translate y U) := by |
| 141 | induction l generalizing U with |
| 142 | | nil => rfl |
| 143 | | cons a l ih => simp only [leftDerivs,List.map_cons,ih]; rfl |
| 144 | |
| 145 | theorem sup_translate {P : BudgetPoint} {o y : Site n} {f : Config G n → ℂ} {X : Support n} {a : ℝ} |
| 146 | (h : P.supBounds o X f a) : P.supBounds (o+y) (shift y X) (f ∘ translate y) a := by |
| 147 | refine ⟨h.1,fun U hu l hl hd => ?_⟩ |
| 148 | rw [jets]; refine h.2 _ (healthy_shift hu) _ (by simpa only [List.length_map]) ?_ |
| 149 | intro A hA e; obtain ⟨B,hB,rfl⟩ := List.mem_map.mp hA |
| 150 | exact (hd B hB (e.1+y,e.2)).trans_eq (by simp) |
| 151 | |
| 152 | end Relocate |
| 153 | |
| 154 | variable (C : Family G) (N p : ℕ) (m : ℕ) |
| 155 | |
| 156 | abbrev point := C.path.levels.budget m |
| 157 | abbrev col := (C.path.levels.params m).columns |
| 158 | abbrev gHat := C.path.levels.clock.hatCoupling m |
| 159 | abbrev divisor := Real.sqrt (C.path.levels.clock.forcedAllowance m) |
| 160 | abbrev coord (v : C.label d) := (C.factory d N p).entries m ((C.factory d N p).terminal.symm v) |
| 161 | |
| 162 | def wallet := ∏ i∈Finset.range m,col C (i+1) |
| 163 | |
| 164 | theorem col_ge : 1 ≤ col C m := (C.path.levels.params m).columns_ge |
| 165 | theorem wallet_ge : 1 ≤ wallet C m := one_le_prod fun i _ => col_ge C (i+1) |
| 166 | theorem gHat_pos : 0 < gHat C m := inv_pos.mpr (Real.sqrt_pos.mpr (zero_lt_one.trans (C.path.levels.fits.delayed m))) |
| 167 | theorem gHat_le_one : gHat C m ≤ 1 := inv_le_one_of_one_le₀ (Real.le_sqrt_of_sq_le (by simpa using (C.path.levels.fits.delayed m).le)) |
| 168 | theorem gHat_le : gHat C m ≤ (point C m).threshold := le_mul_of_one_le_right (gHat_pos C m).le (Real.one_le_exp (sq_nonneg _)) |
| 169 | theorem divisor_pos : 0<divisor C m := Real.sqrt_pos.mpr (Real.exp_pos _) |
| 170 | theorem divisor_le : divisor C m ≤ 1 := Real.sqrt_le_one.mpr (Real.exp_le_one_iff.mpr (neg_nonpos.mpr (Real.rpow_nonneg (Real.exp_pos _).le _))) |
| 171 | |
| 172 | theorem width_pos {a : ℝ} (h : 0<a) (k : ℕ) : 0 < Mix.width C a k m := div_pos (pow_pos (gHat_pos C m) _) |
| 173 | (mul_pos (mul_pos h (zero_lt_one.trans_le (col_ge C m))) (zero_lt_one.trans_le (wallet_ge C m))) |
| 174 | |
| 175 | theorem coord_bound (H : C.Makes) (v : C.label d) (hm : C.ref d ≤ m) (hm' : m ≤ N) : |
| 176 | (C.labels.level d).coeffSize (coord C N p m v).x ≤ wallet C m * (C.labels.level d).coeffSize v := by |
| 177 | induction m,hm using Nat.le_induction with |
| 178 | | base => rw [H.calibrated d N p hm' |>.reads,LinearEquiv.apply_symm_apply] |
| 179 | exact le_mul_of_one_le_left (BasisCost.coeff_nonneg _) (wallet_ge ..) |
| 180 | | succ m hm ih => |
| 181 | rw [wallet,prod_range_succ,mul_comm _ (col C (m+1)),mul_assoc] |
| 182 | refine ((H.calibrated d N p (hm.trans (by omega : m≤N))).back m hm hm' _).trans ?_ |
| 183 | exact mul_le_mul_of_nonneg_left (ih (by omega : m≤N)) (zero_le_one.trans (col_ge ..)) |
| 184 | |
| 185 | theorem pays_coord {a : ℝ} (ha : 0 < a) (k : ℕ) (H : C.Makes) (v : C.label d) (hv : (C.labels.level d).coeffSize v ≤ a) |
| 186 | (hm : C.ref d ≤ m) (hm' : m ≤ N) : |
| 187 | Mix.width C a k m * (col C m * (C.labels.level d).coeffSize (coord C N p m v).x) ≤ (gHat C m)^k := by |
| 188 | have ht := (coord_bound C N p m H v hm hm').trans (mul_le_mul_of_nonneg_left hv (zero_le_one.trans (wallet_ge ..))) |
| 189 | have he := (width_pos C m ha k).le |
| 190 | refine (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left ht (zero_le_one.trans (col_ge ..))) he).trans_eq ?_ |
| 191 | rw [show col C m * (wallet C m * a) = Mix.envelope C a m by unfold Mix.envelope wallet; ring] |
| 192 | exact div_mul_cancel₀ _ (mul_pos (mul_pos ha (zero_lt_one.trans_le (col_ge ..))) (zero_lt_one.trans_le (wallet_ge ..))).ne' |
| 193 | |
| 194 | abbrev canon (o : Site (C.side m p)) (v : C.label d) := (C.localSection d).places ((C.labels.level d).scaled (point C m).threshold⁻¹ |
| 195 | ((C.labels.level d).core (coord C N p m v).x)) o |
| 196 | |
| 197 | |
| 198 | |
| 199 | |
| 200 | |
| 201 | |
| 202 | |
| 203 | end YM.Extra.Multi |