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.AbelianModuli.HilbertConstruction.Directed.PoincareTransitions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.RigidifiedFamilyLines |
| 3 | |
| 4 | /-! # Poincare Cech Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareCechData.DirectedPolarizedSchemeGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual dual colimit cover carries a directed system of original |
| 11 | normalized Poincare lines. Consequently it has canonical comparisons |
| 12 | on all test intersections, with proved cocycle and naturality. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareNormalization |
| 17 | |
| 18 | variable {S : Scheme.{0}} [IsLocallyNoetherian S] (C : S.OpenCover.{0}) |
| 19 | [Category C.I₀] [C.LocallyDirected] [Small.{0} C.I₀] [Quiver.IsThin C.I₀] |
| 20 | [∀ i, IsLocallyNoetherian (C.X i)] {g N : ℕ} {δ : Fin g → ℕ} |
| 21 | (F : ∀ i, PolarizationData.PolarizedAbelianWithFullLevel g δ N (C.X i)) (hN : 3 ≤ N) |
| 22 | (e : ∀ {i j : C.I₀} (f : i ⟶ j), Moduli.Isomorphisms.LevelPreservingIso (F i) ((F j).pullback (C.trans f))) |
| 23 | |
| 24 | local notation "A" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e |
| 25 | local notation "E" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.scheme (OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualAbelian C F hN e) |
| 26 | local notation "DE" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualData C F hN e |
| 27 | |
| 28 | abbrev poincareCover : (E).left.OpenCover.{0} := (DE).schemeData.cover |
| 29 | |
| 30 | local notation "V" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareCechData.DirectedPolarizedSchemeGluing.poincareCover C F hN e |
| 31 | |
| 32 | omit [IsLocallyNoetherian S] in |
| 33 | instance poincareCover_locallyDirected : (poincareCover C F hN e).LocallyDirected := |
| 34 | inferInstanceAs ((PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualData C F hN e).schemeData.cover.LocallyDirected) |
| 35 | |
| 36 | /-- This identity on the original dual total space reconciles the |
| 37 | native cover structure map with the original chart structure map. -/ |
| 38 | def poincareCoverParameterIso (i : C.I₀) : |
| 39 | Embedded.FamilyOpenCover.overOpenCoverObject E V i ≅ PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameter C F i := |
| 40 | Over.isoMk (Iso.refl _) (by |
| 41 | have hbase : (DE).chartMap i ≫ (DE).space.hom = |
| 42 | (F i).dual.abelian.scheme.hom ≫ C.f i := (DE).chartMap_over i |
| 43 | exact (Category.id_comp ((F i).dual.abelian.scheme.hom ≫ C.f i)).trans hbase.symm) |
| 44 | |
| 45 | omit [IsLocallyNoetherian S] in |
| 46 | theorem poincareCoverParameterIso_natural {i j : C.I₀} (f : i ⟶ j) : |
| 47 | Embedded.CoverComparisons.overOpenCoverTransition E V f ≫ (poincareCoverParameterIso C F hN e j).hom = |
| 48 | (poincareCoverParameterIso C F hN e i).hom ≫ PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameterTransition C F hN e f := by |
| 49 | apply Over.OverMorphism.ext |
| 50 | change (DE).transition f ≫ 𝟙 _ = 𝟙 _ ≫ (DE).transition f |
| 51 | exact (Category.comp_id ((DE).transition f)).trans (Category.id_comp ((DE).transition f)).symm |
| 52 | |
| 53 | omit [IsLocallyNoetherian S] in |
| 54 | private theorem familyClass_comp {T U W : Over S} (a : U ⟶ T) (b : T ⟶ W) |
| 55 | (q : Line.Bundles.LineBundle.IsoClass (W ⊗ (A).scheme).left) : |
| 56 | Line.Bundles.LineBundle.pullbackClass (a ▷ (A).scheme).left |
| 57 | (Line.Bundles.LineBundle.pullbackClass (b ▷ (A).scheme).left q) = |
| 58 | Line.Bundles.LineBundle.pullbackClass ((a ≫ b) ▷ (A).scheme).left q := |
| 59 | (Line.Bundles.LineBundle.pullbackClass_comp (a ▷ (A).scheme).left (b ▷ (A).scheme).left q).symm.trans |
| 60 | (congrArg (fun f => Line.Bundles.LineBundle.pullbackClass f q) |
| 61 | (congrArg Over.Hom.left (comp_whiskerRight a b (A).scheme).symm)) |
| 62 | |
| 63 | /-- Every input here is the original local Poincare object or a proved |
| 64 | colimit/transition equation. No line-compatibility hypothesis is added. -/ |
| 65 | def poincareLineData : RigidifiedFamilyLines.DirectedRigidifiedFamilyLines A E V where |
| 66 | line i := (PoincareTransitions.DirectedPolarizedSchemeGluing.localPoincareRigidified C F hN e i).familyPullback A |
| 67 | (poincareCoverParameterIso C F hN e i).hom |
| 68 | transition {i j} f := by |
| 69 | let a := Embedded.CoverComparisons.overOpenCoverTransition E V f |
| 70 | let bi := (poincareCoverParameterIso C F hN e i).hom |
| 71 | let bj := (poincareCoverParameterIso C F hN e j).hom |
| 72 | let t := PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameterTransition C F hN e f |
| 73 | let Li := Line.Bundles.LineBundle.classOf (PoincareTransitions.DirectedPolarizedSchemeGluing.localPoincare C F hN e i) |
| 74 | let Lj := Line.Bundles.LineBundle.classOf (PoincareTransitions.DirectedPolarizedSchemeGluing.localPoincare C F hN e j) |
| 75 | have hnat : a ≫ bj = bi ≫ t := poincareCoverParameterIso_natural C F hN e f |
| 76 | change Line.Bundles.LineBundle.pullbackClass (a ▷ (A).scheme).left (Line.Bundles.LineBundle.pullbackClass (bj ▷ (A).scheme).left Lj) = |
| 77 | Line.Bundles.LineBundle.pullbackClass (bi ▷ (A).scheme).left Li |
| 78 | exact (familyClass_comp C F hN e a bj Lj).trans |
| 79 | ((congrArg (fun m : Embedded.FamilyOpenCover.overOpenCoverObject E V i ⟶ PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameter C F j => |
| 80 | Line.Bundles.LineBundle.pullbackClass (m ▷ (A).scheme).left Lj) hnat).trans |
| 81 | ((familyClass_comp C F hN e bi t Lj).symm.trans |
| 82 | (congrArg (Line.Bundles.LineBundle.pullbackClass (bi ▷ (A).scheme).left) |
| 83 | (PoincareTransitions.DirectedPolarizedSchemeGluing.localPoincare_transition_class C F hN e f)))) |
| 84 | |
| 85 | /-- The original normalized lines now compare on every actual test |
| 86 | intersection of the dual cover, including nonreduced tests. -/ |
| 87 | def poincareOverlapComparison {T : Over S} (i j : C.I₀) |
| 88 | (a : T ⟶ Embedded.FamilyOpenCover.overOpenCoverObject E V i) (b : T ⟶ Embedded.FamilyOpenCover.overOpenCoverObject E V j) |
| 89 | (h : a ≫ Embedded.FamilyOpenCover.overOpenCoverMap E V i = b ≫ Embedded.FamilyOpenCover.overOpenCoverMap E V j) : |
| 90 | RigidifiedLineBundles.RigidifiedLineBundleIso |
| 91 | (((poincareLineData C F hN e).line i).familyPullback A a) |
| 92 | (((poincareLineData C F hN e).line j).familyPullback A b) := |
| 93 | (poincareLineData C F hN e).comparison i j a b h |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareCechData.DirectedPolarizedSchemeGluing |