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.BlockRankBaseChange |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ComplexBlockRank |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.RelativeBlockFlatness |
| 4 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockDivisibility |
| 5 | |
| 6 | /-! # Relative Height -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.RelativeHeight |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A complex block count fixes the height on a connected family once |
| 13 | the ambient abelian torsion is finite locally free. This assembles the |
| 14 | actual FiniteEtale tower on each fiber; no block-flatness or divisibility datum |
| 15 | is assumed. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | variable {E K : Type} [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 | {S : Scheme} [ConnectedSpace S] {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 24 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 25 | (pC : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ S) (τ : Gal(E/ℚ)) |
| 26 | |
| 27 | theorem connected_block_rank_from_complex {k : Type} [Field k] |
| 28 | (p : Spec (.of k) ⟶ S) (n r : ℕ) |
| 29 | [IsFinite (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom] |
| 30 | [Flat (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom] |
| 31 | [LocallyOfFinitePresentation (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom] |
| 32 | (hcard : Nat.card (BlocksProjectors.blockPoints (A.pullback pC) (ρ.pullback pC) (j.localCharacter iota τ) n |
| 33 | (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase)) = r) |
| 34 | (H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) |
| 35 | (e : H.scheme ≅ (BlocksProjectors.splitBlockGroupScheme j iota hsplit (A.pullback p) (ρ.pullback p) n τ).X) : |
| 36 | Module.finrank k H.algebra = r := by |
| 37 | let GC := BlocksProjectors.splitBlockGroupScheme j iota hsplit (A.pullback pC) (ρ.pullback pC) n τ |
| 38 | let : IsFinite GC.X.hom := BlockRankBaseChange.split_block_finite_after_baseChange j iota hsplit A ρ n τ pC |
| 39 | obtain ⟨HC, eC, _⟩ := FiniteGroupPresentation.finite_group_affine_presentation GC |
| 40 | let xc : Spec (.of ℂ) := IsLocalRing.closedPoint ℂ |
| 41 | let xk : Spec (.of k) := IsLocalRing.closedPoint k |
| 42 | let F := (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom |
| 43 | calc |
| 44 | Module.finrank k H.algebra = F.finrank (p xk) := |
| 45 | BlockRankBaseChange.split_block_presentation_fiber_rank j iota hsplit A ρ n τ p H e xk |
| 46 | _ = F.finrank (pC xc) := F.isLocallyConstant_finrank.apply_eq_of_preconnectedSpace _ _ |
| 47 | _ = Module.finrank ℂ HC.algebra := |
| 48 | (BlockRankBaseChange.split_block_presentation_fiber_rank j iota hsplit A ρ n τ pC HC eC xc).symm |
| 49 | _ = r := (ComplexBlockRank.complex_block_presentation_rank_eq_card j iota hsplit |
| 50 | (A.pullback pC) (ρ.pullback pC) n τ HC eC).trans hcard |
| 51 | |
| 52 | include hsplit in |
| 53 | theorem blockHasHeight_of_connected_finite_flat_torsion |
| 54 | [∀ n : ℕ, IsFinite (A.torsionScheme (q ^ n)).hom] |
| 55 | [∀ n : ℕ, Flat (A.torsionScheme (q ^ n)).hom] |
| 56 | [∀ n : ℕ, LocallyOfFinitePresentation (A.torsionScheme (q ^ n)).hom] |
| 57 | (h : ℕ) (hcard : ∀ n : ℕ, |
| 58 | Nat.card (BlocksProjectors.blockPoints (A.pullback pC) (ρ.pullback pC) (j.localCharacter iota τ) n |
| 59 | (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase)) = q ^ (n * h)) |
| 60 | {k : Type} [Field k] (p : Spec (.of k) ⟶ S) : |
| 61 | BlocksProjectors.BlockHasHeight (A.pullback p) (ρ.pullback p) (j.localCharacter iota τ) h := by |
| 62 | have hex (n : ℕ) : ∃ H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k, |
| 63 | ∃ e : H.scheme ≅ (BlocksProjectors.splitBlockGroupScheme j iota hsplit (A.pullback p) (ρ.pullback p) n τ).X, |
| 64 | IsMonHom e.hom ∧ Module.finrank k H.algebra = q ^ (n * h) := by |
| 65 | obtain ⟨hf, hflat, hfp⟩ := RelativeBlockFlatness.split_block_finite_locally_free j iota hsplit A ρ n τ |
| 66 | let : IsFinite (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom := hf |
| 67 | let : Flat (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom := hflat |
| 68 | let : LocallyOfFinitePresentation (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom := hfp |
| 69 | let G := BlocksProjectors.splitBlockGroupScheme j iota hsplit (A.pullback p) (ρ.pullback p) n τ |
| 70 | let : IsFinite G.X.hom := BlockRankBaseChange.split_block_finite_after_baseChange j iota hsplit A ρ n τ p |
| 71 | obtain ⟨H, e, he⟩ := FiniteGroupPresentation.finite_group_affine_presentation G |
| 72 | exact ⟨H, e, he, connected_block_rank_from_complex j iota hsplit A ρ pC τ p n |
| 73 | (q ^ (n * h)) (hcard n) H e⟩ |
| 74 | choose H e he hrank using hex |
| 75 | let : ∀ n, IsMonHom (e n).hom := he |
| 76 | exact BlockDivisibility.blockHasHeight_of_finite_presentations j iota hsplit (A.pullback p) (ρ.pullback p) τ H e h hrank |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.RelativeHeight |