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.Bounded.DualCochain |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.DualBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.ComplexExtension |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.FieldSupport |
| 5 | |
| 6 | /-! # Dual Field Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.DualFieldSupport |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite duality and scalar extension preserve the field support condition for a complex concentrated in a finite interval. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open scoped TensorProduct |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | |
| 18 | def dualCochainBaseChangeIso (B : Type u) [CommRing B] [Algebra R B] |
| 19 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 20 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) : |
| 21 | ((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.down ℕ)).obj |
| 22 | (HilbertConstruction.Module.DualFunctor.dualModuleComplex C) ≅ |
| 23 | HilbertConstruction.Module.DualFunctor.dualModuleComplex |
| 24 | (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C) := by |
| 25 | refine HomologicalComplex.Hom.isoOfComponents (fun q => ?_) ?_ |
| 26 | · have : Module.Finite R (C.X q) := hfin q |
| 27 | have : Module.Free R (C.X q) := hfree q |
| 28 | exact (HilbertConstruction.Module.DualBaseChange.moduleDualBaseChangeEquiv (R := R) B (C.X q)).toModuleIso |
| 29 | · intro i j _ |
| 30 | have : Module.Finite R (C.X i) := hfin i |
| 31 | have : Module.Free R (C.X i) := hfree i |
| 32 | have : Module.Finite R (C.X j) := hfin j |
| 33 | have : Module.Free R (C.X j) := hfree j |
| 34 | exact ModuleCat.hom_ext (HilbertConstruction.Module.DualBaseChange.moduleDualBaseChangeEquiv_naturality (R := R) B (C.d j i).hom).symm |
| 35 | |
| 36 | theorem boundedDualCochain_fieldSupport |
| 37 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (g : ℕ) |
| 38 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 39 | (hbound : ∀ q, g < q → IsZero (C.X q)) (I : Ideal R) |
| 40 | (hfield : Cochain.FieldSupport.CochainFieldSupport C I) : Cochain.FieldSupport.CochainFieldSupport (DualCochain.boundedDualCochain C g) I := by |
| 41 | intro B _ _ hnot |
| 42 | let F := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B |
| 43 | let CB := (F.mapHomologicalComplex (.up ℕ)).obj C |
| 44 | let KB := (F.mapHomologicalComplex (.down ℕ)).obj (HilbertConstruction.Module.DualFunctor.dualModuleComplex C) |
| 45 | have hCB : CB.Acyclic := by |
| 46 | intro q |
| 47 | exact (Base.ChangeTensorExactness.baseChange_exactAt_iff_tensor C q).mpr (hfield B hnot q) |
| 48 | have hKB : KB.Acyclic := by |
| 49 | intro q |
| 50 | let e := dualCochainBaseChangeIso B C hfin hfree |
| 51 | have hz : IsZero ((HilbertConstruction.Module.DualFunctor.dualModuleComplex CB).homology q) := |
| 52 | ((HilbertConstruction.Module.DualFunctor.dualModuleComplex CB).exactAt_iff_isZero_homology q).mp |
| 53 | (HilbertConstruction.Module.DualFunctor.field_dualModuleComplex_acyclic CB hCB q) |
| 54 | exact (KB.exactAt_iff_isZero_homology q).mpr |
| 55 | (IsZero.of_iso hz (HomologicalComplex.homologyMapIso e q)) |
| 56 | let : KB.IsStrictlySupported (DualCochain.finiteDualEmbedding g) := { |
| 57 | isZero := fun q hq => by |
| 58 | have hz := hbound q ((DualCochain.finiteDualEmbedding_outside_iff g q).mp hq) |
| 59 | have : Subsingleton (C.X q) := ModuleCat.subsingleton_of_isZero hz |
| 60 | change IsZero (ModuleCat.of B (B ⊗[R] Module.Dual R (C.X q))) |
| 61 | exact ModuleCat.isZero_of_subsingleton _ } |
| 62 | have hrestrict : ((F.mapHomologicalComplex (HilbertConstruction.Finite.CochainTruncation.finiteCochainShape g)).obj |
| 63 | (DualCochain.finiteDualCochain C g)).Acyclic := by |
| 64 | change (KB.restriction (DualCochain.finiteDualEmbedding g)).Acyclic |
| 65 | exact Additive.ComplexExtension.supported_restriction_acyclic (DualCochain.finiteDualEmbedding g) KB hKB |
| 66 | have hdualB : ((F.mapHomologicalComplex (.up ℕ)).obj (DualCochain.boundedDualCochain C g)).Acyclic := |
| 67 | Additive.ComplexExtension.additive_extend_acyclic F (DualCochain.finiteDualCochain C g) (HilbertConstruction.Finite.CochainTruncation.finiteCochainEmbedding g) hrestrict |
| 68 | intro q |
| 69 | exact (Base.ChangeTensorExactness.baseChange_exactAt_iff_tensor (DualCochain.boundedDualCochain C g) q).mp (hdualB q) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.DualFieldSupport |