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.RankSpecialization |
| 3 | |
| 4 | /-! # Block Rank Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockRankBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scheme ranks of character blocks commute with the actual |
| 11 | base-change comparison, including geometric fibers. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 16 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 17 | (j : Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 18 | {S : Scheme} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 19 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 20 | (n : ℕ) (τ : Gal(E/ℚ)) |
| 21 | |
| 22 | theorem split_block_finite_after_baseChange {S' : Scheme} (p : S' ⟶ S) |
| 23 | [IsFinite (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom] : |
| 24 | IsFinite (BlocksProjectors.splitBlockGroupScheme j iota hsplit (A.pullback p) (ρ.pullback p) n τ).X.hom := by |
| 25 | let e := BlocksProjectors.splitBlockBaseChangeIso p n j iota hsplit A ρ τ |
| 26 | have : IsIso e.inv.left := inferInstanceAs |
| 27 | (IsIso (((Over.forget S').mapIso e).inv)) |
| 28 | let : IsFinite (BlocksProjectors.idempotentBlockScheme A ρ (q ^ n) (j.projector iota hsplit n τ)).hom := |
| 29 | inferInstanceAs (IsFinite (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom) |
| 30 | let : IsFinite ((Over.pullback p).obj |
| 31 | (BlocksProjectors.idempotentBlockScheme A ρ (q ^ n) (j.projector iota hsplit n τ))).hom := |
| 32 | inferInstanceAs (IsFinite (CategoryTheory.Limits.pullback.snd |
| 33 | (BlocksProjectors.idempotentBlockScheme A ρ (q ^ n) (j.projector iota hsplit n τ)).hom p)) |
| 34 | change IsFinite (BlocksProjectors.idempotentBlockScheme (A.pullback p) (ρ.pullback p) |
| 35 | (q ^ n) (j.projector iota hsplit n τ)).hom |
| 36 | rw [← e.inv.w] |
| 37 | infer_instance |
| 38 | |
| 39 | theorem split_block_presentation_fiber_rank {k : Type} [Field k] |
| 40 | (p : Spec (.of k) ⟶ S) |
| 41 | [IsFinite (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom] |
| 42 | [Flat (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom] |
| 43 | (H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k) |
| 44 | (e : H.scheme ≅ (BlocksProjectors.splitBlockGroupScheme j iota hsplit (A.pullback p) (ρ.pullback p) n τ).X) |
| 45 | (x : Spec (.of k)) : |
| 46 | Module.finrank k H.algebra = (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom.finrank (p x) := |
| 47 | RankSpecialization.finite_group_fiber_rank (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X.hom p H |
| 48 | (e ≪≫ (BlocksProjectors.splitBlockBaseChangeIso p n j iota hsplit A ρ τ).symm) x |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockRankBaseChange |