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.Resolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.ResolutionInteger |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ResolvedHypercohomologyEquiv |
| 4 | |
| 5 | /-! # Terms -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Terms.IntrinsicCechComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A natural section comparison for the actual native Čech resolution. Its Ext hypotheses are supplied by the finite affine vanishing theorems. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Abelian Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (R : Type) [CommRing R] (X : Scheme.{0}) {ι : Type} (U : ι → X.Opens) |
| 16 | |
| 17 | local notation "V" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Bicomplex.IntrinsicCechBicomplex.Sheaves R X |
| 18 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.coefficient R (TopCat.of X) |
| 19 | |
| 20 | local instance : HasCoproducts.{0} V := Instances.IntrinsicCechInstances.hasCoproducts R X |
| 21 | local instance : HasExt.{1} V := HasExt.standard _ |
| 22 | local instance : HasDerivedCategory.{1} V := HasDerivedCategory.standard _ |
| 23 | local instance : (Functor.IntrinsicCechFunctor.sheafFunctor R X U).Additive := Instances.IntrinsicCechInstances.additive R X U |
| 24 | |
| 25 | def totalMap {K L : CochainComplex V ℕ} (f : K ⟶ L) : |
| 26 | Resolution.IntrinsicCechResolution.integerTotal R X U K ⟶ Resolution.IntrinsicCechResolution.integerTotal R X U L := |
| 27 | @Functor.ResolutionInteger.FunctorResolutionInteger.map V _ _ (Instances.IntrinsicCechInstances.hasCoproducts R X) |
| 28 | (Functor.IntrinsicCechFunctor.sheafFunctor R X U) (Instances.IntrinsicCechInstances.additive R X U) K L f |
| 29 | |
| 30 | theorem edge_naturality {K L : CochainComplex V ℕ} (f : K ⟶ L) : |
| 31 | Resolution.IntrinsicCechResolution.integerEdge R X U K ≫ totalMap R X U f = |
| 32 | HomologicalComplex.extendMap f ComplexShape.embeddingUpNat ≫ Resolution.IntrinsicCechResolution.integerEdge R X U L := |
| 33 | @Functor.ResolutionInteger.FunctorResolutionInteger.naturality V _ _ (Instances.IntrinsicCechInstances.hasCoproducts R X) |
| 34 | (Functor.IntrinsicCechFunctor.sheafFunctor R X U) (Instances.IntrinsicCechInstances.additive R X U) |
| 35 | (Functor.IntrinsicCechFunctor.sheafAugmentation R X U) K L f |
| 36 | |
| 37 | def AcyclicTerms (K : CochainComplex V ℕ) : Prop := |
| 38 | ∀ p q, Subsingleton (Ext.{1} A ((Resolution.IntrinsicCechResolution.integerTotal R X U K).X p) (q + 1)) |
| 39 | |
| 40 | def sections (K : CochainComplex V ℕ) : CochainComplex (ModuleCat.{0} R) ℤ := |
| 41 | Section.Hypercohomology.SectionHypercohomology.sectionComplex R (TopCat.of X) (Resolution.IntrinsicCechResolution.integerTotal R X U K) |
| 42 | |
| 43 | def equiv (hcover : iSup U = ⊤) (K : CochainComplex V ℕ) (hK : AcyclicTerms R X U K) (n : ℤ) : |
| 44 | (sections R X U K).homology n ≃ₗ[R] |
| 45 | ((DerivedCategory.singleFunctor V 0).obj A ⟶ |
| 46 | (DerivedCategory.Q.obj (K.extend ComplexShape.embeddingUpNat))⟦n⟧) := by |
| 47 | have : QuasiIso (Resolution.IntrinsicCechResolution.integerEdge R X U K) := |
| 48 | Resolution.IntrinsicCechResolution.integerEdge_quasiIso R X U K hcover |
| 49 | exact ResolvedHypercohomologyEquiv.ResolvedHypercohomology.equiv R (TopCat.of X) |
| 50 | (Resolution.IntrinsicCechResolution.integerEdge R X U K) 0 hK n |
| 51 | |
| 52 | theorem naturality (hcover : iSup U = ⊤) {K L : CochainComplex V ℕ} |
| 53 | (hK : AcyclicTerms R X U K) (hL : AcyclicTerms R X U L) (f : K ⟶ L) (n : ℤ) |
| 54 | (x : (sections R X U K).homology n) : |
| 55 | equiv R X U hcover L hL n (HomologicalComplex.homologyMap |
| 56 | (((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X)).mapHomologicalComplex (.up ℤ)).map |
| 57 | (totalMap R X U f)) n x) = |
| 58 | equiv R X U hcover K hK n x ≫ |
| 59 | (DerivedCategory.Q.map (HomologicalComplex.extendMap f ComplexShape.embeddingUpNat))⟦n⟧' := by |
| 60 | have : QuasiIso (Resolution.IntrinsicCechResolution.integerEdge R X U K) := |
| 61 | Resolution.IntrinsicCechResolution.integerEdge_quasiIso R X U K hcover |
| 62 | have : QuasiIso (Resolution.IntrinsicCechResolution.integerEdge R X U L) := |
| 63 | Resolution.IntrinsicCechResolution.integerEdge_quasiIso R X U L hcover |
| 64 | exact ResolvedHypercohomologyEquiv.ResolvedHypercohomology.naturality R (TopCat.of X) |
| 65 | (Resolution.IntrinsicCechResolution.integerEdge R X U K) (Resolution.IntrinsicCechResolution.integerEdge R X U L) |
| 66 | (HomologicalComplex.extendMap f ComplexShape.embeddingUpNat) (totalMap R X U f) |
| 67 | (edge_naturality R X U f) 0 0 hK hL n x |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Terms.IntrinsicCechComparison |