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.Weil.AdelicSplitting.Vacuum |
| 2 | import OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 3 | |
| 4 | /-! # Finite Symplectic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.FiniteSymplectic.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Assemble the actual restricted family of local symplectic matrices |
| 11 | into one symplectic matrix over the number field's finite adele ring. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Matrix |
| 14 | open Filter _root_.Matrix OAI.RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction |
| 15 | |
| 16 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 17 | |
| 18 | abbrev Place := IsDedekindDomain.HeightOneSpectrum (𝓞 F) |
| 19 | abbrev Group := RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup (fun v : Place F => RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.symplecticIntegral F N (.inr v)) |
| 20 | |
| 21 | def evaluation (v : Place F) : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F →+* v.adicCompletion F := |
| 22 | RestrictedProduct.evalRingHom (fun w : Place F => w.adicCompletion F) v |
| 23 | |
| 24 | def matrix (g : Group F N) : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := |
| 25 | fun i j => ⟨fun v => (g v).val i j, by |
| 26 | filter_upwards [g.property] with v hv |
| 27 | exact hv.1 i j⟩ |
| 28 | |
| 29 | theorem matrix_evaluation (g : Group F N) (v : Place F) : |
| 30 | (matrix F N g).map (evaluation F v) = (g v).val := rfl |
| 31 | |
| 32 | theorem matrix_ext {I : Type*} (A B : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F)) |
| 33 | (h : ∀ v : Place F, A.map (evaluation F v) = B.map (evaluation F v)) : A = B := by |
| 34 | apply Matrix.ext |
| 35 | intro i j |
| 36 | apply RestrictedProduct.ext |
| 37 | intro v |
| 38 | exact congrFun (congrFun (h v) i) j |
| 39 | |
| 40 | theorem matrix_symplectic (g : Group F N) : |
| 41 | matrix F N g ∈ Matrix.symplecticGroup (Fin N) (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) := by |
| 42 | apply SymplecticGroup.mem_iff'.mpr |
| 43 | apply matrix_ext F |
| 44 | intro v |
| 45 | rw [Matrix.map_mul, Matrix.map_mul, Matrix.transpose_map, Matrix.map_J, |
| 46 | matrix_evaluation, SymplecticGroup.mem_iff'.mp (g v).property] |
| 47 | |
| 48 | def assemble : Group F N →* RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) where |
| 49 | toFun g := ⟨matrix F N g, matrix_symplectic F N g⟩ |
| 50 | map_one' := by |
| 51 | apply Subtype.ext |
| 52 | apply matrix_ext F |
| 53 | intro v |
| 54 | rw [matrix_evaluation] |
| 55 | change (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) (v.adicCompletion F)) = |
| 56 | (1 : Matrix (Fin N ⊕ Fin N) (Fin N ⊕ Fin N) (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F)).map (evaluation F v) |
| 57 | exact ((evaluation F v).mapMatrix.map_one).symm |
| 58 | map_mul' g h := by |
| 59 | apply Subtype.ext |
| 60 | apply matrix_ext F |
| 61 | intro v |
| 62 | change (matrix F N (g * h)).map (evaluation F v) = |
| 63 | (matrix F N g * matrix F N h).map (evaluation F v) |
| 64 | rw [matrix_evaluation, Matrix.map_mul, matrix_evaluation, matrix_evaluation] |
| 65 | rfl |
| 66 | |
| 67 | theorem assemble_evaluation (g : Group F N) (v : Place F) : |
| 68 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.mapSp (evaluation F v) (assemble F N g) = g v := |
| 69 | Subtype.ext (matrix_evaluation F N g v) |
| 70 | |
| 71 | theorem assemble_injective : Function.Injective (assemble F N) := by |
| 72 | intro g h he |
| 73 | apply RestrictedProduct.ext |
| 74 | intro v |
| 75 | exact (assemble_evaluation F N g v).symm.trans |
| 76 | ((congrArg (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.mapSp (evaluation F v)) he).trans (assemble_evaluation F N h v)) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.FiniteSymplectic.CM |