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.AnalyticNext.QUARTIC_MATCH.Estimate.Payroll |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Rephase |
| 3 | import YM.Next.FREE_KERNELS.Signed |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Price after orientation of inputs (including root shift) |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.AnalyticNext.QuarticMatch.Local |
| 12 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson Branch Bloch |
| 13 | open Progress.StationaryScenes Work.F03 YM.Next.Free Work.F08 |
| 14 | open Joint Estimate Estimate.Purse Estimate.Logfee |
| 15 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 16 | attribute [local instance] Gauge.frobInner |
| 17 | variable {G : Gauge} {n l : Side} {ι : Type} [DecidableEq ι] |
| 18 | namespace Rotate |
| 19 | variable (s : Signed) |
| 20 | |
| 21 | def amplify (P : Purse ι (Site n)) (η : ℝ) : Purse ι (Site n) := { P with |
| 22 | amps := fun i => Real.exp (2*η) * P.amps i |
| 23 | budget := fun i => mul_nonneg (Real.exp_pos _).le (P.budget i) |
| 24 | toll := fun i x => P.toll i (s.act x) |
| 25 | toll_pos := fun i x => P.toll_pos i (s.act x) } |
| 26 | |
| 27 | lemma read_norm (i : Axis) (v : Site n) (a : Dir G n) : |
| 28 | let y := (posDir i).rotate s |
| 29 | ‖shifts s 0 a (v,coord i)‖=‖a ((y.used (s.act v)).1,coord (y.used (s.act v)).2)‖ := by |
| 30 | intro y; rw [shifts,ContinuousLinearMap.pi_apply]; dsimp only |
| 31 | rw [affine,add_zero,show axisEquiv.symm (coord i)=_ from axisEquiv.symm_apply_apply i]; split |
| 32 | · exact norm_neg _ |
| 33 | rfl |
| 34 | lemma pay_curl (i : PlaqAxes) (v : Site n) (a : Dir G n) : |
| 35 | ‖faceCurl (v,i) (shifts s 0 a)‖=‖faceCurl (Face.send s 0 (v,i)) a‖ := by |
| 36 | have hh : faceCurl (v,i) (shifts s 0 a) = turned s i • faceCurl (Face.send s 0 (v,i)) a := by |
| 37 | ext j |
| 38 | have he : shifts s 0 a = pulled a s := by |
| 39 | funext k; unfold shifts pulled; rw [ContinuousLinearMap.pi_apply]; dsimp only; split <;> rfl |
| 40 | rw [he] |
| 41 | exact (by |
| 42 | have h := rotations_d (parts G 1 a j) s v i |
| 43 | rw [← pigment s n G a j] at h; exact h) |
| 44 | rw [hh,norm_smul]; rw [Next.Free.turned]; split_ifs <;> norm_num |
| 45 | |
| 46 | lemma shorter (p : PlaqAxes) (x : Site n) : separation (s.act x) (Face.send s 0 (x,p)).1 ≤ 2 := by |
| 47 | unfold Face.send Face.lower; simp only [affine,add_zero,atFace] |
| 48 | have hx (x : Site n) (a : Step) : separation x (x+if a.neg then a.vec else 0) ≤ 1 := by |
| 49 | split; exact (Response.by_one ..).1; simp |
| 50 | apply (separation_triangle _ (s.act x+(if ((posDir p.val.1).rotate s).neg then ((posDir p.val.1).rotate s).vec else 0)) _).trans |
| 51 | exact Nat.add_le_add (hx _ _) (hx _ _) |
| 52 | |
| 53 | lemma shortened (p : PlaqAxes) : Injective (fun i : Site n => (Face.send s 0 (i,p)).1) := by |
| 54 | intro i j he |
| 55 | have hh := Face.injective_send s (0:Site n) (a₁:=(i,p)) (a₂:=(j,p)) (Prod.ext he rfl) |
| 56 | exact congr_arg Prod.fst hh |
| 57 | |
| 58 | section fares |
| 59 | variable {P : Purse ι (Site n)} {η : ℝ} (h : tollRate P l η) (he : 0 ≤ η) {d : ι→Dir G n} |
| 60 | include h |
| 61 | omit [DecidableEq ι] in |
| 62 | lemma stays : tollRate (amplify s P η) l η := by |
| 63 | intro i x y; have hh := h i (s.act x) (s.act y); simp only [Green.wt,separation_signed] at hh; exact hh |
| 64 | include he |
| 65 | omit [DecidableEq ι] in |
| 66 | lemma reindex {C : ℝ} (w : Equiv.Perm (Site n)) {f g : Site n→G.Color} (k : ι) |
| 67 | (hx : ∀ i, separation (s.act i) (w i) ≤ 2) (hp : ∀ i, ‖f (w i)‖=‖g i‖) (hb : P.Pays {k} f C) : (amplify s P η).Pays {k} g C := by |
| 68 | let L := Real.exp (2*η) |
| 69 | have hm i : (amplify s P η).price {k} i* ‖g i‖ ≤ L*(P.price {k} (w i)*‖f (w i)‖) := by |
| 70 | simp_rw [← hp i,price,Finset.prod_singleton]; rw [← mul_assoc] |
| 71 | have hh := (enters h he k _ _ _ (hx i)).trans (mul_le_mul_of_nonneg_right (guide_le l 2 η he) (P.toll_pos ..).le) |
| 72 | apply mul_le_mul_of_nonneg_right _ (norm_nonneg _); unfold amplify L; simpa [mul_comm] using hh |
| 73 | have ht : (amplify s P η).target {k}=L*P.target {k} := by simp only [target,Finset.prod_singleton]; rfl |
| 74 | have hl : 0 ≤ L := (Real.exp_pos _).le |
| 75 | refine ⟨hb.1,fun he i => (hm i).trans ((mul_le_mul_of_nonneg_left (hb.2.1 he _) hl).trans_eq (by rw [ht]; ring)),fun he => ?_⟩ |
| 76 | let x i := P.price {k} i * ‖f i‖ |
| 77 | apply (rless (fun i => mul_nonneg ((amplify s P η).price_pos _ _).le (norm_nonneg _)) hm).trans |
| 78 | calc |
| 79 | _ = L*rlen (x ∘ w) := rconstant hl _ |
| 80 | _ = L*rlen x := by rw [rperm] |
| 81 | _ ≤ _ := (mul_le_mul_of_nonneg_left (hb.2.2 he) hl).trans_eq (by rw [ht]; unfold amplify; dsimp only; ring) |
| 82 | omit h he in |
| 83 | lemma use_bij (y : Step) : Bijective (fun i : Site n => (y.used (s.act i)).1) := by |
| 84 | rcases y with ⟨a,v|v⟩ |
| 85 | · exact (Signed.actEquiv (R:=Per n) s).bijective |
| 86 | simp only [Step.used,if_true, sub_eq_add_neg] |
| 87 | exact ((Signed.actEquiv (R:=Per n) s).toEquiv.trans (Equiv.addRight (-step a))).bijective |
| 88 | omit [DecidableEq ι] in |
| 89 | lemma bonds (hp : Linkbill l P d) : Linkbill l (amplify s P η) (shifts s 0 ∘ d) := by |
| 90 | intro i j; obtain ⟨k,rfl⟩ := axisEquiv.surjective j |
| 91 | let y := (posDir k).rotate s |
| 92 | let F := fun i : Site n => (y.used (s.act i)).1 |
| 93 | have hv : ∀ i : Site n,(y.used i).2=y.dir := by intro i; unfold Step.used; split <;> rfl |
| 94 | refine reindex s h he (Equiv.ofBijective F (use_bij s y)) i (fun x => ((Response.by_one (s.act x) y).2.trans (by decide))) (fun x => ?_) (hp i (coord y.dir)) |
| 95 | have hh := read_norm s k x (d i); dsimp only at hh; rw [hv] at hh; exact hh.symm |
| 96 | omit [DecidableEq ι] in |
| 97 | lemma bending (hp : Plaque.BendBill l P d) : Plaque.BendBill l (amplify s P η) (shifts s 0 ∘ d) := by |
| 98 | intro i k; let t (x : Site n) := (Face.send s 0 (x,k)).1 |
| 99 | let w := Equiv.ofBijective t (Finite.injective_iff_bijective.mp (shortened s k)) |
| 100 | have hh j : faceCurl (w j,k.rotate s) (d i)=faceCurl (Face.send s 0 (j,k)) (d i) := rfl |
| 101 | have hk j : ‖faceCurl (w j,k.rotate s) (d i)‖= ‖faceCurl (j,k) (shifts s (0:Site n) (d i))‖ := by rw [hh,pay_curl] |
| 102 | exact reindex s h he w (f:=fun x => faceCurl (x,k.rotate s) (d i)) (g:=fun x => faceCurl (x,k) (shifts s (0:Site n) (d i))) i (fun j => shorter s k j) hk (hp i _) |
| 103 | end fares |
| 104 | omit [DecidableEq ι] in |
| 105 | lemma restores {C η : ℝ} {P : Purse ι (Site n)} {x : Site n→ℝ} {k : Finset ι} |
| 106 | (h : (amplify s P η).Pays k x C) : P.Pays k (x ∘ (fun i => s⁻¹.act i)) (Real.exp (2*η)^k.card*C) := by |
| 107 | have ht : (amplify s P η).target k=Real.exp (2*η)^k.card*P.target k := by unfold target amplify; simp only |
| 108 | [Finset.prod_mul_distrib, Finset.prod_const] |
| 109 | have hp i : P.price k i=(amplify s P η).price k (s⁻¹.act i) := by simp only [price,amplify]; rw [Signed.act_inv] |
| 110 | have hk : P.cap=(amplify s P η).cap := rfl |
| 111 | let w (i : Site n) := (amplify s P η).price k i* ‖x i‖ |
| 112 | refine ⟨mul_nonneg (pow_nonneg (Real.exp_pos _).le _) h.1,fun he i => ?_,fun he => ?_⟩ |
| 113 | · calc |
| 114 | _ = w (s⁻¹.act i) := by unfold w; rw [← hp]; rfl |
| 115 | _ ≤ _ := (h.2.1 he _).trans_eq (by rw [ht]; ring) |
| 116 | rw [show (fun i => P.price k i*_)=w ∘ (Signed.actEquiv (R:=Per n) s⁻¹).toEquiv from ?_] |
| 117 | · rw [rperm]; exact (h.2.2 he).trans_eq (by rw [ht,hk]; ring) |
| 118 | funext i; unfold w; simp only [Function.comp_apply]; rw [hp i]; rfl |
| 119 | end Rotate |
| 120 | end YM.AnalyticNext.QuarticMatch.Local |