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.Next.EXTRACTION.Tails |
| 2 | import YM.Push.FINITE_DETECTION.Response |
| 3 | |
| 4 | /-! Reflection in component tensors at the two-point detector axis. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.Push.FiniteDetection.Kelvin |
| 8 | open Function Set Filter Analysis Maxwell WaveOn Tensor |
| 9 | open scoped Topology BigOperators ContDiff |
| 10 | variable {G : Gauge} {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] {j l : ℕ} |
| 11 | |
| 12 | def pole := basis timeAxis |
| 13 | lemma pole_in : pole ∈ away := by change pole ≠ 0; apply norm_ne_zero_iff.mp; simp [pole] |
| 14 | abbrev σ : Ortho := Signed.reflect timeAxis |
| 15 | abbrev flipE : E4 ≃ₗᵢ[ℝ] E4 := σ.motion |
| 16 | lemma σ_inv : σ⁻¹ = σ := ((map_inv Signed.inclusionO _).symm.trans (congr_arg Signed.inclusionO (Signed.mirror_inv _))) |
| 17 | lemma flip_pole : flipE pole = -pole := by ext i; simp [pole,flipE]; split <;> simp_all |
| 18 | |
| 19 | def sign (a : Axis) := if a = timeAxis then (-1:ℝ) else 1 |
| 20 | @[simp] lemma sign_sq (a : Axis) : sign a * sign a = 1 := by unfold sign; split <;> norm_num |
| 21 | lemma flipE_at (x : E4) (a : Axis) : flipE x a = sign a * x a := by simp [sign] |
| 22 | @[simp] lemma flipE_flip (x : E4) : flipE (flipE x) = x := by ext1 a; rw [flipE_at,flipE_at,← mul_assoc,sign_sq,one_mul] |
| 23 | lemma flipE_basis (a : Axis) : flipE (basis a) = sign a • basis a := by ext i; rw [flipE_at]; simp; split <;> simp_all |
| 24 | |
| 25 | abbrev pairSign (a b : Axis) := sign a * sign b |
| 26 | |
| 27 | def turning (Y : Maxwell.Field F) : Maxwell.Field F := fun a b x => pairSign a b • Y a b (flipE x) |
| 28 | |
| 29 | def reflectedJet : TwoJet F j →ₗ[ℝ] TwoJet F j where |
| 30 | toFun Q a b := pairSign a b • ((Q a b).compContinuousLinearMap fun _ => flipE.toContinuousLinearMap) |
| 31 | map_add' Q Y := by funext a b; ext1 u; apply smul_add |
| 32 | map_smul' c Q := by funext a b; ext1 u; exact smul_comm _ c _ |
| 33 | |
| 34 | lemma apply_jet (Q : TwoJet F j) (a b : Axis) (v : Fin j → E4) : reflectedJet Q a b v = pairSign a b • Q a b (flipE ∘ v) := rfl |
| 35 | lemma diag_jet (Q : TwoJet F j) : actual (reflectedJet Q) = turning (actual Q) := rfl |
| 36 | @[simp] lemma reflected_twice (Q : TwoJet F j) : reflectedJet (reflectedJet Q) = Q := by |
| 37 | funext a b; ext1 u |
| 38 | rw [apply_jet,apply_jet,smul_smul,mul_mul_mul_comm,sign_sq,sign_sq,mul_one,one_smul] |
| 39 | exact congr_arg _ (funext fun i => flipE_flip (u i)) |
| 40 | |
| 41 | lemma coeff_reflect (Y : Maxwell.Field F) {x : E4} (h : ∀ a b, smoothAt (Y a b) (flipE x)) : |
| 42 | nth (turning Y) j x = reflectedJet (nth Y j (flipE x)) := by |
| 43 | funext a b |
| 44 | let L := flipE.toContinuousLinearEquiv |
| 45 | have he := L.iteratedFDerivWithin_comp_right (Y a b) (uniqueDiffOn_univ) (mem_univ (L x)) j |
| 46 | simp only [preimage_univ,iteratedFDerivWithin_univ] at he |
| 47 | change coeff ((pairSign a b) • ((Y a b) ∘ L)) j x = _ |
| 48 | rw [coeff_smul _ (by exact ((h a b).comp x L.contDiff.contDiffAt |>.of_le (allOrders _))), coeff,he]; ext1 u |
| 49 | rw [apply_jet]; rfl |
| 50 | |
| 51 | lemma grad_turning (Y : Maxwell.Field F) {x : E4} (i a b : Axis) (h : smoothAt (Y a b) (flipE x)) : |
| 52 | grad i (turning Y a b) x = (sign i * pairSign a b) • grad i (Y a b) (flipE x) := by |
| 53 | let L := flipE.toContinuousLinearMap |
| 54 | have hf : DifferentiableAt ℝ (Y a b) (L x) := h.differentiableAt (by simp) |
| 55 | change fderiv ℝ (pairSign a b • ((Y a b) ∘ L)) x _ = _ |
| 56 | rw [fderiv_const_smul (hf.comp x L.differentiableAt),smul_apply,fderiv_comp x hf L.differentiableAt,L.fderiv, |
| 57 | ContinuousLinearMap.comp_apply, show L (basis i) = _ from flipE_basis i,map_smul]; rw [smul_smul,mul_comm]; rfl |
| 58 | |
| 59 | theorem reflected_mem (Y : Shell G j) : reflectedJet Y.val ∈ onShell _ _ := by |
| 60 | have h := wave_actual Y.property |
| 61 | have hs x a b := h.smooth a b (flipE x) trivial |
| 62 | refine ⟨⟨fun a b u r => congr_arg (fun z => pairSign a b • z) (Y.property.1.coeffSym a b (flipE ∘ u) r), ?_,?_⟩, ?_⟩ |
| 63 | · intro a b; ext1 u; rw [apply_jet, Y.property.1.antisymmetric a b]; simp only [pairSign,mul_comm,apply_jet,neg_apply,smul_neg] |
| 64 | · intro a b c x |
| 65 | change grad a (turning (actual Y.val) b c) _ + grad b (turning (actual Y.val) c a) _ + grad c (turning (actual Y.val) a b) _ = _ |
| 66 | rw [grad_turning _ _ _ _ (hs x b c),grad_turning _ _ _ _ (hs x c a),grad_turning _ _ _ _ (hs x a b)] |
| 67 | rw [show sign b * pairSign c a = sign a * pairSign b c by unfold pairSign; ring, |
| 68 | show sign c * pairSign a b = sign a * pairSign b c by unfold pairSign; ring,← smul_add, ← smul_add, |
| 69 | h.cycle a b c (flipE x) trivial,smul_zero] |
| 70 | intro b x |
| 71 | change ∑ i, grad i (turning (actual Y.val) i b) _ = _ |
| 72 | simp_rw [grad_turning _ _ _ _ (hs x _ _),pairSign,← mul_assoc,sign_sq,one_mul,← Finset.smul_sum,h.divergence b (flipE x) trivial, smul_zero] |
| 73 | |
| 74 | def mirrorJet : Shell G j →ₗ[ℝ] Shell G j := |
| 75 | (reflectedJet.comp (onShell _ _).subtype).codRestrict _ reflected_mem |
| 76 | @[simp] lemma mirror_twice (Y : Shell G j) : mirrorJet (mirrorJet Y) = Y := Subtype.ext (reflected_twice _) |
| 77 | |
| 78 | lemma gaugeMirror (Y : Shell G j) : gaugeJet (mirrorJet Y) = Labels.Taylor.turn σ (gaugeJet Y) := by |
| 79 | apply Labels.Taylor.value_ext; funext i x |
| 80 | change (contracted (reflected_mem Y).1).value i x = _ |
| 81 | rw [Labels.Taylor.turn_value,σ_inv, Finset.sum_eq_single_of_mem i (Finset.mem_univ _) (fun j _ hj => ?_), |
| 82 | show σ.val i i = sign i by simp [σ,Signed.reflect,Signed.ortho,Signed.matrix_at,Signed.mirror,sign,eq_comm]] |
| 83 | · change (contracted (reflected_mem Y).1).value i x = sign i • (contracted Y.property.1).value i (σ.move x) |
| 84 | rw [contracted_diag,contracted_diag,smul_comm (sign i),Finset.smul_sum (r := sign i)]; congr 1 |
| 85 | refine Finset.sum_congr rfl fun k _ => ?_ |
| 86 | change x k • actual (reflectedJet Y.val) k i x = _ |
| 87 | rw [diag_jet, turning,show σ.move x k = _ from flipE_at x k]; simp only [actual,smul_smul,pairSign]; congr 1; ring |
| 88 | simp [σ,Signed.reflect,Signed.ortho,Signed.matrix_at,Signed.mirror,hj] |
| 89 | |
| 90 | lemma frob_reflected (Y P : TwoJet G.Color j) : frob (G := G) (reflectedJet Y) P = frob Y (reflectedJet P) := by |
| 91 | simp only [frob_apply,apply_jet] |
| 92 | apply Finset.sum_congr rfl; intro c _ |
| 93 | apply Finset.sum_congr rfl; intro i _ |
| 94 | apply Finset.sum_congr rfl; intro k _ |
| 95 | apply Finset.sum_congr rfl; intro u _ |
| 96 | rw [show flipE ∘ basis ∘ u = fun i => sign (u i) • (basis ∘ u) i from funext fun i => flipE_basis _, |
| 97 | (Y i k).map_smul_univ, (P i k).map_smul_univ]; simp; ring |
| 98 | |
| 99 | lemma R_flip (x : E4) : R (flipE x) = R x := by simp [R, Ortho.move_norm] |
| 100 | lemma inversion_flip (x : E4) : inversion (flipE x) = flipE (inversion x) := by |
| 101 | rw [inversion,R_flip]; exact ((map_neg flipE _).trans (congr_arg Neg.neg (map_smul flipE ..))).symm |
| 102 | lemma turning_inverted (Y : Maxwell.Field F) : inverted (turning Y) = turning (inverted Y) := by |
| 103 | funext a b x |
| 104 | let u := inversion (flipE x) |
| 105 | have he (b : Axis) : iota x (fun a b => turning Y a b (inversion x)) b = |
| 106 | sign b • iota (flipE x) (fun a b => Y a b u) b := by |
| 107 | rw [iota,iota,Finset.smul_sum]; apply Finset.sum_congr rfl; intro k _ |
| 108 | rw [turning,← inversion_flip, flipE_at] |
| 109 | dsimp only; rw [smul_smul, smul_smul]; congr 1; dsimp [pairSign]; ring |
| 110 | have hh (a b : Axis) (v : F) : x a • sign b • v = pairSign a b • flipE x a • v := by |
| 111 | rw [flipE_at, smul_smul, smul_smul]; congr 1 |
| 112 | unfold pairSign; calc |
| 113 | _ = (sign a * sign a) * (x a * sign b) := by rw [sign_sq,one_mul] |
| 114 | _ = _ := by ring |
| 115 | conv_lhs => unfold inverted adjust |
| 116 | dsimp only |
| 117 | rw [he,he,turning,← inversion_flip] |
| 118 | conv_rhs => unfold turning inverted adjust |
| 119 | rw [hh a b,hh b a,show pairSign b a = pairSign a b from mul_comm ..,← smul_sub,smul_comm (2 * R x), |
| 120 | ← smul_sub,smul_comm (R x ^ 2),R_flip] |
| 121 | |
| 122 | def asProbe (Y : Shell G j) := constrain (frob Y.val) |
| 123 | |
| 124 | def form (p : Probe G j) (q : Probe G l) := pairing pole_in p (q.comp mirrorJet) |
| 125 | |
| 126 | lemma toProbe_reflected (Y : Shell G j) : asProbe (mirrorJet Y) = (asProbe Y).comp mirrorJet := by |
| 127 | ext1 x; exact frob_reflected .. |
| 128 | |
| 129 | lemma response_flip (Y : Shell G j) : reflectedJet (nth (responded G (frob Y.val)) l pole) = |
| 130 | nth (responded G (frob (mirrorJet Y).val)) l (-pole) := by |
| 131 | have hp : flipE (-pole) = pole := by rw [map_neg,flip_pole,neg_neg] |
| 132 | let F := responded G (frob Y.val) |
| 133 | let F' := responded G (frob (mirrorJet Y).val) |
| 134 | change reflectedJet (nth F l pole) = nth F' l (-pole) |
| 135 | conv_lhs => rw [← hp,← coeff_reflect F (fun a b => (response (frob (G := G) Y.val)).smooth _ _ _ (hp.symm ▸ pole_in))] |
| 136 | funext a b |
| 137 | apply GermCoeff |
| 138 | have hv : -pole ∈ away := neg_ne_zero.mpr pole_in |
| 139 | filter_upwards [open_away.mem_nhds hv] with x hx |
| 140 | have hw : flipE x ∈ away := by |
| 141 | change flipE x ≠ 0; exact (map_ne_zero_iff flipE flipE.injective).mpr hx |
| 142 | change pairSign a b • F a b (flipE x) = F' a b x |
| 143 | rw [show F a b (flipE x) = _ from response_eq Y a b hw,smul_comm, |
| 144 | show F' a b x = _ from response_eq (mirrorJet Y) a b hx]; congr 1 |
| 145 | change turning (inverted (actual Y.val)) a b x = inverted (actual (reflectedJet Y.val)) a b x |
| 146 | rw [diag_jet, turning_inverted] |
| 147 | |
| 148 | theorem reflection_form (Y : Shell G j) (Z : Shell G l) : |
| 149 | form (asProbe Y) (asProbe Z) = form (asProbe Z) (asProbe Y) := by |
| 150 | rw [form,form, exchange,← toProbe_reflected Z,← toProbe_reflected Y] |
| 151 | change legKernel (asProbe (mirrorJet Z)) (asProbe Y) (-pole) = legKernel (asProbe Z) (asProbe (mirrorJet Y)) pole |
| 152 | unfold asProbe |
| 153 | rw [concrete (G := G) (frob (mirrorJet Z).val) (frob Y.val) (neg_ne_zero.mpr pole_in), |
| 154 | concrete (G := G) (frob Z.val) (frob (mirrorJet Y).val) pole_in, contraction,contraction] |
| 155 | change _ = (-1)^j * frob (G := G) (reflectedJet Y.val) _ |
| 156 | rw [frob_reflected,response_flip] |
| 157 | end YM.Push.FiniteDetection.Kelvin |