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.IntrinsicCech.Terms |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.TotalAcyclic |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.TruncatedTotalAcyclic |
| 4 | |
| 5 | /-! # Truncated Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.TruncatedSections.IntrinsicCechHodgeComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual finite affine Čech comparison carries truncation images to every native Hodge filtration step. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Abelian _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (R : Type) [CommRing R] [Algebra ℚ R] |
| 16 | (X : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] |
| 17 | {ι : Type} [Finite ι] (U : ι → X.left.Opens) |
| 18 | (hU : ∀ i, IsAffineOpen (U i)) (hcover : iSup U = ⊤) |
| 19 | |
| 20 | local notation "V" => OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X |
| 21 | local instance : HasExt.{1} V := HasExt.standard _ |
| 22 | |
| 23 | def sections : CochainComplex (ModuleCat.{0} R) ℤ := |
| 24 | Terms.IntrinsicCechComparison.sections R X.left U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 25 | |
| 26 | def equiv (n : ℕ) : (sections R X U).homology (n : ℤ) ≃ₗ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X n := |
| 27 | Terms.IntrinsicCechComparison.equiv R X.left U hcover (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 28 | (TotalAcyclic.IntrinsicCechTotalAcyclic.integerTotal_ext_subsingleton R X U hU) (n : ℤ) |
| 29 | |
| 30 | def truncatedSections (r : ℤ) : CochainComplex (ModuleCat.{0} R) ℤ := |
| 31 | Terms.IntrinsicCechComparison.sections R X.left U (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r) |
| 32 | |
| 33 | def truncatedEquiv (r : ℤ) (n : ℕ) : |
| 34 | (truncatedSections R X U r).homology (n : ℤ) ≃ₗ[R] |
| 35 | ((DerivedCategory.singleFunctor V 0).obj (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X) ⟶ |
| 36 | (DerivedCategory.Q.obj ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r).extend |
| 37 | ComplexShape.embeddingUpNat))⟦(n : ℤ)⟧) := |
| 38 | Terms.IntrinsicCechComparison.equiv R X.left U hcover |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r) |
| 40 | (TruncatedTotalAcyclic.IntrinsicCechTruncatedTotalAcyclic.integerTotal_ext_subsingleton R X U hU r) (n : ℤ) |
| 41 | |
| 42 | def filtrationMap (n : ℕ) (r : ℤ) : |
| 43 | (truncatedSections R X U r).homology (n : ℤ) →ₗ[R] (sections R X U).homology (n : ℤ) := |
| 44 | (HomologicalComplex.homologyMap |
| 45 | (((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).mapHomologicalComplex (.up ℤ)).map |
| 46 | (Terms.IntrinsicCechComparison.totalMap R X.left U |
| 47 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r))) (n : ℤ)).hom |
| 48 | |
| 49 | theorem equiv_filtrationMap (n : ℕ) (r : ℤ) |
| 50 | (a : (truncatedSections R X U r).homology (n : ℤ)) : |
| 51 | equiv R X U hU hcover n (filtrationMap R X U n r a) = |
| 52 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtrationMap R X n r (truncatedEquiv R X U hU hcover r n a) := |
| 53 | Terms.IntrinsicCechComparison.naturality R X.left U hcover |
| 54 | (TruncatedTotalAcyclic.IntrinsicCechTruncatedTotalAcyclic.integerTotal_ext_subsingleton R X U hU r) |
| 55 | (TotalAcyclic.IntrinsicCechTotalAcyclic.integerTotal_ext_subsingleton R X U hU) |
| 56 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) r) (n : ℤ) a |
| 57 | |
| 58 | def filtration (n : ℕ) (r : ℤ) : Submodule R ((sections R X U).homology (n : ℤ)) := |
| 59 | LinearMap.range (filtrationMap R X U n r) |
| 60 | |
| 61 | theorem equiv_filtration (n : ℕ) (r : ℤ) : |
| 62 | (filtration R X U n r).map (equiv R X U hU hcover n).toLinearMap = |
| 63 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration R X n r := by |
| 64 | ext y |
| 65 | constructor |
| 66 | · rintro ⟨_, ⟨a, rfl⟩, rfl⟩ |
| 67 | exact ⟨truncatedEquiv R X U hU hcover r n a, (equiv_filtrationMap R X U hU hcover n r a).symm⟩ |
| 68 | · rintro ⟨a, rfl⟩ |
| 69 | obtain ⟨b, rfl⟩ := (truncatedEquiv R X U hU hcover r n).surjective a |
| 70 | exact ⟨filtrationMap R X U n r b, ⟨b, rfl⟩, equiv_filtrationMap R X U hU hcover n r b⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.TruncatedSections.IntrinsicCechHodgeComparison |