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.CartierDuality.LineCharacterDetection |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.GeometricKernel |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteHopfPresentation |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteGroupMaps |
| 5 | |
| 6 | /-! # Picard Kernel Finiteness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardKernelFiniteness.Construction.KernelCharacters |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # CartierDuality: finiteness of geometric kernels of actual dual isogenies |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | /-- The kernel of pullback on actual line-bundle classes is invariant |
| 23 | under isomorphisms of the source and target schemes. -/ |
| 24 | def pullbackKernelTransport |
| 25 | {X Y X' Y' : Scheme.{u}} (f : X ⟶ Y) (f' : X' ⟶ Y') |
| 26 | (a : X' ≅ X) (b : Y' ≅ Y) (h : f' ≫ b.hom = a.hom ≫ f) : |
| 27 | {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass Y' // AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f' q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass X'} ↪ |
| 28 | {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass Y // AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass X} where |
| 29 | toFun q := ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass b.inv q.val, by |
| 30 | have he : f ≫ b.inv = a.inv ≫ f' := by |
| 31 | apply (cancel_epi a.hom).mp |
| 32 | rw [Iso.hom_inv_id_assoc, ← Category.assoc, ← h, Category.assoc, |
| 33 | Iso.hom_inv_id, Category.comp_id] |
| 34 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, he, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, q.property, |
| 35 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_trivial]⟩ |
| 36 | inj' q r hqr := Subtype.ext ((AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackIso b.symm).injective (congrArg Subtype.val hqr)) |
| 37 | |
| 38 | /-- Removing the canonical product with the base identifies the geometric |
| 39 | Picard kernel with classes on the actual target abelian variety. -/ |
| 40 | def geometricDualKernelNativeLineEmbedding |
| 41 | {k : Type u} [Field k] [IsAlgClosed k] {g h : ℕ} |
| 42 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))} |
| 43 | (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (E : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 44 | {x : Over.mk (𝟙 (Spec (.of k))) ⟶ E.abelian.scheme // |
| 45 | x ≫ Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback D E f = 1} ↪ |
| 46 | {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass B.scheme.left // |
| 47 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass A.scheme.left} := |
| 48 | (Picard.Homomorphisms.GeometricKernel.Construction.geometricDualKernelLineEmbedding D E f).trans |
| 49 | (pullbackKernelTransport f.left ((𝟙_ (Over (Spec (.of k)))) ◁ f).left |
| 50 | ((Over.forget _).mapIso (λ_ A.scheme)) ((Over.forget _).mapIso (λ_ B.scheme)) |
| 51 | (congrArg Over.Hom.left (leftUnitor_naturality f))) |
| 52 | |
| 53 | /-- Finite faithfully flat group morphisms have finite actual line-class |
| 54 | pullback kernels over a field. -/ |
| 55 | theorem finite_lineKernel_of_finite_flat |
| 56 | {k : Type u} [Field k] {A B : Over (Spec (.of k))} |
| 57 | [GrpObj A] [GrpObj B] [IsCommMonObj A] |
| 58 | (f : A ⟶ B) [IsMonHom f] |
| 59 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 60 | [IsFinite f.left] [Flat f.left] [Surjective f.left] : |
| 61 | Finite {q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass B.left // |
| 62 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass A.left} := by |
| 63 | have sq := (Picard.Homomorphisms.Kernel.Construction.kernelScheme_isPullback f).map (Over.forget (Spec (.of k))) |
| 64 | have hfin : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).hom := |
| 65 | MorphismProperty.of_isPullback (P := @IsFinite) sq (inferInstanceAs (IsFinite f.left)) |
| 66 | have : IsAffine (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).left := isAffine_of_isAffineHom (Picard.Homomorphisms.Kernel.Construction.kernelScheme f).hom |
| 67 | let G : Grp (Over (Spec (.of k))) := Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) |
| 68 | have : IsFinite G.X.hom := hfin |
| 69 | have : IsCommMonObj G.X := Picard.Homomorphisms.KernelGroup.Construction.kernelSchemeGroup_commutative f |
| 70 | obtain ⟨R, hR, _, ⟨i⟩⟩ := Picard.Homomorphisms.FiniteHopfPresentation.Construction.finite_commutative_hopfPresentation k G |
| 71 | have : Module.Finite k R := hR |
| 72 | let e : ((hopfSpec (.of k)).obj (.op R)).X ≅ Picard.Homomorphisms.Kernel.Construction.kernelScheme f := |
| 73 | (Grp.forget (Over (Spec (.of k)))).mapIso i |
| 74 | have : IsMonHom e.hom := inferInstanceAs (IsMonHom i.hom.hom.hom) |
| 75 | exact LineCharacterDetection.Construction.KernelCharacters.finite_pullbackKernel f R e |
| 76 | |
| 77 | /-- The geometric kernel of the actual dual Picard pullback is finite |
| 78 | for every finite flat surjective homomorphism of abelian varieties. -/ |
| 79 | theorem finite_geometric_dualKernel |
| 80 | {k : Type u} [Field k] [IsAlgClosed k] {g h : ℕ} |
| 81 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))} |
| 82 | (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (E : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) (f : A.scheme ⟶ B.scheme) |
| 83 | [IsMonHom f] [IsFinite f.left] [Flat f.left] [Surjective f.left] : |
| 84 | Finite (Over.mk (𝟙 (Spec (.of k))) ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme (Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback D E f)) := by |
| 85 | have hfinite := finite_lineKernel_of_finite_flat f |
| 86 | have : Finite {x : Over.mk (𝟙 (Spec (.of k))) ⟶ E.abelian.scheme // |
| 87 | x ≫ Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback D E f = 1} := |
| 88 | Finite.of_injective _ (geometricDualKernelNativeLineEmbedding D E f).injective |
| 89 | let q := Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback D E f |
| 90 | let j : (Over.mk (𝟙 (Spec (.of k))) ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme q) → |
| 91 | {x : Over.mk (𝟙 (Spec (.of k))) ⟶ E.abelian.scheme // x ≫ q = 1} := |
| 92 | fun a => ⟨a ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion q, by rw [Category.assoc, Picard.Homomorphisms.KernelGroup.Construction.kernelInclusion_comp, MonObj.comp_one]⟩ |
| 93 | have : Mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion q) := inferInstanceAs (Mono (equalizer.ι q 1)) |
| 94 | exact Finite.of_injective j (fun a b hab => |
| 95 | (cancel_mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion q)).mp (congrArg Subtype.val hab)) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardKernelFiniteness.Construction.KernelCharacters |