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.IntegralComparison.IndexedOrdinaryCech |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ReindexProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | |
| 5 | /-! # Indexed Ordinary Reindex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IndexedOrdinaryReindex.Ordinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original ordinary 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 u c d v t |
| 17 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | {C : Type c} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {D : Type d} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 20 | (F : C ⥤ D) (G : D ⥤ X.left.Opens) {ι κ : Type} (U : ι → C) (V : κ → D) |
| 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.IntegralComparison.IndexedOrdinaryCech.Ordinary.diagram R X G ) |
| 28 | local notation "Q" => OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X |
| 29 | |
| 30 | omit [HasBinaryProducts C] [Quiver.IsThin D] [HasBinaryProducts D] in |
| 31 | theorem complex_hom : ((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{u} R) F).mapHomologicalComplex (.up ℕ)).map |
| 32 | (IndexedOrdinaryCech.Ordinary.complexIso R X G ).hom = |
| 33 | (IndexedOrdinaryCech.Ordinary.complexIso R X (F ⋙ G) ).hom := by |
| 34 | apply HomologicalComplex.Hom.ext |
| 35 | funext q |
| 36 | apply NatTrans.ext |
| 37 | funext W |
| 38 | rfl |
| 39 | |
| 40 | theorem bicomplex : GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r K ≫ |
| 41 | (IndexedOrdinaryCech.Ordinary.bicomplexIso R X (F ⋙ G) U ).hom = |
| 42 | (IndexedOrdinaryCech.Ordinary.bicomplexIso R X G V ).hom ≫ |
| 43 | GeometricComparison.CechPresheaf.RefinementCoefficient.CechPresheafRefinementCoefficient.bicomplexMap (G.obj ∘ V) (G.obj ∘ F.obj ∘ U) |
| 44 | (GeometricComparison.NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct.mappedCover G (F.obj ∘ U) V r) Q := by |
| 45 | let T := (NonemptyCechNerve.complexFunctor (A := ModuleCat.{u} R) U).mapHomologicalComplex (.up ℕ) |
| 46 | have h₁ := (congrArg (fun a => GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r K ≫ T.map a) |
| 47 | (complex_hom R X F G ).symm).trans |
| 48 | (GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.bicomplex_naturality F U V r (IndexedOrdinaryCech.Ordinary.complexIso R X G ).hom).symm |
| 49 | have h₂ := GeometricComparison.CechPresheaf.ReindexProduct.CechPresheafReindexProduct.bicomplex F G U V r Q |
| 50 | exact GeometricComparison.ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 51 | |
| 52 | theorem total : GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map F U V r K ≫ |
| 53 | (IndexedOrdinaryCech.Ordinary.totalIso R X (F ⋙ G) U ).hom = |
| 54 | (IndexedOrdinaryCech.Ordinary.totalIso R X G V ).hom ≫ |
| 55 | GeometricComparison.CechPresheaf.RefinementCoefficient.CechPresheafRefinementCoefficient.map (G.obj ∘ V) (G.obj ∘ F.obj ∘ U) |
| 56 | (GeometricComparison.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 r)).trans |
| 59 | (HomologicalComplex₂.total.map_comp _ _ (.up ℕ))) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IndexedOrdinaryReindex.Ordinary |