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.CharacterPicard |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ConstructedQuotientData |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Canonical.DualDataEquality |
| 4 | import OAI.AlgebraicGeometry.CartierDuality.PolarizedTorsion |
| 5 | |
| 6 | /-! # Character Quotient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The kernel-character subgroup of an isogeny embeds into the known |
| 13 | source dual and has an actual abelian quotient. Applied to a complementary |
| 14 | isogeny, this constructs the scheme used for the quotient dual. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {k : Type u} [Field k] [IsAlgClosed k] {g h : ℕ} |
| 22 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))} |
| 23 | variable (DA : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B A) |
| 24 | |
| 25 | def isogenyKernelCharacters : |
| 26 | CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation (Spec (.of k)) (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom)) := by |
| 27 | have hp : LocallyOfFinitePresentation f.hom.left := |
| 28 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType |
| 29 | (by rw [f.hom.w]; infer_instance) inferInstance |
| 30 | have hK := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree f.hom ⟨f.finite, f.flat, hp⟩ |
| 31 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hK.1 |
| 32 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hK.2.1 |
| 33 | have : LocallyOfFinitePresentation (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom).hom := hK.2.2 |
| 34 | have : IsCommMonObj (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom) := Picard.Homomorphisms.KernelGroup.Construction.kernelSchemeGroup_commutative f.hom |
| 35 | exact CartierDuality.PolarizedTorsion.Construction.cartierDualGroupRepresentation (Spec (.of k)) (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom)) |
| 36 | |
| 37 | def isogenyCharacterInclusion : (isogenyKernelCharacters f).dual.X ⟶ DA.abelian.scheme := by |
| 38 | have : LocallyOfFinitePresentation f.hom.left := |
| 39 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType |
| 40 | (by rw [f.hom.w]; infer_instance) inferInstance |
| 41 | exact CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.cartierToPicard f.hom (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled DA) (isogenyKernelCharacters f) |
| 42 | |
| 43 | theorem isogenyCharacterInclusion_isMonHom : IsMonHom (isogenyCharacterInclusion DA f) := by |
| 44 | have : LocallyOfFinitePresentation f.hom.left := |
| 45 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType |
| 46 | (by rw [f.hom.w]; infer_instance) inferInstance |
| 47 | have hh := CartierDuality.PicardHomomorphism.Construction.KernelCharacters.cartierToPicard_isMonHom f.hom (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled DA) (isogenyKernelCharacters f) |
| 48 | rw [Picard.Homomorphisms.UnbundledDualGroupComparison.Construction.UnbundledPicard.dualPicardGroup_eq_given (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled DA)] at hh |
| 49 | exact hh |
| 50 | |
| 51 | omit [IsAlgClosed k] in |
| 52 | theorem isogenyCharacterInclusion_closed : IsClosedImmersion (isogenyCharacterInclusion DA f).left := by |
| 53 | have : LocallyOfFinitePresentation f.hom.left := |
| 54 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType |
| 55 | (by rw [f.hom.w]; infer_instance) inferInstance |
| 56 | have hm : Mono (isogenyCharacterInclusion DA f) := |
| 57 | CartierDuality.PicardMonomorphism.Construction.KernelCharacters.cartierToPicard_mono f.hom (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled DA) (isogenyKernelCharacters f) |
| 58 | have : IsFinite (isogenyKernelCharacters f).dual.X.hom := (isogenyKernelCharacters f).finite |
| 59 | have : IsFinite ((isogenyCharacterInclusion DA f).left ≫ DA.abelian.scheme.hom) := by |
| 60 | rw [(isogenyCharacterInclusion DA f).w] |
| 61 | infer_instance |
| 62 | have : IsFinite (isogenyCharacterInclusion DA f).left := |
| 63 | IsFinite.of_comp (isogenyCharacterInclusion DA f).left DA.abelian.scheme.hom |
| 64 | exact (IsClosedImmersion.iff_isFinite_and_mono _).mpr ⟨inferInstance, inferInstance⟩ |
| 65 | |
| 66 | def isogenyCharacterQuotient : |
| 67 | GeometricQuotient.Construction.GeometricKernelQuotient DA.abelian (isogenyKernelCharacters f).dual (isogenyCharacterInclusion DA f) := by |
| 68 | have : IsMonHom (isogenyCharacterInclusion DA f) := isogenyCharacterInclusion_isMonHom DA f |
| 69 | exact GeometricQuotient.Construction.geometricKernelQuotient DA.abelian _ _ (isogenyCharacterInclusion_closed DA f) |
| 70 | ⟨(isogenyKernelCharacters f).finite, (isogenyKernelCharacters f).flat, |
| 71 | (isogenyKernelCharacters f).finitelyPresented⟩ |
| 72 | |
| 73 | omit [IsAlgClosed k] in |
| 74 | theorem isogenyCharacterInclusion_pullback (T : Over (Spec (.of k))) |
| 75 | (x : T ⟶ (isogenyKernelCharacters f).dual.X) : |
| 76 | (Picard.Homomorphisms.UnbundledHomogeneousPullback.Construction.UnbundledPicard.homogeneousPicardPullback B.scheme A.scheme f.hom).hom.app (.op T) |
| 77 | (DA.representable.homEquiv (x ≫ isogenyCharacterInclusion DA f)) = |
| 78 | Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.trivialHomogeneousPicardClass B.scheme T := by |
| 79 | have : LocallyOfFinitePresentation f.hom.left := |
| 80 | Picard.Homomorphisms.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_finiteType |
| 81 | (by rw [f.hom.w]; infer_instance) inferInstance |
| 82 | have hx := CartierDuality.PicardMonomorphism.Construction.KernelCharacters.cartierToPicard_representation f.hom (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled DA) |
| 83 | (isogenyKernelCharacters f) T x |
| 84 | exact (congrArg ((Picard.Homomorphisms.UnbundledHomogeneousPullback.Construction.UnbundledPicard.homogeneousPicardPullback B.scheme A.scheme f.hom).hom.app (.op T)) hx).trans |
| 85 | (CharacterPicard.Construction.parameterCharacterPicardHom_pullback f.hom T ((isogenyKernelCharacters f).sectionEquiv T x)) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CharacterQuotient.Construction |