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.AlgebraicTopology.FundamentalClass.SmoothHomology |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains |
| 3 | import Mathlib.Algebra.Homology.HomologySequenceLemmas |
| 4 | |
| 5 | /-! # Relative Smooth -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.FundamentalClass.RelativeSmooth.IntegrationConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Integration: smooth relative chains for an open submanifold, and their comparison |
| 12 | with the actual ordinary relative singular chains. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | variable (E M : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | [TopologicalSpace M] [ChartedSpace E M] |
| 22 | |
| 23 | def smoothOpenMap (U : Opens M) : |
| 24 | (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E U).toSSet ⟶ |
| 25 | (Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex E M).toSSet := |
| 26 | Cohomology.Singular.ManifoldSmoothFunctor.manifoldSmoothSingularMap E E (Subtype.val : U → M) contMDiff_subtype_val |
| 27 | |
| 28 | theorem smoothOpenMap_inclusion (U : Opens M) : |
| 29 | smoothOpenMap E M U ≫ Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E M = |
| 30 | Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E U ≫ TopCat.toSSet.map (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) U) := |
| 31 | Cohomology.Singular.ManifoldSmoothFunctor.manifoldSmoothSingularMap_inclusion (Subtype.val : U → M) contMDiff_subtype_val |
| 32 | |
| 33 | instance smoothOpenMap_mono (U : Opens M) : Mono (smoothOpenMap E M U) := by |
| 34 | have : Mono (smoothOpenMap E M U ≫ Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E M) := by |
| 35 | rw [smoothOpenMap_inclusion] |
| 36 | infer_instance |
| 37 | exact mono_of_mono (smoothOpenMap E M U) (Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E M) |
| 38 | |
| 39 | abbrev smoothOpenChainInclusion (U : Opens M) : SmoothHomology.IntegrationConstruction.smoothChains E U ⟶ SmoothHomology.IntegrationConstruction.smoothChains E M := |
| 40 | Cohomology.Singular.EvaluationNaturality.simplicialScalarChainMap (smoothOpenMap E M U) |
| 41 | |
| 42 | instance smoothOpenChainInclusion_mono (U : Opens M) : Mono (smoothOpenChainInclusion E M U) := by |
| 43 | change Mono (((SSet.chainComplexFunctor (ModuleCat.{0} ℂ)).obj |
| 44 | (ModuleCat.of ℂ ℂ)).map (smoothOpenMap E M U)) |
| 45 | dsimp [SSet.chainComplexFunctor] |
| 46 | apply +allowSynthFailures Functor.map_mono |
| 47 | |
| 48 | abbrev smoothRelativeChains (U : Opens M) := cokernel (smoothOpenChainInclusion E M U) |
| 49 | |
| 50 | abbrev smoothRelativeProjection (U : Opens M) : SmoothHomology.IntegrationConstruction.smoothChains E M ⟶ smoothRelativeChains E M U := |
| 51 | cokernel.π (smoothOpenChainInclusion E M U) |
| 52 | |
| 53 | theorem smoothOpenChainInclusion_naturality (U : Opens M) : |
| 54 | smoothOpenChainInclusion E M U ≫ SmoothHomology.IntegrationConstruction.smoothChainInclusion E M = |
| 55 | SmoothHomology.IntegrationConstruction.smoothChainInclusion E U ≫ AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSubspaceChainInclusion ℂ (TopCat.of M) U := by |
| 56 | change SSet.chainComplexMap (smoothOpenMap E M U) (ModuleCat.of ℂ ℂ) ≫ |
| 57 | SSet.chainComplexMap (Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E M) (ModuleCat.of ℂ ℂ) = |
| 58 | SSet.chainComplexMap (Cohomology.Singular.ManifoldSmooth.manifoldSmoothInclusion E U) (ModuleCat.of ℂ ℂ) ≫ |
| 59 | SSet.chainComplexMap (TopCat.toSSet.map (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) U)) (ModuleCat.of ℂ ℂ) |
| 60 | change ((SSet.chainComplexFunctor (ModuleCat.{0} ℂ)).obj (ModuleCat.of ℂ ℂ)).map _ ≫ |
| 61 | ((SSet.chainComplexFunctor (ModuleCat.{0} ℂ)).obj (ModuleCat.of ℂ ℂ)).map _ = |
| 62 | ((SSet.chainComplexFunctor (ModuleCat.{0} ℂ)).obj (ModuleCat.of ℂ ℂ)).map _ ≫ |
| 63 | ((SSet.chainComplexFunctor (ModuleCat.{0} ℂ)).obj (ModuleCat.of ℂ ℂ)).map _ |
| 64 | rw [← Functor.map_comp, ← Functor.map_comp, smoothOpenMap_inclusion] |
| 65 | |
| 66 | def smoothRelativeComparison (U : Opens M) : |
| 67 | smoothRelativeChains E M U ⟶ AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℂ (TopCat.of M) U := |
| 68 | cokernel.map (smoothOpenChainInclusion E M U) |
| 69 | (AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.scalarSubspaceChainInclusion ℂ (TopCat.of M) U) |
| 70 | (SmoothHomology.IntegrationConstruction.smoothChainInclusion E U) (SmoothHomology.IntegrationConstruction.smoothChainInclusion E M) |
| 71 | (smoothOpenChainInclusion_naturality E M U) |
| 72 | |
| 73 | theorem smoothRelativeComparison_projection (U : Opens M) : |
| 74 | smoothRelativeProjection E M U ≫ smoothRelativeComparison E M U = |
| 75 | SmoothHomology.IntegrationConstruction.smoothChainInclusion E M ≫ AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainProjection ℂ (TopCat.of M) U := |
| 76 | cokernel.π_desc _ _ _ |
| 77 | |
| 78 | def smoothRelativeSequence (U : Opens M) : ShortComplex (ChainComplex (ModuleCat.{0} ℂ) ℕ) := |
| 79 | ShortComplex.mk (smoothOpenChainInclusion E M U) (smoothRelativeProjection E M U) |
| 80 | (cokernel.condition _) |
| 81 | |
| 82 | theorem smoothRelativeSequence_shortExact (U : Opens M) : |
| 83 | (smoothRelativeSequence E M U).ShortExact := by |
| 84 | change (ShortComplex.mk (smoothOpenChainInclusion E M U) |
| 85 | (cokernel.π (smoothOpenChainInclusion E M U)) _).ShortExact |
| 86 | exact { exact := ShortComplex.cokernelSequence_exact (smoothOpenChainInclusion E M U) } |
| 87 | |
| 88 | def smoothRelativeSequenceComparison (U : Opens M) : |
| 89 | smoothRelativeSequence E M U ⟶ AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainSequence ℂ (TopCat.of M) U where |
| 90 | τ₁ := SmoothHomology.IntegrationConstruction.smoothChainInclusion E U |
| 91 | τ₂ := SmoothHomology.IntegrationConstruction.smoothChainInclusion E M |
| 92 | τ₃ := smoothRelativeComparison E M U |
| 93 | comm₁₂ := (smoothOpenChainInclusion_naturality E M U).symm |
| 94 | comm₂₃ := (smoothRelativeComparison_projection E M U).symm |
| 95 | |
| 96 | theorem smoothRelativeSequence_degreewiseShortExact (U : Opens M) (n : ℕ) : |
| 97 | ((smoothRelativeSequence E M U).map |
| 98 | (HomologicalComplex.eval (ModuleCat.{0} ℂ) (ComplexShape.down ℕ) n)).ShortExact := |
| 99 | (HomologicalComplex.shortExact_iff_degreewise_shortExact _).mp |
| 100 | (smoothRelativeSequence_shortExact E M U) n |
| 101 | |
| 102 | theorem smoothRelativeProjection_surjective (U : Opens M) (n : ℕ) : |
| 103 | Function.Surjective ((smoothRelativeProjection E M U).f n) := by |
| 104 | let : Epi ((smoothRelativeProjection E M U).f n) := |
| 105 | (smoothRelativeSequence_degreewiseShortExact E M U n).epi_g |
| 106 | exact (ModuleCat.epi_iff_surjective _).mp inferInstance |
| 107 | |
| 108 | theorem smoothRelativeProjection_ker (U : Opens M) (n : ℕ) : |
| 109 | LinearMap.ker ((smoothRelativeProjection E M U).f n).hom = |
| 110 | LinearMap.range ((smoothOpenChainInclusion E M U).f n).hom := |
| 111 | (smoothRelativeSequence_degreewiseShortExact E M U n).exact.moduleCat_range_eq_ker.symm |
| 112 | |
| 113 | variable [IsManifold 𝓘(ℝ, E) ∞ M] |
| 114 | |
| 115 | theorem smoothRelativeComparison_quasiIso (U : Opens M) : |
| 116 | QuasiIso (smoothRelativeComparison E M U) := by |
| 117 | apply HomologicalComplex.HomologySequence.quasiIso_τ₃ (smoothRelativeSequenceComparison E M U) |
| 118 | (smoothRelativeSequence_shortExact E M U) |
| 119 | (AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainSequence_shortExact ℂ (TopCat.of M) U) |
| 120 | · exact SmoothHomology.IntegrationConstruction.smoothChainInclusion_quasiIso E U |
| 121 | · exact SmoothHomology.IntegrationConstruction.smoothChainInclusion_quasiIso E M |
| 122 | |
| 123 | theorem smoothRelativeHomologyComparison_injective (U : Opens M) (n : ℕ) : |
| 124 | Function.Injective (HomologicalComplex.homologyMap (smoothRelativeComparison E M U) n) := by |
| 125 | let := smoothRelativeComparison_quasiIso E M U |
| 126 | exact (ConcreteCategory.bijective_of_isIso _).injective |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicTopology.FundamentalClass.RelativeSmooth.IntegrationConstruction |