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.OrdinaryCoordinateSpecialKernels |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Quotients |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GroupPullbackComposition |
| 4 | |
| 5 | /-! # Coordinate Special Kernels -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transport the vanishing of the actual graph characters through the |
| 12 | given residue-field isomorphism. The resulting presentation lies on the |
| 13 | original geometric special fiber used by the PEL point comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GroupPullbackComposition.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SubspaceCounts.Construction |
| 20 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup Classical.propDecidable |
| 21 | |
| 22 | theorem Geometric.CoordinateSpecialKernels.Lifts.pullback_comp_map_one {S T U : Scheme.{0}} (f : U ⟶ T) (g : T ⟶ S) |
| 23 | {H M : Over S} [GrpObj M] (χ : H ⟶ M) |
| 24 | (hχ : (Over.pullback g).map χ = 1) : |
| 25 | (Over.pullback (f ≫ g)).map χ = 1 := by |
| 26 | have heq : (Over.pullback (f ≫ g)).map χ = |
| 27 | (Over.pullback (f ≫ g)).map (1 : H ⟶ M) := by |
| 28 | apply (cancel_mono ((Over.pullbackComp f g).hom.app M)).mp |
| 29 | rw [(Over.pullbackComp f g).hom.naturality χ, |
| 30 | (Over.pullbackComp f g).hom.naturality (1 : H ⟶ M)] |
| 31 | change (Over.pullbackComp f g).hom.app H ≫ |
| 32 | (Over.pullback f).map ((Over.pullback g).map χ) = |
| 33 | (Over.pullbackComp f g).hom.app H ≫ |
| 34 | (Over.pullback f).map ((Over.pullback g).map (1 : H ⟶ M)) |
| 35 | rw [hχ, (Over.pullback g).map_one] |
| 36 | exact heq.trans (Over.pullback (f ≫ g)).map_one |
| 37 | |
| 38 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 39 | [Field L] [Algebra R L] [IsFractionRing R L] (q : ℕ) [Fact q.Prime] |
| 40 | (A : Grp (Over (Spec (.of R)))) (C : OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel R L q A) |
| 41 | (ρ : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 42 | |
| 43 | omit [IsFractionRing R L] in |
| 44 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.character_geometric_specializes_zero |
| 45 | {H : Over (Spec (.of R))} [Etale H.hom] (χ : H ⟶ C.identity.X) : |
| 46 | (Over.pullback (Evaluated.Quotients.Lifts.geometricClosedBase (residueIso := ρ))).map χ = 1 := |
| 47 | Geometric.CoordinateSpecialKernels.Lifts.pullback_comp_map_one (Spec.map (CommRingCat.ofHom ρ.symm.toRingHom)) (Lifts.closedBase R) χ |
| 48 | (OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.character_specializes_zero_of_residueIso R L q A C ρ χ) |
| 49 | |
| 50 | def OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.geometricSpecialKernel |
| 51 | (U : Submodule (ZMod q) (Fin 2 → ZMod q)) (flag : Bool) : |
| 52 | Intrinsic.Neighbors.KernelPresentation ((Over.pullback (Evaluated.Quotients.Lifts.geometricClosedBase (residueIso := ρ))).obj A.X) := |
| 53 | SpecialKernelPresentations.specialKernelPresentation |
| 54 | (fun U : Submodule (ZMod q) (Fin 2 → ZMod q) => |
| 55 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative U)).X) |
| 56 | ((Grp.forget _).mapIso C.split).hom (Evaluated.Characters.Lifts.evaluatedEtaleInclusion R) |
| 57 | (Evaluated.Quotients.Lifts.geometricClosedBase (residueIso := ρ)) U flag |
| 58 | |
| 59 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel_geometricSpecialPresentation |
| 60 | (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) : |
| 61 | (C.finiteFlatKernel R L q A J).toKernelPresentation.pullback |
| 62 | (Evaluated.Quotients.Lifts.geometricClosedBase (residueIso := ρ)) = |
| 63 | C.geometricSpecialKernel R L q A ρ |
| 64 | (J.map (LinearMap.fst (ZMod q) (Fin 2 → ZMod q) (ZMod q))) |
| 65 | (decide (SubspaceCounts.Construction.identityLine ≤ J)) := by |
| 66 | let : IsFinite C.identity.X.hom := C.finite |
| 67 | let : Flat C.identity.X.hom := C.flat |
| 68 | let : LocallyOfFinitePresentation C.identity.X.hom := C.finitePresentation |
| 69 | let e : C.identity.X ⊗ |
| 70 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X ≅ A.X := |
| 71 | (Grp.forget _).mapIso C.split |
| 72 | let : IsMonHom e.hom := C.split.hom.hom.isMonHom_hom |
| 73 | change (Evaluated.FiniteFlatKernels.Lifts.evaluatedFiniteFlatKernel R L C.coordinates e J).toKernelPresentation.pullback |
| 74 | (Evaluated.Quotients.Lifts.geometricClosedBase (residueIso := ρ)) = _ |
| 75 | rw [Evaluated.FiniteFlatKernels.Lifts.evaluatedFiniteFlatKernel_presentation] |
| 76 | exact SpecialKernelPresentations.subspaceKernel_specialPresentation _ e.hom (Evaluated.Characters.Lifts.evaluatedEtaleInclusion R) |
| 77 | (Evaluated.Characters.Lifts.evaluatedGraphCharacter R L C.identity.X C.coordinates) |
| 78 | (Evaluated.Quotients.Lifts.geometricClosedBase (residueIso := ρ)) |
| 79 | (fun U a => OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.character_geometric_specializes_zero |
| 80 | R L q A C ρ (Evaluated.Characters.Lifts.evaluatedGraphCharacter R L C.identity.X C.coordinates U a)) J |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |