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.NumberTheory.PadicHodge.GeometricComparison.IndexedOrdinaryCech |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ReindexProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | |
| 5 | /-! # Indexed Ordinary Complex Hom -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IndexedOrdinaryComplexHom.IndexedOrdinaryQuotientReindex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original ordinary quotient comparison preserves projected |
| 12 | cover refinement when affine indexing is changed to actual opens. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe v t |
| 17 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | {C : Type} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {D : Type} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 20 | (F : C ⥤ D) (G : D ⥤ X.left.Opens) {ι κ : Type} (U : ι → C) (V : κ → D) (I : Ideal R) |
| 21 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 22 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor ((F.obj ∘ U) ∘ t)) G] |
| 23 | [∀ (n : ℕ) (t : Fin (n + 1) → κ), PreservesLimit (Discrete.functor (V ∘ t)) G] |
| 24 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) (F ⋙ G)] |
| 25 | (r : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 26 | |
| 27 | local notation "K" => OAI.AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (ComplexShape.up ℕ) (OAI.NumberTheory.PadicHodge.GeometricComparison.IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.diagram R X G I) |
| 28 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.OrdinaryAffineTotal.OrdinaryAffineQuotientCech.quotientComplex R X I |
| 29 | |
| 30 | omit [HasBinaryProducts C] [Quiver.IsThin D] [HasBinaryProducts D] in |
| 31 | theorem complex_hom : ((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{0} R) F).mapHomologicalComplex (.up ℕ)).map |
| 32 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.complexIso R X G I).hom = |
| 33 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.complexIso R X (F ⋙ G) I).hom := by |
| 34 | apply HomologicalComplex.Hom.ext |
| 35 | funext q |
| 36 | apply NatTrans.ext |
| 37 | funext W |
| 38 | rfl |
| 39 | |
| 40 | theorem bicomplex : CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r K ≫ |
| 41 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.bicomplexIso R X (F ⋙ G) U I).hom = |
| 42 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.bicomplexIso R X G V I).hom ≫ |
| 43 | CechPresheaf.RefinementCoefficient.CechPresheafRefinementCoefficient.bicomplexMap (G.obj ∘ V) (G.obj ∘ F.obj ∘ U) |
| 44 | (NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct.mappedCover G (F.obj ∘ U) V r) Q := by |
| 45 | let T := (IntegralComparison.NonemptyCechNerve.complexFunctor (A := ModuleCat.{0} R) U).mapHomologicalComplex (.up ℕ) |
| 46 | have h₁ := (congrArg (fun a => CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r K ≫ T.map a) |
| 47 | (complex_hom R X F G I).symm).trans |
| 48 | (CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.bicomplex_naturality F U V r (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.complexIso R X G I).hom).symm |
| 49 | have h₂ := CechPresheaf.ReindexProduct.CechPresheafReindexProduct.bicomplex F G U V r Q |
| 50 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 51 | |
| 52 | theorem total : CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map F U V r K ≫ |
| 53 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.totalIso R X (F ⋙ G) U I).hom = |
| 54 | (IndexedOrdinaryCech.IndexedOrdinaryQuotientCech.totalIso R X G V I).hom ≫ |
| 55 | CechPresheaf.RefinementCoefficient.CechPresheafRefinementCoefficient.map (G.obj ∘ V) (G.obj ∘ F.obj ∘ U) |
| 56 | (NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct.mappedCover G (F.obj ∘ U) V r) Q := |
| 57 | (HomologicalComplex₂.total.map_comp _ _ (.up ℕ)).symm.trans |
| 58 | ((congrArg (fun a => HomologicalComplex₂.total.map a (.up ℕ)) (bicomplex R X F G U V I r)).trans |
| 59 | (HomologicalComplex₂.total.map_comp _ _ (.up ℕ))) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IndexedOrdinaryComplexHom.IndexedOrdinaryQuotientReindex |