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.CartierProducts |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EtaleOpen |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteFlatCoverRetract |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelGroup |
| 5 | |
| 6 | /-! # Product Projection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ProductProjection.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Removing the constant factor of a subgroup of M times E gives an |
| 13 | actual closed subgroup of M. Its open kernel still covers a singleton target. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelGroup.Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | section General |
| 24 | |
| 25 | variable {S : Scheme.{u}} {G M E : Grp (Over S)} (i : G ⟶ M ⊗ E) |
| 26 | |
| 27 | abbrev productProjectionKernel : Grp (Over S) := |
| 28 | Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M E).hom.hom) |
| 29 | |
| 30 | def productProjectionKernelInclusion : productProjectionKernel i ⟶ G := |
| 31 | Grp.homMk (Picard.Homomorphisms.Kernel.Construction.kernelInclusion (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M E).hom.hom) |
| 32 | |
| 33 | def productProjectionKernelFirst : productProjectionKernel i ⟶ M := |
| 34 | productProjectionKernelInclusion i ≫ i ≫ CartierProducts.Construction.splitFirstProjection M E |
| 35 | |
| 36 | theorem productProjectionKernelFirst_inclusion : |
| 37 | productProjectionKernelFirst i ≫ AnnihilatorSheaf.Construction.splitFirstInclusion M E = productProjectionKernelInclusion i ≫ i := by |
| 38 | apply Grp.hom_ext |
| 39 | change (Picard.Homomorphisms.Kernel.Construction.kernelInclusion (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M E).hom.hom ≫ |
| 40 | i.hom.hom ≫ fst M.X E.X) ≫ lift (𝟙 M.X) (1 : M.X ⟶ E.X) = |
| 41 | Picard.Homomorphisms.Kernel.Construction.kernelInclusion (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M E).hom.hom ≫ i.hom.hom |
| 42 | apply CartesianMonoidalCategory.hom_ext |
| 43 | · simp only [Category.assoc, lift_fst, Category.comp_id] |
| 44 | · simp only [Category.assoc, lift_snd, MonObj.comp_one] |
| 45 | exact (Picard.Homomorphisms.KernelGroup.Construction.kernelInclusion_comp (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M E).hom.hom).symm |
| 46 | |
| 47 | theorem productProjectionKernelFirst_closed [IsSeparated E.X.hom] |
| 48 | [IsClosedImmersion i.hom.hom.left] : IsClosedImmersion (productProjectionKernelFirst i).hom.hom.left := by |
| 49 | have hc : IsClosedImmersion ((productProjectionKernelInclusion i).hom.hom.left ≫ i.hom.hom.left) := |
| 50 | inferInstanceAs (IsClosedImmersion |
| 51 | ((Picard.Homomorphisms.Kernel.Construction.kernelInclusion (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M E).hom.hom).left ≫ i.hom.hom.left)) |
| 52 | have he : (productProjectionKernelFirst i).hom.hom.left ≫ (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom.left = |
| 53 | (productProjectionKernelInclusion i).hom.hom.left ≫ i.hom.hom.left := |
| 54 | congrArg (fun t : productProjectionKernel i ⟶ M ⊗ E => t.hom.hom.left) |
| 55 | (productProjectionKernelFirst_inclusion i) |
| 56 | have : IsClosedImmersion ((productProjectionKernelFirst i).hom.hom.left ≫ |
| 57 | (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom.left) := (congrArg IsClosedImmersion he).mpr hc |
| 58 | have : Mono (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom := mono_of_mono_fac |
| 59 | (show (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom ≫ fst M.X E.X = 𝟙 M.X from lift_fst _ _) |
| 60 | exact IsClosedImmersion.of_comp _ (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom.left |
| 61 | |
| 62 | end General |
| 63 | |
| 64 | variable {k : Type u} [Field k] {G M J : Grp (Over (Spec (.of k)))} |
| 65 | (D : Type u) [Group D] [Finite D] |
| 66 | (i : G ⟶ M ⊗ EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) D) (p : G ⟶ J) |
| 67 | |
| 68 | theorem productEtaleKernelProjection_cover |
| 69 | [IsFinite p.hom.hom.left] [Flat p.hom.hom.left] [LocallyOfFinitePresentation p.hom.hom.left] |
| 70 | [Subsingleton J.X.left] : |
| 71 | IsFinite (productProjectionKernelInclusion i ≫ p).hom.hom.left ∧ |
| 72 | Flat (productProjectionKernelInclusion i ≫ p).hom.hom.left ∧ |
| 73 | LocallyOfFinitePresentation (productProjectionKernelInclusion i ≫ p).hom.hom.left ∧ |
| 74 | Surjective (productProjectionKernelInclusion i ≫ p).hom.hom.left := by |
| 75 | have : IsOpenImmersion (productProjectionKernelInclusion i).hom.hom.left := |
| 76 | EtaleOpen.Construction.kernelToEtale_inclusion_open (Spec (.of k)) D (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M _).hom.hom |
| 77 | have : IsSeparated (EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) D).X.hom := inferInstance |
| 78 | have : IsClosedImmersion (productProjectionKernelInclusion i).hom.hom.left := |
| 79 | inferInstanceAs (IsClosedImmersion |
| 80 | (Picard.Homomorphisms.Kernel.Construction.kernelInclusion (i ≫ AnnihilatorSheaf.Construction.splitSecondProjection M (EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) D)).hom.hom).left) |
| 81 | have : Nonempty (productProjectionKernel i).X.left := |
| 82 | ⟨η[(productProjectionKernel i).X].left (IsLocalRing.closedPoint k)⟩ |
| 83 | exact FiniteFlatCoverRetract.Construction.finite_flat_cover_of_open_closed_restriction |
| 84 | (productProjectionKernelInclusion i).hom.hom.left p.hom.hom.left |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ProductProjection.Construction |