Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.RepresentationTheory.Theta.Adelic.SplitCoordinates |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.SplitTensor |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.FrameChange |
| 4 | |
| 5 | /-! # Construct Split Polarization -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Adelic.ConstructSplitPolarization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construction of the split-place coordinate data from a square root of |
| 12 | the quadratic parameter. The SL₃ identification and symplectic change of |
| 13 | polarization are both explicit constructions. -/ |
| 14 | |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.SplitCoordinates OAI.RepresentationTheory.Theta.Adelic.SplitUnitary |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.SplitUnitary.Special OAI.RepresentationTheory.Theta.Adelic.SplitTensor.Frame |
| 20 | open OAI.RepresentationTheory.Theta.Adelic.SplitTensor.Action OAI.RepresentationTheory.Theta.Adelic.FrameChange |
| 21 | |
| 22 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 23 | (H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 24 | (K : (Matrix (Fin 1) (Fin 1) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 25 | (hH : H.val.conjTranspose = H.val) (hK : K.val.conjTranspose = -K.val) |
| 26 | (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 1 H K) (v : FiniteSchwartz.FinitePlace F) |
| 27 | |
| 28 | def constructedSplitPolarization |
| 29 | (r : Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F (.inr v)) (hr : r ^ 2 = Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) d) : |
| 30 | SplitCoordinates.SplitPolarization F d H K P v := by |
| 31 | let : CharZero (v.adicCompletion F) := Weil.AdelicSplitting.ArchimedeanAdeles.Construction.completionCharZero F (.inr v) |
| 32 | have hr0 : r ≠ 0 := by |
| 33 | intro h0 |
| 34 | apply hd |
| 35 | apply (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v)).injective |
| 36 | rw [map_zero, ← hr, h0, zero_pow (by decide : 2 ≠ 0)] |
| 37 | let HL := Weil.AdelicSplitting.Assembly.Construction.localizedUnit F d H (.inr v) |
| 38 | let KL := Weil.AdelicSplitting.Assembly.Construction.localizedUnit F d K (.inr v) |
| 39 | let j := Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal F d (.inr v) |
| 40 | have hjstar (z : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d) : j (star z) = star (j z) := |
| 41 | Weil.AdelicSplitting.UnitaryBase.Construction.quadraticBaseChange_star (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v)) d z |
| 42 | have hHL : HL.val.conjTranspose = HL.val := |
| 43 | (Weil.AdelicSplitting.UnitaryBase.Construction.map_conjTranspose j hjstar H.val).symm.trans (congrArg (fun A => A.map j) hH) |
| 44 | have hKL : KL.val.conjTranspose = -KL.val := |
| 45 | (Weil.AdelicSplitting.UnitaryBase.Construction.map_conjTranspose j hjstar K.val).symm.trans |
| 46 | ((congrArg (fun A => A.map j) hK).trans (map_neg j.mapMatrix K.val)) |
| 47 | let e := SplitUnitary.Special.specialUnitaryEquivSL r hr hr0 HL hHL |
| 48 | let c := SplitTensor.Frame.splitFrame r hr hr0 HL KL hHL hKL |
| 49 | refine ⟨r, hr, e.symm, FrameChange.frameChange (P.localFrame (.inr v)) c, ?_⟩ |
| 50 | intro g |
| 51 | have hp : SplitUnitary.plusUnitary r hr hr0 HL (SpecialUnitary.includeUnitary HL.val (e.symm g)) = |
| 52 | Matrix.SpecialLinearGroup.toGL g := by |
| 53 | apply Units.ext |
| 54 | exact congrArg (fun A : Matrix.SpecialLinearGroup (Fin 3) (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F (.inr v)) => A.val) |
| 55 | (e.apply_symm_apply g) |
| 56 | change FrameChange.frameChange (P.localFrame (.inr v)) c * |
| 57 | Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic HL.val KL.val (P.localFrame (.inr v)) |
| 58 | (SpecialUnitary.includeUnitary HL.val (e.symm g), 1) * (FrameChange.frameChange (P.localFrame (.inr v)) c)⁻¹ = _ |
| 59 | rw [FrameChange.frameChange_conjugates] |
| 60 | exact (SplitTensor.Action.splitFrame_action r hr hr0 HL KL hHL hKL _).trans (congrArg Weil.Local.Generators.Construction.leviSymplectic hp) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.RepresentationTheory.Theta.Adelic.ConstructSplitPolarization |