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.CharacterQuotient |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardIsogenySurjectivity |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricQuotientSheafCokernel |
| 4 | |
| 5 | /-! # Quotient Dual Is -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.QuotientDualIs.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual character subgroup in the known dual presents the |
| 14 | quotient's Picard sheaf as its categorical cokernel. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | variable {k : Type} [Field k] [IsAlgClosed k] {d h : ℕ} |
| 20 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))} |
| 21 | variable (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B A) |
| 22 | |
| 23 | def isogenyCharacterGroupInclusion : (CharacterQuotient.Construction.isogenyKernelCharacters f).dual ⟶ Grp.mk D.abelian.scheme := by |
| 24 | have : IsMonHom (CharacterQuotient.Construction.isogenyCharacterInclusion D f) := CharacterQuotient.Construction.isogenyCharacterInclusion_isMonHom D f |
| 25 | exact Grp.homMk (A := (CharacterQuotient.Construction.isogenyKernelCharacters f).dual) (B := Grp.mk D.abelian.scheme) |
| 26 | (CharacterQuotient.Construction.isogenyCharacterInclusion D f) |
| 27 | |
| 28 | def isogenyCharacterSheafInclusion : |
| 29 | @CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (CharacterQuotient.Construction.isogenyKernelCharacters f).dual (CharacterQuotient.Construction.isogenyKernelCharacters f).commutative ⟶ |
| 30 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk D.abelian.scheme) := by |
| 31 | have : IsCommMonObj (CharacterQuotient.Construction.isogenyKernelCharacters f).dual.X := (CharacterQuotient.Construction.isogenyKernelCharacters f).commutative |
| 32 | exact CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (isogenyCharacterGroupInclusion D f) |
| 33 | |
| 34 | theorem isogenyCharacterSheafInclusion_mono : Mono (isogenyCharacterSheafInclusion D f) := by |
| 35 | have : IsCommMonObj (CharacterQuotient.Construction.isogenyKernelCharacters f).dual.X := (CharacterQuotient.Construction.isogenyKernelCharacters f).commutative |
| 36 | have : IsClosedImmersion (CharacterQuotient.Construction.isogenyCharacterInclusion D f).left := CharacterQuotient.Construction.isogenyCharacterInclusion_closed D f |
| 37 | have : Mono (isogenyCharacterGroupInclusion D f).hom.hom := |
| 38 | Over.mono_of_mono_left (CharacterQuotient.Construction.isogenyCharacterInclusion D f) |
| 39 | exact CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap_mono (isogenyCharacterGroupInclusion D f) |
| 40 | |
| 41 | def isogenyPicardProjection : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk D.abelian.scheme) ⟶ |
| 42 | PicardCommutativeSheaf.Construction.homogeneousPicardFppfAb B := |
| 43 | (PicardSheafRepresentation.Construction.originalDualPicardSheafIso D).hom ≫ PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback B A f.hom |
| 44 | |
| 45 | theorem isogenyPicardProjection_apply (T : Over (Spec (.of k))) (x : T ⟶ D.abelian.scheme) : |
| 46 | (isogenyPicardProjection D f).hom.app (.op T) (ULift.up x) = |
| 47 | (Picard.Homomorphisms.HomogeneousPullback.Construction.homogeneousPicardPullback B A f.hom).hom.app (.op T) (D.representable.homEquiv x) := |
| 48 | PicardCommutativeSheaf.Construction.homogeneousPicardFppfPullback_apply B A f.hom T (D.representable.homEquiv x) |
| 49 | |
| 50 | theorem isogenyPicardProjection_zero : |
| 51 | isogenyCharacterSheafInclusion D f ≫ isogenyPicardProjection D f = 0 := by |
| 52 | apply Sheaf.hom_ext |
| 53 | apply NatTrans.ext |
| 54 | funext T |
| 55 | apply CommGrpCat.hom_ext |
| 56 | apply MonoidHom.ext |
| 57 | rintro ⟨x⟩ |
| 58 | exact (isogenyPicardProjection_apply D f T.unop (x ≫ CharacterQuotient.Construction.isogenyCharacterInclusion D f)).trans |
| 59 | ((CharacterQuotient.Construction.isogenyCharacterInclusion_pullback D f T.unop x).trans |
| 60 | (Picard.Homomorphisms.HomogeneousGroup.Construction.trivialHomogeneousPicardClass_eq_one B T.unop)) |
| 61 | |
| 62 | def isogenyPicardProjection_isKernel : |
| 63 | IsLimit (KernelFork.ofι (isogenyCharacterSheafInclusion D f) (isogenyPicardProjection_zero D f)) := by |
| 64 | have : LocallyOfFinitePresentation f.hom.left := |
| 65 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType (by rw [f.hom.w]; infer_instance) inferInstance |
| 66 | have : Mono (isogenyCharacterSheafInclusion D f) := isogenyCharacterSheafInclusion_mono D f |
| 67 | refine CartierDuality.SheafKernels.Construction.Schemes.sheafKernelIsLimitOfPoints (isogenyCharacterSheafInclusion D f) |
| 68 | (isogenyPicardProjection D f) (isogenyPicardProjection_zero D f) ?_ |
| 69 | intro T x hx |
| 70 | obtain ⟨x⟩ := x |
| 71 | have hc : (Picard.Homomorphisms.UnbundledHomogeneousPullback.Construction.UnbundledPicard.homogeneousPicardPullback B.scheme A.scheme f.hom).hom.app (.op T) |
| 72 | (D.representable.homEquiv x) = Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.trivialHomogeneousPicardClass B.scheme T := |
| 73 | ((isogenyPicardProjection_apply D f T x).symm.trans hx).trans |
| 74 | (Picard.Homomorphisms.HomogeneousGroup.Construction.trivialHomogeneousPicardClass_eq_one B T).symm |
| 75 | obtain ⟨χ, hχ, _⟩ := PicardExactness.Construction.picardPullback_kernel_character_unique f.hom T (D.representable.homEquiv x) hc |
| 76 | let y := ((CharacterQuotient.Construction.isogenyKernelCharacters f).sectionEquiv T).symm χ |
| 77 | have hy : (CharacterQuotient.Construction.isogenyKernelCharacters f).sectionEquiv T y = χ := |
| 78 | ((CharacterQuotient.Construction.isogenyKernelCharacters f).sectionEquiv T).apply_symm_apply χ |
| 79 | have he : y ≫ CharacterQuotient.Construction.isogenyCharacterInclusion D f = x := D.representable.homEquiv.injective |
| 80 | ((CartierDuality.PicardMonomorphism.Construction.KernelCharacters.cartierToPicard_representation f.hom (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled D) |
| 81 | (CharacterQuotient.Construction.isogenyKernelCharacters f) T y).trans |
| 82 | ((congrArg (CartierDuality.ParameterizedCharacterProducts.Construction.KernelCharacters.parameterCharacterPicardHom f.hom T) hy).trans hχ)) |
| 83 | exact ⟨ULift.up y, congrArg ULift.up he⟩ |
| 84 | |
| 85 | theorem isogenyPicardProjection_epi (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : Epi (isogenyPicardProjection D f) := |
| 86 | epi_comp' inferInstance (PicardIsogenySurjectivity.Construction.picardPullback_epi_with_return_isogeny D r f) |
| 87 | |
| 88 | def isogenyPicardProjection_isCokernel (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : |
| 89 | IsColimit (CokernelCofork.ofπ (isogenyPicardProjection D f) (isogenyPicardProjection_zero D f)) := by |
| 90 | have : Epi (isogenyPicardProjection D f) := isogenyPicardProjection_epi D f r |
| 91 | exact CartierDuality.QuotientRepresentability.Construction.Exactness.cokernelOfKernelEpi _ _ _ (isogenyPicardProjection_isKernel D f) |
| 92 | |
| 93 | def isogenyPicardCokernelIso (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : |
| 94 | cokernel (isogenyCharacterSheafInclusion D f) ≅ PicardCommutativeSheaf.Construction.homogeneousPicardFppfAb B := |
| 95 | (colimit.isColimit (parallelPair (isogenyCharacterSheafInclusion D f) 0)).coconePointUniqueUpToIso |
| 96 | (isogenyPicardProjection_isCokernel D f r) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | section |
| 101 | |
| 102 | /-! The concrete quotient of the known dual represents the quotient |
| 103 | abelian variety's actual Picard sheaf, with the original group law. -/ |
| 104 | |
| 105 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 106 | open scoped _root_.CategoryTheory.MonObj |
| 107 | |
| 108 | variable {k : Type} [Field k] [IsAlgClosed k] {d h : ℕ} |
| 109 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))} |
| 110 | variable (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B A) (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 111 | |
| 112 | def quotientDualPicardSheafIso : |
| 113 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk (CharacterQuotient.Construction.isogenyCharacterQuotient D f).abelian.scheme) ≅ |
| 114 | PicardCommutativeSheaf.Construction.homogeneousPicardFppfAb B := by |
| 115 | have : IsCommMonObj (CharacterQuotient.Construction.isogenyKernelCharacters f).dual.X := (CharacterQuotient.Construction.isogenyKernelCharacters f).commutative |
| 116 | have : IsMonHom (CharacterQuotient.Construction.isogenyCharacterInclusion D f) := CharacterQuotient.Construction.isogenyCharacterInclusion_isMonHom D f |
| 117 | have : IsClosedImmersion (CharacterQuotient.Construction.isogenyCharacterInclusion D f).left := CharacterQuotient.Construction.isogenyCharacterInclusion_closed D f |
| 118 | have : Mono (CharacterQuotient.Construction.isogenyCharacterInclusion D f) := Over.mono_of_mono_left _ |
| 119 | exact (CharacterQuotient.Construction.isogenyCharacterQuotient D f).commutativeSheafCokernelIso.symm ≪≫ isogenyPicardCokernelIso D f r |
| 120 | |
| 121 | def quotientDualPicardPoints (T : Over (Spec (.of k))) : |
| 122 | (T ⟶ (CharacterQuotient.Construction.isogenyCharacterQuotient D f).abelian.scheme) ≃* B.homogeneousPicardSheaf.obj.obj (.op T) := |
| 123 | MulEquiv.ulift.symm.trans |
| 124 | (((sheafToPresheaf (Scheme.fppfTopology.over (Spec (.of k))) CommGrpCat).mapIso |
| 125 | (quotientDualPicardSheafIso D f r)).app (.op T)).commGroupIsoToMulEquiv |
| 126 | |
| 127 | theorem quotientDualPicardPoints_natural {T U : Over (Spec (.of k))} (t : U ⟶ T) |
| 128 | (x : T ⟶ (CharacterQuotient.Construction.isogenyCharacterQuotient D f).abelian.scheme) : |
| 129 | quotientDualPicardPoints D f r U (t ≫ x) = |
| 130 | B.homogeneousPicardSheaf.obj.map t.op (quotientDualPicardPoints D f r T x) := by |
| 131 | have hn := (quotientDualPicardSheafIso D f r).hom.hom.naturality_apply t.op (ULift.up x) |
| 132 | exact hn.trans (Picard.Homomorphisms.GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom_apply (Picard.Homomorphisms.HomogeneousGroup.Construction.homogeneousPicardGroupPresheaf B) t.op |
| 133 | (quotientDualPicardPoints D f r T x)) |
| 134 | |
| 135 | def quotientDualRepresentable : |
| 136 | B.homogeneousPicardSheaf.obj.RepresentableBy (CharacterQuotient.Construction.isogenyCharacterQuotient D f).abelian.scheme where |
| 137 | homEquiv := (quotientDualPicardPoints D f r _).toEquiv |
| 138 | homEquiv_comp t x := quotientDualPicardPoints_natural D f r t x |
| 139 | |
| 140 | theorem quotientDualRepresentable_origin (T : Over (Spec (.of k))) : |
| 141 | (quotientDualRepresentable D f r).homEquiv (1 : T ⟶ (CharacterQuotient.Construction.isogenyCharacterQuotient D f).abelian.scheme) = |
| 142 | B.trivialHomogeneousPicardClass T := |
| 143 | (quotientDualPicardPoints D f r T).map_one.trans (Picard.Homomorphisms.HomogeneousGroup.Construction.trivialHomogeneousPicardClass_eq_one B T).symm |
| 144 | |
| 145 | end |
| 146 | |
| 147 | /-! The constructed Picard representation pulls back along the actual |
| 148 | quotient projection to the original complementary-isogeny pullback. -/ |
| 149 | |
| 150 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 151 | open scoped _root_.CategoryTheory.MonObj |
| 152 | |
| 153 | variable {k : Type} [Field k] [IsAlgClosed k] {d h : ℕ} |
| 154 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))} |
| 155 | variable (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B A) (r : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 156 | |
| 157 | theorem quotientDualPicardSheafIso_projection : |
| 158 | (CharacterQuotient.Construction.isogenyCharacterQuotient D f).commutativeSheafProjection ≫ (quotientDualPicardSheafIso D f r).hom = |
| 159 | isogenyPicardProjection D f := by |
| 160 | have : IsCommMonObj (CharacterQuotient.Construction.isogenyKernelCharacters f).dual.X := (CharacterQuotient.Construction.isogenyKernelCharacters f).commutative |
| 161 | have : IsMonHom (CharacterQuotient.Construction.isogenyCharacterInclusion D f) := CharacterQuotient.Construction.isogenyCharacterInclusion_isMonHom D f |
| 162 | have : IsClosedImmersion (CharacterQuotient.Construction.isogenyCharacterInclusion D f).left := CharacterQuotient.Construction.isogenyCharacterInclusion_closed D f |
| 163 | have : Mono (CharacterQuotient.Construction.isogenyCharacterInclusion D f) := Over.mono_of_mono_left _ |
| 164 | let Q := CharacterQuotient.Construction.isogenyCharacterQuotient D f |
| 165 | have hQ : Q.commutativeSheafProjection ≫ Q.commutativeSheafCokernelIso.inv = |
| 166 | cokernel.π (isogenyCharacterSheafInclusion D f) := |
| 167 | IsColimit.comp_coconePointUniqueUpToIso_inv |
| 168 | (colimit.isColimit (parallelPair (isogenyCharacterSheafInclusion D f) 0)) |
| 169 | Q.commutativeSheafProjection_isCokernel WalkingParallelPair.one |
| 170 | have hP : cokernel.π (isogenyCharacterSheafInclusion D f) ≫ (isogenyPicardCokernelIso D f r).hom = |
| 171 | isogenyPicardProjection D f := |
| 172 | IsColimit.comp_coconePointUniqueUpToIso_hom |
| 173 | (colimit.isColimit (parallelPair (isogenyCharacterSheafInclusion D f) 0)) |
| 174 | (isogenyPicardProjection_isCokernel D f r) WalkingParallelPair.one |
| 175 | exact (Category.assoc Q.commutativeSheafProjection Q.commutativeSheafCokernelIso.inv |
| 176 | (isogenyPicardCokernelIso D f r).hom).symm.trans |
| 177 | ((congrArg (fun a => a ≫ (isogenyPicardCokernelIso D f r).hom) hQ).trans hP) |
| 178 | |
| 179 | theorem quotientDualRepresentable_projection (T : Over (Spec (.of k))) (x : T ⟶ D.abelian.scheme) : |
| 180 | (quotientDualRepresentable D f r).homEquiv (x ≫ (CharacterQuotient.Construction.isogenyCharacterQuotient D f).projection) = |
| 181 | (Picard.Homomorphisms.HomogeneousPullback.Construction.homogeneousPicardPullback B A f.hom).hom.app (.op T) (D.representable.homEquiv x) := by |
| 182 | have hx := ConcreteCategory.congr_hom |
| 183 | (NatTrans.congr_app (congrArg |
| 184 | (fun z : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk D.abelian.scheme) ⟶ PicardCommutativeSheaf.Construction.homogeneousPicardFppfAb B => z.hom) |
| 185 | (quotientDualPicardSheafIso_projection D f r)) (.op T)) (ULift.up x) |
| 186 | exact hx.trans (isogenyPicardProjection_apply D f T x) |
| 187 | |
| 188 | end |
| 189 | |
| 190 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.QuotientDualIs.Construction |