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.ANNULUS_RATIO_INSERTIONS.Luggage |
| 2 | import YM.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.Prereq |
| 3 | import YM.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.Prices |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Real local factors (at fixed V) and remaining sockets |
| 8 | |
| 9 | Count both endpoints for these prices. |
| 10 | |
| 11 | Also cost of local tag conversion |
| 12 | including all reference alternatives irrespective of values. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticBridge.AnnulusRatioInsertions.Dress |
| 17 | open Function Filter Lattice Wilson RG RG.Patch Precision Exterior Tree MeasureTheory Metric Matrix Bloch |
| 18 | open Next.SectorChange Next.SectorChange.Motion Next.SectorChange.Rows |
| 19 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure Push.SectorMeasure.Oriented Presented |
| 20 | open SectorNext.Remainder.Affine |
| 21 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius Push.SectorMeasure |
| 22 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 23 | |
| 24 | /-- Packet ownership of full color block data. Use either endpoint |
| 25 | in determining if the factor is needed (retaining both); do not put |
| 26 | two copies in even if both ends in the halo. -/ |
| 27 | def qLogs (O : Stores S) (R : ℕ) := (Finset.univ : Finset (Bond f)).filter fun i => |
| 28 | S.ratio.parent i.1∈O.dome R ∨ S.ratio.parent (i.1+Lattice.step i.2)∈O.dome R |
| 29 | |
| 30 | lemma qLogs_card (O : Stores S) (R l B : ℕ) (h : R+1 ≤ l*B) : |
| 31 | (qLogs O R).card ≤ vans S.patch.L l * (B+1)^4 * O.shares := by |
| 32 | apply berth O (l*B) _ _ le_rfl |
| 33 | intro i he; rcases (Finset.mem_filter.mp he).2 with hi|hi |
| 34 | · exact Corona.halo_mono (by omega) (fun _ h => h) hi |
| 35 | obtain ⟨y,hy,ht⟩ := halo_spec.mp hi |
| 36 | refine halo_spec.mpr ⟨y,hy,?_⟩ |
| 37 | have hi := Work.E03.parent_step S i.1 i.2 |
| 38 | rw [separation_comm] at hi |
| 39 | exact (separation_triangle _ (S.ratio.parent (i.1+Lattice.step i.2)) _).trans ((Nat.add_le_add ht hi).trans h) |
| 40 | |
| 41 | /-- L should be paired local log diagonal difference (-1/2*(A |
| 42 | minus Aflat) trace) if using E's representation. Keep *all* |
| 43 | link positions in representing L including identity-completed |
| 44 | ones (can put zero only where appropriate, prove the split / fits). |
| 45 | Here we admit any values with individual bounds; no assumption of |
| 46 | cancellation in the sum. No assumption that L expanded gives entire |
| 47 | log determinant. -/ |
| 48 | def insertLog (O : Stores S) (R : ℕ) (L : Bond f → ℝ) := ∑ i ∈ qLogs O R, L i |
| 49 | |
| 50 | lemma log_price (O : Stores S) (R l B : ℕ) (h : R+1 ≤ l*B) (L : Bond f → ℝ) {K : ℝ} |
| 51 | (hp : 0 ≤ K) (he : ∀ i∈qLogs O R, L i ≤ K) : insertLog O R L ≤ K * (vans S.patch.L l:ℝ)* |
| 52 | ((B:ℝ)+1)^4*O.shares := by |
| 53 | have hi := Nat.cast_le (α:=ℝ).mpr (qLogs_card O R l B h) |
| 54 | push_cast at hi |
| 55 | calc |
| 56 | _ ≤ ∑ _i∈qLogs O R,K := Finset.sum_le_sum he |
| 57 | _ ≤ K * _ * _ * _ := by simp only [Finset.sum_const,nsmul_eq_mul]; linarith only [mul_le_mul_of_nonneg_left hi hp] |
| 58 | |
| 59 | /-- Cost of moving to physical tag probability convention (E's uniform |
| 60 | reference BEFORE eligibility), or 1 on the actual-mass convention already |
| 61 | used in dyed. One cost per physical tag; do not integrate tags separately |
| 62 | on each transformed copy. Retain all actual masses, even at locations E |
| 63 | intends to set to one analytically later. -/ |
| 64 | def tagConv (O : Stores S) (uniform : Bool) (R : ℕ) := if uniform then |
| 65 | (Fintype.card S.patch.FrameTag:ℝ)^(O.dome R).card * |
| 66 | (Fintype.card S.patch.Points:ℝ)^(qBonds O R).card else 1 |
| 67 | |
| 68 | def tagCurrency (P : Patch) (l : ℕ) := Real.log (Fintype.card P.FrameTag)*elbow l+Real.log (Fintype.card P.Points)*(Fintype.card Axis)*elbow l |
| 69 | |
| 70 | lemma alphabet_pos (P : Patch) : 1 ≤ (Fintype.card P.FrameTag:ℝ) ∧ 1 ≤ (Fintype.card P.Points:ℝ) := by |
| 71 | haveI : Nonempty P.Points := ⟨P.center⟩ |
| 72 | constructor <;> exact_mod_cast Fintype.card_pos |
| 73 | |
| 74 | |
| 75 | |
| 76 | lemma pos_conv (O : Stores S) (uniform : Bool) (R : ℕ) : 0 < tagConv O uniform R := by |
| 77 | obtain ⟨h1,h2⟩ := alphabet_pos S.patch |
| 78 | unfold tagConv; split <;> positivity |
| 79 | |
| 80 | lemma nonneg_currency (P : Patch) (l : ℕ) : 0 ≤ tagCurrency P l := by |
| 81 | obtain ⟨h1,h2⟩ := alphabet_pos P |
| 82 | exact add_nonneg (mul_nonneg (Real.log_nonneg h1) (Nat.cast_nonneg _)) (mul_nonneg (mul_nonneg |
| 83 | (Real.log_nonneg h2) (Nat.cast_nonneg _)) (Nat.cast_nonneg _)) |
| 84 | |
| 85 | lemma qBonds_card (O : Stores S) (R l B : ℕ) (h : R+1 ≤ l*B) : |
| 86 | (qBonds O R).card ≤ Fintype.card Axis*(elbow l*(B+1)^4*O.shares) := by |
| 87 | let W := O.dome (l*B) |
| 88 | have hi : qBonds O R ⊆ W ×ˢ (Finset.univ : Finset Axis) := by |
| 89 | intro i hi |
| 90 | refine Finset.mem_product.mpr ⟨?_,Finset.mem_univ _⟩ |
| 91 | have hx := (Finset.mem_filter.mp hi).2 |
| 92 | rw [Finset.disjoint_left] at hx |
| 93 | push Not at hx |
| 94 | obtain ⟨y,hy,ht⟩ := hx |
| 95 | unfold pinPos at ht; simp only [Finset.mem_insert,Finset.mem_singleton] at ht |
| 96 | rcases ht with rfl|rfl |
| 97 | · exact Corona.halo_mono (by omega) (fun _ hi => hi) hy |
| 98 | obtain ⟨x,hx,hb⟩ := halo_spec.mp hy |
| 99 | refine halo_spec.mpr ⟨x,hx,?_⟩ |
| 100 | have hm : separation (i.1+Lattice.step i.2) i.1 ≤ 1 := (separation_comm ..).trans_le (Work.E01.sep_step_le ..) |
| 101 | exact (separation_triangle x _ _).trans ((Nat.add_le_add hb hm).trans h) |
| 102 | have hh := Finset.card_le_card hi |
| 103 | rw [Finset.card_product,Finset.card_univ,mul_comm] at hh |
| 104 | exact hh.trans (by unfold W; gcongr; exact elbow_room O _ _ _ le_rfl) |
| 105 | |
| 106 | lemma conv_bound (O : Stores S) (uniform : Bool) (R l B : ℕ) (h : R+1 ≤ l*B) : |
| 107 | tagConv O uniform R ≤ Real.exp (tagCurrency S.patch l * ((B:ℝ)+1)^4 * O.shares) := by |
| 108 | obtain ⟨h1,h2⟩ := alphabet_pos S.patch |
| 109 | let T := ((B:ℝ)+1)^4*(O.shares:ℝ) |
| 110 | have hT : 0≤T := mul_nonneg (by positivity) (Nat.cast_nonneg _) |
| 111 | unfold tagConv |
| 112 | split |
| 113 | · rw [← Real.exp_log (mul_pos (pow_pos (zero_lt_one.trans_le h1) _) (pow_pos (zero_lt_one.trans_le h2) _)), |
| 114 | Real.log_mul (pow_pos (zero_lt_one.trans_le h1) _).ne' (pow_pos (zero_lt_one.trans_le h2) _).ne',Real.log_pow,Real.log_pow] |
| 115 | have hi := Nat.cast_le (α:=ℝ).mpr (qBonds_card O R l B h) |
| 116 | have hx := Nat.cast_le (α:=ℝ).mpr (elbow_room O R l B (by omega)) |
| 117 | push_cast at hi hx |
| 118 | apply Real.exp_monotone; unfold tagCurrency; linarith only [mul_le_mul_of_nonneg_right hi (Real.log_nonneg h2), mul_le_mul_of_nonneg_right hx (Real.log_nonneg h1)] |
| 119 | exact Real.one_le_exp (mul_nonneg (mul_nonneg (nonneg_currency ..) (by positivity)) (Nat.cast_nonneg _)) |
| 120 | |
| 121 | variable (O A : Stores S) (x W : ℝ) (V : Config G c) (k : S.Choices) (p : Rep G f) |
| 122 | (U : Config G f) (q : Chi) |
| 123 | |
| 124 | /-- All the enrolled mask, partition, tag factors for this interface, |
| 125 | but notice these do not include E activity, uncut base tails, the K |
| 126 | weights themselves, or external (unpaid) tag ratios in later uses. |
| 127 | Do not infer that these are the entire multiplier. b is the incoming list. |
| 128 | -/ |
| 129 | def due (uniform : Bool) (R : ℕ) (b : Finset ℕ) := tagConv O uniform R * insist O A x W V k U q R * |
| 130 | examine p.activities p.p b U O R |
| 131 | lemma due_bound (uniform : Bool) (R : ℕ) (b : Finset ℕ) (hm : S.patch.Branches S.kernel G) : |
| 132 | ‖due O A x W V k p U q uniform R b‖ ≤ tagConv O uniform R := by |
| 133 | obtain ⟨hh,ht⟩ : insist O A x W V k U q R ∈ Set.Icc (0:ℝ) 1 := multi_range A x W V k U q hm _ _ _ |
| 134 | obtain ⟨h1,h2⟩ := examine_range p.activities p.p b U O R |
| 135 | unfold due; rw [Real.norm_of_nonneg (by have := pos_conv O uniform R; positivity),mul_assoc] |
| 136 | apply mul_le_of_le_one_right (pos_conv ..).le ((mul_le_mul ht h2 h1 zero_le_one).trans (by norm_num)) |
| 137 | lemma due_prereq (uniform : Bool) {R : ℕ} (b : Finset ℕ) (hi : due O A x W V k p U q uniform R b ≠ 0) |
| 138 | {D : ℕ} (hl : (D+5)*radiusB x ≤ R) (hw : 0<W) (hp : 0 < fiery G x S.patch.L) (h : S.patch.Branches S.kernel G) : |
| 139 | Wide O A D x W U k V := insists O A x W V k U q hl hw hp h (right_ne_zero_of_mul (left_ne_zero_of_mul hi)) |
| 140 | lemma due_meas (uniform : Bool) (R : ℕ) (b : Finset ℕ) (h : S.patch.Branches S.kernel G) : |
| 141 | Measurable (fun U : Config G f => due O A x W V k p U q uniform R b) := by |
| 142 | exact (measurable_const.mul (multi_meas A x W V k q h (O.dome R) (qBonds O R) (qFaces O R))).mul |
| 143 | (stamp_meas p.activities p.p b _) |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | end YM.AnalyticBridge.AnnulusRatioInsertions.Dress |