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.Field.PicardEndoisogeny |
| 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 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.CharacterKernelQuotient |
| 7 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricQuotientSheafCokernel |
| 8 | |
| 9 | /-! # Picard Presentation -/ |
| 10 | |
| 11 | namespace OAI |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Field.PicardPresentation.Surjectivity |
| 16 | |
| 17 | /-! Picard pullback is locally surjective onto the quotient's Picard |
| 18 | sheaf. Only the original dual and actual isogenies in both directions |
| 19 | are used; no dual of the quotient is an input. -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 22 | open scoped _root_.CategoryTheory.MonObj |
| 23 | |
| 24 | variable {k : Type} [Field k] {d : ℕ} |
| 25 | variable {A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of k))} |
| 26 | 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) |
| 27 | |
| 28 | include D f in |
| 29 | theorem picardPullback_epi_with_return_isogeny : |
| 30 | Epi (AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom) := by |
| 31 | let m : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A A := { |
| 32 | hom := f.hom ≫ g.hom |
| 33 | preservesGroup := inferInstance |
| 34 | finite := inferInstanceAs (IsFinite (f.hom.left ≫ g.hom.left)) |
| 35 | flat := inferInstanceAs (Flat (f.hom.left ≫ g.hom.left)) |
| 36 | surjective := inferInstanceAs (Surjective (f.hom.left ≫ g.hom.left)) } |
| 37 | have hmfinite : IsFinite m.hom.left := m.finite |
| 38 | have hmflat : Flat m.hom.left := m.flat |
| 39 | have hmsurjective : Surjective m.hom.left := m.surjective |
| 40 | have hfp : LocallyOfFinitePresentation f.hom.left := |
| 41 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType (by rw [f.hom.w]; infer_instance) inferInstance |
| 42 | have hmp : LocallyOfFinitePresentation m.hom.left := |
| 43 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType (by rw [m.hom.w]; infer_instance) inferInstance |
| 44 | have hKf := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree f.hom ⟨inferInstance, inferInstance, inferInstance⟩ |
| 45 | have hKm := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree m.hom ⟨hmfinite, hmflat, hmp⟩ |
| 46 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hKf.1 |
| 47 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hKf.2.1 |
| 48 | have : LocallyOfFinitePresentation (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hKf.2.2 |
| 49 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom).hom := hKm.1 |
| 50 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom).hom := hKm.2.1 |
| 51 | have : LocallyOfFinitePresentation (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom).hom := hKm.2.2 |
| 52 | have : IsCommMonObj (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom) := Picard.Homomorphisms.KernelGroup.Construction.kernelSchemeGroup_commutative f.hom |
| 53 | have : IsCommMonObj (Picard.Homomorphisms.Kernel.Construction.kernelScheme m.hom) := Picard.Homomorphisms.KernelGroup.Construction.kernelSchemeGroup_commutative m.hom |
| 54 | let w : (𝟙 A.scheme) ≫ m.hom = f.hom ≫ g.hom := Category.id_comp _ |
| 55 | let i := AbelianScheme.FrobeniusKernel.ParameterCharacterSourceRestriction.Construction.kernelSourceSquareGroupMap m.hom f.hom (𝟙 A.scheme) g.hom w |
| 56 | have hi : i.hom.hom ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion m.hom = Picard.Homomorphisms.Kernel.Construction.kernelInclusion f.hom := |
| 57 | (AbelianScheme.FrobeniusKernel.CharacterSourceMap.Construction.kernelSourceSquareMap_inclusion m.hom f.hom (𝟙 A.scheme) g.hom w).trans (Category.comp_id _) |
| 58 | have : Mono (i.hom.hom ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion m.hom) := hi.symm ▸ inferInstance |
| 59 | have : Mono i.hom.hom := mono_of_mono i.hom.hom (Picard.Homomorphisms.Kernel.Construction.kernelInclusion m.hom) |
| 60 | have hiEpi : Epi (AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i) := AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction_epi i |
| 61 | let r := AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i ≫ (AbelianScheme.FrobeniusKernel.PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom |
| 62 | have hr : Epi r := epi_comp' hiEpi |
| 63 | (inferInstanceAs (Epi (AbelianScheme.FrobeniusKernel.PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom)) |
| 64 | have he : Epi (AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom ≫ AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A B f.hom) := by |
| 65 | rw [← AbelianScheme.FrobeniusKernel.PicardCommutativeComposition.Construction.homogeneousPicardFppfPullback_comp A B A f.hom g.hom] |
| 66 | exact PicardEndoisogeny.homogeneousPicardFppfPullback_endoisogeny_epi D m |
| 67 | refine @AbelianScheme.FrobeniusKernel.EpiFromLift.Construction.epi_of_composite_epi_of_kernel_lift (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb (Spec (.of k))) inferInstance inferInstance |
| 68 | _ _ _ _ (AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom) |
| 69 | (AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A B f.hom) he r hr (AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.characterToPicardFppfAb A A m.hom) ?_ |
| 70 | change AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.characterToPicardFppfAb A A m.hom ≫ AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A g.hom = |
| 71 | (AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i ≫ (AbelianScheme.FrobeniusKernel.PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom) ≫ _ |
| 72 | have hs := AbelianScheme.FrobeniusKernel.PicardCharacterSourceSquare.Construction.characterToPicardFppfAb_source A A A B m.hom f.hom (𝟙 A.scheme) g.hom w |
| 73 | have hk := congrArg (fun z => AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i ≫ z) |
| 74 | (AbelianScheme.FrobeniusKernel.PicardCommutative.Construction.characterPicardFppfKernelIso_inclusion A B f.hom) |
| 75 | exact hs.trans (hk.symm.trans |
| 76 | (Category.assoc (AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction.nativeCharacterRestriction i) (AbelianScheme.FrobeniusKernel.PicardCommutative.Construction.characterPicardFppfKernelIso A B f.hom).hom |
| 77 | (kernel.ι (AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback A B f.hom))).symm) |
| 78 | |
| 79 | end AlgebraicGeometry.Isogenies.NeighborCounting.Field.PicardPresentation.Surjectivity |
| 80 | |
| 81 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Field.PicardPresentation |
| 82 | |
| 83 | /-! The actual character subgroup in the known dual presents the |
| 84 | quotient's Picard sheaf as its categorical cokernel. -/ |
| 85 | |
| 86 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 87 | open scoped _root_.CategoryTheory.MonObj |
| 88 | |
| 89 | variable {k : Type} [Field k] {d : ℕ} |
| 90 | variable {A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of k))} |
| 91 | variable (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B A) |
| 92 | |
| 93 | def isogenyCharacterGroupInclusion : (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).dual ⟶ Grp.mk D.abelian.scheme := by |
| 94 | have : IsMonHom (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion D f) := CharacterKernelQuotient.fieldCharacterInclusion_isMonHom D f |
| 95 | exact Grp.homMk (A := (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).dual) (B := Grp.mk D.abelian.scheme) |
| 96 | (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion D f) |
| 97 | |
| 98 | def isogenyCharacterSheafInclusion : |
| 99 | @AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).dual (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).commutative ⟶ |
| 100 | AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk D.abelian.scheme) := by |
| 101 | have : IsCommMonObj (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).dual.X := (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).commutative |
| 102 | exact AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (isogenyCharacterGroupInclusion D f) |
| 103 | |
| 104 | theorem isogenyCharacterSheafInclusion_mono : Mono (isogenyCharacterSheafInclusion D f) := by |
| 105 | have : IsCommMonObj (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).dual.X := (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).commutative |
| 106 | have : IsClosedImmersion (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion D f).left := AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion_closed D f |
| 107 | have : Mono (isogenyCharacterGroupInclusion D f).hom.hom := |
| 108 | Over.mono_of_mono_left (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion D f) |
| 109 | exact AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap_mono (isogenyCharacterGroupInclusion D f) |
| 110 | |
| 111 | def isogenyPicardProjection : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk D.abelian.scheme) ⟶ |
| 112 | AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfAb B := |
| 113 | (ReducedPicardSheafRepresentation.originalDualPicardSheafIso D).hom ≫ AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A f.hom |
| 114 | |
| 115 | theorem isogenyPicardProjection_apply (T : Over (Spec (.of k))) (x : T ⟶ D.abelian.scheme) : |
| 116 | (isogenyPicardProjection D f).hom.app (.op T) (ULift.up x) = |
| 117 | (Picard.Homomorphisms.HomogeneousPullback.Construction.homogeneousPicardPullback B A f.hom).hom.app (.op T) (D.representable.homEquiv x) := |
| 118 | AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback_apply B A f.hom T (D.representable.homEquiv x) |
| 119 | |
| 120 | theorem isogenyPicardProjection_zero : |
| 121 | isogenyCharacterSheafInclusion D f ≫ isogenyPicardProjection D f = 0 := by |
| 122 | apply Sheaf.hom_ext |
| 123 | apply NatTrans.ext |
| 124 | funext T |
| 125 | apply CommGrpCat.hom_ext |
| 126 | apply MonoidHom.ext |
| 127 | rintro ⟨x⟩ |
| 128 | exact (isogenyPicardProjection_apply D f T.unop (x ≫ AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion D f)).trans |
| 129 | ((AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion_pullback D f T.unop x).trans |
| 130 | (Picard.Homomorphisms.HomogeneousGroup.Construction.trivialHomogeneousPicardClass_eq_one B T.unop)) |
| 131 | |
| 132 | def isogenyPicardProjection_isKernel : |
| 133 | IsLimit (KernelFork.ofι (isogenyCharacterSheafInclusion D f) (isogenyPicardProjection_zero D f)) := by |
| 134 | have : LocallyOfFinitePresentation f.hom.left := |
| 135 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType (by rw [f.hom.w]; infer_instance) inferInstance |
| 136 | have : Mono (isogenyCharacterSheafInclusion D f) := isogenyCharacterSheafInclusion_mono D f |
| 137 | refine AbelianScheme.CartierDuality.SheafKernels.Construction.Schemes.sheafKernelIsLimitOfPoints (isogenyCharacterSheafInclusion D f) |
| 138 | (isogenyPicardProjection D f) (isogenyPicardProjection_zero D f) ?_ |
| 139 | intro T x hx |
| 140 | obtain ⟨x⟩ := x |
| 141 | have hc : (Picard.Homomorphisms.UnbundledHomogeneousPullback.Construction.UnbundledPicard.homogeneousPicardPullback B.scheme A.scheme f.hom).hom.app (.op T) |
| 142 | (D.representable.homEquiv x) = Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.trivialHomogeneousPicardClass B.scheme T := |
| 143 | ((isogenyPicardProjection_apply D f T x).symm.trans hx).trans |
| 144 | (Picard.Homomorphisms.HomogeneousGroup.Construction.trivialHomogeneousPicardClass_eq_one B T).symm |
| 145 | obtain ⟨χ, hχ, _⟩ := AbelianScheme.FrobeniusKernel.PicardExactness.Construction.picardPullback_kernel_character_unique f.hom T (D.representable.homEquiv x) hc |
| 146 | let y := ((AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).sectionEquiv T).symm χ |
| 147 | have hy : (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).sectionEquiv T y = χ := |
| 148 | ((AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f).sectionEquiv T).apply_symm_apply χ |
| 149 | have he : y ≫ AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyCharacterInclusion D f = x := D.representable.homEquiv.injective |
| 150 | ((AbelianScheme.CartierDuality.PicardMonomorphism.Construction.KernelCharacters.cartierToPicard_representation f.hom (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled D) |
| 151 | (AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction.isogenyKernelCharacters f) T y).trans |
| 152 | ((congrArg (AbelianScheme.CartierDuality.ParameterizedCharacterProducts.Construction.KernelCharacters.parameterCharacterPicardHom f.hom T) hy).trans hχ)) |
| 153 | exact ⟨ULift.up y, congrArg ULift.up he⟩ |
| 154 | |
| 155 | theorem isogenyPicardProjection_epi (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : Epi (isogenyPicardProjection D f) := |
| 156 | epi_comp' inferInstance (Surjectivity.picardPullback_epi_with_return_isogeny D r f) |
| 157 | |
| 158 | def isogenyPicardProjection_isCokernel (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : |
| 159 | IsColimit (CokernelCofork.ofπ (isogenyPicardProjection D f) (isogenyPicardProjection_zero D f)) := by |
| 160 | have : Epi (isogenyPicardProjection D f) := isogenyPicardProjection_epi D f r |
| 161 | exact AbelianScheme.CartierDuality.QuotientRepresentability.Construction.Exactness.cokernelOfKernelEpi _ _ _ (isogenyPicardProjection_isKernel D f) |
| 162 | |
| 163 | def isogenyPicardCokernelIso (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : |
| 164 | cokernel (isogenyCharacterSheafInclusion D f) ≅ AbelianScheme.FrobeniusKernel.PicardCommutativeSheaf.Construction.homogeneousPicardFppfAb B := |
| 165 | (colimit.isColimit (parallelPair (isogenyCharacterSheafInclusion D f) 0)).coconePointUniqueUpToIso |
| 166 | (isogenyPicardProjection_isCokernel D f r) |
| 167 | |
| 168 | end AlgebraicGeometry.Isogenies.NeighborCounting.Field.PicardPresentation |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI |