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.AnnihilatorRepresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Assembly |
| 3 | |
| 4 | /-! # Paired Kernels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Assemble each chosen subgroup with its constructed Cartier annihilator |
| 12 | in the opposite block. The pairing is the ordinary-block duality input; |
| 13 | the opposite subgroup and its closed inclusion are constructed from it. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | section |
| 23 | |
| 24 | variable {K : Type u} [Field K] |
| 25 | variable {G H B : Grp (Over (Spec (.of K)))} |
| 26 | variable (P : CartierModel.Construction.CartierCoordinates (.of K) G) (Q : CartierModel.Construction.CartierCoordinates (.of K) H) |
| 27 | variable (i : H ⟶ G) (pairing : B ≅ P.dualGroup) |
| 28 | |
| 29 | /-- The actual opposite subgroup is transported by the specified Cartier |
| 30 | identification of the opposite block. -/ |
| 31 | def CartierModel.Construction.CartierCoordinates.oppositeInclusion : P.annihilatorGroup Q i ⟶ B := |
| 32 | P.annihilatorInclusion Q i ≫ pairing.inv |
| 33 | |
| 34 | theorem CartierModel.Construction.CartierCoordinates.oppositeInclusion_closed : |
| 35 | IsClosedImmersion (P.oppositeInclusion Q i pairing).hom.hom.left := by |
| 36 | have := P.annihilatorInclusion_closed Q i |
| 37 | have : IsIso pairing.inv.hom.hom.left := inferInstanceAs |
| 38 | (IsIso (((Grp.forget (Over (Spec (.of K)))) ⋙ Over.forget _).map pairing.inv)) |
| 39 | change IsClosedImmersion |
| 40 | ((P.annihilatorInclusion Q i).hom.hom.left ≫ pairing.inv.hom.hom.left) |
| 41 | infer_instance |
| 42 | |
| 43 | def CartierModel.Construction.CartierCoordinates.pairedKernel : Grp (Over (Spec (.of K))) := H ⊗ P.annihilatorGroup Q i |
| 44 | |
| 45 | def CartierModel.Construction.CartierCoordinates.pairedKernelInclusion : P.pairedKernel Q i ⟶ G ⊗ B := |
| 46 | i ⊗ₘ P.oppositeInclusion Q i pairing |
| 47 | |
| 48 | theorem CartierModel.Construction.CartierCoordinates.pairedKernel_finiteLocallyFree [IsFinite H.X.hom] [Flat H.X.hom] |
| 49 | [LocallyOfFinitePresentation H.X.hom] : |
| 50 | IsFinite (P.pairedKernel Q i).X.hom ∧ Flat (P.pairedKernel Q i).X.hom ∧ |
| 51 | LocallyOfFinitePresentation (P.pairedKernel Q i).X.hom := by |
| 52 | have ha := P.annihilatorGroup_finiteLocallyFree_overField Q i |
| 53 | have : Flat (P.annihilatorGroup Q i).X.hom := ha.2.1 |
| 54 | have : LocallyOfFinitePresentation (P.annihilatorGroup Q i).X.hom := ha.2.2 |
| 55 | change IsFinite (Limits.pullback.fst H.X.hom (P.annihilatorGroup Q i).X.hom ≫ H.X.hom) ∧ |
| 56 | Flat (Limits.pullback.fst H.X.hom (P.annihilatorGroup Q i).X.hom ≫ H.X.hom) ∧ |
| 57 | LocallyOfFinitePresentation |
| 58 | (Limits.pullback.fst H.X.hom (P.annihilatorGroup Q i).X.hom ≫ H.X.hom) |
| 59 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 60 | |
| 61 | theorem CartierModel.Construction.CartierCoordinates.pairedKernelInclusion_closed (hi : IsClosedImmersion i.hom.hom.left) : |
| 62 | IsClosedImmersion (P.pairedKernelInclusion Q i pairing).hom.hom.left := by |
| 63 | let : MorphismProperty.IsStableUnderComposition (@IsClosedImmersion.{u}) := |
| 64 | ⟨fun f g hf hg => by |
| 65 | let := hf |
| 66 | let := hg |
| 67 | exact IsClosedImmersion.comp f g⟩ |
| 68 | change IsClosedImmersion (i.hom.hom ⊗ₘ (P.oppositeInclusion Q i pairing).hom.hom).left |
| 69 | rw [Over.tensorHom_left] |
| 70 | exact MorphismProperty.pullbackMap (P := @IsClosedImmersion.{u}) hi |
| 71 | (P.oppositeInclusion_closed Q i pairing) i.hom.hom.w.symm |
| 72 | (P.oppositeInclusion Q i pairing).hom.hom.w.symm |
| 73 | |
| 74 | end |
| 75 | |
| 76 | variable {K : Type u} [Field K] {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 77 | variable (n k : ℕ) (G H B : Fin k → Grp (Over (Spec (.of K)))) |
| 78 | variable (P : ∀ v, CartierModel.Construction.CartierCoordinates (.of K) (G v)) |
| 79 | variable (Q : ∀ v, CartierModel.Construction.CartierCoordinates (.of K) (H v)) |
| 80 | variable (i : ∀ v, H v ⟶ G v) (pairing : ∀ v, B v ≅ (P v).dualGroup) |
| 81 | variable (split : Assembly.Construction.torsionGroup A n ≅ BlockProducts.Construction.groupBlockProduct k (fun v => G v ⊗ B v)) |
| 82 | |
| 83 | /-- The full subgroup uses the chosen kernels and their actual opposite |
| 84 | annihilators, then embeds their product through the n-torsion of A. -/ |
| 85 | def PairedKernels.Construction.fullPairedKernelToAbelian : |
| 86 | (BlockProducts.Construction.groupBlockProduct k (fun v => (P v).pairedKernel (Q v) (i v))).X ⟶ A.scheme := |
| 87 | Assembly.Construction.fullKernelToAbelian A n k (fun v => (P v).pairedKernel (Q v) (i v)) |
| 88 | (fun v => G v ⊗ B v) (fun v => (P v).pairedKernelInclusion (Q v) (i v) (pairing v)) split |
| 89 | |
| 90 | instance PairedKernels.Construction.fullPairedKernelToAbelian_isMonHom : |
| 91 | IsMonHom (PairedKernels.Construction.fullPairedKernelToAbelian A n k G H B P Q i pairing split) := by |
| 92 | unfold PairedKernels.Construction.fullPairedKernelToAbelian |
| 93 | infer_instance |
| 94 | |
| 95 | theorem PairedKernels.Construction.fullPairedKernelToAbelian_closed (hi : ∀ v, IsClosedImmersion (i v).hom.hom.left) : |
| 96 | IsClosedImmersion (PairedKernels.Construction.fullPairedKernelToAbelian A n k G H B P Q i pairing split).left := |
| 97 | Assembly.Construction.fullKernelToAbelian_closed A n k _ _ _ |
| 98 | (fun v => (P v).pairedKernelInclusion_closed (Q v) (i v) (pairing v) (hi v)) split |
| 99 | |
| 100 | theorem PairedKernels.Construction.fullPairedKernel_finiteLocallyFree |
| 101 | (hH : ∀ v, IsFinite (H v).X.hom ∧ Flat (H v).X.hom ∧ |
| 102 | LocallyOfFinitePresentation (H v).X.hom) : |
| 103 | IsFinite (BlockProducts.Construction.groupBlockProduct k (fun v => (P v).pairedKernel (Q v) (i v))).X.hom ∧ |
| 104 | Flat (BlockProducts.Construction.groupBlockProduct k (fun v => (P v).pairedKernel (Q v) (i v))).X.hom ∧ |
| 105 | LocallyOfFinitePresentation |
| 106 | (BlockProducts.Construction.groupBlockProduct k (fun v => (P v).pairedKernel (Q v) (i v))).X.hom := |
| 107 | BlockProducts.Construction.groupBlockProduct_finiteLocallyFree k _ (fun v => by |
| 108 | have : IsFinite (H v).X.hom := (hH v).1 |
| 109 | have : Flat (H v).X.hom := (hH v).2.1 |
| 110 | have : LocallyOfFinitePresentation (H v).X.hom := (hH v).2.2 |
| 111 | exact (P v).pairedKernel_finiteLocallyFree (Q v) (i v)) |
| 112 | |
| 113 | theorem PairedKernels.Construction.fullPairedKernelToAbelian_killed (T : Over (Spec (.of K))) |
| 114 | (x : T ⟶ (BlockProducts.Construction.groupBlockProduct k (fun v => (P v).pairedKernel (Q v) (i v))).X) : |
| 115 | (x ≫ PairedKernels.Construction.fullPairedKernelToAbelian A n k G H B P Q i pairing split) ^ n = 1 := |
| 116 | Assembly.Construction.fullKernelToAbelian_killed A n k _ _ _ split T x |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |