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.MultiNext.SIGNED_SOURCE_CONTINUATION.Funnel |
| 2 | import YM.Push.CUTOFF_PROJECTORS.Along |
| 3 | import YM.Push.PRICE_COMPILER.Suppression |
| 4 | |
| 5 | set_option warningAsError false |
| 6 | |
| 7 | /-! |
| 8 | # Summing tangent readings on the actual coefficient alphabet |
| 9 | No exchanging unconditioned multi-body draws or densities. Compile to |
| 10 | linear evaluation at each config incl the constrained gas (possible |
| 11 | finite volume cost! use differently for attenuation). `Pack` trick after |
| 12 | B70Connected: press same zone & inventory WITH actual values and flags, |
| 13 | regardless how many indices share them. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.MultiNext.SignedSource |
| 18 | open Function Filter MeasureTheory RG Wilson Lattice Labels Source |
| 19 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 20 | open Body Multi Push.RelayDifference |
| 21 | variable {G : Gauge} {n : Side} {e : ℕ} {F : Frame G e} {R : Rep G n} {o : Site n} |
| 22 | variable {U : GridU n} {κ r : ℝ} |
| 23 | |
| 24 | section |
| 25 | variable (R) (x : Config G n) |
| 26 | |
| 27 | def porter (C : SectionData F) (o : Site n) : F.Coeff →L[ℂ] ℂ := LinearMap.toContinuousLinearMap |
| 28 | { toFun v := v 0 + masked R.p.threshold (C.footprint o) |
| 29 | (C.places (F.scaled R.p.threshold⁻¹ (F.core v)) o) x |
| 30 | map_add' v w := by |
| 31 | by_cases hh : Healthy R.p.threshold (C.footprint o) x <;> simp [hh,SectionData.places,SectionData.evaluate]; ring |
| 32 | map_smul' z v := by |
| 33 | by_cases hh : Healthy R.p.threshold (C.footprint o) x <;> simp [hh,SectionData.places,SectionData.evaluate]; ring } |
| 34 | |
| 35 | def punch : (Multi.Pack n → ℂ) →L[ℂ] ℂ := LinearMap.toContinuousLinearMap |
| 36 | { toFun v := (Real.exp (R.exponent x):ℂ) * ∑ b∈Multi.Pack.clears (flags R.p.threshold x), |
| 37 | ∑ i∈b,v i * ∏ k∈b.erase i, Multi.incumbent R x k |
| 38 | map_add' := by intros; simp [add_mul,Finset.sum_add_distrib,mul_add] |
| 39 | map_smul' := by intros; simp [mul_assoc,←Finset.mul_sum]; ring } |
| 40 | abbrev press (D : Body F n) (q : Multi.Pack n) := Multi.Pack.collect R (fun i => flag D i x) q |
| 41 | |
| 42 | lemma billed_reduces (D : Body F n) (C : SectionData F) {a b c d w : ℝ} (h : R.Lawful a b c d w) (he : cap o R U D κ r) : |
| 43 | density D o C R U x=(R.eval x:ℂ)*(porter R x C o (coord D)+∑' i,masked R.p.threshold (U i) (payload D i) x)+ |
| 44 | punch R x (press R x D) := by |
| 45 | rw [Body.density,← Multi.BranchOne.present (serves ..) C o h he]; rfl |
| 46 | end |
| 47 | |
| 48 | section Supply |
| 49 | variable {I : Type*} {c : I→ℝ} (D : I → Body F n) (S : I → GridU n) |
| 50 | variable (κ) (T : ∀ i,Tally o R (S i) (D i) κ (c i)) (hc : Summable c) |
| 51 | include T hc |
| 52 | lemma flag_book (x : Config G n) : |
| 53 | Summable (Function.uncurry fun i j => ‖flag (D i) j x‖) := by |
| 54 | have hk i : ∑' j, (T i).stamp j ≤ κ*c i := ((T i).bare_cost.2.2.2).trans (mul_le_mul_of_nonneg_left |
| 55 | (((le_add_of_nonneg_left (T i).e_nn).trans (T i).pay)) (T i).k_pos.le) |
| 56 | have he := sumcast (f:=fun i j => (T i).stamp j) (fun i => |
| 57 | ⟨fun j => ((T i).tag j).1, (T i).bare_cost.2.2.1, hk i⟩) (hc.mul_left κ) |
| 58 | exact he.2.1.of_nonneg_of_le (fun _ => norm_nonneg _) fun ⟨i,j⟩ => ((T i).tag j).2 x |
| 59 | lemma flag_gather (x : Config G n) (q : Pack n) : |
| 60 | Summable fun y : I×ℕ => if Pack.ofAddress R.activities y.2=q then flag (D y.1) y.2 x else 0 := |
| 61 | Summable.of_norm ((flag_book κ D S T hc x).of_nonneg_of_le |
| 62 | (fun y => norm_nonneg (if Pack.ofAddress R.activities y.2=q then flag (D y.1) y.2 x else 0)) (fun i => by |
| 63 | split <;> change _ ≤ ‖flag (D i.1) i.2 x‖ <;> simp)) |
| 64 | lemma pressed (x : Config G n) (f : I × ℕ ↪ ℕ) : |
| 65 | press R x (rollup f D) = ∑' i, press R x (D i) ∧ Summable (fun i => press R x (D i)) := by |
| 66 | have ht (q) := (flag_gather κ D S T hc x q).prod |
| 67 | have hh : Summable (fun i => press R x (D i)) := Pi.summable.mpr ht |
| 68 | refine ⟨funext (fun q => ?_),hh⟩ |
| 69 | rw [tsum_apply hh]; unfold press Pack.collect |
| 70 | have he (k : ℕ) : (if Pack.ofAddress R.activities k=q then flag (rollup f D) k x else 0) = |
| 71 | ∑' i, if Pack.ofAddress R.activities k=q then flag (D i) k x else 0 := by |
| 72 | split <;> rename_i h |
| 73 | · rfl |
| 74 | simp |
| 75 | simp_rw [he]; apply Summable.tsum_comm |
| 76 | exact flag_gather κ D S T hc x q |
| 77 | |
| 78 | lemma mask_book (x : Config G n) : |
| 79 | Summable (Function.uncurry fun i j => ‖masked R.p.threshold (S i j) (payload (D i) j) x‖) := by |
| 80 | have he := sumcast (f:=fun i j => (T i).seed j) (u:=c) (fun i => |
| 81 | lower_budget (T i).bare_cost.1 ((le_add_of_nonneg_right (T i).b_nn).trans (T i).pay) ((T i).bare_cost.1.1) (fun _ => le_rfl)) hc |
| 82 | apply he.2.1.of_nonneg_of_le (fun i => norm_nonneg _) fun ⟨i,j⟩ => ?_ |
| 83 | dsimp |
| 84 | have hh := (T i).sexp j |
| 85 | by_cases h : Healthy R.p.threshold (S i j) x |
| 86 | · rw [masked_eq _ _ _ _ h] |
| 87 | exact hh.2 x h [] (by simp) (by simp) |
| 88 | rw [masked_ne _ _ _ _ h,norm_zero]; exact hh.1 |
| 89 | lemma mask_gather (x : Config G n) (f : I × ℕ ↪ ℕ) (hf : ∀ k : I × ℕ,U (f k)=S k.1 k.2) : |
| 90 | (∑' i, masked R.p.threshold (U i) (payload (rollup f D) i) x)= |
| 91 | ∑' i,∑' j,masked R.p.threshold (S i j) (payload (D i) j) x := by |
| 92 | let g i := masked R.p.threshold (U i) (payload (rollup f D) i) x |
| 93 | have he : support g ⊆ Set.range f := by |
| 94 | intro i hi; by_contra ht |
| 95 | apply hi |
| 96 | unfold g |
| 97 | change masked _ _ (hang f (fun j => payload (D j.1) j.2) _) _ = _; rw [hang_out _ _ _ ht] |
| 98 | by_cases h : Healthy R.p.threshold (U i) x <;> simp [h] |
| 99 | have hx (v : I × ℕ) : g (f v)=masked R.p.threshold (S v.1 v.2) (payload (D v.1) v.2) x := by |
| 100 | unfold g; rw [hf]; exact congr_arg (fun h => masked R.p.threshold (S v.1 v.2) h x) (hang_at f (fun k => payload (D k.1) k.2) v) |
| 101 | change ∑' i,g i=_; rw [← f.injective.tsum_eq he]; simp_rw [hx] |
| 102 | have hq := (mask_book κ D S T hc x).of_norm.tsum_prod |
| 103 | exact hq |
| 104 | end Supply |
| 105 | |
| 106 | variable {I : Type*} [Countable I] |
| 107 | variable (f : I × ℕ ↪ ℕ) (D : I → Body F n) (S : I → GridU n) |
| 108 | variable (hf : ∀ k : I × ℕ,U (f k)=S k.1 k.2) |
| 109 | include hf |
| 110 | |
| 111 | omit [Countable I] in |
| 112 | lemma density_rollup {a b d g w : ℝ} (h : R.Lawful a b d g w) (X : SectionData F) {c : I → ℝ} |
| 113 | (T : ∀ i,Tally o R (S i) (D i) κ (c i)) (hh : ∀ i,F.coeffSize (coord (D i)) ≤ c i) |
| 114 | (hc : SumBudget c r) (hk : 0 < κ) (x : Config G n) : |
| 115 | density (rollup f D) o X R U x = ∑' i, density (D i) o X R (S i) x := by |
| 116 | let y i := coord (D i) |
| 117 | have hs : Summable y := (count_many hh hc).1.of_norm |
| 118 | have hp : Summable (Function.uncurry fun i j => masked R.p.threshold (S i j) (payload (D i) j) x) := |
| 119 | (mask_book κ D S T hc.2.1 x).of_norm |
| 120 | obtain ⟨hP,hK⟩ := pressed κ D S T hc.2.1 x f |
| 121 | rw [billed_reduces R x _ X h (Tally.rollup f D S hf T hk hc),hP, mask_gather κ D S T hc.2.1 x f hf, |
| 122 | (punch ..).map_tsum hK, show coord (rollup f D) = ∑' i, y i from rfl,(porter ..).map_tsum hs] |
| 123 | have hv i := billed_reduces R x (D i) X h (T i).billed |
| 124 | let u := porter R x X o |
| 125 | let v := punch R x |
| 126 | have h1 := (hs.hasSum.map u u.continuous).summable |
| 127 | have h2 := (hK.hasSum.map v v.continuous).summable |
| 128 | have h3 := (h1.add hp.prod).mul_left (R.eval x:ℂ) |
| 129 | simp_rw [hv]; exact Eq.symm ((h3.tsum_add h2).trans (by rw [tsum_mul_left,h1.tsum_add hp.prod]; rfl)) |
| 130 | end YM.MultiNext.SignedSource |