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.Branch.Center |
| 2 | import YM.RG.History |
| 3 | |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Per-site budgets from the actual represented data |
| 8 | |
| 9 | E eq:mCr (11827+). Distinguish queries in pulled U across actual oriented channels |
| 10 | and treat `kept` selectors BEFORE wrapping averaging. Uses exact footprint masks. |
| 11 | No absorbing fixed-L in here. -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.RG |
| 15 | open Lattice Wilson MeasureTheory Filter Set |
| 16 | open scoped Topology Matrix.Norms.Frobenius ENNReal BigOperators |
| 17 | |
| 18 | variable {n : Side} {G : Gauge} |
| 19 | |
| 20 | /-! A deliberately weaker global budget only for extensive estimates, never |
| 21 | used to transfer the family back to hit bounds. -/ |
| 22 | theorem sumRoot {a : ℕ → Support n} (ha : ∀ i, (a i).Nonempty) |
| 23 | {b : ℕ → ℝ} {p : BudgetPoint} {w : ℝ} (hb : ∀ i, 0 ≤ b i) |
| 24 | (hB : ∀ x : Site n, SumBudget (fun i => if x ∈ a i then p.mass (a i) (b i) else 0) w) : |
| 25 | (∑' i,b i) ≤ Fintype.card (Site n)*w := by |
| 26 | let q (x : Site n) i := if x ∈ a i then p.mass (a i) (b i) else 0 |
| 27 | have h (x : Site n) : SumBudget (q x) w := hB x |
| 28 | calc |
| 29 | _ ≤ ∑' i, ∑ j, q j i := (Activities.summable_charge ha hb hB).tsum_le_tsum (fun i ↦ by |
| 30 | obtain ⟨x,hx⟩ := ha i |
| 31 | have hg : b i ≤ q x i := by unfold q; rw [if_pos hx]; exact p.loMass _ _ (hb i) |
| 32 | exact hg.trans <| Finset.single_le_sum (fun j _ => (h j).1 i) (Finset.mem_univ _)) (summable_sum (fun i _ => (h i).2.1)) |
| 33 | _ = _ := Summable.tsum_finsetSum (fun i _ => (h i).2.1) |
| 34 | _ ≤ ∑ _ : Site n,w := Finset.sum_le_sum fun _ _ ↦ (h _).2.2 |
| 35 | _ = _ := by simp |
| 36 | |
| 37 | lemma volumeE (a : Activities G n) {δ w} {p : BudgetPoint} (H : a.Valid p δ w) (U : Config G n) : |
| 38 | |a.additive p U| ≤ Fintype.card (Site n)*δ := by |
| 39 | let E := fun i => a.regularOccurrence p i U |
| 40 | have he := (Activities.ESeries H).absolute U |
| 41 | obtain ⟨b,hb,h⟩ := H.boundE |
| 42 | let P (x : Site n) i := if (a.reg i).site=x then p.mass (a.reg i).support (b i) else 0 |
| 43 | have hs : ∀ i, Summable (P i) := fun i => (h i).2.1 |
| 44 | calc |
| 45 | _ ≤ ∑' i, ‖E i‖ := norm_tsum_le_tsum_norm he |
| 46 | _ ≤ ∑' i, ∑ j, P j i := by |
| 47 | refine he.tsum_le_tsum ?_ (summable_sum fun i _ ↦ hs i); intro i |
| 48 | simp only [P,Finset.sum_ite_eq, Finset.mem_univ, ↓reduceIte] |
| 49 | refine le_trans ?_ (p.loMass _ _ (hb i).1) |
| 50 | by_cases hh : Healthy p.threshold (a.reg i).support U |
| 51 | · simp only [Activities.regularOccurrence,masked_eq _ _ _ _ hh]; exact (hb i).2 _ hh [] (Nat.zero_le _) (by simp) |
| 52 | simp only [Activities.regularOccurrence,masked_ne _ _ _ _ hh,norm_zero]; exact (hb i).1 |
| 53 | _ = _ := Summable.tsum_finsetSum (fun i _ => hs i) |
| 54 | _ ≤ ∑ _ : Site n,δ := Finset.sum_le_sum fun _ _ ↦ (h _).2.2 |
| 55 | _ = _ := by simp |
| 56 | |
| 57 | /-- absolute atom on a healthy stencil costs a full threshold on each leg -/ |
| 58 | lemma healthy_leg {k : ℕ} (a : Atom G k) (x : Site n) (U : Config G n) (t : ℝ) |
| 59 | (h : Healthy t (a.footprint x) U) (i) : ‖(a.leg i).atSite U x‖ ≤ t := by |
| 60 | let S := a.leg i |
| 61 | have he : faceValue (expandAt x U) (S.offset,S.plaq) = faceValue U (wrap n S.offset+x,S.plaq) := travel_at .. |
| 62 | have hp : S.offset∈S.stencil := Finset.mem_union_right _ (List.mem_toFinset.mpr (List.mem_cons_self)) |
| 63 | have hq : wrap n S.offset+x∈a.footprint x := Finset.mem_image.mpr ⟨_, Finset.mem_insert_of_mem (Finset.mem_biUnion.mpr ⟨i,Finset.mem_univ _,hp⟩),rfl⟩ |
| 64 | change ‖S.eval (expandAt x U)‖ ≤ t |
| 65 | rw [Slot.eval,G.norm_adjoint] |
| 66 | apply (G.curvature_norm _).trans; rw [he] |
| 67 | by_contra! hh; exact Finset.disjoint_left.mp h hq ((flags_spec ..).mpr ⟨_, List.mem_toFinset.mpr (List.mem_cons_self),hh⟩) |
| 68 | |
| 69 | lemma healthy_atom {k : ℕ} (a : Atom G k) (p : BudgetPoint) (U : Config G n) x : |
| 70 | |a.placed p U x| ≤ a.magnitude*p.threshold^k := by |
| 71 | by_cases h : Healthy p.threshold (a.footprint x) U |
| 72 | · have hh i j : |(a.leg i).atSite U x j| ≤ p.threshold := calc |
| 73 | _ = |inner ℝ (EuclideanSpace.basisFun G.ColorIndex ℝ j) ((a.leg i).atSite U x)| := by simp only [EuclideanSpace.basisFun_inner] |
| 74 | _ ≤ _ := (abs_real_inner_le_norm _ _).trans <| by rw [OrthonormalBasis.norm_eq_one,one_mul]; exact healthy_leg a _ _ _ h i |
| 75 | unfold Atom.placed; rw [masked_eq _ _ _ _ h] |
| 76 | unfold Atom.unmasked Atom.poly Atom.magnitude |
| 77 | rw [Finset.sum_mul]; refine (Finset.abs_sum_le_sum_abs ..).trans (Finset.sum_le_sum fun i _ => ?_) |
| 78 | rw [abs_mul, Finset.abs_prod] |
| 79 | refine mul_le_mul_of_nonneg_left ?_ (abs_nonneg _) |
| 80 | convert Finset.prod_le_prod (fun _ _ => abs_nonneg _) (fun j _ => hh j (i j)) using 1 |
| 81 | simp |
| 82 | unfold Atom.placed; rw [masked_ne _ _ _ _ h]; unfold Atom.magnitude; simp only [abs_zero] |
| 83 | have := p.threshold_pos |
| 84 | positivity |
| 85 | |
| 86 | lemma atomVolume {k : ℕ} (a : ℕ → Atom G k) (p : BudgetPoint) {σ B : ℝ} (U : Config G n) x |
| 87 | (hh : 0<σ) (hb : SumBudget (fun i ↦ (a i).budget σ) B) : |
| 88 | |PathData.atomSeries a p U x| ≤ B*p.threshold^k := by |
| 89 | have he := hb.2.1 |
| 90 | have h := hb.2.2 |
| 91 | calc |
| 92 | _ ≤ ∑' i, |(a i).placed p U x| := norm_tsum_le_tsum_norm ((PathData.atom_dominated a p x hh hb).absolute _) |
| 93 | _ ≤ ∑' i,(a i).budget σ*p.threshold^k := by |
| 94 | refine ((PathData.atom_dominated a p x hh hb).absolute _).tsum_le_tsum |
| 95 | (fun i => (healthy_atom (a i) p U x).trans ?_) (he.mul_right _) |
| 96 | exact mul_le_mul_of_nonneg_right (Atom.lower_budget _ _ hh) (pow_nonneg p.threshold_pos.le _) |
| 97 | _ ≤ _ := by rw [tsum_mul_right]; exact mul_le_mul_of_nonneg_right h (pow_nonneg p.threshold_pos.le _) |
| 98 | |
| 99 | def PathData.loopsPrice (p : BudgetPoint) (β C Λ : ℝ) := β*(C*p.threshold^3+C*p.threshold^4)+ Λ*p.threshold^2 |
| 100 | |
| 101 | lemma PathData.volume_price (R : PathData G) (C : Clip) (p : BudgetPoint) (β : ℝ) (hb : 0 ≤ β) (U : Config G n) |
| 102 | {σ A Λ : ℝ} (h : R.Bounds C σ A Λ) : |
| 103 | |R.principal C p β U-β * ∑ x,R.baseTerm C p U x| ≤ Fintype.card (Site n)*PathData.loopsPrice p β A Λ := by |
| 104 | have hk (x : Site n) : |atomSeries R.cubic p U x+atomSeries R.quartic p U x| ≤ A*p.threshold^3+A*p.threshold^4 := |
| 105 | (abs_add_le _ _).trans <| add_le_add (atomVolume _ _ _ _ h.width h.three) (atomVolume _ _ _ _ h.width h.four) |
| 106 | unfold principal; rw [mul_add,add_assoc, add_sub_cancel_left] |
| 107 | refine (abs_add_le ..).trans ?_ |
| 108 | rw [abs_mul, abs_of_nonneg hb] |
| 109 | have H := (Finset.abs_sum_le_sum_abs _ Finset.univ).trans (Finset.sum_le_sum fun i _ => hk i) |
| 110 | have hh := (Finset.abs_sum_le_sum_abs _ Finset.univ).trans (Finset.sum_le_sum fun i _ => atomVolume R.loop p U i h.width h.two) |
| 111 | apply (add_le_add (mul_le_mul_of_nonneg_left H hb) hh).trans_eq |
| 112 | unfold loopsPrice; simp; ring |
| 113 | |
| 114 | lemma PathData.base_nonneg (R : PathData G) (C : Clip) (p : BudgetPoint) (U : Config G n) x : |
| 115 | 0 ≤ R.baseTerm C p U x := by |
| 116 | have h := C.quadratic_pos; have he := C.tail_pos; have hg := p.threshold_pos |
| 117 | have ht := G.chord_nonneg (faceValue U x) |
| 118 | unfold baseTerm clipped; split <;> split <;> positivity |
| 119 | |
| 120 | lemma PathData.whole (R : PathData G) (C : Clip) (p : BudgetPoint) (β : ℝ) (hb : 0 ≤ β) (U : Config G n) |
| 121 | {σ A Λ : ℝ} (h : R.Bounds C σ A Λ) : |
| 122 | -(Fintype.card (Site n)*PathData.loopsPrice p β A Λ) ≤ R.inChannels C p β U := by |
| 123 | change _ ≤ Branch.avg _ |
| 124 | apply (Branch.avg_const (n:=Signed) _).symm.le.trans (Branch.avg_mono fun i => ?_) |
| 125 | let V := pull i 0 U |
| 126 | have H := (abs_le.mp (R.volume_price C p β hb V h)).1 |
| 127 | change _ ≤ R.principal C p β V |
| 128 | linarith [mul_nonneg hb (Finset.sum_nonneg (fun x (_ : x∈Finset.univ) => R.base_nonneg C p V x))] |
| 129 | end YM.RG |