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.ReducedPicardSheafRepresentation |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.DualPicardKernel |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardKernelFiniteness |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.DualGroupComparison |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.Hom |
| 6 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FppfEpimorphisms |
| 7 | |
| 8 | /-! # Picard Endoisogeny -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.PicardEndoisogeny |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Pullback by an endoisogeny is an epimorphism of the actual Picard |
| 15 | sheaf when the source dual is supplied. No other dual is assumed. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.DualGroupComparison.Construction OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FppfEpimorphisms.Construction.Schemes |
| 21 | |
| 22 | variable {k : Type} [Field k] {g : ℕ} |
| 23 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 24 | variable (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A A) |
| 25 | |
| 26 | def picardDualEndoisogeny : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny D.abelian D.abelian := |
| 27 | DualPicardKernel.fieldDualPicardIsogeny D D p |
| 28 | |
| 29 | theorem picardDualEndoisogeny_representation : |
| 30 | AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom (picardDualEndoisogeny D p).hom) ≫ |
| 31 | (ReducedPicardSheafRepresentation.originalDualPicardSheafIso D).hom = |
| 32 | (ReducedPicardSheafRepresentation.originalDualPicardSheafIso D).hom ≫ AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A A p.hom := by |
| 33 | apply Sheaf.hom_ext |
| 34 | apply NatTrans.ext |
| 35 | funext T |
| 36 | apply CommGrpCat.hom_ext |
| 37 | apply MonoidHom.ext |
| 38 | rintro ⟨x⟩ |
| 39 | change D.representable.homEquiv (x ≫ Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback D D p.hom) = |
| 40 | Picard.Homomorphisms.DualHomomorphism.Construction.homogeneousPicardPullbackHom A A p.hom T.unop (D.representable.homEquiv x) |
| 41 | rw [Picard.Homomorphisms.DualHomomorphism.Construction.homogeneousPicardPullbackHom_apply] |
| 42 | exact Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback_representation D D p.hom x |
| 43 | |
| 44 | include D in |
| 45 | theorem homogeneousPicardFppfPullback_endoisogeny_epi : |
| 46 | Epi (AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A A p.hom) := by |
| 47 | have hp : LocallyOfFinitePresentation (picardDualEndoisogeny D p).hom.left := |
| 48 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType |
| 49 | (by rw [(picardDualEndoisogeny D p).hom.w]; infer_instance) inferInstance |
| 50 | have he : Epi (AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom (picardDualEndoisogeny D p).hom)) := |
| 51 | @AbelianScheme.CartierDuality.FppfEpimorphisms.Construction.Schemes.representedFppfAbMap_epi (Spec (.of k)) (Grp.mk D.abelian.scheme) (Grp.mk D.abelian.scheme) |
| 52 | inferInstance inferInstance (Grp.ofHom (picardDualEndoisogeny D p).hom) |
| 53 | (picardDualEndoisogeny D p).flat (picardDualEndoisogeny D p).surjective hp |
| 54 | have hc : Epi (AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (Grp.ofHom (picardDualEndoisogeny D p).hom) ≫ |
| 55 | (ReducedPicardSheafRepresentation.originalDualPicardSheafIso D).hom) := epi_comp' he inferInstance |
| 56 | exact @epi_of_epi_fac (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb (Spec (.of k))) inferInstance _ _ _ _ _ _ hc |
| 57 | (picardDualEndoisogeny_representation D p).symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.PicardEndoisogeny |