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.ArithmeticGeometry.Descent.CMVariety.UnpolarizedComparisons |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareDescent |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Dual |
| 4 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 5 | |
| 6 | /-! # Canonical Dual Comparisons -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.CanonicalDualComparisons.Abelian |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Canonical duality supplies the Poincare comparison for every actual group |
| 14 | isomorphism. The Poincare calculation follows the shared NeighborCounting proof, |
| 15 | using only its global descent theorem and avoiding unrelated isogeny |
| 16 | finiteness dependencies. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareDescent OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Dual |
| 24 | |
| 25 | theorem canonical_dualIso_poincare {a b : ℕ} |
| 26 | {A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme a AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {B : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme b AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} |
| 27 | (DA : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (DB : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) |
| 28 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : |
| 29 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass ((AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison.dualIso DA DB e).inv ⊗ₘ e.hom).left |
| 30 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare) = AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare := by |
| 31 | let d := AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison.dualIso DA DB e |
| 32 | have h := congrArg (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d.inv ▷ A.scheme).left) |
| 33 | (AlgebraicGeometry.Isogenies.NeighborCounting.PoincareDescent.poincareClass_eq DA DB e.hom) |
| 34 | have h₁ : (d.inv ▷ A.scheme).left ≫ (DB.abelian.scheme ◁ e.hom).left = |
| 35 | (d.inv ⊗ₘ e.hom).left := by |
| 36 | rw [← Over.comp_left, ← tensorHom_id, ← id_tensorHom, tensorHom_comp_tensorHom] |
| 37 | simp only [Category.comp_id, Category.id_comp] |
| 38 | have h₂ : (d.inv ▷ A.scheme).left ≫ (d.hom ▷ A.scheme).left = |
| 39 | 𝟙 (DA.abelian.scheme ⊗ A.scheme).left := by |
| 40 | rw [← Over.comp_left, ← tensorHom_id, ← tensorHom_id, tensorHom_comp_tensorHom] |
| 41 | simp only [d.inv_hom_id, Category.id_comp, tensorHom_id, id_whiskerRight] |
| 42 | rfl |
| 43 | change AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d.inv ▷ A.scheme).left |
| 44 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (DB.abelian.scheme ◁ e.hom).left (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare)) = |
| 45 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d.inv ▷ A.scheme).left |
| 46 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d.hom ▷ A.scheme).left (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare)) at h |
| 47 | rw [← AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, h₁, h₂, |
| 48 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] at h |
| 49 | exact h |
| 50 | |
| 51 | def unpolarizedEnhancedIsoOfGroupLevel {g N r : ℕ} {δ : Fin g → ℕ} |
| 52 | {A B : ModuliObjects.Abelian.EnhancedAbelianData g δ N r AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} |
| 53 | (e : A.polarized.abelian.scheme ≅ B.polarized.abelian.scheme) [IsMonHom e.hom] |
| 54 | (hequiv : ∀ i, A.endomorphism i ≫ e.hom = e.hom ≫ B.endomorphism i) |
| 55 | (hlevel : ∀ (T : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 56 | (c : LocallyConstant T.left (Multiplicative (Fin (2 * g) → ZMod N))), |
| 57 | (A.polarized.level.hom.app (.op T) c).val ≫ e.hom = |
| 58 | (B.polarized.level.hom.app (.op T) c).val) : UnpolarizedComparisons.Abelian.UnpolarizedEnhancedIso A B where |
| 59 | abelian := e |
| 60 | dual := (AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison.dualIso A.polarized.dual B.polarized.dual e).symm |
| 61 | abelianGroup := inferInstance |
| 62 | dualGroup := AlgebraicGeometry.Isogenies.NeighborCounting.Dual.dualMap_isMonHom B.polarized.dual A.polarized.dual e.inv |
| 63 | poincare := canonical_dualIso_poincare A.polarized.dual B.polarized.dual e |
| 64 | level := hlevel |
| 65 | equivariant := hequiv |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.ArithmeticGeometry.Descent.CMVariety.CanonicalDualComparisons.Abelian |