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.AffineQuotientComplexLevel |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralCech.CechQuotientLevel |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplexNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechAssembly.TotalFunctor |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 6 | |
| 7 | /-! # Affine Quotient Cech Level -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.AffineQuotientCechLevel.OrdinaryAffineQuotientCechLevel |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original affine-to-open-cover quotient Cech total isomorphisms |
| 14 | respect coefficient-ideal level transitions. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) [X.left.IsSeparated] |
| 19 | {ι : Type} (U : ι → X.left.affineOpens) (I J : Ideal R) (hIJ : I ≤ J) |
| 20 | |
| 21 | abbrev Values := ModuleCat.{0} R |
| 22 | local notation "inc" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left |
| 23 | local notation "F" => Functor.mapHomologicalComplex (OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor (A := OAI.NumberTheory.PadicHodge.GeometricComparison.AffineQuotientCechLevel.OrdinaryAffineQuotientCechLevel.Values R) U) (ComplexShape.up ℕ) |
| 24 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.AffineQuotientComplexLevel.OrdinaryAffineQuotientComplexLevel.diagramMap R X I J hIJ |
| 25 | local notation "b" => OAI.NumberTheory.PadicHodge.GeometricComparison.AffineQuotientComplexLevel.OrdinaryAffineQuotientComplexLevel.presheafMap R X I J hIJ |
| 26 | local notation "pull" => Functor.mapHomologicalComplex (OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := OAI.NumberTheory.PadicHodge.GeometricComparison.AffineQuotientCechLevel.OrdinaryAffineQuotientCechLevel.Values R) inc) (ComplexShape.up ℕ) |
| 27 | |
| 28 | local instance tuple_preserves (q : ℕ) (t : Fin (q + 1) → ι) : PreservesLimit (Discrete.functor (U ∘ t)) inc := |
| 29 | Affine.OpenProductPreservation.AffineOpenProductPreservation.inclusion_preserves X.left (U ∘ t) |
| 30 | |
| 31 | def bicomplexMap : |
| 32 | CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.bicomplex (IntegralComparison.NonemptyCechNerve.nerve U) |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.diagram R X I)) ⟶ |
| 34 | CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.bicomplex (IntegralComparison.NonemptyCechNerve.nerve U) |
| 35 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.diagram R X J)) := |
| 36 | (F).map (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) a) |
| 37 | |
| 38 | theorem first_square : bicomplexMap R X U I J hIJ ≫ (F).map (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X J).hom = |
| 39 | (F).map (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom ≫ (F).map ((pull).map b) := |
| 40 | ((F).map_comp (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) a) (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X J).hom).symm.trans |
| 41 | ((congrArg (F).map (AffineQuotientComplexLevel.OrdinaryAffineQuotientComplexLevel.natural R X I J hIJ)).trans |
| 42 | ((F).map_comp (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.complexIso R X I).hom ((pull).map b))) |
| 43 | |
| 44 | theorem bicomplex : bicomplexMap R X U I J hIJ ≫ (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.bicomplexIso R X U J).hom = |
| 45 | (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.bicomplexIso R X U I).hom ≫ |
| 46 | IntegralCech.CechQuotientLevel.IntegralCechQuotientLevel.bicomplexMap R X (fun i => (U i).val) I J hIJ := |
| 47 | ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ (first_square R X U I J hIJ) |
| 48 | (NonemptyCech.ProductBicomplexNaturality.NonemptyCechProductBicomplexNaturality.natural (A := Values R) inc U b) |
| 49 | |
| 50 | theorem natural : (CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor (IntegralComparison.NonemptyCechNerve.nerve U)).map a ≫ |
| 51 | (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U J).hom = |
| 52 | (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.totalIso R X U I).hom ≫ |
| 53 | IntegralCech.CechQuotientLevel.IntegralCechQuotientLevel.map R X (fun i => (U i).val) I J hIJ := by |
| 54 | let T := HomologicalComplex₂.totalFunctor (ModuleCat.{0} R) (.up ℕ) (.up ℕ) (.up ℕ) |
| 55 | exact (T.map_comp (bicomplexMap R X U I J hIJ) (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.bicomplexIso R X U J).hom).symm.trans |
| 56 | ((congrArg T.map (bicomplex R X U I J hIJ)).trans |
| 57 | (T.map_comp (OrdinaryAffineTotal.OrdinaryAffineQuotientCech.bicomplexIso R X U I).hom |
| 58 | (IntegralCech.CechQuotientLevel.IntegralCechQuotientLevel.bicomplexMap R X (fun i => (U i).val) I J hIJ))) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.AffineQuotientCechLevel.OrdinaryAffineQuotientCechLevel |