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 Mathlib.Analysis.Analytic.Binomial |
| 2 | import Mathlib.Analysis.Calculus.BumpFunction.Convolution |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.RestrictScalars |
| 4 | import Mathlib.Analysis.Calculus.ImplicitContDiff |
| 5 | import Mathlib.Analysis.Calculus.IteratedDeriv.FaaDiBruno |
| 6 | import Mathlib.Analysis.Calculus.LineDeriv.Measurable |
| 7 | import Mathlib.Analysis.Calculus.VectorField |
| 8 | import Mathlib.Analysis.ODE.ExistUnique |
| 9 | import Mathlib.LinearAlgebra.Multilinear.Pi |
| 10 | import Mathlib.LinearAlgebra.PiTensorProduct.Generators |
| 11 | import YM.Ac.Table |
| 12 | import YM.Bid.Drops |
| 13 | import YM.Bid.Fuels |
| 14 | import YM.Next.FREE_KERNELS.Differences |
| 15 | import YM.Next.FREE_KERNELS.Switch |
| 16 | import YM.Work.A05.Read |
| 17 | import YM.Work.A07 |
| 18 | import YM.Work.B04 |
| 19 | |
| 20 | |
| 21 | /-! |
| 22 | # Releasing Ψ for a retained horizon |
| 23 | |
| 24 | Optional strengthened export for downstream iteration. The quotient rows and |
| 25 | the cost promise don't use new choices of H or towers. They read exact fields |
| 26 | of the retained horizon and hold even at degenerate sides by true periodic |
| 27 | actions. Weighted preimage estimate per residue with full support, before any |
| 28 | L. Neither sup estimates on complex paths nor `Kin` assumed. |
| 29 | -/ |
| 30 | set_option autoImplicit false |
| 31 | noncomputable section |
| 32 | namespace YM.Next.Free |
| 33 | open Filter Set Function Lattice Laurent Bloch Metric Exterior Matrix Precision RG Work.F08 Craft Bid |
| 34 | open scoped Topology BigOperators ComplexConjugate |
| 35 | variable {j t : ℕ} |
| 36 | namespace Flight |
| 37 | |
| 38 | def psi (k : ℝ) (P : Flight j t) := meshBook (alloy k) 2 [] P |
| 39 | |
| 40 | def groundPsi (k : ℝ) (P : Flight j t) (u : List Axis) := proceeds (advanceC P.L (psi k P) u) u |
| 41 | |
| 42 | variable (k : ℝ) (hk : 0<k) (hj : 4 ≤ j) (ht : 4 ≤ t) |
| 43 | include hk hj ht |
| 44 | lemma paid_path_stock {u : List Axis} (h : u.length≤j-2) : |
| 45 | let C := fun P : Flight j t => advanceC P.L (psi k P) u |
| 46 | Transaction (2+u.length) C := by |
| 47 | intro C |
| 48 | obtain ⟨σ,D,hσ,hD,H⟩ := (status_quote k hk hj ht).honored hj 2 |
| 49 | refine ⟨fun i => by unfold fee; positivity,σ,D,hσ,hD,fun i => ?_⟩ |
| 50 | simpa only [div_eq_mul_inv,fee,C,psi] using H i u h |
| 51 | lemma path_stock {u : List Axis} (h : u.length≤j-2) : |
| 52 | Transaction (2+u.length) (fun P : Flight j t => groundPsi k P u) := by |
| 53 | have hp := paid_path_stock k hk hj ht h |
| 54 | exact proceeds_stock hp u |
| 55 | |
| 56 | lemma stockroom : ∃ σ C : ℝ, 0<σ ∧ 0<C ∧ ∀ P : Flight j t, ∀ l : List Axis, l.length≤j-2 → |
| 57 | (groundPsi k P l).strip σ (C/(P.L.val:ℝ)^(2+l.length)) := by |
| 58 | letI : Fintype {l : List Axis // l.length≤j-2} := (Secured.limited_lengths (j-2)).fintype |
| 59 | obtain ⟨σ,C,hσ,hC,H⟩ := staple (κ:={l : List Axis // l.length≤j-2}) |
| 60 | (fun x σ C => ∀ P : Flight j t, (groundPsi k P x.val).strip σ (C*fee (2+x.val.length) P)) |
| 61 | (fun x => (path_stock k hk hj ht x.property).uniform) |
| 62 | (fun x σ C τ D h hτ _ hD P => strip_mono (h P) hτ (mul_le_mul_of_nonneg_right hD (by unfold fee; positivity))) |
| 63 | exact ⟨σ,C,hσ,hC,fun P l hl => by simpa only [div_eq_mul_inv,fee] using H ⟨l,hl⟩ P⟩ |
| 64 | |
| 65 | variable (P : Flight j t) |
| 66 | omit hj |
| 67 | lemma refund (u : List Axis) (hu : u.length≤j-2) : |
| 68 | let A := advanceC P.L (psi k P) u |
| 69 | ∃ g : Momentum → Matrix (Co P.L (TypeFace 2)) (TypeFace 2) ℂ, |
| 70 | (∀ p∈baseCube, ContinuousAt g p) ∧ ∀ p∈baseCube,A.read p=listChip p u • g p := by |
| 71 | intro A |
| 72 | classical |
| 73 | have hx := cable_exists k hk ht P u (le_trans hu (Nat.sub_le j _)) |
| 74 | choose w hW hw using hx |
| 75 | let fg (r : Site P.L) (p) := ∑ i : Site P.L, mode (aliasAt p i) (lift r) • (toll P.L 2 • w i p) |
| 76 | have he (r : Site P.L) {p : Momentum} (hp : p∈baseCube) : ContinuousAt (fg r) p := by |
| 77 | apply tendsto_finsetSum (f:=fun i p => mode (aliasAt p i) (lift r) • (toll P.L 2 • w i p)) |
| 78 | intro i _; have hc : ContinuousAt (fun p => mode (aliasAt p i) (lift r)) p := by unfold mode aliasAt; fun_prop |
| 79 | exact hc.smul (ContinuousAt.const_smul (hW i p hp) (toll P.L 2)) |
| 80 | let g (p : Momentum) := Matrix.of fun (i : Co P.L (TypeFace 2)) (j : TypeFace 2) => fg i.1 p i.2 j |
| 81 | refine ⟨g,fun p hp => ?_,fun p hp => ?_⟩ |
| 82 | · change ContinuousAt (fun p (i : Co P.L _) j => fg i.1 p i.2 j) p |
| 83 | apply continuousAt_pi.mpr; intro i; apply continuousAt_pi.mpr; intro j |
| 84 | exact continuousAt_pi.mp (continuousAt_pi.mp (he _ hp) _) _ |
| 85 | let J := status_quote k hk P.legal ht |
| 86 | have hh (r : Site P.L) : spread (alloy k) 2 u P r p=listChip p u • fg r p := by |
| 87 | unfold spread fg; rw [Finset.smul_sum]; refine Finset.sum_congr rfl fun i _ => ?_ |
| 88 | rw [← smul_smul, hw i p hp]; simp only [smul_smul] |
| 89 | congr 1; ring |
| 90 | ext ⟨i,j⟩ b |
| 91 | unfold A psi; rw [Secured.traverse J P.legal 2 hu, J.bankRead P.legal 2 hu _ _ hp, hh i]; rfl |
| 92 | |
| 93 | variable {c f : Side} (hc : f.val=c.val*P.L.val) |
| 94 | lemma psi_bridge : installed (P.visitRatio hc) (psi k P)=(blue k P.wing).acts f*installed (P.visitRatio hc) (duo k P).T*(pink k P.land).acts c := by |
| 95 | have ht' := sail_run P hc (status_quote k hk P.legal ht) P.legal 2 |
| 96 | have hP := (heart_true k hk ht P.land).1.coarse c |
| 97 | have hb := P.sail_run hc (agility k hk P.legal ht) P.legal 2 |
| 98 | have hh := hb.product hP; unfold solo at hh; rw [fiber_mult] at hh |
| 99 | have hm (p : Momentum) : P.fromBank (agile k) 2 p * pulse k P.land p=P.fromBank (alloy k) 2 p := by |
| 100 | unfold fromBank alloy; rw [alias_then]; congr! 2 with l; rw [Matrix.smul_mul] |
| 101 | simp_rw [hm] at hh |
| 102 | rw [← P.buckle_physical k hk ht hc]; exact ht'.lands hh (rotations_crew c _) |
| 103 | lemma refund_period (u : List Axis) (hu : u.length≤j-2) : |
| 104 | motion (TypeFace 2) f u * installed (P.visitRatio hc) (psi k P)=installed (P.visitRatio hc) (groundPsi k P u)*motion (TypeFace 2) c u := by |
| 105 | let A := advanceC P.L (psi k P) u |
| 106 | obtain ⟨g,hg,H⟩ := refund k hk ht P u hu |
| 107 | have hw u (hu : List.length u ≤ j-2) : Whole (advanceC P.L (psi k P) u) := (paid_path_stock k hk P.legal ht hu).whole P |
| 108 | have hp := real_divides u (hw u hu) hg H |
| 109 | let R := groundPsi k P u; let X := pathJet (TypeFace 2) u |
| 110 | have hh := jet_whole (TypeFace 2) u |
| 111 | have hB : Whole R := proceeds_whole (hw u hu) _ |
| 112 | have he : A.acts c=(composeRows R X).acts c := (hw u hu).eq_on (hB.prod hh) (fun p ha => by |
| 113 | rw [H p ha,hB.read hh ha.1,jet_read (TypeFace 2) u ha.1, show R.read p=g p from hp _ ha]; rw [Matrix.mul_smul,Matrix.mul_one]) c |
| 114 | rw [← flow_movement (P.visitRatio hc) _ _ P.odd (fun v hv => hw v (hv.trans hu))] |
| 115 | change installed (P.visitRatio hc) A=installed (P.visitRatio hc) R*(pathJet (TypeFace 2) u).acts c |
| 116 | rw [← Whole.from_coarse (P.visitRatio hc) hB hh] |
| 117 | unfold installed; rw [he] |
| 118 | end Flight |
| 119 | end YM.Next.Free |
| 120 | |
| 121 | namespace YM.Next.Free |
| 122 | open Filter Set Function Lattice Laurent Bloch Metric Exterior Matrix Precision RG Work.F08 Craft Bid |
| 123 | open scoped Topology BigOperators ComplexConjugate |
| 124 | |
| 125 | |
| 126 | end YM.Next.Free |