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.BlocksProjectors |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockTower |
| 3 | |
| 4 | /-! # Block Scheme Tower -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockSchemeTower |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The ascending character-block functors are represented by closed |
| 11 | embeddings of the actual block schemes. The Yoneda construction follows |
| 12 | the generic checked bridge in TorsionLevels, placed here without |
| 13 | the later node's Cartier and ordinary-block dependencies. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 19 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 20 | (j : Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 21 | {S : Scheme} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 22 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 23 | |
| 24 | def blockYonedaIso (n : ℕ) (τ : Gal(E/ℚ)) : |
| 25 | yonedaGrp.obj (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).toGrp ≅ |
| 26 | BlocksProjectors.blockFunctor A ρ (j.localCharacter iota τ) n := |
| 27 | yonedaGrpObjIsoOfRepresentableBy |
| 28 | (BlocksProjectors.idempotentBlockScheme A ρ (q ^ n) (j.projector iota hsplit n τ)) |
| 29 | (BlocksProjectors.blockFunctor A ρ (j.localCharacter iota τ) n) |
| 30 | (BlocksProjectors.splitBlockRepresentable j iota hsplit A ρ n τ) |
| 31 | |
| 32 | abbrev blockSchemeInclusion (n : ℕ) (τ : Gal(E/ℚ)) : |
| 33 | (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X ⟶ A.scheme := |
| 34 | BlocksProjectors.idempotentBlockInclusion A ρ (q ^ n) (j.projector iota hsplit n τ) |
| 35 | |
| 36 | theorem blockSchemeInclusion_point (n : ℕ) (τ : Gal(E/ℚ)) (T : Over S) |
| 37 | (x : T ⟶ (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X) : |
| 38 | ((blockYonedaIso j iota hsplit A ρ n τ).hom.app (op T) x).val = |
| 39 | x ≫ blockSchemeInclusion j iota hsplit A ρ n τ := rfl |
| 40 | |
| 41 | def blockSchemeLevelEmbedding (τ : Gal(E/ℚ)) {n m : ℕ} (hnm : n ≤ m) : |
| 42 | (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).toGrp ⟶ |
| 43 | (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ m τ).toGrp := |
| 44 | (yonedaGrpFullyFaithful (C := Over S)).preimage |
| 45 | ((blockYonedaIso j iota hsplit A ρ n τ).hom ≫ |
| 46 | BlockTower.blockInclusionNat A ρ (j.localCharacter iota τ) n m hnm ≫ |
| 47 | (blockYonedaIso j iota hsplit A ρ m τ).inv) |
| 48 | |
| 49 | theorem blockSchemeLevelEmbedding_points (τ : Gal(E/ℚ)) {n m : ℕ} (hnm : n ≤ m) |
| 50 | (T : Over S) (x : T ⟶ (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X) : |
| 51 | (blockYonedaIso j iota hsplit A ρ m τ).hom.app (op T) |
| 52 | (x ≫ (blockSchemeLevelEmbedding j iota hsplit A ρ τ hnm).hom.hom) = |
| 53 | (BlockTower.blockInclusionNat A ρ (j.localCharacter iota τ) n m hnm).app (op T) |
| 54 | ((blockYonedaIso j iota hsplit A ρ n τ).hom.app (op T) x) := by |
| 55 | have h := (yonedaGrpFullyFaithful (C := Over S)).map_preimage |
| 56 | ((blockYonedaIso j iota hsplit A ρ n τ).hom ≫ |
| 57 | BlockTower.blockInclusionNat A ρ (j.localCharacter iota τ) n m hnm ≫ |
| 58 | (blockYonedaIso j iota hsplit A ρ m τ).inv) |
| 59 | have hc := congrArg (fun α => α ≫ (blockYonedaIso j iota hsplit A ρ m τ).hom) h |
| 60 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] at hc |
| 61 | exact congrArg (fun α => (α.app (op T)).hom x) hc |
| 62 | |
| 63 | theorem blockSchemeLevelEmbedding_inclusion (τ : Gal(E/ℚ)) {n m : ℕ} (hnm : n ≤ m) : |
| 64 | (blockSchemeLevelEmbedding j iota hsplit A ρ τ hnm).hom.hom ≫ |
| 65 | blockSchemeInclusion j iota hsplit A ρ m τ = blockSchemeInclusion j iota hsplit A ρ n τ := by |
| 66 | have h := congrArg Subtype.val |
| 67 | (blockSchemeLevelEmbedding_points j iota hsplit A ρ τ hnm _ (𝟙 _)) |
| 68 | change ((𝟙 _) ≫ (blockSchemeLevelEmbedding j iota hsplit A ρ τ hnm).hom.hom) ≫ |
| 69 | blockSchemeInclusion j iota hsplit A ρ m τ = |
| 70 | (𝟙 _) ≫ blockSchemeInclusion j iota hsplit A ρ n τ at h |
| 71 | simpa only [Category.id_comp] using h |
| 72 | |
| 73 | instance blockSchemeLevelEmbedding_closed (τ : Gal(E/ℚ)) {n m : ℕ} (hnm : n ≤ m) : |
| 74 | IsClosedImmersion (blockSchemeLevelEmbedding j iota hsplit A ρ τ hnm).hom.hom.left := by |
| 75 | have : IsClosedImmersion (blockSchemeInclusion j iota hsplit A ρ m τ).left := |
| 76 | BlocksProjectors.idempotentBlockInclusion_closed A ρ _ _ |
| 77 | have h := congrArg Over.Hom.left |
| 78 | (blockSchemeLevelEmbedding_inclusion j iota hsplit A ρ τ hnm) |
| 79 | have : IsClosedImmersion |
| 80 | ((blockSchemeLevelEmbedding j iota hsplit A ρ τ hnm).hom.hom.left ≫ |
| 81 | (blockSchemeInclusion j iota hsplit A ρ m τ).left) := |
| 82 | (congrArg IsClosedImmersion h).mpr (BlocksProjectors.idempotentBlockInclusion_closed A ρ _ _) |
| 83 | exact IsClosedImmersion.of_comp _ (blockSchemeInclusion j iota hsplit A ρ m τ).left |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockSchemeTower |