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.VERIFIED_RESET_STEP.Geometry |
| 2 | |
| 3 | /-! Exact square completion and clover analogue on the covered row pairs. |
| 4 | All regroupings charged; uses symbol0 of the actual PathData. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.AnalyticBridge.VerifiedReset |
| 8 | open Function Filter Set Lattice Wilson RG UVNext.PricedKernels Next.Scheduling Work.F03 WilsonStartup Push.AbsoluteSums |
| 9 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 10 | variable {G : Gauge} {n : Side} {p : BudgetPoint} |
| 11 | namespace Low |
| 12 | variable {R : PathData G} {c : Clip} {σ C Λ : ℝ} |
| 13 | |
| 14 | lemma label_sum {f : Low → ℝ} (hf : Summable f) : (∑' d, f d) = ∑ a, (f (a,.inl ()) + ∑' j, f (a,.inr j)) := by |
| 15 | rw [hf.tsum_prod,tsum_fintype]; exact Finset.sum_congr rfl fun a _ => by |
| 16 | rw [Summable.tsum_sum (f:=fun i : Duo => f (a,i)) Summable.of_finite ((hf.prod_factor a).comp_injective Sum.inr_injective), tsum_fintype]; simp |
| 17 | |
| 18 | lemma paired (f : ℕ → G.Color) (h : Summable (fun i => ‖f i‖)) : |
| 19 | Summable (fun j : ℕ × ℕ => inner ℝ (f j.1) (f j.2) / 2) ∧ |
| 20 | ∑' j : ℕ × ℕ, inner ℝ (f j.1) (f j.2) / 2 = ‖∑' i, f i‖^2 / 2 := by |
| 21 | have ht : SumBudget (fun i => ‖f i‖) (∑' i, ‖f i‖) := ⟨fun _ => norm_nonneg _,h,le_rfl⟩ |
| 22 | have hs : Summable (fun j : ℕ × ℕ => inner ℝ (f j.1) (f j.2)) := Summable.of_norm_bounded (budget_prod ht ht).2.1 fun j => abs_real_inner_le_norm .. |
| 23 | have he (x : G.Color) : ∑' j, inner ℝ x (f j) = inner ℝ x (∑' i, f i) := ((innerSL ℝ x).map_tsum h.of_norm).symm |
| 24 | refine ⟨hs.div_const 2, ?_⟩ |
| 25 | rw [tsum_div_const,hs.tsum_prod,← real_inner_self_eq_norm_sq] |
| 26 | simp_rw [he, fun i => real_inner_comm (∑' i, f i) (f i),he] |
| 27 | lemma mark_sum (h : R.Bounds c σ C Λ) : Summable fun d : Low => |d.mark R c| := |
| 28 | (Geo.lower_budget G R h).2.1.of_nonneg_of_le (fun d => abs_nonneg _) (fun d => |
| 29 | le_mul_of_one_le_right (abs_nonneg _) (Real.one_le_exp (mul_nonneg h.width.le (by positivity)))) |
| 30 | |
| 31 | lemma live_sum (h : R.Bounds c σ C Λ) (hw : Geo.Width p c σ) (o : Site n) (U : Config G n) : Summable (fun d => live R c d p o U) := by |
| 32 | let f (d : Low) := |d.mark R c| * Real.exp ((d.length R:ℝ)/c.relaxation) |
| 33 | have hs : Summable f := (Geo.lower_budget G R h).2.1.of_nonneg_of_le (fun i => by unfold f; positivity) (fun d => by |
| 34 | unfold f; gcongr |
| 35 | exact (div_le_iff₀ c.radius_pos).mpr (by nlinarith [hw.2.1,Nat.cast_nonneg (α:=ℝ) (d.length R)])) |
| 36 | exact Summable.of_norm_bounded (hs.mul_right (2*p.threshold)) fun d => (d.shapeBound R c o U).trans_eq (by unfold f; ring) |
| 37 | lemma plain_sum (h : R.Bounds c σ C Λ) (o : Site n) (U : Config G n) : Summable fun d => mark R c d * plain R d o U := by |
| 38 | apply Summable.of_norm_bounded ((mark_sum h).mul_right 2); intro d |
| 39 | rw [norm_mul,Real.norm_eq_abs,Real.norm_eq_abs]; gcongr |
| 40 | cases e : d.2 |
| 41 | · change |Sum.elim _ _ d.2| ≤ (2:ℝ); rw [e]; exact (abs_of_nonneg (G.price_range _).1).trans_le (G.price_range _).2 |
| 42 | have hh (s : Slot) := s.eval_norm (expandAt o U) |
| 43 | unfold plain; rw [e,Sum.elim_inr, abs_div, abs_of_pos (by norm_num : (0:ℝ)<2)] |
| 44 | exact (div_le_iff₀ (by norm_num)).mpr ((abs_real_inner_le_norm ..).trans (mul_le_mul (hh _) (hh _) (norm_nonneg _) (by norm_num))) |
| 45 | lemma masked_summable {ι : Type*} (X : ι → Support n) (f : ι → Pot G n) (U : Config G n) (t : ℝ) (h : Summable fun i => f i U) : |
| 46 | Summable fun i => masked t (X i) (f i) U := Summable.of_norm_bounded h.norm fun i => by |
| 47 | by_cases he : Healthy t (X i) U <;> simp [masked_ne,masked_eq,he] |
| 48 | lemma maskedPlain_sum (h : R.Bounds c σ C Λ) (p : BudgetPoint) (o : Site n) (U : Config G n) : Summable (fun d => maskedPlain R c d o p U) := |
| 49 | masked_summable _ _ _ _ (plain_sum h o U) |
| 50 | |
| 51 | lemma analogue_sum (h : R.Bounds c σ C Λ) (w : Flux G) : Summable fun d => mark R c d * analogue R d w := by |
| 52 | let K := ∑ i, ‖w i‖ |
| 53 | have hk i : ‖w i‖ ≤ K := Finset.single_le_sum (fun i _ => norm_nonneg (w i)) (Finset.mem_univ i) |
| 54 | have he (a b) : |inner ℝ (w a) (w b) / 2| ≤ K*(K/2) := by |
| 55 | rw [abs_div, abs_of_pos (by norm_num : (0:ℝ)<2), ← mul_div_assoc] |
| 56 | exact div_le_div_of_nonneg_right ((abs_real_inner_le_norm ..).trans (mul_le_mul (hk a) (hk b) (norm_nonneg _) ((norm_nonneg _).trans (hk a)))) (by norm_num) |
| 57 | apply Summable.of_norm_bounded ((mark_sum h).mul_right (K*(K/2))); intro d |
| 58 | rw [norm_mul]; refine mul_le_mul_of_nonneg_left ?_ (norm_nonneg _) |
| 59 | unfold analogue; cases e : d.2 <;> exact he .. |
| 60 | lemma proxy_sum (h : R.Bounds c σ C Λ) (p : BudgetPoint) (o : Site n) (U : Config G n) : Summable fun d => mark R c d * masked p.threshold {o} (proxy R d o) U := by |
| 61 | by_cases he : Healthy p.threshold {o} U |
| 62 | · simp_rw [masked_eq _ _ _ _ he]; exact analogue_sum h _ |
| 63 | simp_rw [masked_ne _ _ _ _ he,mul_zero]; exact summable_zero |
| 64 | |
| 65 | lemma rowPair (h : R.Bounds c σ C Λ) (o : Site n) (a : PlaqAxes) (U : Config G n) : |
| 66 | (∑' (j : ℕ × ℕ), mark R c (a,.inr j) * plain R (a,.inr j) o U) = ‖R.ell U (o,a)‖^2 / 2 := by |
| 67 | convert (paired _ ((R.ell_dominated h (o,a)).absolute U)).2 using 1 |
| 68 | exact tsum_congr fun j => by simp [PathData.ellTerms, plain,mark,left,right, real_inner_smul_left,real_inner_smul_right]; ring |
| 69 | rfl |
| 70 | lemma live_total (h : R.Bounds c σ C Λ) (hw : Geo.Width p c σ) (o : Site n) (U : Config G n) : |
| 71 | (∑' d, live R c d p o U) = ∑ a, R.baseTerm c p U (o,a) := by |
| 72 | rw [label_sum (live_sum h hw o U)] |
| 73 | exact Finset.sum_congr rfl fun a _ => by |
| 74 | by_cases he : PathData.kept c p.threshold o U <;> |
| 75 | simp only [live,he,↓reduceIte,PathData.baseTerm,Sum.elim_inl,Sum.elim_inr,tsum_zero, rowPair h] |
| 76 | lemma plain_total (h : R.Bounds c σ C Λ) (o : Site n) (U : Config G n) : |
| 77 | (∑' d, mark R c d * plain R d o U) = ∑ a, (c.direct*G.price (faceValue U (o,a)) + ‖R.ell U (o,a)‖^2/2) := by |
| 78 | rw [label_sum (plain_sum h o U)]; exact Finset.sum_congr rfl fun a _ => congrArg (c.direct*G.price (faceValue U (o,a)) + ·) (rowPair h o a U) |
| 79 | |
| 80 | private def symbolRow (R : PathData G) (a : PlaqAxes) (w : Flux G) := ∑ i, R.symbol0 a i • w i |
| 81 | private lemma analogue_pair (h : R.Bounds c σ C Λ) (a : PlaqAxes) (w : Flux G) : |
| 82 | (∑' (j : ℕ × ℕ), mark R c (a,.inr j) * analogue R (a,.inr j) w) = ‖symbolRow R a w‖^2 / 2 := by |
| 83 | let c (b : PlaqAxes) i := if (R.row a i).2.plaq=b then (R.row a i).1 else 0 |
| 84 | let f i := (R.row a i).1 • w (R.row a i).2.plaq |
| 85 | have hf : f = fun i => ∑ b, c b i • w b := funext fun i => by simp [f,c,ite_smul] |
| 86 | have hs := summable_sum (s:=Finset.univ) (fun b _ => (h.symTerms a b).smul_const (w b)) |
| 87 | have he : symbolRow R a w = ∑' i, f i := by |
| 88 | rw [hf,Summable.tsum_finsetSum (f:=fun b i => c b i • w b) (fun b _ => (h.symTerms a b).smul_const (w b))] |
| 89 | simp_rw [symbolRow,PathData.symbol0,← (h.symTerms a _).tsum_smul_const]; rfl |
| 90 | have hF : Summable f := hf ▸ hs |
| 91 | rw [he,← (paired _ hF.norm).2]; exact tsum_congr fun j => by simp [f,mark,analogue,left,right,real_inner_smul_left,real_inner_smul_right]; ring |
| 92 | |
| 93 | private lemma symbol_pair (a : PlaqAxes) (w : Flux G) : ‖symbolRow R a w‖^2 = |
| 94 | ∑ b, ∑ i, R.symbol0 a b * R.symbol0 a i * inner ℝ (w b) (w i) := by |
| 95 | simp only [← real_inner_self_eq_norm_sq, symbolRow,sum_inner,inner_sum,real_inner_smul_left,real_inner_smul_right,mul_assoc] |
| 96 | exact Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => by rw [real_inner_comm (w j) (w i)] |
| 97 | private lemma metric_test (h : R.Bounds c σ C Λ) (w : Flux G) : |
| 98 | (∑ a, (c.direct*‖w a‖^2 + ‖symbolRow R a w‖^2)) = ∑ a, ‖w a‖^2 := by |
| 99 | simp_rw [symbol_pair, Finset.sum_add_distrib] |
| 100 | have he b : c.direct*‖w b‖^2 = ∑ i, (if b=i then c.direct else 0)*inner ℝ (w b) (w i) := by simp [ite_mul] |
| 101 | simp_rw [he] |
| 102 | rw [Finset.sum_comm (f:=fun a b => ∑ i, R.symbol0 a b * R.symbol0 a i * inner ℝ (w b) (w i)),← Finset.sum_add_distrib] |
| 103 | refine Finset.sum_congr rfl fun b _ => ?_ |
| 104 | rw [Finset.sum_comm (f:=fun a i => R.symbol0 a b * R.symbol0 a i * inner ℝ (w b) (w i)),← Finset.sum_add_distrib] |
| 105 | simp_rw [← Finset.sum_mul,← add_mul,h.metric _ _] |
| 106 | simp [ite_mul] |
| 107 | lemma analogue_total (h : R.Bounds c σ C Λ) (w : Flux G) : |
| 108 | (∑' d, mark R c d * analogue R d w) = (∑ i, ‖w i‖^2) / 2 := by |
| 109 | rw [label_sum (analogue_sum h w),← metric_test h, Finset.sum_div]; refine Finset.sum_congr rfl fun a _ => ?_ |
| 110 | rw [analogue_pair h]; simp only [mark,analogue,Sum.elim_inl,real_inner_self_eq_norm_sq]; ring |
| 111 | end Low |
| 112 | end YM.AnalyticBridge.VerifiedReset |