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.CycleClass.Geometric.ComplexCompactFundamental |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.Point |
| 3 | |
| 4 | /-! # Compact Manifold Fundamental -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.CompactManifoldFundamental.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The ordinary integral fundamental class of a compact complex manifold |
| 12 | |
| 13 | The relative group supported on the whole manifold is identified with its |
| 14 | ordinary singular homology by the actual quotient by chains in the empty |
| 15 | subspace. Under this comparison the canonical compact-support class becomes |
| 16 | the unique ordinary class having the complex local generator at every point. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open scoped _root_.Manifold |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | /-- Relative chains supported on all of a space are ordinary chains. The |
| 27 | inverse of this isomorphism is the actual relative-chain projection. -/ |
| 28 | def wholeSpaceSupportChainsIso (X : TopCat.{0}) : |
| 29 | LocalHomology.Cycles.relativeSingularChains X (Set.univ : Set X)ᶜ ≅ LocalHomology.Cycles.integralSingularChains X := by |
| 30 | letI : IsEmpty {x : X // x ∉ (Set.univ : Set X)} := |
| 31 | ⟨fun x => x.property (Set.mem_univ x.val)⟩ |
| 32 | have hzero : LocalHomology.Cycles.subspaceChainInclusion X (Set.univ : Set X)ᶜ = 0 := |
| 33 | (Point.Cycles.integralSingularChains_isZero_of_isEmpty |
| 34 | (TopCat.of {x : X // x ∉ (Set.univ : Set X)})).eq_zero_of_src _ |
| 35 | letI : IsIso (LocalHomology.Cycles.relativeChainProjection X (Set.univ : Set X)ᶜ) := |
| 36 | cokernel.π_of_zero hzero |
| 37 | exact (asIso (LocalHomology.Cycles.relativeChainProjection X (Set.univ : Set X)ᶜ)).symm |
| 38 | |
| 39 | /-- The canonical whole-support comparison in actual integral homology. -/ |
| 40 | def wholeSpaceSupportHomologyIso (X : TopCat.{0}) (n : ℕ) : |
| 41 | HomologyWithSupports.Cycles.singularHomologyWithSupport X Set.univ n ≅ (LocalHomology.Cycles.integralSingularChains X).homology n := |
| 42 | (HomologicalComplex.homologyFunctor (ModuleCat.{0} ℤ) (ComplexShape.down ℕ) n).mapIso |
| 43 | (wholeSpaceSupportChainsIso X) |
| 44 | |
| 45 | @[simp] |
| 46 | theorem wholeSpaceSupportHomologyIso_inv (X : TopCat.{0}) (n : ℕ) : |
| 47 | (wholeSpaceSupportHomologyIso X n).inv = |
| 48 | HomologicalComplex.homologyMap (LocalHomology.Cycles.relativeChainProjection X (Set.univ : Set X)ᶜ) n := rfl |
| 49 | |
| 50 | /-- The inverse whole-support comparison followed by local restriction |
| 51 | is exactly the ordinary projection to local homology. -/ |
| 52 | @[reassoc] |
| 53 | theorem wholeSpaceSupportHomologyIso_inv_toPoint (X : TopCat.{0}) (n : ℕ) (x : X) : |
| 54 | (wholeSpaceSupportHomologyIso X n).inv ≫ |
| 55 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X Set.univ x (Set.mem_univ x) n = |
| 56 | HomologicalComplex.homologyMap (LocalHomology.Cycles.relativeChainProjection X ({x}ᶜ : Set X)) n := by |
| 57 | rw [wholeSpaceSupportHomologyIso_inv] |
| 58 | unfold LocalHomologyPresheaf.Cycles.localHomologyToPoint |
| 59 | rw [← HomologicalComplex.homologyMap_comp, LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint_projection] |
| 60 | |
| 61 | /-- The forward comparison preserves the actual maps to local homology. -/ |
| 62 | @[reassoc] |
| 63 | theorem wholeSpaceSupportHomologyIso_hom_toPoint (X : TopCat.{0}) (n : ℕ) (x : X) : |
| 64 | (wholeSpaceSupportHomologyIso X n).hom ≫ |
| 65 | HomologicalComplex.homologyMap (LocalHomology.Cycles.relativeChainProjection X ({x}ᶜ : Set X)) n = |
| 66 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X Set.univ x (Set.mem_univ x) n := by |
| 67 | apply (cancel_epi (wholeSpaceSupportHomologyIso X n).inv).mp |
| 68 | rw [← Category.assoc, Iso.inv_hom_id, Category.id_comp, |
| 69 | wholeSpaceSupportHomologyIso_inv_toPoint] |
| 70 | |
| 71 | variable (p : ℕ) (M : Type) [TopologicalSpace M] [T2Space M] [CompactSpace M] |
| 72 | variable [ChartedSpace (Fin p → ℂ) M] [IsManifold 𝓘(ℂ, Fin p → ℂ) 1 M] |
| 73 | |
| 74 | /-- The canonical integral fundamental class in ordinary singular |
| 75 | homology of a compact complex manifold. -/ |
| 76 | def complexManifoldFundamentalClass : (LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology (2 * p) := |
| 77 | (wholeSpaceSupportHomologyIso (TopCat.of M) (2 * p)).hom |
| 78 | (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (Set.univ : Set M) isCompact_univ) |
| 79 | |
| 80 | /-- The ordinary fundamental class restricts to the complex generator by |
| 81 | the genuine projection from absolute to local singular homology. -/ |
| 82 | theorem complexManifoldFundamentalClass_atPoint (x : M) : |
| 83 | HomologicalComplex.homologyMap |
| 84 | (LocalHomology.Cycles.relativeChainProjection (TopCat.of M) ({x}ᶜ : Set M)) (2 * p) |
| 85 | (complexManifoldFundamentalClass p M) = |
| 86 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) x := by |
| 87 | change ((wholeSpaceSupportHomologyIso (TopCat.of M) (2 * p)).hom ≫ |
| 88 | HomologicalComplex.homologyMap |
| 89 | (LocalHomology.Cycles.relativeChainProjection (TopCat.of M) ({x}ᶜ : Set M)) (2 * p)) |
| 90 | (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (Set.univ : Set M) isCompact_univ) = _ |
| 91 | rw [wholeSpaceSupportHomologyIso_hom_toPoint] |
| 92 | exact ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_atPoint p Set.univ isCompact_univ x (Set.mem_univ x) |
| 93 | |
| 94 | /-- The ordinary class is unique with its prescribed complex local values. -/ |
| 95 | theorem complexManifoldFundamentalClass_unique |
| 96 | (a : (LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology (2 * p)) |
| 97 | (ha : ∀ x : M, HomologicalComplex.homologyMap |
| 98 | (LocalHomology.Cycles.relativeChainProjection (TopCat.of M) ({x}ᶜ : Set M)) (2 * p) a = |
| 99 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) x) : |
| 100 | a = complexManifoldFundamentalClass p M := by |
| 101 | let q := wholeSpaceSupportHomologyIso (TopCat.of M) (2 * p) |
| 102 | apply q.toLinearEquiv.symm.injective |
| 103 | change q.inv a = q.inv (q.hom |
| 104 | (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (Set.univ : Set M) isCompact_univ)) |
| 105 | rw [show q.inv (q.hom (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (Set.univ : Set M) isCompact_univ)) = |
| 106 | ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (Set.univ : Set M) isCompact_univ from |
| 107 | q.toLinearEquiv.symm_apply_apply _] |
| 108 | apply ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_unique p Set.univ isCompact_univ |
| 109 | intro x _ |
| 110 | exact (ConcreteCategory.congr_hom |
| 111 | (wholeSpaceSupportHomologyIso_inv_toPoint (TopCat.of M) (2 * p) x) a).trans (ha x) |
| 112 | |
| 113 | /-- The standard fundamental-class existence and uniqueness statement, |
| 114 | formulated in ordinary integral singular homology. -/ |
| 115 | theorem existsUnique_complexManifoldFundamentalClass : |
| 116 | ∃! a : (LocalHomology.Cycles.integralSingularChains (TopCat.of M)).homology (2 * p), |
| 117 | ∀ x : M, HomologicalComplex.homologyMap |
| 118 | (LocalHomology.Cycles.relativeChainProjection (TopCat.of M) ({x}ᶜ : Set M)) (2 * p) a = |
| 119 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) x := |
| 120 | ⟨complexManifoldFundamentalClass p M, complexManifoldFundamentalClass_atPoint p M, |
| 121 | complexManifoldFundamentalClass_unique p M⟩ |
| 122 | |
| 123 | /-- A nonempty compact complex manifold has nonzero integral fundamental |
| 124 | class, since its actual restriction at any point is nonzero. -/ |
| 125 | theorem complexManifoldFundamentalClass_ne_zero [Nonempty M] : |
| 126 | complexManifoldFundamentalClass p M ≠ 0 := by |
| 127 | intro h |
| 128 | obtain ⟨x⟩ := ‹Nonempty M› |
| 129 | have hx := complexManifoldFundamentalClass_atPoint p M x |
| 130 | rw [h, map_zero] at hx |
| 131 | exact ComplexChartOrientation.Cycles.complexCanonicalLocalClass_ne_zero x hx.symm |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.CycleClass.Geometric.CompactManifoldFundamental.Cycles |