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.PREC.TreeMatch |
| 2 | |
| 3 | /-! |
| 4 | # Slice chart, unclipped analytic functions (formal germ ports) |
| 5 | |
| 6 | E a(B) taken from actual branch on specified tree. Hessian determinant later |
| 7 | uses physical color coords and DOES include Haar-chart relative ratios. |
| 8 | Keep exponent threshold and hard indicators out of these germs. To use the |
| 9 | series must prove receipt; nonnegative term & Wilson density do not extend |
| 10 | these sums across the whole contour family. These functions fix the readout |
| 11 | and stationary formulas over Cover-slot atoms here. No assertion they're |
| 12 | analytic or that Taylor matching is possible just from these defs. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Precision |
| 17 | open Lattice Wilson RG Matrix Exterior Finset Tree Function |
| 18 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 19 | |
| 20 | variable {c f : Side} {S : StepData c f} {g : Ratio c f} {n : Side} {G : Gauge} |
| 21 | |
| 22 | /-- no masks, links in physical orientations. -/ |
| 23 | def uncut {m : ℕ} (A : ℕ → Atom G m) (U : Config G n) := ∑ x : Site n, ∑' i, (A i).unmasked U x |
| 24 | def quadratic (p : Clip) (R : PathData G) (U : Config G n) := |
| 25 | ∑ b : Face (Per n), (p.direct*G.price (faceValue U b) + ‖R.ell U b‖^2/2) |
| 26 | |
| 27 | def mainTerm (p : Clip) (R : PathData G) (U : Config G n) := |
| 28 | Patch.average fun h : Signed => quadratic p R (pull h 0 U) + uncut R.cubic (pull h 0 U)+uncut R.quartic (pull h 0 U) |
| 29 | |
| 30 | def secondTerm (p : Clip) (R : PathData G) (U : Config G n) := Patch.average fun h : Signed => quadratic p R (pull h 0 U) |
| 31 | |
| 32 | def loop (R : PathData G) (U : Config G n) := Patch.average fun h : Signed => uncut R.loop (pull h 0 U) |
| 33 | |
| 34 | /-- T_cp copy to internal/crossing, group version. Use Side c>1. -/ |
| 35 | def replica (g : Ratio c f) (V : Config G c) : Config G f := fun e => |
| 36 | if g.parent (e.1+step e.2)=g.parent e.1 then 1 else V (g.parent e.1,e.2) |
| 37 | |
| 38 | def linearCopy (g : Ratio c f) (b : Directions G c) : Directions G f := fun e => |
| 39 | if g.parent (e.1+step e.2)=g.parent e.1 then 0 else b (g.parent e.1,e.2) |
| 40 | |
| 41 | def constantGauge (k : Site c → G.El) (g : Ratio c f) := k ∘ g.parent |
| 42 | |
| 43 | lemma copied (g : Ratio c f) (h : Odd g.count.val) (V : Config G c) (k : Site c → G.El) : |
| 44 | Lattice.gauge (constantGauge k g) (replica g V)=replica g (Lattice.gauge k V) := by |
| 45 | funext e; unfold replica Lattice.gauge; split <;> rename_i he |
| 46 | · simp [constantGauge,he] |
| 47 | have h' := g.parents_hop h e.1 e.2 |
| 48 | split at h' |
| 49 | · simp only [constantGauge,Function.comp_apply,if_neg he]; rw [h'] |
| 50 | exact False.elim (he h') |
| 51 | |
| 52 | /-- use ℝ Color Product counting basis for derivative. `‖ ‖` induced Pi |
| 53 | sup norm unless explicitly changed, constants depending on dimension can't |
| 54 | be taken pre-L unless shape order receipt. |
| 55 | -/ |
| 56 | abbrev AxisChart (G : Gauge) (B : Forest g) := B.Free → G.Color |
| 57 | |
| 58 | def represent (b : fieldDir G n 1) : Config G n := RG.increment 1 (collect G b) |
| 59 | |
| 60 | def lifting (B : Forest g) (V : Config G c) (a : AxisChart G B) : Config G f := B.drape |
| 61 | (fun i => G.lieExp (a i) * replica g V i) |
| 62 | |
| 63 | @[simp] lemma lifted (B : Forest g) (V : Config G c) : lifting B V 0=replica g V := by |
| 64 | funext i; by_cases he : i∈B.trunks |
| 65 | · have hh : replica g V i=1 := if_pos (B.trunk_internal (by simpa using he : (i.1,i.2)∈B.trunks)) |
| 66 | exact Eq.trans (B.on_tree _ ⟨i,he⟩) hh.symm |
| 67 | have h : lifting B V 0 i=G.lieExp 0 * replica g V i := B.off_tree _ ⟨i,he⟩ |
| 68 | rw [h,G.mat_lieExp_zero,one_mul] |
| 69 | |
| 70 | @[simp] lemma link_one : represent (0 : fieldDir G n 1)=1 := by |
| 71 | funext i; change G.lieExp 0 * _ = (1:G.El); simp |
| 72 | @[simp] lemma replica_one (g : Ratio c f) : replica g (1:Config G c)=1 := by |
| 73 | funext i; simp [replica] |
| 74 | |
| 75 | lemma exp_copy (g : Ratio c f) (b : fieldDir G c 1) : RG.increment 1 (linearCopy g (collect G b)) = replica g (represent b) := by |
| 76 | funext i; unfold RG.increment replica linearCopy; split <;> simp [RG.increment, represent] |
| 77 | |
| 78 | def noiseTaylor (S : StepData c f) (V : Config G c) (U : Config G f) (r : S.Choices) := |
| 79 | S.kernel.penalty * ∑ e, G.price (V e * (S.prediction U r e)⁻¹) |
| 80 | |
| 81 | def tested (B : Forest S.ratio) (t : S.Choices) (p : Clip) (R : PathData G) (x : fieldDir G c 1) (b : AxisChart G B) := |
| 82 | let V := represent x |
| 83 | let U := lifting B V b |
| 84 | mainTerm p R U + noiseTaylor S V U t |
| 85 | |
| 86 | /-- The germ must stand on the REAL functions on active orientations. If |
| 87 | requiring complex perturbative disks implement extension and prove comparison. -/ |
| 88 | def Critical (B : Forest S.ratio) (p : Clip) (R : PathData G) (f : fieldDir G c 1 → AxisChart G B) : Prop := |
| 89 | f 0=0 ∧ ContDiffAt ℝ ω f 0 ∧ ∀ t : S.Choices, |
| 90 | ContDiffAt ℝ ω (Function.uncurry (tested B t p R)) 0 ∧ |
| 91 | ∀ᶠ x in nhds 0, HasFDerivAt (tested B t p R x) (0 : AxisChart G B →L[ℝ] ℝ) (f x) |
| 92 | |
| 93 | def relative (B : Forest S.ratio) (W : Matrix (Body 1 f) (Body 1 c) ℝ) (b : fieldDir G c 1) : AxisChart G B := |
| 94 | fun x => WithLp.toLp 2 (fun i : G.ColorIndex => |
| 95 | (extracted S B W *ᵥ (parts G 1 b i)) (x.val.1, coord x.val.2) - (linearCopy S.ratio (collect G b)) x i) |
| 96 | |
| 97 | def Guessed (B : Forest S.ratio) (W : Matrix (Body 1 f) (Body 1 c) ℝ) (ρ : fieldDir G c 1 → AxisChart G B) : Prop := |
| 98 | ∀ x : fieldDir G c 1, HasDerivAt (fun t : ℝ => ρ (t • x)) (relative B W x) 0 |
| 99 | |
| 100 | def PriceGap (B : Forest S.ratio) (p : Clip) (R : PathData G) (η : ℝ) := ∀ r, ∀ v : AxisChart G B, |
| 101 | η*(∑ i : B.Free, ‖v i‖^2) ≤ iteratedFDeriv ℝ 2 (tested B r p R 0) 0 ![v,v] |
| 102 | |
| 103 | /-- across same branch all T. These are pure Taylor matching, not implications |
| 104 | of calculus just because functions are defined. -/ |
| 105 | def SameJet {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] (j : ℕ) (f h : X → ℝ) := |
| 106 | ContDiffAt ℝ ω f 0 ∧ ContDiffAt ℝ ω h 0 ∧ iteratedFDeriv ℝ j f 0=iteratedFDeriv ℝ j h 0 |
| 107 | |
| 108 | def ClassicalMatch (B : Forest S.ratio) (p q : Clip) (R T : PathData G) (ρ : fieldDir G c 1 → AxisChart G B) := ∀ j, j≤4 → ∀ i : S.Choices, |
| 109 | SameJet j (fun x => tested B i p R x (ρ x)) (fun x => mainTerm q T (represent x)) |
| 110 | |
| 111 | end YM.Precision |