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.WILSON_STARTUP.Transform |
| 2 | import YM.Work.F08.Rows |
| 3 | |
| 4 | /-! |
| 5 | # Analytic row reflection turning the cutoff kinetic columns onto direct forms |
| 6 | |
| 7 | Use `Z = full + stack(1,0)`, reflect by `2 Z (ZᵀZ)⁻¹ Zᵀ - 1` at physical |
| 8 | real coordinates. Isometric everywhere, gives `stack(1,0) d` on full*d |
| 9 | when metric*d = d. Gram inverse analytic without polar decomposition of the |
| 10 | given ell! Preserves harmonic, period, and both counting directions. This is |
| 11 | an auxiliary delivery for linear tower choice, NOT a nonlinear field rotation |
| 12 | or permission to forget paths in mainTerm. Cost width is pre-L and not |
| 13 | inferred from an inverse at fixed period. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.WilsonStartup.Polar |
| 18 | open Matrix Function Filter RG Wilson Lattice Bloch Laurent Work Work.F08 Precision Exterior Change |
| 19 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 20 | variable {B : Bed} {p : Clip} {n : Side} |
| 21 | |
| 22 | abbrev AxisRows := Row Layers2 (TypeFace 2) |
| 23 | abbrev Kinetic := Row (TypeFace 2) (TypeFace 2) |
| 24 | abbrev LiftRows := Row Layers2 Layers2 |
| 25 | abbrev AxisBlock (n : Side) := Matrix (Co n Layers2) (Body 2 n) ℝ |
| 26 | abbrev FormBlock (n : Side) := Matrix (Body 2 n) (Body 2 n) ℝ |
| 27 | |
| 28 | def upper (n : Side) : AxisBlock n := Craft.stack (1 : FormBlock n) (0 : FormBlock n) |
| 29 | |
| 30 | def zRows (B : Bed) (p : Clip) : AxisRows := stackRows (scaleRows (Real.sqrt p.direct + 1) (unitRow _)) B.roots |
| 31 | |
| 32 | def projector (B : Bed) (p : Clip) (P : Kinetic) : LiftRows := composeRows (composeRows (zRows B p) P) (transRows (zRows B p)) |
| 33 | def orient (B : Bed) (p : Clip) (P : Kinetic) : LiftRows := minusRows (scaleRows 2 (projector B p P)) (unitRow _) |
| 34 | |
| 35 | lemma fullStack (B : Bed) (p : Clip) (n : Side) : B.full p n = Craft.stack ((Real.sqrt p.direct) • (1 : FormBlock n)) (B.roots.acts n) := rfl |
| 36 | |
| 37 | lemma stack_add (A B C D : FormBlock n) : Craft.stack A B + Craft.stack C D = Craft.stack (A+C) (B+D) := by ext ⟨x,i⟩ j; cases i <;> rfl |
| 38 | lemma stack_pair (A B C D : FormBlock n) : (Craft.stack A B)ᵀ * Craft.stack C D = Aᵀ * C + Bᵀ * D := by |
| 39 | ext i j |
| 40 | simp only [Matrix.add_apply, Matrix.mul_apply, Fintype.sum_prod_type]; simp_rw [Fintype.sum_sum_type,Finset.sum_add_distrib]; rfl |
| 41 | |
| 42 | lemma z_acts (B : Bed) (p : Clip) (n : Side) : (zRows B p).acts n = B.full p n + upper n := by |
| 43 | rw [zRows,acts_stack,acts_scale,acts_unit,fullStack,upper,stack_add, add_zero, add_smul,one_smul] |
| 44 | |
| 45 | lemma z_positive (B : Bed) (p : Clip) (n : Side) : let M := (zRows B p).acts n |
| 46 | Mᵀ * M = (Real.sqrt p.direct+1)^2 • 1 + ((B.roots.acts n)ᵀ * B.roots.acts n) := by |
| 47 | dsimp; rw [zRows,acts_stack,acts_scale,acts_unit,stack_pair, transpose_smul,transpose_one, Matrix.smul_mul, Matrix.one_mul,smul_smul,← sq] |
| 48 | |
| 49 | lemma same_exact (B : Bed) (p : Clip) (n : Side) {η Ω : ℝ} (h : Floor B p n η Ω) (hh : B.diagonal.acts n=1) : |
| 50 | ((zRows B p).acts n)ᵀ * (B.full p n*d 1 n) = ((zRows B p).acts n)ᵀ*(upper n*d 1 n) := by |
| 51 | rw [z_acts,Matrix.transpose_add,Matrix.add_mul,Matrix.add_mul]; repeat rw [← Matrix.mul_assoc] |
| 52 | simp only [h.roots, h.same,hh,Matrix.one_mul]; simp only [fullStack,upper,stack_pair,Matrix.transpose_one,Matrix.transpose_zero, Matrix.zero_mul, |
| 53 | Matrix.one_mul, transpose_smul, Matrix.mul_zero,Matrix.mul_one, add_zero] |
| 54 | abel |
| 55 | |
| 56 | section reflection |
| 57 | variable {ι τ ρ : Type} [Fintype ι] [DecidableEq ι] [Fintype τ] [DecidableEq τ] |
| 58 | {Z : Matrix ι τ ℝ} {P : Matrix τ τ ℝ} |
| 59 | omit [DecidableEq ι] in |
| 60 | lemma projector_sym (h : P*(Zᵀ*Z)=1) : (Z*P*Zᵀ)ᵀ = Z*P*Zᵀ := by |
| 61 | have hi := _root_.mul_eq_one_comm.mp h |
| 62 | have ht := congr_arg transpose hi |
| 63 | rw [transpose_mul,transpose_mul,transpose_transpose,transpose_one, ← h] at ht |
| 64 | have he := (IsUnit.of_mul_eq_one _ hi).mul_left_inj.mp ht |
| 65 | rw [transpose_mul,transpose_mul,transpose_transpose,he, ← Matrix.mul_assoc] |
| 66 | |
| 67 | omit [DecidableEq ι] in |
| 68 | lemma projector_square (h : P*(Zᵀ*Z)=1) : (Z*P*Zᵀ)*(Z*P*Zᵀ) = Z*P*Zᵀ := by |
| 69 | rw [← Matrix.mul_assoc, ← Matrix.mul_assoc, Matrix.mul_assoc _ Zᵀ Z,Matrix.mul_assoc Z P, h, Matrix.mul_one] |
| 70 | |
| 71 | lemma orthog (h : P*(Zᵀ*Z)=1) : let X := (2:ℝ) • (Z*P*Zᵀ) - 1; Xᵀ*X=1 := by |
| 72 | dsimp; simp only [two_smul ℝ, transpose_sub,transpose_one,transpose_add, projector_sym h,Matrix.sub_mul,Matrix.mul_sub, |
| 73 | Matrix.add_mul,Matrix.mul_add,Matrix.one_mul, Matrix.mul_one,projector_square h]; abel |
| 74 | |
| 75 | lemma reflect_exact {A C : Matrix ι ρ ℝ} (h : P*(Zᵀ*Z)=1) (R : Matrix τ ρ ℝ) |
| 76 | (hS : Z*R = A+C) (hA : Zᵀ*A = Zᵀ*C) : ((2:ℝ) • (Z*P*Zᵀ) - 1)*A = C := by |
| 77 | have he : A+C=Z*P* (Zᵀ* (A+C)) := by rw [← hS, ← Matrix.mul_assoc _ Z R, ← Matrix.mul_assoc (Z*P),Matrix.mul_assoc Z P (Zᵀ*Z),h, Matrix.mul_one] |
| 78 | rw [Matrix.mul_add, ← hA, Matrix.mul_add, ← Matrix.mul_assoc,add_comm A] at he |
| 79 | rw [Matrix.sub_mul, two_smul ℝ,Matrix.add_mul,Matrix.one_mul,← he]; abel |
| 80 | end reflection |
| 81 | |
| 82 | lemma strip_z (B : Bed) (p : Clip) {η A : ℝ} (h : B.roots.strip η A) : |
| 83 | (zRows B p).strip η (max ‖Real.sqrt p.direct + 1‖ A) := by |
| 84 | have hh := strip_stack (strip_scale (α := TypeFace 2) strip_unit (Real.sqrt p.direct + 1)) h |
| 85 | rwa [mul_one] at hh |
| 86 | |
| 87 | lemma orient_ready (B : Bed) (p : Clip) (P : Kinetic) {A C η : ℝ} (hz : (zRows B p).strip η A) (hP : P.strip η C) (he : 0 < η) : |
| 88 | let m := (Fintype.card (TypeFace 2) : ℝ) |
| 89 | (orient B p P).strip η (2*(m*((m*(A*C))*A))+1) ∧ ∀ n : Side, |
| 90 | let Z := (zRows B p).acts n |
| 91 | (orient B p P).acts n = (2:ℝ) • (Z * P.acts n * Zᵀ)-1 := by |
| 92 | have h := strip_compose he.le hz hP |
| 93 | have hs := strip_compose he.le h (strip_trans hz) |
| 94 | constructor |
| 95 | · have hh := strip_minus (strip_scale hs 2) strip_unit |
| 96 | rw [show ‖(2:ℝ)‖=2 by norm_num] at hh; exact hh |
| 97 | intro n |
| 98 | simp only |
| 99 | rw [orient,projector,acts_minus he.le (strip_scale hs _) strip_unit,acts_scale, acts_unit, |
| 100 | acts_compose he.le h (strip_trans hz),acts_compose he.le hz hP,acts_trans] |
| 101 | |
| 102 | theorem orient_uniform (p : Clip) {A η : ℝ} (hA : 0 ≤ A) (hη : 0 < η) : |
| 103 | ∃ τ C : ℝ, 0 < τ ∧ 0 ≤ C ∧ ∀ B : Bed, B.roots.strip η A → ∃ S : LiftRows, S.strip τ C ∧ |
| 104 | ∀ n : Side, (S.acts n)ᵀ * S.acts n = 1 ∧ ∀ a v : ℝ, Floor B p n a v → B.diagonal.acts n=1 → |
| 105 | S.acts n * (B.full p n * d 1 n) = upper n * d 1 n := by |
| 106 | let e := Real.sqrt p.direct+1 |
| 107 | obtain ⟨C,t,ht,hC,H⟩ := deliver (TypeFace 2) (e^2) η A (by unfold e; positivity) hη hA |
| 108 | let τ := min η t |
| 109 | let r := max ‖e‖ A |
| 110 | let m : ℝ := Fintype.card (TypeFace 2) |
| 111 | have hτ : 0 < τ := lt_min hη ht |
| 112 | have hr := (norm_nonneg _).trans (le_max_left ‖e‖ A) |
| 113 | refine ⟨τ,2*(m*((m*(r*C))*r))+1,hτ,by unfold r m; positivity,fun B h => ?_⟩ |
| 114 | obtain ⟨P,hp,hS⟩ := H _ h |
| 115 | obtain ⟨hw,hv⟩ := orient_ready B p P (strip_z B p (strip_mono h (min_le_left ..) le_rfl)) (strip_mono hp (min_le_right ..) le_rfl) hτ |
| 116 | refine ⟨orient B p P, hw,fun n => ?_⟩; rw [hv] |
| 117 | have hz := hS n; rw [← show _ = e^2 • _ + _ from z_positive B p n] at hz |
| 118 | exact ⟨orthog hz,fun a v ha hb => reflect_exact hz (d 1 n) (by rw [z_acts,Matrix.add_mul]) (same_exact B p n ha hb)⟩ |
| 119 | end YM.WilsonStartup.Polar |