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.AlgebraicGeometry.ComplexMultiplication.SingularDualMap |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.CanonicalSingularNaturality |
| 3 | import OAI.Algebra.Homology.Notation |
| 4 | |
| 5 | /-! # Canonical Sheaf Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.CanonicalSheafComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open scoped OAI.AlgebraicGeometry.Hodge.Filtration.ComplexPoint |
| 12 | |
| 13 | /-! # The canonical linear singular-to-constant-sheaf comparison -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry ComplexPoint OAI.AlgebraicTopology.Singular |
| 16 | |
| 17 | variable (R : Type) [Field R] (X : Over (Spec ↧ℂ)) |
| 18 | [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] |
| 19 | |
| 20 | omit [Foundations.ProjectiveSpaceIs.IsProjective X.hom] in |
| 21 | /-- The original constant resolution comparison respects its actual coefficient scalar maps. -/ |
| 22 | lemma constantHypercohomologySingularAddEquiv_scalar (n : ℕ) (q : R) |
| 23 | (z : ComplexPoint.Basic.ComplexSchemePoint.Hypercohomology X (ComplexPoint.Basic.ComplexSchemePoint.constantFieldSheafComplexInt R X) n) : |
| 24 | Coefficient.SheafComparison.constantHypercohomologySingularAddEquiv R X n |
| 25 | (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.fieldScalarComplex R X q) n z) = |
| 26 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (Coefficient.Scalars.singularCochainSheafComplexIntScalar R q X) n |
| 27 | (Coefficient.SheafComparison.constantHypercohomologySingularAddEquiv R X n z) := by |
| 28 | change ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.constantsToSingularCochainComplexInt X R) n |
| 29 | (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.fieldScalarComplex R X q) n z) = |
| 30 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (Coefficient.Scalars.singularCochainSheafComplexIntScalar R q X) n |
| 31 | (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.constantsToSingularCochainComplexInt X R) n z) |
| 32 | exact (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply X (ComplexPoint.Basic.ComplexSchemePoint.fieldScalarComplex R X q) |
| 33 | (ComplexPoint.Basic.ComplexSchemePoint.constantsToSingularCochainComplexInt X R) n z).symm.trans <| |
| 34 | (congrArg (fun f => ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X f n z) |
| 35 | (Coefficient.ScalarCompatibility.fieldScalarComplex_constantsToSingularInt R X q)).trans <| |
| 36 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap_comp_apply X (ComplexPoint.Basic.ComplexSchemePoint.constantsToSingularCochainComplexInt X R) |
| 37 | (Coefficient.Scalars.singularCochainSheafComplexIntScalar R q X) n z |
| 38 | |
| 39 | /-- The raw-to-sheafified global comparison induces an actual additive equivalence. -/ |
| 40 | def rawGlobalToSheafGlobalAddEquiv (Y : TopCat.{0}) [ParacompactSpace Y] [T2Space Y] (n : ℕ) : |
| 41 | (AlgebraicTopology.Singular.SheafSubdivisionCochain.globalRawSingularCochainComplex R Y).homology n ≃+ |
| 42 | (AlgebraicTopology.Singular.SheafSubdivisionCochain.globalSingularCochainSheafComplex R Y).homology n := by |
| 43 | let : QuasiIso (AlgebraicTopology.Singular.SheafSubdivisionCochain.topOpenToGlobalSingularCochainSheafComplex R Y) := |
| 44 | Coefficient.Singular.SingularCoefficients.topOpenToGlobalSingularCochainSheafComplex_quasiIso R |
| 45 | exact (asIso (HomologicalComplex.homologyMap |
| 46 | (AlgebraicTopology.Singular.SheafSubdivisionCochain.topOpenToGlobalSingularCochainSheafComplex R Y) n)).addCommGroupIsoToAddEquiv |
| 47 | |
| 48 | /-- The original raw and sheafified scalar chain maps give commuting maps on global cohomology. -/ |
| 49 | lemma rawGlobalToSheafGlobalAddEquiv_scalar (Y : TopCat.{0}) |
| 50 | [ParacompactSpace Y] [T2Space Y] (n : ℕ) (q : R) |
| 51 | (z : (AlgebraicTopology.Singular.SheafSubdivisionCochain.globalRawSingularCochainComplex R Y).homology n) : |
| 52 | rawGlobalToSheafGlobalAddEquiv R Y n |
| 53 | (HomologicalComplex.homologyMap (SingularScalars.rawGlobalSingularScalar R Y q) n z) = |
| 54 | HomologicalComplex.homologyMap (SingularScalars.sheafGlobalSingularScalar R Y q) n |
| 55 | (rawGlobalToSheafGlobalAddEquiv R Y n z) := by |
| 56 | have h := congrArg (fun f => HomologicalComplex.homologyMap f n) |
| 57 | (SingularScalars.rawGlobalSingularScalar_comparison R Y q) |
| 58 | simp only [HomologicalComplex.homologyMap_comp] at h |
| 59 | exact congrArg (fun f => f z) h |
| 60 | |
| 61 | /-- The canonical comparison uses the original raw cochain map and constant-sheaf resolution. -/ |
| 62 | def canonicalSingularToConstantSheafAddEquiv (n : ℕ) : |
| 63 | AlgebraicTopology.Singular.CohomologyTo.Cohomology R ↧(ComplexPoint.Basic.ComplexSchemePoint X) n ≃+ H^n(X; R) := |
| 64 | (Coefficient.SheafComparison.rawSingularHomologyIso R ↧(ComplexPoint.Basic.ComplexSchemePoint X) n).symm.addCommGroupIsoToAddEquiv.trans <| |
| 65 | (rawGlobalToSheafGlobalAddEquiv R ↧(ComplexPoint.Basic.ComplexSchemePoint X) n).trans <| |
| 66 | (CanonicalSingularComparison.singularGlobalToHypercohomologyAddEquiv R X n).trans <| |
| 67 | (Coefficient.SheafComparison.constantHypercohomologySingularAddEquiv R X n).symm.trans <| |
| 68 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology R X n |
| 69 | |
| 70 | set_option backward.isDefEq.respectTransparency false in |
| 71 | /-- The canonical comparison preserves the original coefficient scalar actions. -/ |
| 72 | lemma canonicalSingularToConstantSheafAddEquiv_smul (n : ℕ) (q : R) |
| 73 | (z : AlgebraicTopology.Singular.CohomologyTo.Cohomology R ↧(ComplexPoint.Basic.ComplexSchemePoint X) n) : |
| 74 | canonicalSingularToConstantSheafAddEquiv R X n (q • z) = |
| 75 | q • canonicalSingularToConstantSheafAddEquiv R X n z := by |
| 76 | let Y : TopCat.{0} := ↧(ComplexPoint.Basic.ComplexSchemePoint X) |
| 77 | let r := (Coefficient.SheafComparison.rawSingularHomologyIso R Y n).addCommGroupIsoToAddEquiv |
| 78 | let t := rawGlobalToSheafGlobalAddEquiv R Y n |
| 79 | let g := CanonicalSingularComparison.singularGlobalToHypercohomologyAddEquiv R X n |
| 80 | let s := Coefficient.SheafComparison.constantHypercohomologySingularAddEquiv R X n |
| 81 | let c := ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology R X n |
| 82 | have hr : r.symm (q • z) = |
| 83 | HomologicalComplex.homologyMap (SingularScalars.rawGlobalSingularScalar R Y q) n (r.symm z) := by |
| 84 | apply r.injective |
| 85 | rw [AddEquiv.apply_symm_apply] |
| 86 | exact (congrArg (fun x : AlgebraicTopology.Singular.CohomologyTo.Cohomology R Y n => q • x) (r.apply_symm_apply z)).symm.trans |
| 87 | (SingularDualMap.rawSingularHomologyIso_scalar R Y q n (r.symm z)).symm |
| 88 | have hg (a : (AlgebraicTopology.Singular.SheafSubdivisionCochain.globalSingularCochainSheafComplex R Y).homology n) : |
| 89 | g (HomologicalComplex.homologyMap (SingularScalars.sheafGlobalSingularScalar R Y q) n a) = |
| 90 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (Coefficient.Scalars.singularCochainSheafComplexIntScalar R q X) n (g a) := |
| 91 | CanonicalSingularNaturality.singularGlobalToHypercohomologyAddEquiv_naturality R X |
| 92 | (Coefficient.Scalars.singularCochainSheafComplexScalar R Y q) n a |
| 93 | have hs (a : ComplexPoint.Basic.ComplexSchemePoint.Hypercohomology X (ComplexPoint.Basic.ComplexSchemePoint.singularCochainSheafComplexInt X R) n) : |
| 94 | s.symm (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (Coefficient.Scalars.singularCochainSheafComplexIntScalar R q X) n a) = |
| 95 | ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.fieldScalarComplex R X q) n (s.symm a) := by |
| 96 | apply s.injective |
| 97 | rw [AddEquiv.apply_symm_apply, constantHypercohomologySingularAddEquiv_scalar, |
| 98 | AddEquiv.apply_symm_apply] |
| 99 | have hc (a : ComplexPoint.Basic.ComplexSchemePoint.Hypercohomology X (ComplexPoint.Basic.ComplexSchemePoint.constantFieldSheafComplexInt R X) n) : |
| 100 | c (ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyMap X (ComplexPoint.Basic.ComplexSchemePoint.fieldScalarComplex R X q) n a) = q • c a := by |
| 101 | apply c.symm.injective |
| 102 | rw [AddEquiv.symm_apply_apply, ComplexPoint.Basic.ComplexSchemePoint.hypercohomologyAddEquivConstantCohomology_symm_smul, |
| 103 | AddEquiv.symm_apply_apply] |
| 104 | change c (s.symm (g (t (r.symm (q • z))))) = q • c (s.symm (g (t (r.symm z)))) |
| 105 | rw [hr, rawGlobalToSheafGlobalAddEquiv_scalar, |
| 106 | hg, hs, hc] |
| 107 | |
| 108 | /-- The canonical comparison is linear for the actual coefficient field. -/ |
| 109 | def canonicalSingularToConstantSheafLinearEquiv (n : ℕ) : |
| 110 | AlgebraicTopology.Singular.CohomologyTo.Cohomology R ↧(ComplexPoint.Basic.ComplexSchemePoint X) n ≃ₗ[R] H^n(X; R) := |
| 111 | { canonicalSingularToConstantSheafAddEquiv R X n with |
| 112 | map_smul' := canonicalSingularToConstantSheafAddEquiv_smul R X n } |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.ComplexMultiplication.CanonicalSheafComparison |