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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Census |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Gram |
| 3 | import YM.Next.FREE_KERNELS.Lifts |
| 4 | import YM.Progress.STATIONARY_SCENES.Green |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Counting coordinates uniformly in sectors |
| 9 | |
| 10 | Pay via parents EVEN on wrapping lattice. Useful for Gram: far |
| 11 | operators uniform β cost in all sectors/k, post-L. Do not specialize |
| 12 | to thermodynamic limit nor store period-dependent max degrees. |
| 13 | Coordinates carry halo queries not shown here. `localCharges` later. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.ConnectedActivityE6.Census |
| 18 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory |
| 19 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 20 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Coat Green Animals |
| 21 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 22 | variable {G : Gauge} {c f : Side} {S : StepData c f} {T : Tube G S} {F : Forest S.ratio} |
| 23 | |
| 24 | def mentionPrice (L : Side) := Fintype.card Signed*(L.val^4*Fintype.card PlaqAxes*2+Fintype.card Axis) |
| 25 | def tubularPrice (G : Gauge) (L : Side) := L.val^4*Fintype.card Axis*Fintype.card G.ColorIndex |
| 26 | def aim (S : StepData c f) (x : Target c f G) := root S x.1 |
| 27 | def along (S : StepData c f) (x : Tubular f G) := atEdge S x.1 |
| 28 | lemma motion (S : StepData c f) : Census (mentionPrice S.patch.L) (root S) := by |
| 29 | have he : Census (S.patch.L.val^4*Fintype.card PlaqAxes*2+Fintype.card Axis) (focus S) := by |
| 30 | convert added (withType Bool (withType PlaqAxes (homeland S))) (withType Axis (ordinary (c:=c))) using 1; rfl |
| 31 | funext x; cases x <;> rfl |
| 32 | apply prefix_counts (p := fun s p => root S (s,p)) |
| 33 | intro s; exact permute he s.actEquiv.toEquiv |
| 34 | |
| 35 | lemma aims (S : StepData c f) : Census (mentionPrice S.patch.L*Fintype.card G.ColorIndex) (aim (G:=G) S) := |
| 36 | withType _ (motion S) |
| 37 | lemma entering (S : StepData c f) : Census (tubularPrice G S.patch.L) (along (G:=G) S) := withType _ (perch S) |
| 38 | |
| 39 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] {m : ℕ} {o : ι → Site c} |
| 40 | |
| 41 | def withinH (o : ι→Site c) (x : Site c) (n : ℕ) := univ.filter fun j => separation x (o j) ≤ n |
| 42 | lemma joins (j : ι) (x : Site c) (n : ℕ) : j∈withinH o x n ↔ separation x (o j)≤n := by simp [withinH] |
| 43 | lemma count_near (h : Census m o) (x : Site c) (n : ℕ) : (withinH o x n).card ≤ ballCost n*m := by |
| 44 | apply (le_trans ?_ (h (neighbors n x))).trans (Nat.mul_le_mul_right _ (neighbors_card ..)) |
| 45 | exact Finset.card_le_card (fun i hi => mem_filter.mpr ⟨mem_univ _, (neighbors_mem ..).mpr ((joins ..).mp hi)⟩) |
| 46 | |
| 47 | lemma for_neighbors (h : Census m o) (g : κ → ℝ) (hg : ∀ i, 0≤g i) (p : κ → Site c) (n : ℕ) : |
| 48 | ∑ i : ι, (∑ j∈withinH p (o i) n,g j) ≤ ((ballCost n:ℝ)*m)*(∑ j,g j) := by |
| 49 | unfold withinH; simp_rw [Finset.sum_filter]; rw [Finset.sum_comm, Finset.mul_sum] |
| 50 | refine Finset.sum_le_sum fun i _ => ?_ |
| 51 | simp_rw [separation_comm _ (p i),← sum_filter]; rw [sum_const, nsmul_eq_mul] |
| 52 | exact mul_le_mul_of_nonneg_right (by exact_mod_cast count_near h (p i) n) (hg _) |
| 53 | |
| 54 | def rates0 (η : ℝ) (n : ℕ) := (ballCost n:ℝ)*Real.exp (-η*n) |
| 55 | def price0 (η : ℝ) := ∑' n, rates0 η n |
| 56 | |
| 57 | lemma summons {η : ℝ} (h : 0 < η) : Summable (rates0 η) := by |
| 58 | let u (n : ℕ) := ((n+1:ℝ)^ (4:ℕ))*Real.exp (-η*n) |
| 59 | have ht := (summable_nat_add_iff 1).2 (Real.summable_pow_mul_exp_neg_nat_mul 4 h) |
| 60 | have hu : Summable u := by |
| 61 | refine (ht.mul_right (Real.exp η)).congr ?_ |
| 62 | intro b; unfold u; push_cast; rw [mul_assoc, ← Real.exp_add]; ring_nf |
| 63 | refine Summable.of_nonneg_of_le (fun i => by unfold rates0; positivity) (fun i => ?_) (hu.mul_left 16) |
| 64 | unfold u rates0 ballCost; push_cast |
| 65 | rw [← mul_assoc, show (16:ℝ)=2^4 by norm_num,←mul_pow]; gcongr; ring_nf; linarith |
| 66 | |
| 67 | lemma pays_count (h : Census m o) (x : Site c) {η : ℝ} (he : 0 < η) : |
| 68 | ∑ i : ι, wt (-η) x (o i) ≤ price0 η * m := by |
| 69 | let d (i : ι) := separation x (o i) |
| 70 | let X := univ.image d |
| 71 | have hk i : ∑ j∈X,(if d i=j then wt (-η) x (o i) else 0)=wt (-η) x (o i) := by simp [X] |
| 72 | calc |
| 73 | _ = ∑ j∈X,∑ i, (if d i=j then wt (-η) x (o i) else 0) := by rw [sum_comm]; simp_rw [hk] |
| 74 | _ ≤ ∑ j∈X, rates0 η j*m := by |
| 75 | apply sum_le_sum; intro j _; rw [← sum_filter] |
| 76 | let K := univ.filter fun i : ι => d i=j |
| 77 | have hv : K.card ≤ ballCost j*m := |
| 78 | (card_le_card (show K ⊆ withinH o x j from fun i hi => (joins ..).mpr ((mem_filter.mp hi).2.le))).trans (count_near h x j) |
| 79 | calc |
| 80 | _ = ∑ _i∈K,Real.exp (-η*j) := Finset.sum_congr rfl fun i hi => congr_arg (fun n : ℕ => Real.exp (-η*n)) ((mem_filter.mp hi).2 : d i=j) |
| 81 | _ ≤ ((ballCost j:ℝ)*m)*Real.exp (-η*j) := by rw [sum_const,nsmul_eq_mul]; gcongr; exact_mod_cast hv |
| 82 | _ = _ := by unfold rates0; ring |
| 83 | _ ≤ _ := by |
| 84 | rw [← Finset.sum_mul]; gcongr; exact (summons he).sum_le_tsum _ fun i _ => by unfold rates0; positivity |
| 85 | |
| 86 | omit [Fintype κ] in |
| 87 | lemma rows (h : Census m o) (x : κ → Site c) (A : Matrix κ ι ℝ) {r η Q : ℝ} (hQ : 0 ≤ Q) (hr : r < η) |
| 88 | (ht : ∀ i j, wt η (x i) (o j)*|A i j| ≤ Q) : Rows x o A r (price0 (η-r)*m*Q) := by |
| 89 | intro i |
| 90 | apply le_trans _ (mul_le_mul_of_nonneg_right (pays_count h (x i) (sub_pos.mpr hr)) hQ) |
| 91 | rw [sum_mul]; apply sum_le_sum; intro j _ |
| 92 | have hs : wt r (x i) (o j)=wt (-(η-r)) (x i) (o j)*wt η (x i) (o j) := by |
| 93 | unfold wt; rw [← Real.exp_add]; congr 1; ring |
| 94 | rw [hs,mul_assoc]; exact mul_le_mul_of_nonneg_left (ht i j) (wt_pos ..).le |
| 95 | end YM.ConnectedActivityE6.Census |