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.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Characters |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Properties |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleSubgroups |
| 4 | |
| 5 | /-! # Finite Flat Kernels -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.FiniteFlatKernels.Lifts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Each evaluated active subspace constructs a finite flat closed |
| 12 | integral subgroup from its graph or mixed product presentation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Properties |
| 19 | |
| 20 | variable (R L : Type) [CommRing R] [IsDomain R] [ValuationRing R] |
| 21 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 22 | {F V : Type} [Field F] [AddCommGroup V] [Module F V] [Finite V] |
| 23 | |
| 24 | instance evaluatedEtaleInclusion_isMonHom (U : Submodule F V) : |
| 25 | IsMonHom (Characters.Lifts.evaluatedEtaleInclusion R U) := |
| 26 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupMap (Spec (.of R)) U.subtype.toAddMonoidHom.toMultiplicative).hom.isMonHom_hom |
| 27 | |
| 28 | instance evaluatedEtaleInclusion_closed (U : Submodule F V) : |
| 29 | IsClosedImmersion (Characters.Lifts.evaluatedEtaleInclusion R U).left := |
| 30 | AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupMap_closed (Spec (.of R)) U.subtype.toAddMonoidHom.toMultiplicative |
| 31 | (fun _a _b h => Multiplicative.toAdd.injective (Subtype.ext (congrArg Multiplicative.toAdd h))) |
| 32 | |
| 33 | variable {A M : Over (Spec (.of R))} [GrpObj A] [GrpObj M] |
| 34 | [IsFinite M.hom] [Flat M.hom] [LocallyOfFinitePresentation M.hom] |
| 35 | (m : (Sections.Lifts.genericTest R L ⟶ M) ≃* Multiplicative F) |
| 36 | (e : M ⊗ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative V)).X ≅ A) |
| 37 | [IsMonHom e.hom] |
| 38 | |
| 39 | /-- The required geometry of every constructed integral active kernel. -/ |
| 40 | theorem evaluated_subspace_is_finiteFlat (J : Submodule F (V × F)) : |
| 41 | ∃ K : Kernel.Properties.FiniteFlatKernel A, K.toKernelPresentation = |
| 42 | Intrinsic.Neighbors.subspaceKernel (fun U : Submodule F V => |
| 43 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative U)).X) |
| 44 | e.hom (Characters.Lifts.evaluatedEtaleInclusion R) (Characters.Lifts.evaluatedGraphCharacter R L M m) J := by |
| 45 | have : IsIso e.hom.left := (Over.forget _).map_isIso e.hom |
| 46 | exact Kernel.Properties.subspaceKernel_is_finiteFlat _ e.hom (Characters.Lifts.evaluatedEtaleInclusion R) |
| 47 | (Characters.Lifts.evaluatedGraphCharacter R L M m) J |
| 48 | |
| 49 | def evaluatedFiniteFlatKernel (J : Submodule F (V × F)) : Kernel.Properties.FiniteFlatKernel A := |
| 50 | Classical.choose (evaluated_subspace_is_finiteFlat R L m e J) |
| 51 | |
| 52 | theorem evaluatedFiniteFlatKernel_presentation (J : Submodule F (V × F)) : |
| 53 | (evaluatedFiniteFlatKernel R L m e J).toKernelPresentation = |
| 54 | Intrinsic.Neighbors.subspaceKernel (fun U : Submodule F V => |
| 55 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative U)).X) |
| 56 | e.hom (Characters.Lifts.evaluatedEtaleInclusion R) (Characters.Lifts.evaluatedGraphCharacter R L M m) J := |
| 57 | Classical.choose_spec (evaluated_subspace_is_finiteFlat R L m e J) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.FiniteFlatKernels.Lifts |