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.SpecialKernelPresentations |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ResidueGraphSpecialization |
| 3 | |
| 4 | /-! # Ordinary Coordinate Special Kernels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual finite flat kernel of an ordinary coordinate model |
| 11 | specializes to the etale or mixed presentation prescribed by its |
| 12 | original subspace. Every graph character vanishes by Frobenius. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SpecialKernelPresentations OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SubspaceCounts.Construction |
| 19 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup Classical.propDecidable |
| 20 | |
| 21 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 22 | [Field L] [Algebra R L] [IsFractionRing R L] (q : ℕ) [Fact q.Prime] |
| 23 | (A : Grp (Over (Spec (.of R)))) (C : OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel R L q A) |
| 24 | |
| 25 | def OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.specialKernel |
| 26 | (U : Submodule (ZMod q) (Fin 2 → ZMod q)) (flag : Bool) : |
| 27 | Intrinsic.Neighbors.KernelPresentation |
| 28 | ((Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj A.X) := |
| 29 | SpecialKernelPresentations.specialKernelPresentation |
| 30 | (fun U : Submodule (ZMod q) (Fin 2 → ZMod q) => |
| 31 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative U)).X) |
| 32 | ((Grp.forget _).mapIso C.split).hom (Evaluated.Characters.Lifts.evaluatedEtaleInclusion R) |
| 33 | (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R))) U flag |
| 34 | |
| 35 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel_specialPresentation |
| 36 | (ρ : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 37 | (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) : |
| 38 | (C.finiteFlatKernel R L q A J).toKernelPresentation.pullback |
| 39 | (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R))) = |
| 40 | C.specialKernel R L q A (J.map (LinearMap.fst (ZMod q) (Fin 2 → ZMod q) (ZMod q))) |
| 41 | (decide (SubspaceCounts.Construction.identityLine ≤ J)) := by |
| 42 | let : IsFinite C.identity.X.hom := C.finite |
| 43 | let : Flat C.identity.X.hom := C.flat |
| 44 | let : LocallyOfFinitePresentation C.identity.X.hom := C.finitePresentation |
| 45 | let e : C.identity.X ⊗ |
| 46 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X ≅ A.X := |
| 47 | (Grp.forget _).mapIso C.split |
| 48 | let : IsMonHom e.hom := C.split.hom.hom.isMonHom_hom |
| 49 | change (Evaluated.FiniteFlatKernels.Lifts.evaluatedFiniteFlatKernel R L C.coordinates e J).toKernelPresentation.pullback |
| 50 | (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R))) = _ |
| 51 | rw [Evaluated.FiniteFlatKernels.Lifts.evaluatedFiniteFlatKernel_presentation] |
| 52 | exact SpecialKernelPresentations.subspaceKernel_specialPresentation _ e.hom (Evaluated.Characters.Lifts.evaluatedEtaleInclusion R) |
| 53 | (Evaluated.Characters.Lifts.evaluatedGraphCharacter R L C.identity.X C.coordinates) |
| 54 | (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R))) |
| 55 | (fun U a => OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.character_specializes_zero_of_residueIso |
| 56 | R L q A C ρ (Evaluated.Characters.Lifts.evaluatedGraphCharacter R L C.identity.X C.coordinates U a)) J |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |