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.AbelianScheme.FrobeniusKernel.PicardEndoisogenyEpi |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardCommutativeComposition |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardCommutative |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardCharacterSourceSquare |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EpiFromLift |
| 6 | |
| 7 | /-! # Picard Isogeny Surjectivity -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardIsogenySurjectivity.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Picard pullback is locally surjective onto the quotient's Picard |
| 14 | sheaf. Only the original dual and actual isogenies in both directions |
| 15 | are used; no dual of the quotient is an input. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | variable {k : Type} [Field k] [IsAlgClosed k] {d h : ℕ} |
| 21 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))} |
| 22 | variable (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B A) |
| 23 | |
| 24 | include D f in |
| 25 | theorem picardPullback_epi_with_return_isogeny : |
| 26 | Epi (PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom) := by |
| 27 | let m : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A A := { |
| 28 | hom := f.hom ≫ g.hom |
| 29 | preservesGroup := inferInstance |
| 30 | finite := inferInstanceAs (IsFinite (f.hom.left ≫ g.hom.left)) |
| 31 | flat := inferInstanceAs (Flat (f.hom.left ≫ g.hom.left)) |
| 32 | surjective := inferInstanceAs (Surjective (f.hom.left ≫ g.hom.left)) } |
| 33 | have hmfinite : IsFinite m.hom.left := m.finite |
| 34 | have hmflat : Flat m.hom.left := m.flat |
| 35 | have hmsurjective : Surjective m.hom.left := m.surjective |
| 36 | have hfp : LocallyOfFinitePresentation f.hom.left := |
| 37 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType (by rw [f.hom.w]; infer_instance) inferInstance |
| 38 | have hmp : LocallyOfFinitePresentation m.hom.left := |
| 39 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType (by rw [m.hom.w]; infer_instance) inferInstance |
| 40 | have hKf := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree f.hom ⟨inferInstance, inferInstance, inferInstance⟩ |
| 41 | have hKm := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree m.hom ⟨hmfinite, hmflat, hmp⟩ |
| 42 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hKf.1 |
| 43 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hKf.2.1 |
| 44 | have : LocallyOfFinitePresentation (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hKf.2.2 |
| 45 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom).hom := hKm.1 |
| 46 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom).hom := hKm.2.1 |
| 47 | have : LocallyOfFinitePresentation (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom).hom := hKm.2.2 |
| 48 | have : IsCommMonObj (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom) := Picard.Homomorphisms.KernelGroup.Construction.kernelSchemeGroup_commutative f.hom |
| 49 | have : IsCommMonObj (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom) := Picard.Homomorphisms.KernelGroup.Construction.kernelSchemeGroup_commutative m.hom |
| 50 | let w : (𝟙 A.scheme) ≫ m.hom = f.hom ≫ g.hom := Category.id_comp _ |
| 51 | let i := ParameterCharacterSourceRestriction.Construction.kernelSourceSquareGroupMap m.hom f.hom (𝟙 A.scheme) g.hom w |
| 52 | have hi : i.hom.hom ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion m.hom = Picard.Homomorphisms.Kernel.Construction.kernelInclusion f.hom := |
| 53 | (CharacterSourceMap.Construction.kernelSourceSquareMap_inclusion m.hom f.hom (𝟙 A.scheme) g.hom w).trans (Category.comp_id _) |
| 54 | have : Mono (i.hom.hom ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion m.hom) := hi.symm ▸ inferInstance |
| 55 | have : Mono i.hom.hom := mono_of_mono i.hom.hom (Picard.Homomorphisms.Kernel.Construction.kernelInclusion m.hom) |
| 56 | have hiEpi : Epi (IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i) := IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction_epi i |
| 57 | let r := IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i ≫ (PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom |
| 58 | have hr : Epi r := epi_comp' hiEpi |
| 59 | (inferInstanceAs (Epi (PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom)) |
| 60 | have he : Epi (PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom ≫ PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A B f.hom) := by |
| 61 | rw [← PicardCommutativeComposition.Construction.homogeneousPicardFppfPullback_comp A B A f.hom g.hom] |
| 62 | exact PicardEndoisogenyEpi.Construction.homogeneousPicardFppfPullback_endoisogeny_epi D m |
| 63 | refine @EpiFromLift.Construction.epi_of_composite_epi_of_kernel_lift (CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb (Spec (.of k))) inferInstance inferInstance |
| 64 | _ _ _ _ (PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom) |
| 65 | (PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A B f.hom) he r hr (PicardCommutativeSheaf.Construction.characterToPicardFppfAb A A m.hom) ?_ |
| 66 | change PicardCommutativeSheaf.Construction.characterToPicardFppfAb A A m.hom ≫ PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom = |
| 67 | (IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i ≫ (PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom) ≫ _ |
| 68 | have hs := PicardCharacterSourceSquare.Construction.characterToPicardFppfAb_source A A A B m.hom f.hom (𝟙 A.scheme) g.hom w |
| 69 | have hk := congrArg (fun z => IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i ≫ z) |
| 70 | (PicardCommutative.Construction.characterPicardFppfKernelIso_inclusion A B f.hom) |
| 71 | exact hs.trans (hk.symm.trans |
| 72 | (Category.assoc (IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i) (PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom |
| 73 | (kernel.ι (PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A B f.hom))).symm) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardIsogenySurjectivity.Construction |