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.PELModuli.CMPoints.BlockTower |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.FiniteGroupPresentation |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockSchemeTower |
| 4 | |
| 5 | /-! # Block Divisibility -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockDivisibility |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Assemble FiniteEtale's actual q-divisible group from finite affine block |
| 12 | presentations and their geometric ranks. The transition maps and kernel |
| 13 | condition are constructed, rather than included among the rank hypotheses. |
| 14 | |
| 15 | Only the actual block functor and its represented closed inclusions are used. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | variable {k E K : Type} [Field k] [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 22 | (j : Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 23 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 24 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 25 | (τ : Gal(E/ℚ)) |
| 26 | |
| 27 | def finiteBlockPointIso (n : ℕ) (H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) |
| 28 | (e : H.scheme ≅ (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X) |
| 29 | [IsMonHom e.hom] : |
| 30 | H.points ⋙ forget₂ CommGrpCat GrpCat ≅ BlocksProjectors.affineBlockFunctor A ρ (j.localCharacter iota τ) n := |
| 31 | NatIso.ofComponents (fun R => |
| 32 | ((CategoryTheory.Hom.mulEquivCongrRight e (GroupSchemes.FiniteEtale.affine k R)).trans |
| 33 | (((BlockSchemeTower.blockYonedaIso j iota hsplit A ρ n τ).app |
| 34 | (op (GroupSchemes.FiniteEtale.affine k R))).groupIsoToMulEquiv)).toGrpIso) (by |
| 35 | intro R S f |
| 36 | apply GrpCat.hom_ext |
| 37 | apply MonoidHom.ext |
| 38 | intro x |
| 39 | apply Subtype.ext |
| 40 | change (((algSpec (.of k)).map f.op ≫ x) ≫ e.hom) ≫ |
| 41 | BlockSchemeTower.blockSchemeInclusion j iota hsplit A ρ n τ = |
| 42 | (algSpec (.of k)).map f.op ≫ ((x ≫ e.hom) ≫ BlockSchemeTower.blockSchemeInclusion j iota hsplit A ρ n τ) |
| 43 | exact (congrArg (fun z => z ≫ BlockSchemeTower.blockSchemeInclusion j iota hsplit A ρ n τ) |
| 44 | (Category.assoc ((algSpec (.of k)).map f.op) x e.hom)).trans |
| 45 | (Category.assoc _ _ _)) |
| 46 | |
| 47 | theorem finiteBlockPointIso_val (n : ℕ) (H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) |
| 48 | (e : H.scheme ≅ (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X) |
| 49 | [IsMonHom e.hom] (R : CommAlgCat k) (x : GroupSchemes.FiniteEtale.affine k R ⟶ H.scheme) : |
| 50 | ((finiteBlockPointIso j iota hsplit A ρ τ n H e).hom.app R x).val = |
| 51 | (x ≫ e.hom) ≫ BlockSchemeTower.blockSchemeInclusion j iota hsplit A ρ n τ := rfl |
| 52 | |
| 53 | variable (H : ℕ → GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) |
| 54 | (e : ∀ n, (H n).scheme ≅ (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X) |
| 55 | [∀ n, IsMonHom (e n).hom] |
| 56 | |
| 57 | def affineBlockTransition (n : ℕ) : (H n).scheme ⟶ (H (n + 1)).scheme := |
| 58 | (e n).hom ≫ |
| 59 | (BlockSchemeTower.blockSchemeLevelEmbedding j iota hsplit A ρ τ (Nat.le_succ n)).hom.hom ≫ (e (n + 1)).inv |
| 60 | |
| 61 | instance affineBlockTransition_group (n : ℕ) : |
| 62 | IsMonHom (affineBlockTransition j iota hsplit A ρ τ H e n) := by |
| 63 | dsimp only [affineBlockTransition] |
| 64 | infer_instance |
| 65 | |
| 66 | instance affineBlockTransition_closed (n : ℕ) : |
| 67 | IsClosedImmersion (affineBlockTransition j iota hsplit A ρ τ H e n).left := by |
| 68 | have : IsIso (e n).hom.left := inferInstanceAs |
| 69 | (IsIso (((Over.forget (Spec (.of k))).mapIso (e n)).hom)) |
| 70 | have : IsIso (e (n + 1)).inv.left := inferInstanceAs |
| 71 | (IsIso (((Over.forget (Spec (.of k))).mapIso (e (n + 1))).inv)) |
| 72 | dsimp only [affineBlockTransition, Over.comp_left] |
| 73 | infer_instance |
| 74 | |
| 75 | theorem affineBlockTransition_points (n : ℕ) (R : CommAlgCat k) |
| 76 | (x : GroupSchemes.FiniteEtale.affine k R ⟶ (H n).scheme) : |
| 77 | ((finiteBlockPointIso j iota hsplit A ρ τ (n + 1) (H (n + 1)) (e (n + 1))).hom.app R |
| 78 | (x ≫ affineBlockTransition j iota hsplit A ρ τ H e n)).val = |
| 79 | ((finiteBlockPointIso j iota hsplit A ρ τ n (H n) (e n)).hom.app R x).val := by |
| 80 | simp only [finiteBlockPointIso_val, affineBlockTransition, Category.assoc, |
| 81 | Iso.inv_hom_id_assoc, BlockSchemeTower.blockSchemeLevelEmbedding_inclusion] |
| 82 | |
| 83 | theorem affineBlockTransition_kernel (n : ℕ) (R : CommAlgCat k) |
| 84 | (x : GroupSchemes.FiniteEtale.affine k R ⟶ (H (n + 1)).scheme) : |
| 85 | (∃ y, y ≫ affineBlockTransition j iota hsplit A ρ τ H e n = x) ↔ x ^ (q ^ n) = 1 := by |
| 86 | let en : (GroupSchemes.FiniteEtale.affine k R ⟶ (H n).scheme) ≃* |
| 87 | BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) n (GroupSchemes.FiniteEtale.affine k R) := |
| 88 | ((finiteBlockPointIso j iota hsplit A ρ τ n (H n) (e n)).app R).groupIsoToMulEquiv |
| 89 | let enext : (GroupSchemes.FiniteEtale.affine k R ⟶ (H (n + 1)).scheme) ≃* |
| 90 | BlocksProjectors.blockPoints A ρ (j.localCharacter iota τ) (n + 1) (GroupSchemes.FiniteEtale.affine k R) := |
| 91 | ((finiteBlockPointIso j iota hsplit A ρ τ (n + 1) (H (n + 1)) (e (n + 1))).app R).groupIsoToMulEquiv |
| 92 | let transition := IsMonHom.monoidHom |
| 93 | (affineBlockTransition j iota hsplit A ρ τ H e n) (GroupSchemes.FiniteEtale.affine k R) |
| 94 | exact BlockTower.torsion_kernel_transport en enext transition |
| 95 | (BlockTower.blockLevelInclusion A ρ (j.localCharacter iota τ) n (n + 1) (Nat.le_succ n) |
| 96 | (GroupSchemes.FiniteEtale.affine k R)) (q ^ n) |
| 97 | (fun y => Subtype.ext (affineBlockTransition_points j iota hsplit A ρ τ H e n R y)) |
| 98 | (BlockTower.blockLevelInclusion_kernel A ρ (j.localCharacter iota τ) n (n + 1) (Nat.le_succ n) |
| 99 | (GroupSchemes.FiniteEtale.affine k R)) x |
| 100 | |
| 101 | def blockDivisibleGroupOfRanks (h : ℕ) |
| 102 | (hrank : ∀ n, Module.finrank k (H n).algebra = q ^ (n * h)) : |
| 103 | GroupSchemes.FiniteEtale.PDivisibleGroup k q h where |
| 104 | level := H |
| 105 | inclusion := affineBlockTransition j iota hsplit A ρ τ H e |
| 106 | inclusion_hom := affineBlockTransition_group j iota hsplit A ρ τ H e |
| 107 | inclusion_closed := affineBlockTransition_closed j iota hsplit A ρ τ H e |
| 108 | rank := hrank |
| 109 | kernel := affineBlockTransition_kernel j iota hsplit A ρ τ H e |
| 110 | |
| 111 | include hsplit e in |
| 112 | /-- The geometric ranks are the remaining numerical input to this |
| 113 | construction of the actual q-divisible block. -/ |
| 114 | theorem blockHasHeight_of_finite_presentations (h : ℕ) |
| 115 | (hrank : ∀ n, Module.finrank k (H n).algebra = q ^ (n * h)) : |
| 116 | BlocksProjectors.BlockHasHeight A ρ (j.localCharacter iota τ) h := by |
| 117 | refine ⟨blockDivisibleGroupOfRanks j iota hsplit A ρ τ H e h hrank, |
| 118 | fun n => finiteBlockPointIso j iota hsplit A ρ τ n (H n) (e n), ?_⟩ |
| 119 | exact affineBlockTransition_points j iota hsplit A ρ τ H e |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockDivisibility |