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.SupportedSingularBridge |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.IntrinsicReferenceGlobalCohomology |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison |
| 4 | import OAI.AlgebraicTopology.Support.SingularSectionCohomology |
| 5 | import OAI.Algebra.Homology.DerivedCategoryConeNaturality |
| 6 | |
| 7 | /-! # Supported Open Unit -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.SupportedOpenUnit |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! # Relative cochains enter the original supported resolution by the actual unit -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 18 | |
| 19 | variable (R : Type) [Field R] (Y : TopCat.{0}) |
| 20 | |
| 21 | local notation "F" => forget₂ (ModuleCat R) AddCommGrpCat |
| 22 | local notation "FN" => Functor.mapHomologicalComplex (F) (ComplexShape.up ℕ) |
| 23 | local notation "Γ" => OAI.AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor Y |
| 24 | local notation "ΓN" => Functor.mapHomologicalComplex (Γ) (ComplexShape.up ℕ) |
| 25 | local notation "P" => OAI.AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex R Y |
| 26 | local notation "A" => ModuleCat.of R R |
| 27 | |
| 28 | /-- The original supported section complex before the canonical integer extension. -/ |
| 29 | def originalSupportedSingularGlobalComplexNat (O : Opens Y) : CochainComplex AddCommGrpCat ℕ := |
| 30 | (ΓN).obj (((AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutside Y O).mapHomologicalComplex |
| 31 | (ComplexShape.up ℕ)).obj (P)) |
| 32 | |
| 33 | set_option backward.isDefEq.respectTransparency false in |
| 34 | /-- Taking genuine top-open sections of the support comparison. -/ |
| 35 | def supportedSingularGlobalBridgeIso (O : Opens Y) : |
| 36 | (FN).obj (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSections (A) Y O ⊤) ≅ |
| 37 | originalSupportedSingularGlobalComplexNat R Y O := |
| 38 | (ΓN).mapIso (SupportedSingularBridge.supportedSingularComplexBridgeIso R Y O) |
| 39 | |
| 40 | /-- Forgetting support on the unchanged original sheaf-cochain model. -/ |
| 41 | def originalSupportedSingularGlobalInclusionNat (O : Opens Y) : |
| 42 | originalSupportedSingularGlobalComplexNat R Y O ⟶ |
| 43 | AlgebraicTopology.Singular.SheafSubdivisionCochain.globalSingularCochainSheafComplex R Y := |
| 44 | (ΓN).map (((AlgebraicTopology.Support.DerivedSections.TopCat.Sheaf.sheafSectionsSupportedOutsideInclusion Y O).mapHomologicalComplex |
| 45 | (ComplexShape.up ℕ)).app (P)) |
| 46 | |
| 47 | /-- The actual relative-to-supported unit followed by actual chain evaluation. -/ |
| 48 | def nativeRelativeToOriginalSupportedGlobal (O : Opens Y) : |
| 49 | (FN).obj (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (A) Y (O : Set Y)) ⟶ |
| 50 | originalSupportedSingularGlobalComplexNat R Y O := |
| 51 | (FN).map (AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (A) Y O) ≫ |
| 52 | (supportedSingularGlobalBridgeIso R Y O).hom |
| 53 | |
| 54 | set_option backward.isDefEq.respectTransparency false in |
| 55 | set_option backward.isDefEq.respectTransparency.types false in |
| 56 | /-- The supported unit retains precisely the actual ordinary sheafification unit. -/ |
| 57 | theorem nativeRelativeToOriginalSupportedGlobal_inclusion (O : Opens Y) : |
| 58 | nativeRelativeToOriginalSupportedGlobal R Y O ≫ |
| 59 | originalSupportedSingularGlobalInclusionNat R Y O = |
| 60 | (FN).map (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (A) Y (O : Set Y)) ≫ |
| 61 | (FN).map (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (A) Y) ≫ |
| 62 | (IntrinsicReferenceGlobalCohomology.nativeSingularGlobalSheafBridgeIso R Y).hom := by |
| 63 | dsimp only [nativeRelativeToOriginalSupportedGlobal, supportedSingularGlobalBridgeIso, |
| 64 | originalSupportedSingularGlobalInclusionNat, Functor.mapIso_hom] |
| 65 | rw [Category.assoc, ← Functor.map_comp, SupportedSingularBridge.supportedSingularComplexBridgeIso_inclusion, |
| 66 | Functor.map_comp, ← Category.assoc] |
| 67 | change ((FN).map (AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (A) Y O) ≫ |
| 68 | (FN).map (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion (A) Y O ⊤)) ≫ |
| 69 | (IntrinsicReferenceGlobalCohomology.nativeSingularGlobalSheafBridgeIso R Y).hom = _ |
| 70 | rw [← Functor.map_comp, |
| 71 | AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections_inclusion, Functor.map_comp] |
| 72 | exact Category.assoc _ _ _ |
| 73 | |
| 74 | set_option backward.isDefEq.respectTransparency false in |
| 75 | /-- On a metrizable space the actual supported unit is a quasi-isomorphism. -/ |
| 76 | theorem quasiIso_nativeRelativeToOriginalSupportedGlobal [CharZero R] [MetrizableSpace Y] |
| 77 | (O : Opens Y) : QuasiIso (nativeRelativeToOriginalSupportedGlobal R Y O) := by |
| 78 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafGlobalSections_of_metrizable |
| 79 | R Y O |
| 80 | unfold nativeRelativeToOriginalSupportedGlobal |
| 81 | infer_instance |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! # The actual open relative-cochain unit and the original restriction cone -/ |
| 86 | |
| 87 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 88 | open OAI.AlgebraicTopology.Singular _root_.TopCat.Sheaf |
| 89 | |
| 90 | variable (Y : TopCat.{0}) (U V : Opens Y) |
| 91 | |
| 92 | local notation "F" => forget₂ (ModuleCat ℚ) AddCommGrpCat |
| 93 | local notation "FI" => Functor.mapHomologicalComplex (F) (ComplexShape.up ℤ) |
| 94 | local notation "P" => OAI.AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex ℚ Y |
| 95 | local notation "K" => OAI.AlgebraicTopology.Support.SingularFlasqueModel.Singular.rationalSingularCochainComplex Y |
| 96 | |
| 97 | /-- The sheafification unit, evaluated before the canonical extension by zero. -/ |
| 98 | def originalOpenRawToIntegerSections (W : Opens Y) : |
| 99 | (AlgebraicTopology.Singular.SheafCochainOpenSections.openRawSingularCochainComplex ℚ Y W).extend ComplexShape.embeddingUpNat ⟶ |
| 100 | ((AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation Y W).mapHomologicalComplex (.up ℤ)).obj (K) := |
| 101 | HomologicalComplex.extendMap (AlgebraicTopology.Singular.SheafCochainOpenSections.openRawToSingularCochainSheafComplex ℚ Y W) |
| 102 | ComplexShape.embeddingUpNat ≫ |
| 103 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso (AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation Y W) (P) |
| 104 | ComplexShape.embeddingUpNat).inv |
| 105 | |
| 106 | set_option backward.isDefEq.respectTransparency false in |
| 107 | set_option backward.isDefEq.respectTransparency.types false in |
| 108 | /-- The actual unit commutes with restriction in integer degrees. -/ |
| 109 | theorem originalOpenRawToIntegerSections_naturality {W W' : Opens Y} (i : W' ⟶ W) : |
| 110 | HomologicalComplex.extendMap (AlgebraicTopology.Singular.SheafCochainOpenSections.openRawSingularRestriction ℚ Y i) |
| 111 | ComplexShape.embeddingUpNat ≫ originalOpenRawToIntegerSections Y W' = |
| 112 | originalOpenRawToIntegerSections Y W ≫ AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction Y (.up ℤ) (K) i := by |
| 113 | unfold originalOpenRawToIntegerSections |
| 114 | rw [← Category.assoc, ← HomologicalComplex.extendMap_comp, |
| 115 | ← AlgebraicTopology.Singular.SheafCochainTop.openSingularSheafRestriction_naturality, HomologicalComplex.extendMap_comp, Category.assoc] |
| 116 | rw [Category.assoc] |
| 117 | apply congrArg (fun g => HomologicalComplex.extendMap |
| 118 | (AlgebraicTopology.Singular.SheafCochainOpenSections.openRawToSingularCochainSheafComplex ℚ Y W) ComplexShape.embeddingUpNat ≫ g) |
| 119 | apply (cancel_mono (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso |
| 120 | (AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation Y W') (P) ComplexShape.embeddingUpNat).hom).mp |
| 121 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id, Category.assoc] |
| 122 | change HomologicalComplex.extendMap (AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction Y (.up ℕ) (P) i) |
| 123 | ComplexShape.embeddingUpNat = |
| 124 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso (AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation Y W) (P) |
| 125 | ComplexShape.embeddingUpNat).inv ≫ |
| 126 | AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction Y (.up ℤ) ((P).extend ComplexShape.embeddingUpNat) i ≫ |
| 127 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso (AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation Y W') (P) |
| 128 | ComplexShape.embeddingUpNat).hom |
| 129 | rw [AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction_extend, ← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 130 | |
| 131 | /-- The same unit on the actual algebraic dual of the singular chain complex. -/ |
| 132 | def originalOpenDualToIntegerSections (W : Opens Y) : |
| 133 | (FI).obj ((Algebra.Homology.LinearDual.HomologicalComplex.linearDualCochainComplex (AlgebraicTopology.Singular.Cohomology.SingularChainComplex ℚ (TopCat.of W))).extend |
| 134 | ComplexShape.embeddingUpNat) ⟶ |
| 135 | ((AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation Y W).mapHomologicalComplex (.up ℤ)).obj (K) := |
| 136 | (AlgebraicTopology.Singular.SheafCochainOpenCone.openRawSingularCochainComplexIntIsoDual ℚ Y W).inv ≫ |
| 137 | originalOpenRawToIntegerSections Y W |
| 138 | |
| 139 | set_option backward.isDefEq.respectTransparency false in |
| 140 | set_option backward.isDefEq.respectTransparency.types false in |
| 141 | /-- The chain-dual evaluation comparison preserves the actual inclusion restriction. -/ |
| 142 | theorem originalOpenDualToIntegerSections_restriction {W W' : Opens Y} (i : W' ⟶ W) : |
| 143 | (FI).map (AlgebraicTopology.Singular.RelativeCochainCone.relativeCochainRestrictionInt ℚ (AlgebraicTopology.Singular.SheafCochainOpenCone.openInclusionPair Y i)) ≫ |
| 144 | originalOpenDualToIntegerSections Y W' = |
| 145 | originalOpenDualToIntegerSections Y W ≫ AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.sectionComplexRestriction Y (.up ℤ) (K) i := by |
| 146 | apply (cancel_epi (AlgebraicTopology.Singular.SheafCochainOpenCone.openRawSingularCochainComplexIntIsoDual ℚ Y W).hom).mp |
| 147 | unfold originalOpenDualToIntegerSections |
| 148 | rw [← Category.assoc, ← AlgebraicTopology.Singular.SheafCochainOpenCone.openRawSingularRestrictionInt_transport, |
| 149 | Category.assoc, Iso.hom_inv_id_assoc] |
| 150 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 151 | exact originalOpenRawToIntegerSections_naturality Y i |
| 152 | |
| 153 | /-- The unchanged relative singular short complex, with its scalars forgotten. -/ |
| 154 | def originalOpenRelativeShortComplex : ShortComplex (CochainComplex AddCommGrpCat ℤ) := |
| 155 | (AlgebraicTopology.Singular.RelativeCochainCone.relativeDualCochainShortComplexInt ℚ |
| 156 | (AlgebraicTopology.Singular.SheafCochainOpenCone.openInclusionPair Y (Opens.infLELeft V U))).map (FI) |
| 157 | |
| 158 | /-- The unchanged supported sheaf-section short complex. -/ |
| 159 | def originalOpenSupportShortComplex : ShortComplex (CochainComplex AddCommGrpCat ℤ) := |
| 160 | AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportRestrictionSectionsComplexShortComplex Y U V (K) |
| 161 | |
| 162 | set_option backward.isDefEq.respectTransparency false in |
| 163 | /-- The ambient actual chain-dual-to-sheaf unit. -/ |
| 164 | def originalOpenSupportUnitAmbient : |
| 165 | (originalOpenRelativeShortComplex Y U V).X₂ ⟶ |
| 166 | (originalOpenSupportShortComplex Y U V).X₂ := |
| 167 | originalOpenDualToIntegerSections Y V |
| 168 | |
| 169 | set_option backward.isDefEq.respectTransparency false in |
| 170 | /-- The complement unit followed by the actual intersection identification. -/ |
| 171 | def originalOpenSupportUnitComplement : |
| 172 | (originalOpenRelativeShortComplex Y U V).X₃ ⟶ |
| 173 | (originalOpenSupportShortComplex Y U V).X₃ := |
| 174 | originalOpenDualToIntegerSections Y (V ⊓ U) ≫ |
| 175 | (AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.supportRestrictionSectionsIntersectionIso Y U V (K)).inv |
| 176 | |
| 177 | set_option backward.isDefEq.respectTransparency false in |
| 178 | set_option backward.isDefEq.respectTransparency.types false in |
| 179 | /-- These two actual units form a restriction square. -/ |
| 180 | theorem originalOpenSupportUnit_restriction : |
| 181 | (originalOpenRelativeShortComplex Y U V).g ≫ originalOpenSupportUnitComplement Y U V = |
| 182 | originalOpenSupportUnitAmbient Y U V ≫ (originalOpenSupportShortComplex Y U V).g := by |
| 183 | apply (cancel_mono (AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.supportRestrictionSectionsIntersectionIso Y U V (K)).hom).mp |
| 184 | dsimp only [originalOpenSupportUnitComplement, originalOpenSupportUnitAmbient, |
| 185 | originalOpenSupportShortComplex] |
| 186 | rw [Category.assoc, Category.assoc, Iso.inv_hom_id, Category.comp_id, |
| 187 | Category.assoc, AlgebraicTopology.Support.SectionRestrictionCone.TopCat.Sheaf.supportRestrictionSectionsIntersectionIso_restriction] |
| 188 | exact originalOpenDualToIntegerSections_restriction Y (Opens.infLELeft V U) |
| 189 | |
| 190 | set_option backward.isDefEq.respectTransparency false in |
| 191 | /-- The actual unit on the supported kernel, obtained from its kernel universal property. -/ |
| 192 | def originalOpenSupportUnit [T2Space Y] [∀ W : Opens Y, ParacompactSpace W] : |
| 193 | originalOpenRelativeShortComplex Y U V ⟶ originalOpenSupportShortComplex Y U V := |
| 194 | let hT := AlgebraicTopology.Support.FlasqueComparison.TopCat.Sheaf.supportRestrictionSectionsComplexShortComplex_shortExact_of_flasque |
| 195 | Y U V (K) (fun _ => inferInstance) |
| 196 | let f := (originalOpenRelativeShortComplex Y U V).f ≫ originalOpenSupportUnitAmbient Y U V |
| 197 | let hf : f ≫ (originalOpenSupportShortComplex Y U V).g = 0 := by |
| 198 | dsimp only [f] |
| 199 | rw [Category.assoc, ← originalOpenSupportUnit_restriction, ← Category.assoc, |
| 200 | ShortComplex.zero, zero_comp] |
| 201 | { τ₁ := hT.fIsKernel.lift (KernelFork.ofι f hf) |
| 202 | τ₂ := originalOpenSupportUnitAmbient Y U V |
| 203 | τ₃ := originalOpenSupportUnitComplement Y U V |
| 204 | comm₁₂ := by |
| 205 | exact hT.fIsKernel.fac (KernelFork.ofι f hf) WalkingParallelPair.zero |
| 206 | comm₂₃ := (originalOpenSupportUnit_restriction Y U V).symm } |
| 207 | |
| 208 | end |
| 209 | |
| 210 | end OAI.AlgebraicGeometry.ComplexMultiplication.SupportedOpenUnit |