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.SCHEDULE.Dues |
| 2 | import YM.Progress.DIRECTED_RECIPE.EvalBounds |
| 3 | |
| 4 | /-! |
| 5 | # Separate transfer costs suffice for Ingredients |
| 6 | |
| 7 | The hard populations & taper before fusion may be estimated separately. Show |
| 8 | how to price the actual resources in this recipe, with no volume-dependent |
| 9 | post-usage weakening. Exact (hatted) geometric costs; K required fee strong |
| 10 | enough to leave gamma after inflating by exp of a positive reserve. Useful also |
| 11 | for the proposed startups where the log expansions vary over the full band. |
| 12 | |
| 13 | Not the nonlinear producer. Pre data have NO fused/buy stamp assumed, but h/s |
| 14 | bounds here with structural, selection support etc are obligations of that |
| 15 | magnitude; this module just makes it cheaper to pay them from labeled bounds |
| 16 | and numerical Loops. Doesn't infer cover-price compatibility from addressing. |
| 17 | -/ |
| 18 | |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.Progress.DirectedRecipe |
| 22 | |
| 23 | open Function Set RG Lattice Wilson RG.Shoot Ovens Ovens.Pipes |
| 24 | open Next.Scheduling RG.Supply MeasureTheory |
| 25 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 26 | |
| 27 | namespace Payments |
| 28 | variable {G : Gauge} {n : Side} {X : Pipes G n} {P : BudgetPoint} {d : Tap G n} |
| 29 | variable {w s a b : ℝ} {p q : ℕ → ℝ} |
| 30 | |
| 31 | /-- same numerics as in `Ingredients.pays`. `w` this scale's goal. -/ |
| 32 | def inflation (a b κ : ℝ) := Real.exp κ * a + 2*b |
| 33 | structure Rates (B : ℕ) (w a b κ : ℝ) : Prop where |
| 34 | heading : 0 ≤ κ |
| 35 | hard : 0 ≤ a |
| 36 | soft : 0 ≤ b |
| 37 | soft_limit : b ≤ 1 |
| 38 | capital : (B+B+1:ℕ)^4 * inflation a b κ ≤ (1 : ℝ) |
| 39 | returns : Bid.quote κ (inflation a b κ) ≤ w |
| 40 | |
| 41 | /-- Costs at +1 exponent. -/ |
| 42 | def hardCost (P : BudgetPoint) (X : Pipes G n) (p : ℕ → ℝ) (a : ℝ) := |
| 43 | (∀ i, 0 ≤ p i) ∧ Ac.Hit (fun i => (X.kernel i).support) P.B p (P.supportExponent+1) a |
| 44 | |
| 45 | def softCost (P : BudgetPoint) (X : Pipes G n) (p : ℕ → ℝ) (a : ℝ) := |
| 46 | (∀ i, 0 ≤ p i) ∧ Ac.Hit X.softer P.B p (P.supportExponent+1) a |
| 47 | |
| 48 | def rooted (d : Tap G n) (p q : ℕ → ℝ) := ∀ i U, |
| 49 | ‖d.forced i U‖ ≤ p i ∧ ‖d.logarithm i U‖ ≤ q i |
| 50 | |
| 51 | -- Use structural/symmetry hypotheses even for vacuum stage |
| 52 | structure Fittings (d : Tap G n) (X : Pipes G n) (P : BudgetPoint) : Prop where |
| 53 | regular : (X.pours d).RegularFamily P |
| 54 | support : (X.pours d).ForcedFamily P |
| 55 | moves : ∀ s b, Nonempty ((X.pours d).Moves s b) |
| 56 | visits i : ∀ U, d.logarithm i U≠0 → ¬Healthy P.threshold (X.softer i) U |
| 57 | steady i : GaugeInvariant (d.logarithm i) |
| 58 | looks i : UsesFinal P.threshold (X.softer i) (d.logarithm i) |
| 59 | reads i : Measurable (d.logarithm i) |
| 60 | carries (s : Signed) (b : Site n) : ∃ v : Equiv.Perm ℕ, |
| 61 | (∀ i, X.softer (v i) = (X.softer i).image (affine s b)) ∧ |
| 62 | ∀ U i, d.logarithm (v i) U=d.logarithm i (pull s b U) |
| 63 | |
| 64 | lemma drop_reserve (P : BudgetPoint) (X : ℕ → Support n) |
| 65 | (hi : ∀ i, 0 ≤ p i) (hp : Ac.Hit X P.B p (P.supportExponent+1) a) : |
| 66 | ∀ x, SumBudget (fun i => if x∈X i then P.mass (X i) (p i) else 0) a := by |
| 67 | intro x |
| 68 | refine Payment.smaller (hp x) (fun i => ?_) (fun i => ?_) |
| 69 | · split |
| 70 | · exact (hi i).trans (P.loMass _ _ (hi i)) |
| 71 | exact le_rfl |
| 72 | split_ifs |
| 73 | · unfold BudgetPoint.mass; rw [mul_comm (p _)] |
| 74 | exact mul_le_mul_of_nonneg_right (Real.exp_monotone (mul_le_mul_of_nonneg_right |
| 75 | (by linarith) (by positivity))) (hi _) |
| 76 | exact le_rfl |
| 77 | |
| 78 | private lemma give (X : ℕ → Support n) (a κ C : ℝ) (f : ℕ → ℝ) (hp : 0 ≤ C) (B : ℕ) |
| 79 | (h : Ac.Hit X B f a κ) : Ac.Hit X B (fun i => C*f i) a (C*κ) := by |
| 80 | intro x |
| 81 | let g i := if x∈X i then f i*Real.exp (a*coverNumber B (X i)) else 0 |
| 82 | have he (i) : (if x∈X i then (C*f i)*Real.exp (a*coverNumber B (X i)) else 0)=C*g i := by |
| 83 | by_cases hi:x∈X i <;> simp only [hi,g,↓reduceIte,mul_assoc,mul_zero] |
| 84 | rw [funext he] |
| 85 | refine ⟨fun i => mul_nonneg hp ((h x).1 i), (h x).2.1.mul_left C,?_⟩ |
| 86 | rw [tsum_mul_left]; exact mul_le_mul_of_nonneg_left (h x).2.2 hp |
| 87 | |
| 88 | private def blend (p q : ℕ → ℝ) (κ : ℝ) : Label → ℝ := Sum.elim (fun i => Real.exp κ*p i) (fun i => 2*q i) |
| 89 | |
| 90 | private lemma blendable (L : Label → ℝ) {a b} (h : SumBudget (L ∘ Sum.inl) a) |
| 91 | (he : SumBudget (L ∘ Sum.inr) b) : SumBudget L (a+b) := by |
| 92 | have ht : HasSum L _ := HasSum.sum h.2.1.hasSum he.2.1.hasSum |
| 93 | refine ⟨fun l => ?_,ht.summable,(ht.tsum_eq).trans_le (add_le_add h.2.2 he.2.2)⟩ |
| 94 | cases l |
| 95 | · exact h.1 _ |
| 96 | exact he.1 _ |
| 97 | |
| 98 | private lemma merges (he : hardCost P X p a) (hs : softCost P X q b) (κ : ℝ) : |
| 99 | (∀ i, 0 ≤ blend p q κ i) ∧ Ac.Hit X.patch P.B (blend p q κ) (P.supportExponent+1) (inflation a b κ) := by |
| 100 | refine ⟨fun i => ?_, fun x => ?_⟩ |
| 101 | · cases i |
| 102 | · exact mul_nonneg (Real.exp_nonneg _) (he.1 _) |
| 103 | exact mul_nonneg (by norm_num) (hs.1 _) |
| 104 | exact blendable _ (give _ _ _ _ _ (Real.exp_nonneg κ) _ he.2 x) |
| 105 | (give _ _ _ _ _ (by norm_num : 0 ≤ (2:ℝ)) _ hs.2 x) |
| 106 | |
| 107 | private lemma shares (κ : ℝ) (hk : rooted d p q) (hs : softCost P X q b) (hl : b≤1) : |
| 108 | ∀ i U, |reach d i U| ≤ i.elim (fun _ => Real.exp (-κ)) (fun _ => 1)*blend p q κ i := by |
| 109 | rintro (i|i) U |
| 110 | · simp only [reach,Sum.elim_inl,blend,Real.exp_neg, inv_mul_cancel_left₀ (Real.exp_pos κ).ne'] |
| 111 | exact (hk i U).1 |
| 112 | simp only [reach,Sum.elim_inr,one_mul,blend] |
| 113 | apply (Real.abs_exp_sub_one_le ?_).trans (mul_le_mul_of_nonneg_left (hk i U).2 zero_le_two) |
| 114 | obtain ⟨x,hx⟩ := X.sites i |
| 115 | have he := Samples.one_le_quote (drop_reserve P _ hs.1 hs.2 x) i |
| 116 | rw [if_pos hx] at he |
| 117 | exact (hk i U).2.trans ((P.loMass _ _ (hs.1 i)).trans (he.trans hl)) |
| 118 | |
| 119 | private lemma inflates (P : BudgetPoint) {κ : ℝ} (h : Rates P.B w a b κ) : |
| 120 | 0 ≤ inflation a b κ := add_nonneg (mul_nonneg (Real.exp_nonneg _) h.hard) (mul_nonneg zero_le_two h.soft) |
| 121 | |
| 122 | /-- Apply to each actually retained point. Fused data then inherit the real |
| 123 | per-anchor bills at P without shrinking e. -/ |
| 124 | theorem tender {δ κ : ℝ} (he : Fittings d X P) (hu : (X.pours d).EBound P δ) |
| 125 | (ha : hardCost P X p a) (hb : softCost P X q b) (hc : rooted d p q) |
| 126 | (h : Rates P.B w a b κ) : Ingredients X d P δ w := by |
| 127 | refine ⟨κ,inflation a b κ,a,⟨?_,he.visits,?_,he.steady,he.looks,he.reads,he.carries⟩,?_,h.returns⟩ |
| 128 | · exact ⟨he.regular,he.support,he.moves,hu,p, fun i => ⟨ha.1 i,fun U => (hc i U).1⟩, |
| 129 | drop_reserve P _ ha.1 ha.2⟩ |
| 130 | · exact ⟨q, Activities.summable_charge X.sites hb.1 (drop_reserve P _ hb.1 hb.2), |
| 131 | fun i U => (hc i U).2⟩ |
| 132 | have ht := merges ha hb κ |
| 133 | exact ⟨⟨inflates P h,h.heading,h.capital⟩, _, ht.1, shares κ hc hb h.soft_limit, ht.2⟩ |
| 134 | |
| 135 | |
| 136 | end Payments |
| 137 | end YM.Progress.DirectedRecipe |