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.Trace.Physicalv2.Germ |
| 2 | import YM.ProjectorNext.PROJECTOR_EQUIVARIANCE.Fringe |
| 3 | import YM.MultiNext.SIGNED_SOURCE_CONTINUATION.Factory |
| 4 | import YM.MergeProof.Biscuit |
| 5 | |
| 6 | /-! One literal-mark physical primary/stable graphs, for use with represented |
| 7 | models of the inserted density (not its pointwise conditional quotient). Orbit |
| 8 | costs in `Tones` are all on the *same* representation with its actual vacuum |
| 9 | and inventory; these proofs make no assertion about superposition of different |
| 10 | vacuum layers or simultaneous collision estimates. Only a local-comparison |
| 11 | component. -/ |
| 12 | noncomputable section |
| 13 | namespace YM.Trace.Physical.GermGraph |
| 14 | open Function Set Filter Labels Lattice Wilson RG Source Analysis Next.Foundations |
| 15 | open Push.Local ProjectorNext.Equivariance MeasureTheory Extra.Histories Relay |
| 16 | open Germ Bid Work.G08 PhysicalNext.Repeat.Lotus YM.MergeProof |
| 17 | open PhysicalNext.Repeat.Legato.Bandage |
| 18 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 19 | set_option autoImplicit false |
| 20 | set_option maxHeartbeats 3600000 |
| 21 | set_option synthInstance.maxHeartbeats 125000 |
| 22 | set_option quotPrecheck false |
| 23 | set_option warningAsError false |
| 24 | set_option maxRecDepth 3600 |
| 25 | set_option linter.unusedVariables false |
| 26 | set_option linter.unusedSectionVars false |
| 27 | |
| 28 | variable {G:Gauge}{C:Family G}(d:ℕ)(N p m:ℕ) |
| 29 | |
| 30 | abbrev stage (C:Family G)(m:ℕ):= C.path.levels.params m |
| 31 | abbrev plank (C:Family G)(m:ℕ):= C.path.levels.budget m |
| 32 | abbrev safety (C:Family G)(m:ℕ):= Real.sqrt (C.path.levels.clock.forcedAllowance m) |
| 33 | abbrev stock (C:Family G)(m:ℕ):= (stage C m).columns |
| 34 | abbrev factor (C:Family G)(m:ℕ):= ((C.S.block m).val:ℝ) |
| 35 | local notation "F" => C.labels.level |
| 36 | local notation "R!" => C.path.rep |
| 37 | local notation "ent" => (C.factory d N p).entries |
| 38 | abbrev page (q:Coefficient (F d) (C.side m p)):C.label d:= projection (F d) C.params (plank C m).threshold 0 q |
| 39 | abbrev price : ℝ := (((F d).extra+1:ℕ):ℝ)*(Germ.germ_close (F d) C.params).choose |
| 40 | abbrev cut :ℝ:= wraps (plank C m) (C.side m p) |
| 41 | abbrev invoice (d m p : ℕ) :ℝ := price (C:=C) d * cut (C:=C) p m |
| 42 | abbrev reads (q:Coefficient (F d) (C.side m p))(r : ℝ):Prop:= q.Format 0 C.params (C.path.rep N p m) ∧ q.remBound 0 (C.path.rep N p m) (safety C m) r |
| 43 | structure Opened (C:Family G)(d m p:ℕ) : Prop where |
| 44 | post : C.ref d ≤ m |
| 45 | small : invoice (C:=C) d m p*(stock C m) < 1/4 |
| 46 | lemma add_projection {n : Side}{R:Rep G n}{o:Site n}{F₀:Labels.Frame G d}{A : Hol G}(q v:Coefficient F₀ n)(hq:q.Format o A R)(hv:v.Format o A R) (hd:d≤R.p.order)(hp:d≤R.p.power)(eq:∃κ r,q.remBound o R κ r)(ev : ∃ κ r, v.remBound o R κ r): |
| 47 | let P := Germ.projection F₀ A R.p.threshold o |
| 48 | P (beside q v) = P q + P v := by |
| 49 | intro P |
| 50 | let T:Bool×ℕ→F₀.Coeff:=fun ⟨i,j⟩=> vector F₀ A R.p.threshold o ((twain q v i).regular j) |
| 51 | have hz(i : Bool): Summable (Function.curry T i) := by |
| 52 | let Y:=twain q v i |
| 53 | have hi : Y.Format o A R ∧ ∃ C r,Y.remBound o R C r := by cases i; exact ⟨hv,ev⟩; exact ⟨hq,eq⟩ |
| 54 | obtain ⟨H,κ,r,hb⟩:=hi |
| 55 | -- use summability via tsum cost? private lemma! Reprove or expose |
| 56 | exact Germ.vector_summable F₀ A H hb hd hp |
| 57 | have ht : Summable T:=Summable.of_norm (summable_prod_of_nonneg (fun i=>norm_nonneg _) |>.mpr ⟨fun i=> (hz i).norm,Summable.of_finite⟩) |
| 58 | unfold P Germ.projection; rw [reckon] |
| 59 | have hs := (code Bool).tsum_eq T |
| 60 | rw [ht.tsum_prod' hz, tsum_fintype (β:=Bool),Fintype.sum_bool] at hs |
| 61 | rw [show ∑' i,vector F₀ A R.p.threshold o ((beside q v).regular i) = _ from hs] |
| 62 | change q.x+v.x+((∑' i,vector F₀ A R.p.threshold o (q.regular i)) + ∑' i,vector F₀ A R.p.threshold o (v.regular i)) = _; abel |
| 63 | lemma dimensions (H:C.Makes)(hp:C.ref d ≤ m)(h:m ≤ N): d≤(R! N p m).p.order ∧ d≤(R! N p m).p.power:=by obtain he:=(H.stages d).2 _ hp; have hz:=(H.wilson.represents N p m h).vac; rw [hz]; exact ⟨by exact le_trans (Nat.le_succ d) he.1,he.2⟩ |
| 64 | lemma entryOk (H:C.Makes)(hp:C.ref d ≤ m)(h:m ≤ N) (x:C.label d): reads d N p m (ent m x) ((stock C m)* (F d).coeffSize (ent m x).x) := by |
| 65 | have he:= H.calibrated d N p (hp.trans h); refine ⟨he.format _ hp h x,?_⟩; obtain ⟨a,b,ha,hb,hab,hκ,W,X⟩:=he.cap _ hp h x; exact ⟨a,b, ha,hb,hab.trans (mul_le_mul_of_nonneg_left (size_core _ _) (zero_le_one.trans (stage C m).columns_ge)),hκ,W,X⟩ |
| 66 | lemma measured_diff {q:Coefficient (F d) (C.side m p)}(H:C.Makes)(hp : C.ref d ≤ m)(h:m ≤ N){r:ℝ}(hq: reads d N p m q r): (F d).coeffSize (page d p m q-q.x) ≤ (invoice (C:=C) d m p) * r:= by |
| 67 | calc _ ≤ (((F d).extra+1:ℕ):ℝ) * ‖page d p m q-q.x‖ := size_le_norm .. |
| 68 | _ ≤ _ := ?_ |
| 69 | have hv: (R! N p m).p=plank C m:= (H.wilson.represents _ _ _ h).vac |
| 70 | have hz:= (Germ.germ_close (F d) C.params).choose_spec.2 (R! N p m) q hq.1 hq.2 (dimensions d N p m H hp h).1 (dimensions d N p m H hp h |>.2) |
| 71 | rw [hv] at hz |
| 72 | exact le_trans (mul_le_mul_of_nonneg_left hz (Nat.cast_nonneg _)) (le_of_eq (by unfold invoice price cut; ring)) |
| 73 | |
| 74 | |
| 75 | local notation "cnt" => (C.labels.level d).coeffSize |
| 76 | local notation "x₀" => fun x:C.label d => (ent m x).x |
| 77 | lemma size_gap (H:C.Makes)(h:Opened C d m p)(hi : m ≤ N) (z:C.label d) : cnt (page d p m (ent m z)) ≤ 2*cnt ((ent m z).x) ∧ cnt ((ent m z).x) ≤ 2*cnt (page d p m (ent m z)) := by |
| 78 | let x:= (ent m z).x |
| 79 | let y:= page d p m (ent m z) |
| 80 | have hz:= measured_diff d N p m H h.post hi (entryOk d N p m H h.post hi z) |
| 81 | have h0 := Work.G08.size_nonneg _ x; have hy0 := Work.G08.size_nonneg _ (y-x) |
| 82 | have h0y := Work.G08.size_nonneg _ y |
| 83 | have hneg : cnt (x-y)=cnt (y-x):=by unfold Frame.coeffSize; apply Finset.sum_congr rfl; intro i _; exact norm_sub_rev .. |
| 84 | have hl := le_trans hz (show _ ≤ (1/4:ℝ)*cnt x by rw [← mul_assoc]; exact mul_le_mul_of_nonneg_right h.small.le h0) |
| 85 | have hx:=Size.add (F d) x (y-x) |>.trans (add_le_add le_rfl hl) |
| 86 | have hv:=Size.add (F d) y (x-y) |
| 87 | rw [_root_.add_sub_cancel] at hx hv; rw [hneg] at hv |
| 88 | change cnt y ≤ _ at hx; change cnt y≤2*cnt x ∧ cnt x ≤ 2*cnt y; constructor <;> linarith |
| 89 | lemma entry_isLinear (H:C.Makes)(h:Opened C d m p)(hi:m ≤ N) : IsLinearMap ℂ (fun x:C.label d=>page d p m (ent m x)) := by |
| 90 | have hv: (R! N p m).p=plank C m:= (H.wilson.represents _ _ _ hi).vac |
| 91 | have hs:= dimensions d N p m H h.post hi |
| 92 | have hq (x):= entryOk d N p m H h.post hi x |
| 93 | have ht:= (H.calibrated d N p (h.post.trans hi)).linear _ h.post hi |
| 94 | simpa only [page,←hv] using Germ.linear_projection (F d) C.params (R:=R! N p m) (o:=0) (ent m) hs.1 hs.2 (fun i=>(hq i).1) (fun i=>⟨_,_,(hq i).2⟩) ⟨ht.1,ht.2.1⟩ |
| 95 | noncomputable def fitting (H:C.Makes)(h:Opened C d m p)(hi:m ≤ N) : C.label d ≃ₗ[ℂ] C.label d := by |
| 96 | let f: C.label d →ₗ[ℂ] C.label d := (entry_isLinear d N p m H h hi).mk' _ |
| 97 | apply LinearEquiv.ofBijective f |
| 98 | have hx : Injective f := by |
| 99 | apply LinearMap.ker_eq_bot.mp; refine LinearMap.ker_eq_bot'.mpr fun u hu=>?_ |
| 100 | have hz: (ent m u).x=0:= by |
| 101 | have hZ:= (size_gap d N p m H h hi u).2 |
| 102 | rw [show page d p m (ent m u)=0 from hu] at hZ |
| 103 | exact norm_le_zero_iff.mp ((norm_le_size ..).trans (by simpa only [Frame.coeffSize,Pi.zero_apply,norm_zero,Finset.sum_const_zero,mul_zero] using hZ)) |
| 104 | exact (MultiNext.SignedSource.matrices H h.post hi p).injective (((show MultiNext.SignedSource.matrices H h.post hi p u =_ from rfl).trans hz).trans (map_zero _).symm) |
| 105 | exact ⟨hx,LinearMap.injective_iff_surjective.mp hx⟩ |
| 106 | lemma fitting_apply (H:C.Makes)(h:Opened C d m p)(hi:m ≤ N)(x:C.label d): fitting d N p m H h hi x=page d p m (ent m x):=rfl |
| 107 | lemma graph_cost (H:C.Makes)(h:Opened C d m p)(hi:m ≤ N)(x:C.label d) : reads d N p m (ent m x) (2*stock C m*cnt (fitting d N p m H h hi x)):= by |
| 108 | obtain ⟨hF,a,b,ha,hb,hab,r⟩:=entryOk d N p m H h.post hi x |
| 109 | refine ⟨hF, a, b, ha,hb, hab.trans ?_,r⟩ |
| 110 | have hs := (stage C m).columns_ge; have hq:= mul_le_mul_of_nonneg_left (size_gap d N p m H h hi x).2 (zero_le_one.trans hs) |
| 111 | change _ ≤ _* cnt (page d p m (ent m x)); linarith only [hq] |
| 112 | end YM.Trace.Physical.GermGraph |