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.Bid.Kitchen |
| 2 | import YM.Progress.DIRECTED_RECIPE.Shelves |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # All raw addresses on the shelves |
| 7 | |
| 8 | E, forced kernels and the pre-fusion soft atoms. This is not startup or |
| 9 | an expansion of the effective energy. It shows the fixed dictionary can be |
| 10 | used without anticipating the supports, with full price and incidence *at |
| 11 | those supports* and across the band where required. In particular this part |
| 12 | of baking does not require rerunning ancestry/scheduling once one knows the |
| 13 | right flags. (see also 9710--25). |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Progress.DirectedRecipe |
| 19 | namespace Rack |
| 20 | open Function Set RG Ovens Ovens.Pipes Wilson Lattice MeasureTheory RG.Shoot Filter |
| 21 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 22 | |
| 23 | variable {G : Gauge} {n : Side} (X : Pipes G n) |
| 24 | |
| 25 | def up : Ovens.Label ↪ Ovens.Label := Embedding.sumMap (upK X) (upS X) |
| 26 | |
| 27 | |
| 28 | lemma up_right (i : ℕ) : up X (.inr i) = .inr (upS X i) := rfl |
| 29 | |
| 30 | lemma same_patch (l : Ovens.Label) : (drawer G n).patch (up X l) = X.patch l := by |
| 31 | cases l with |
| 32 | | inl j => |
| 33 | change ((drawer G n).kernel (upK X j)).support = _ |
| 34 | rw [hard_up]; rfl |
| 35 | | inr j => exact soft_up .. |
| 36 | |
| 37 | lemma same_atom (d : Tap G n) (l : Ovens.Label) (U : Config G n) : |
| 38 | reach (widen X d) (up X l) U = reach d l U := by |
| 39 | cases l with |
| 40 | | inl i => exact congr_fun (stuffed _ d.forced i) _ |
| 41 | | inr i => simp only [up_right, reach, Sum.elim_inr, widen,stuffed] |
| 42 | |
| 43 | lemma zero_atom (d : Tap G n) (l : Ovens.Label) (U : Config G n) (hl : l ∉ range (up X)) : |
| 44 | reach (widen X d) l U = 0 := by |
| 45 | cases l with |
| 46 | | inl i => |
| 47 | simp only [reach, Sum.elim_inl, widen]; rw [blank _ _ ?_]; rfl |
| 48 | rintro ⟨j,rfl⟩; exact hl ⟨.inl j, rfl⟩ |
| 49 | | inr i => |
| 50 | simp only [reach, Sum.elim_inr, widen]; rw [blank _ _ ?_]; simp |
| 51 | rintro ⟨j,rfl⟩; exact hl ⟨.inr j,rfl⟩ |
| 52 | |
| 53 | lemma same_log (d : Tap G n) (U : Config G n) : |
| 54 | (∑' j, (widen X d).logarithm j U) = ∑' j, d.logarithm j U := |
| 55 | transferred_sum (upS X) (fun i => congr_fun (stuffed _ d.logarithm i) _) (fun _ hj => |
| 56 | congr_fun (blank _ d.logarithm hj) _) |
| 57 | |
| 58 | lemma hits (B : ℕ) (f : Label → ℝ) (a γ : ℝ) (h : Ac.Hit X.patch B f a γ) : |
| 59 | Ac.Hit (drawer G n).patch B (stuff (up X) f) a γ := by |
| 60 | intro x |
| 61 | refine transfer_budget (up X) ?_ ?_ (h x) |
| 62 | · simp [stuffed,same_patch] |
| 63 | intro j hj; simp [blank _ _ hj] |
| 64 | |
| 65 | variable {X} |
| 66 | lemma atoms_budget {f : Label → ℝ} {d : Tap G n} {κ : ℝ} (h : ∀ i U, |
| 67 | |reach d i U| ≤ i.elim (fun _ => Real.exp (-κ)) (fun _ => 1)*f i) (X : Pipes G n) : |
| 68 | ∀ (i : Label) U, |reach (widen X d) i U| ≤ |
| 69 | i.elim (fun _ => Real.exp (-κ)) (fun _ => 1)*(stuff (up X) f i) := by |
| 70 | intro i U |
| 71 | by_cases hi : i ∈ range (up X) |
| 72 | · obtain ⟨i,rfl⟩ := hi |
| 73 | rw [same_atom,stuffed] |
| 74 | cases i <;> exact h _ _ |
| 75 | simp [blank _ _ hi, zero_atom X d i _ hi] |
| 76 | |
| 77 | lemma positive {ι κ : Type*} (p : ι ↪ κ) (f : ι → ℝ) (h : ∀ i, 0 ≤ f i) : ∀ i, 0 ≤ stuff p f i := by |
| 78 | intro i |
| 79 | by_cases hi : i ∈ range p |
| 80 | · obtain ⟨i,rfl⟩ := hi |
| 81 | rw [stuffed]; exact h i |
| 82 | rw [blank _ _ hi] |
| 83 | |
| 84 | lemma absorbs {d : Tap G n} {P : BudgetPoint} {δ b : ℝ} (hg : X.Digests d P δ b) : |
| 85 | (drawer G n).Digests (widen X d) P δ b := by |
| 86 | have hh := hg.stamp |
| 87 | have ht := preserves X d P |
| 88 | refine ⟨⟨ht.regular hh.regular, ?_, fun s t => let M := (hh.moves s t).some; ⟨on_shelves M⟩, |
| 89 | ht.Ebound hh.boundE,ht.Kbound hh.boundK⟩,?_,?_,?_,?_,?_,?_⟩ |
| 90 | · exact ht.forced_family hh.forced (fun _ _ _ => Iff.rfl) (fun _ => MeasurableSet.univ) |
| 91 | (fun _ _ _ _ _ => rfl) |
| 92 | · intro i x |
| 93 | by_cases hi : i ∈ range (upS X) |
| 94 | · obtain ⟨i,rfl⟩ := hi |
| 95 | rw [soft_up] |
| 96 | simp only [widen,stuffed]; exact hg.visits i x |
| 97 | simp [widen,blank _ _ hi] |
| 98 | · obtain ⟨c,hc,H⟩ := hg.pays |
| 99 | refine ⟨stuff (upS X) c,(transferred_summable _ (fun i => stuffed (upS X) c i) (fun i hi => blank _ _ hi)).2 hc, ?_⟩ |
| 100 | intro i U |
| 101 | by_cases hi : i ∈ range (upS X) |
| 102 | · obtain ⟨i,rfl⟩ := hi |
| 103 | simp only [widen,stuffed]; exact H i U |
| 104 | simp [widen,blank _ _ hi] |
| 105 | · intro i |
| 106 | by_cases hi : i ∈ range (upS X) |
| 107 | · obtain ⟨i,rfl⟩ := hi |
| 108 | simp only [widen,stuffed]; exact hg.steady i |
| 109 | simp only [widen, blank _ d.logarithm hi] |
| 110 | exact fun _ _ => rfl |
| 111 | · intro i |
| 112 | by_cases hi : i ∈ range (upS X) |
| 113 | · obtain ⟨i,rfl⟩ := hi |
| 114 | simp only [widen,stuffed,soft_up]; exact hg.looks i |
| 115 | dsimp only [widen]; rw [blank _ _ hi] |
| 116 | exact fun _ _ _ _ => rfl |
| 117 | · intro i |
| 118 | by_cases hi : i ∈ range (upS X) |
| 119 | · obtain ⟨i,rfl⟩ := hi |
| 120 | simp only [widen,stuffed]; exact hg.reads i |
| 121 | simp only [widen,blank _ _ hi]; exact measurable_const |
| 122 | intro s t; obtain ⟨p,ha,hb⟩ := hg.carries s t |
| 123 | exact ⟨_,carries_log s t p ha hb⟩ |
| 124 | |
| 125 | lemma sells {d : Tap G n} {P : BudgetPoint} {κ γ : ℝ} (hg : X.Buys d P κ γ) : |
| 126 | (drawer G n).Buys (widen X d) P κ γ := by |
| 127 | obtain ⟨f,hv,hw,hp⟩ := hg.certificate |
| 128 | exact ⟨hg.margin,stuff (up X) f, positive _ _ hv, atoms_budget hw X,hits X _ _ _ _ hp⟩ |
| 129 | |
| 130 | lemma uniform_atoms {d : ℝ → Tap G n} {P : BudgetPoint} {T : Set ℝ} (X : Pipes G n) (H : invariantJet P d T) : |
| 131 | invariantJet P (fun a => widen X (d a)) T := by |
| 132 | intro a ha i ε he |
| 133 | by_cases hi : i ∈ range (up X) |
| 134 | · obtain ⟨i,rfl⟩ := hi |
| 135 | filter_upwards [H a ha i ε he] with b hb U |
| 136 | simp only [same_atom]; exact hb U |
| 137 | filter_upwards with b U |
| 138 | simp [he.le,zero_atom X (d b) i U hi, zero_atom X (d a) i U hi] |
| 139 | |
| 140 | lemma common_hit {f : ℝ → Tap G n} {P : BudgetPoint} {T : Set ℝ} (hg : X.little P f T) : |
| 141 | (drawer G n).little P (fun a => widen X (f a)) T := by |
| 142 | obtain ⟨κ,γ,c,ht,hp,hk,hr,h,H⟩ := hg |
| 143 | exact ⟨κ,γ,stuff (up X) c,ht,hp,hk,positive (up X) c hr,fun a ha => atoms_budget (h a ha) X, |
| 144 | hits X _ _ _ _ H⟩ |
| 145 | |
| 146 | lemma raw_eval {f : ℝ → Tap G n} (X : Pipes G n) (R : PathData G) (A : Clip) (P : BudgetPoint) (b : ℝ) : |
| 147 | (Bid.Cake (fun i => widen X (f i)) (drawer G n) R A P b).eval = (Bid.Cake f X R A P b).eval := by |
| 148 | have ht := preserves X (f b) P |
| 149 | funext U; simp only [Bid.Cake, Rep.eval, Rep.exponent, ht.same_gas, ht.same_sum] |
| 150 | |
| 151 | lemma raw_curve {f : ℝ → Tap G n} (X : Pipes G n) (R : PathData G) (A : Clip) (P : BudgetPoint) (T : Set ℝ) |
| 152 | (h : Curve P (Bid.Cake f X R A P) T) : |
| 153 | Curve P (Bid.Cake (fun i => widen X (f i)) (drawer G n) R A P) T := by |
| 154 | refine ⟨h.beta,h.v,fun _ _ _ _ => rfl,fun _ _ _ _ => rfl,?_⟩ |
| 155 | intro ε hε x hx |
| 156 | filter_upwards [h.continuous ε hε x hx] with y hy |
| 157 | exact (preserves X (f x) P).compares (preserves X (f y) P) hy |
| 158 | end Rack |
| 159 | end YM.Progress.DirectedRecipe |