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.DivisorClass.Chern.Rational.CechComparison |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.Augmentation |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality |
| 4 | |
| 5 | /-! # Obj -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Cech.Obj |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # ChernClass: actual rational singular classes from locally constant Cech cocycles |
| 13 | |
| 14 | The map evaluates locally constant functions as singular zero-cochains, |
| 15 | includes them in the Cech total complex, and inverts the proved rational |
| 16 | singular restriction isomorphism. It therefore uses the existing singular |
| 17 | cohomology. Cech coboundaries have equal resulting singular classes. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace |
| 21 | open OAI.AlgebraicTopology.Cohomology.Singular.Augmentation.Comparison |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | set_option backward.isDefEq.respectTransparency.types false |
| 27 | set_option backward.defeqAttrib.useBackward true |
| 28 | |
| 29 | namespace RationalCech |
| 30 | |
| 31 | /-- Locally constant rational functions with their usual restriction maps. -/ |
| 32 | abbrev locallyConstantPresheaf (X : TopCat.{u}) : X.Presheaf (ModuleCat.{u} ℚ) where |
| 33 | obj U := ModuleCat.of ℚ (LocallyConstant U.unop ℚ) |
| 34 | map i := ModuleCat.ofHom { |
| 35 | toFun := fun f => ⟨fun x => f (i.unop x), |
| 36 | f.isLocallyConstant.comp_continuous |
| 37 | (Opens.isOpenEmbedding_of_le i.unop.le).continuous⟩ |
| 38 | map_add' := fun _ _ => rfl |
| 39 | map_smul' := fun _ _ => rfl } |
| 40 | map_id U := by |
| 41 | apply ModuleCat.hom_ext |
| 42 | apply LinearMap.ext |
| 43 | intro f |
| 44 | apply LocallyConstant.ext |
| 45 | intro x |
| 46 | rfl |
| 47 | map_comp i j := by |
| 48 | apply ModuleCat.hom_ext |
| 49 | apply LinearMap.ext |
| 50 | intro f |
| 51 | apply LocallyConstant.ext |
| 52 | intro x |
| 53 | rfl |
| 54 | |
| 55 | @[simp] |
| 56 | theorem locallyConstantPresheaf_obj (X : TopCat.{u}) (U : Opens X) : |
| 57 | (locallyConstantPresheaf X).obj (op U) = ModuleCat.of ℚ (LocallyConstant U ℚ) := rfl |
| 58 | |
| 59 | @[simp] |
| 60 | theorem locallyConstantPresheaf_map_apply {X : TopCat.{u}} {U V : Opens X} |
| 61 | (h : V ≤ U) (f : LocallyConstant U ℚ) (x : V) : |
| 62 | LocallyConstant.toFun ((locallyConstantPresheaf X).map (homOfLE h).op f) x = |
| 63 | f ⟨x, h x.property⟩ := rfl |
| 64 | |
| 65 | /-- Rational locally constant functions evaluate as actual singular zero-cochains. -/ |
| 66 | def locallyConstantSingularAugmentation (X : TopCat.{0}) : |
| 67 | locallyConstantPresheaf X ⟶ |
| 68 | AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℚ ℚ) X 0 where |
| 69 | app U := AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero (ModuleCat.of ℚ ℚ) (TopCat.of U.unop) |
| 70 | naturality _U _V i := |
| 71 | AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_naturality (ModuleCat.of ℚ ℚ) |
| 72 | ((Opens.toTopCat X).map i.unop) |
| 73 | |
| 74 | variable {ι : Type} (X : TopCat.{0}) (U : ι → Opens X) |
| 75 | |
| 76 | /-- Evaluate a Cech cochain of locally constant functions in singular degree zero. -/ |
| 77 | abbrev locallyConstantCechEvaluation (p : ℕ) := |
| 78 | Rational.Cech.RationalCech.cechCoefficientMap U (locallyConstantSingularAugmentation X) p |
| 79 | |
| 80 | theorem locallyConstantCechEvaluation_vertical_zero (p : ℕ) |
| 81 | (c : Rational.Cech.RationalCech.CechCochain (locallyConstantPresheaf X) U p) : |
| 82 | Rational.Cech.RationalCech.cechCoefficientMap U ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).d 0 1) p |
| 83 | (locallyConstantCechEvaluation X U p c) = 0 := by |
| 84 | funext a |
| 85 | exact ConcreteCategory.congr_hom |
| 86 | (AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_d (ModuleCat.of ℚ ℚ) |
| 87 | (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))) (c a) |
| 88 | |
| 89 | /-- The actual inclusion of locally constant Cech cochains into the total complex. -/ |
| 90 | def locallyConstantCechToTotal : |
| 91 | Rational.Cech.RationalCech.cechComplex (locallyConstantPresheaf X) U ⟶ |
| 92 | Rational.CechComparison.RationalCech.singularCechTotal X U (ModuleCat.of ℚ ℚ) := |
| 93 | CochainComplex.ofHom |
| 94 | (fun p => ModuleCat.ofHom (locallyConstantCechEvaluation X U p) ≫ |
| 95 | Rational.Cech.RationalCech.cechTotalInclusion U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X) |
| 96 | p 0 p (Nat.add_zero p)) |
| 97 | (fun p => by |
| 98 | apply ConcreteCategory.ext_apply |
| 99 | intro c |
| 100 | change Rational.Cech.RationalCech.CechCochain (locallyConstantPresheaf X) U p at c |
| 101 | have h := ConcreteCategory.congr_hom |
| 102 | (Rational.Cech.RationalCech.cechTotalInclusion_d U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X) |
| 103 | p 0 p (Nat.add_zero p)) (locallyConstantCechEvaluation X U p c) |
| 104 | change (Rational.CechComparison.RationalCech.singularCechTotal X U (ModuleCat.of ℚ ℚ)).d p (p + 1) |
| 105 | (Rational.Cech.RationalCech.cechTotalInclusion U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X) |
| 106 | p 0 p _ (locallyConstantCechEvaluation X U p c)) = |
| 107 | Rational.Cech.RationalCech.cechTotalInclusion U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X) |
| 108 | (p + 1) 0 (p + 1) _ |
| 109 | (Rational.Cech.RationalCech.cechDelta (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularCochainDegreePresheaf (ModuleCat.of ℚ ℚ) X 0) U p |
| 110 | (locallyConstantCechEvaluation X U p c)) + |
| 111 | (-1 : ℤ) ^ p • |
| 112 | Rational.Cech.RationalCech.cechTotalInclusion U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X) |
| 113 | p 1 (p + 1) _ |
| 114 | (Rational.Cech.RationalCech.cechCoefficientMap U ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).d 0 1) p |
| 115 | (locallyConstantCechEvaluation X U p c)) at h |
| 116 | rw [locallyConstantCechEvaluation_vertical_zero, map_zero, smul_zero, add_zero] at h |
| 117 | rw [← Rational.Cech.RationalCech.cechCoefficientMap_delta] at h |
| 118 | rw [Rational.Cech.RationalCech.cechComplex_d] |
| 119 | convert h using 1) |
| 120 | |
| 121 | /-- The induced map lands in the existing rational singular cohomology. -/ |
| 122 | def cechCohomologyToSingular |
| 123 | (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) : |
| 124 | (Rational.Cech.RationalCech.cechComplex (locallyConstantPresheaf X) U).homology n ⟶ |
| 125 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X n := |
| 126 | HomologicalComplex.homologyMap (locallyConstantCechToTotal X U) n ≫ |
| 127 | (Rational.CechComparison.RationalCech.singularCechCohomologyIso X U hcover n).inv |
| 128 | |
| 129 | /-- The actual rational singular class of a locally constant Cech cocycle. -/ |
| 130 | def singularClassOfCechCocycle |
| 131 | (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) |
| 132 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (Rational.Cech.RationalCech.cechComplex (locallyConstantPresheaf X) U) n) : |
| 133 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) X n := |
| 134 | cechCohomologyToSingular X U hcover n |
| 135 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (Rational.Cech.RationalCech.cechComplex (locallyConstantPresheaf X) U) n c) |
| 136 | |
| 137 | /-- A Cech coboundary does not change the resulting rational singular class. -/ |
| 138 | theorem singularClassOfCechCocycle_eq_of_boundary |
| 139 | (hcover : ∀ x : X, ∃ i, x ∈ U i) (n : ℕ) |
| 140 | (c d : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (Rational.Cech.RationalCech.cechComplex (locallyConstantPresheaf X) U) (n + 1)) |
| 141 | (b : Rational.Cech.RationalCech.CechCochain (locallyConstantPresheaf X) U n) |
| 142 | (hb : Rational.Cech.RationalCech.cechDelta (locallyConstantPresheaf X) U n b = c.val - d.val) : |
| 143 | singularClassOfCechCocycle X U hcover (n + 1) c = |
| 144 | singularClassOfCechCocycle X U hcover (n + 1) d := by |
| 145 | apply congrArg (cechCohomologyToSingular X U hcover (n + 1)) |
| 146 | apply (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_eq_iff_exists_succ |
| 147 | (Rational.Cech.RationalCech.cechComplex (locallyConstantPresheaf X) U) n c d).mpr |
| 148 | refine ⟨b, ?_⟩ |
| 149 | rw [Rational.Cech.RationalCech.cechComplex_d] |
| 150 | exact hb |
| 151 | |
| 152 | end RationalCech |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Cech.Obj |