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.Extra.MULTISOURCE_TRAJECTORIES.BirthBounds |
| 2 | import YM.Extra.MULTISOURCE_TRAJECTORIES.Service |
| 3 | import YM.Next.FOUNDATIONS.Primary |
| 4 | /-! |
| 5 | # Cutoff/full-alphabet expenses before the step |
| 6 | |
| 7 | Only actual singleton exponent inputs at the cutoff. Their bad-field |
| 8 | complements also enter the *complete* joint dictionary alongside actual Ks, |
| 9 | and the absolute estimate below pays all overlaps. Exponents on the old gas |
| 10 | must have been bought already. Compare . |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Extra.Trajectories |
| 15 | open RG Wilson Lattice Source Overlay Marker Mix Function Filter MeasureTheory Finset |
| 16 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 17 | variable {G : Gauge} {C : Family G} {V : Type} [Fintype V] [DecidableEq V] (R : Census V) |
| 18 | {N p : ℕ} |
| 19 | |
| 20 | namespace Probes |
| 21 | variable (Q : Probes C V N p) (W : Windows (C.side N p)) |
| 22 | |
| 23 | def born (i : V) : Hot R × W.Piece := (⟨R.fire i,by simp [Census.fire]⟩,⟨∅,by simp⟩) |
| 24 | omit [Fintype V] in |
| 25 | lemma born_injective : Injective (born R W) := fun _ _ h => (R.fire_inj ..).mp (congrArg (Subtype.val ∘ Prod.fst) h) |
| 26 | |
| 27 | lemma top_H (i : V) : (Q.layers R W).H (born R W i) = Q.fraction i := by |
| 28 | funext U; rw [masked_top]; simp [born] |
| 29 | lemma top_silent {a : Hot R × W.Piece} (ha : a ∉ Set.range (born R W)) : (Q.layers R W).H a = 0 := by |
| 30 | funext U; rw [masked_top]; split |
| 31 | next he => |
| 32 | exact sum_eq_zero fun i _ => if_neg (fun h => ha ⟨i, Prod.ext (Subtype.ext h.symm) (Subtype.ext he.symm)⟩) |
| 33 | rfl |
| 34 | |
| 35 | private lemma region_birth (i : V) : (Q.layers R W).region (born R W i) = Q.footprint i := Q.region_empty W i _ rfl rfl |
| 36 | |
| 37 | |
| 38 | def primaryPrice (F D : V → ℝ) (K : ℕ → ℝ) (hD : ∀ i,0≤D i) |
| 39 | (hg : ∀ i,grain (C.path.rep N p N).p (Q.footprint i) (Q.fraction i) (Q.place i) (D i)) |
| 40 | (hr : ∀ i U, ‖Q.fraction i U‖ ≤ F i) (hK : ∀ i U, ‖(C.path.rep N p N).activities.K i U‖ ≤ K i) : |
| 41 | (Q.layers R W).Prices where |
| 42 | K := K |
| 43 | boundK := hK |
| 44 | jet := extend (born R W) D 0 |
| 45 | attach := extend (born R W) F 0 |
| 46 | nonnegative i := by |
| 47 | by_cases hi : i∈Set.range (born R W) |
| 48 | · obtain ⟨i,rfl⟩ := hi; rw [(born_injective R W).extend_apply]; exact hD i |
| 49 | rw [extend_apply' _ _ _ hi]; rfl |
| 50 | available i x h := by |
| 51 | by_cases hi : i∈Set.range (born R W) |
| 52 | · obtain ⟨i,rfl⟩ := hi; obtain rfl := mem_singleton.mp h |
| 53 | rw [region_birth,top_H, (born_injective R W).extend_apply] |
| 54 | change grain _ _ _ (Q.positions N _) _; rw [positions,ancestor_top,id_eq]; exact hg _ |
| 55 | rw [Q.top_silent R W hi, extend_apply' _ _ i hi]; exact grain_big (by |
| 56 | refine ⟨le_rfl (a:=(0:ℝ)), fun U _ k _ _ => ?_⟩ |
| 57 | rw [show (0 : Config G (C.side N p) → ℂ) = (fun _ => 0) from rfl,Work.G07.left_const]; simp) (by simp) |
| 58 | residue i U := by |
| 59 | unfold Layers.residual |
| 60 | by_cases hi : i∈Set.range (born R W) |
| 61 | · obtain ⟨i,rfl⟩ := hi; rw [top_H, (born_injective R W).extend_apply] |
| 62 | split |
| 63 | · rw [norm_zero]; exact (norm_nonneg _).trans (hr _ U) |
| 64 | exact hr i U |
| 65 | rw [Q.top_silent R W hi,extend_apply' _ _ i hi]; simp |
| 66 | |
| 67 | private lemma sum_budget {α β} {f : α ⊕ β → ℝ} {u v : ℝ} (h : SumBudget (f ∘ Sum.inl) u) |
| 68 | (h' : SumBudget (f ∘ Sum.inr) v) : SumBudget f (u+v) := by |
| 69 | have he := h.2.1.hasSum.sum h'.2.1.hasSum |
| 70 | exact ⟨fun i => Sum.rec (h.1) (h'.1) i, he.summable, he.tsum_eq.trans_le (add_le_add h.2.2 h'.2.2)⟩ |
| 71 | |
| 72 | lemma primary_expenses (F D : V → ℝ) (K : ℕ → ℝ) (hD : ∀ i,0≤D i) |
| 73 | (hg : ∀ i,grain (C.path.rep N p N).p (Q.footprint i) (Q.fraction i) (Q.place i) (D i)) |
| 74 | (hr : ∀ i U, ‖Q.fraction i U‖ ≤ F i) (hK : ∀ i U, ‖(C.path.rep N p N).activities.K i U‖ ≤ K i) |
| 75 | {w γ : ℝ} (hw : 0<w) (hγ : 0 ≤ γ) (he : Real.exp (γ+γ)-1 ≤ 1) (hB : ((C.path.rep N p N).p.B+(C.path.rep N p N).p.B+1:ℕ)^4*((γ+γ):ℝ) ≤ 1) |
| 76 | (hc : ∀ i,w*loaf (C.path.rep N p N).p (Q.footprint i) 0 (D i) ≤ 1) |
| 77 | (hh : Ac.Hit (fun i => ((C.path.rep N p N).activities.forced i).support) (C.path.rep N p N).p.B K ((C.path.rep N p N).p.supportExponent+1) γ) |
| 78 | (hs : Ac.Hit Q.footprint (C.path.rep N p N).p.B (fun i => w * F i) ((C.path.rep N p N).p.supportExponent+1) γ) : |
| 79 | (Q.layers R W).Expenses w := by |
| 80 | let q := Q.primaryPrice R W F D K hD hg hr hK |
| 81 | let X := Q.layers R W |
| 82 | have ha (b : Bool) : Layers.Sale q w 0 b := by |
| 83 | refine ⟨le_rfl,hw,fun i => ?_,γ+γ,add_nonneg hγ hγ,he,hB,?_⟩ |
| 84 | · let price (j : Hot R × W.Piece) := Poly.toll (fun _ => w) (X.tag j)*loaf (C.path.rep N p N).p (X.region j) 0 (q.jet j) |
| 85 | let f := fun j => if ranked (X.tag j)=b ∧ i∈(X.tag j).val then price j else 0 |
| 86 | refine ⟨fun j => ?_,Summable.of_finite,show ∑' j,f j ≤ 1 from ?_⟩ |
| 87 | · dsimp only; split |
| 88 | · exact mul_nonneg (Poly.worth (fun _ => hw) _).le (mul_nonneg (Real.exp_pos _).le (q.nonnegative _)) |
| 89 | rfl |
| 90 | rw [tsum_fintype,sum_eq_single (born R W i)] |
| 91 | · unfold f; split; swap; exact zero_le_one |
| 92 | exact le_trans (le_of_eq (by |
| 93 | unfold price q; simp only [primaryPrice,(born_injective R W).extend_apply] |
| 94 | rw [show X.tag (born R W i)=R.fire i from rfl,Poly.solo_toll,Q.region_birth ..])) (hc i) |
| 95 | · intro j _ hj; unfold f; split; swap; rfl |
| 96 | next hi => |
| 97 | by_cases h : j∈Set.range (born R W) |
| 98 | · obtain ⟨j,rfl⟩ := h |
| 99 | exact (hj (congrArg (born R W) (mem_singleton.mp hi.2).symm)).elim |
| 100 | simp only [price,q,primaryPrice, extend_apply' _ _ j h,Pi.zero_apply,loaf,mul_zero] |
| 101 | simp |
| 102 | intro x; simp only [add_zero] |
| 103 | refine sum_budget (hh x) (budget_image (born_injective R W) injective_id (fun i => ?_) (fun i hi => ?_) (hs x) ?_) |
| 104 | · dsimp only [comp_apply]; split |
| 105 | · exact mul_nonneg (Layers.rent_nn q _ (fun _ => hw) b _ ) (Real.exp_pos _).le |
| 106 | rfl |
| 107 | · dsimp only [comp_apply]; split |
| 108 | · dsimp only [Layers.rental,q,Sum.elim_inr,primaryPrice]; rw [extend_apply' _ _ i hi]; simp |
| 109 | rfl |
| 110 | · intro j; dsimp only [id_eq,comp_apply,Layers.area,Layers.rental,Sum.elim_inr] |
| 111 | simp only [Q.region_birth R W j,show (Q.layers R W).tag (born R W j)=R.fire j from rfl] |
| 112 | simp [ranked,Census.fire,q,primaryPrice,(born_injective R W).extend_apply,Poly.toll] |
| 113 | exact ⟨by simp [layers,Insertions.fragments],q, ha false,w,0,by simp,ha true⟩ |
| 114 | end Probes |
| 115 | end YM.Extra.Trajectories |