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.FLUCTUATIONS.Charts |
| 2 | import YM.Push.STATIONARY_UNIFORM.FrameScore |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # The minimizers really are in these balls |
| 7 | |
| 8 | Quantitatively with preselected gauge-chart costs. Work in full physical |
| 9 | configuration, ties in tags harmless on this actual branch. Uniform in the |
| 10 | number of blocks. Does not look at any gas or masks. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Push.Uniform |
| 15 | open Lattice Wilson RG Precision Pressure Gauge |
| 16 | open Next.Fluctuations Filter Function Set Metric |
| 17 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace Classical |
| 18 | |
| 19 | variable {G : Gauge} |
| 20 | |
| 21 | section Compare |
| 22 | |
| 23 | variable (P : Patch) {U : CoverConfig G} {r C δ D : ℝ} {h : P.Frame G} |
| 24 | |
| 25 | lemma average_le_const {ι : Type*} [Fintype ι] [Nonempty ι] (f : ι → ℝ) (hf : ∀ i, f i ≤ r) : Patch.average f ≤ r := by |
| 26 | have hm : 0 < (Fintype.card ι:ℝ) := by positivity |
| 27 | apply (mul_le_mul_of_nonneg_left (Finset.sum_le_sum (g:=fun _ => r) (fun i _ => hf i)) (show 0 ≤ (Fintype.card ι:ℝ)⁻¹ by positivity)).trans |
| 28 | simp [hm.ne'] |
| 29 | |
| 30 | lemma point_le_average {ι : Type*} [Fintype ι] (f : ι → ℝ) (hf : ∀ i, 0 ≤ f i) (i : ι) : |
| 31 | f i ≤ (Fintype.card ι:ℝ)*Patch.average f := by |
| 32 | haveI := Nonempty.intro i; have hm : 0 < (Fintype.card ι:ℝ) := by positivity |
| 33 | unfold Patch.average; rw [mul_inv_cancel_left₀ hm.ne'] |
| 34 | exact Finset.single_le_sum (fun i _ => hf i) (Finset.mem_univ i) |
| 35 | |
| 36 | lemma average_nonneg' {ι : Type*} [Fintype ι] (f : ι → ℝ) (h : ∀ i, 0≤f i) : 0 ≤ Patch.average f := |
| 37 | mul_nonneg (by positivity) (Finset.sum_nonneg fun i _ => h i) |
| 38 | |
| 39 | lemma price_of_chord (v : G.El) (h : G.chord v ≤ r) : G.price v ≤ r^2/2 := by |
| 40 | have he := G.chord_price v |
| 41 | have hh := pow_le_pow_left₀ (G.chord_nonneg v) h 2 |
| 42 | linarith |
| 43 | |
| 44 | def ClosePaths (U : CoverConfig G) (r : ℝ) := ∀ (i j : P.Points) (l : Lattice.Order), |
| 45 | G.chord (travel U i.val (route i.val j.val l)) ≤ r |
| 46 | |
| 47 | lemma minimizing_used (h : ClosePaths P U r) (K : KernelChoices) (hr : 3*r < K.frame_cut) : P.usesMin K U := by |
| 48 | intro k l x v |
| 49 | unfold Patch.via Patch.axial |
| 50 | apply lt_of_le_of_lt (G.chord_triangle _ _) (lt_of_le_of_lt _ hr); rw [G.chord_inv] |
| 51 | have hh (i j : P.Points) := h i j l |
| 52 | apply (add_le_add ((G.chord_triangle _ _).trans (add_le_add (h P.center x k) (hh x v))) (h P.center v k)).trans |
| 53 | linarith |
| 54 | |
| 55 | -- Charge by one term against whole average, not the stronger L powers needed in centering. |
| 56 | def alignCost := 1 + (points P)^2 * (Fintype.card Lattice.Order:ℝ) |
| 57 | lemma align_pos : 0 < alignCost P := by unfold alignCost; positivity |
| 58 | |
| 59 | lemma cluster_root (hm : P.minimizing U h) (hr : ClosePaths P U r) (i : P.Points) : |
| 60 | G.chord (h i) ≤ alignCost P*r := by |
| 61 | have hx : P.score U h ≤ r^2/2 := (hm.2 1 rfl).trans (average_le_const _ fun i => average_le_const _ fun j => average_le_const _ fun l => |
| 62 | price_of_chord _ (by simpa [Patch.via] using hr i j l)) |
| 63 | let q (i j : P.Points) (l : Lattice.Order) := G.price (P.via h U i j l) |
| 64 | have hq (i j l) : 0 ≤ q i j l := (G.price_range _).1 |
| 65 | let m := (Fintype.card Lattice.Order:ℝ); let p := points P |
| 66 | have hp : 1 ≤ p := points_ge _; have hO : 1 ≤ m := by unfold m; exact_mod_cast (Fintype.card_pos (α:=Lattice.Order)) |
| 67 | have ht : q i P.center 1 ≤ p^2*m*(r^2/2) := calc |
| 68 | _ ≤ m * Patch.average (q i P.center) := point_le_average _ (hq i P.center) _ |
| 69 | _ ≤ m * (p * Patch.average (fun j => Patch.average (q i j))) := by |
| 70 | apply mul_le_mul_of_nonneg_left _ (by linarith); exact point_le_average _ (fun j => average_nonneg' _ (hq i j)) _ |
| 71 | _ ≤ m * (p * (p * P.score U h)) := mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (point_le_average |
| 72 | (fun i => Patch.average (fun j => Patch.average (q i j))) (fun i => average_nonneg' _ fun j => average_nonneg' _ (hq i j)) _) (by linarith)) (by linarith) |
| 73 | _ = p^2*m*P.score U h := by ring |
| 74 | _ ≤ _ := mul_le_mul_of_nonneg_left hx (mul_nonneg (sq_nonneg _) (by linarith)) |
| 75 | let A := travel U i.val (route i.val P.center.val 1) |
| 76 | have hA : G.chord A ≤ r := hr _ _ _ |
| 77 | have hy : q i P.center 1 = G.price (h i * A) := by simp [q,A,Patch.via,hm.1] |
| 78 | rw [hy] at ht |
| 79 | have hs := G.chord_price (h i * A) |
| 80 | have h₁ : 1 ≤ p^2*m := one_le_mul_of_one_le_of_one_le (one_le_pow₀ hp) hO |
| 81 | have h₂ : 0 ≤ r := (G.chord_nonneg A).trans hA |
| 82 | have hv : G.chord (h i * A) ≤ (p^2*m)*r := by |
| 83 | have he : G.chord (h i * A)^2 ≤ (p^2*m)*(r^2) := by linarith |
| 84 | apply (sq_le_sq₀ (G.chord_nonneg _) (mul_nonneg (by linarith) h₂)).mp |
| 85 | rw [mul_pow _ r]; exact he.trans (mul_le_mul_of_nonneg_right (le_self_pow₀ h₁ (by decide)) (sq_nonneg r)) |
| 86 | calc |
| 87 | _ = G.chord (h i * A * A⁻¹) := by simp |
| 88 | _ ≤ G.chord (h i * A) + G.chord A := by rw [← G.chord_inv A]; exact G.chord_triangle _ _ |
| 89 | _ ≤ (p^2*m)*r + r := add_le_add hv hA |
| 90 | _ = _ := by unfold p m alignCost; ring |
| 91 | |
| 92 | /-- The available chart estimate on the *group* not universal ambient |
| 93 | matrices. -/ |
| 94 | def LogReceipt (G : Gauge) (C δ : ℝ) : Prop := 0<C ∧ 0<δ ∧ |
| 95 | ∀ u : G.El, G.chord u ≤ δ → G.lieExp (G.plog (G.mat u)) = u ∧ |
| 96 | ‖G.plog (G.mat u)‖ ≤ C * G.chord u |
| 97 | |
| 98 | lemma log_receipt (G : Gauge) : ∃ C δ, LogReceipt G C δ := log_chart_cost G |
| 99 | |
| 100 | def ofFrame (h : P.Frame G) : P.FrameCoordinates G := |
| 101 | WithLp.toLp 2 (fun i => G.plog (G.mat (h i.1.val)) i.2) |
| 102 | |
| 103 | lemma minimizing_writes (hc : LogReceipt G C δ) (hm : P.minimizing U h) |
| 104 | (hr : ClosePaths P U r) (he : alignCost P*r ≤ δ) : |
| 105 | P.frameFromCoordinates G (ofFrame P h) = h ∧ ‖ofFrame P h‖ ≤ (points P)*C*alignCost P*r := by |
| 106 | let v := ofFrame P h |
| 107 | have hv (i) : readLog P i v = G.plog (G.mat (h i)) := by |
| 108 | by_cases h : i = P.center |
| 109 | · subst i; simp only [hm.1,G.mat_one, G.plog_one, read_center] |
| 110 | ext j |
| 111 | rw [read_away P h]; rfl |
| 112 | have hh (i) := hc.2.2 _ ((cluster_root P hm hr i).trans he) |
| 113 | refine ⟨funext fun i => ?_,?_⟩ |
| 114 | · change P.frameFromCoordinates G v i = _ |
| 115 | rw [frame_read,hv]; exact (hh i).1 |
| 116 | let M := C * (alignCost P*r) |
| 117 | have hM (i) : ‖readLog P i v‖ ≤ M := by rw [hv]; exact ((hh i).2).trans (mul_le_mul_of_nonneg_left (cluster_root P hm hr i) hc.1.le) |
| 118 | have hn := (norm_nonneg _).trans (hM P.center) |
| 119 | have hp := points_ge P |
| 120 | have ht : ‖v‖ ≤ points P * M := by |
| 121 | apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (by linarith) hn)).mp |
| 122 | rw [frame_counting P v,mul_pow]; apply (Finset.sum_le_sum (g:=fun _ => M^2) (fun i _ => pow_le_pow_left₀ (norm_nonneg _) (hM i) _)).trans |
| 123 | simp only [Finset.sum_const,Finset.card_univ,nsmul_eq_mul]; exact mul_le_mul_of_nonneg_right (le_self_pow₀ hp (by decide)) (sq_nonneg _) |
| 124 | apply ht.trans; unfold M; exact le_of_eq (by ring) |
| 125 | |
| 126 | end Compare |
| 127 | end YM.Push.Uniform |