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.Thom.Supported.Map |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 3 | |
| 4 | /-! # Analytic Restriction -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.AnalyticRestriction |
| 11 | |
| 12 | /-! On an open isolating one algebraic support, a supported cycle class |
| 13 | is precisely its original coefficient times that support's class. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | namespace Constructions |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 23 | |
| 24 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (F : Closeds V.carrier) (p : ℕ) |
| 25 | local notation "T" => TopCat.of V.analyticSpace |
| 26 | local notation "O" => (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ |
| 27 | |
| 28 | theorem relativeGenerator_restrict_away (Z : Map.Constructions.SupportedSupport V F p) |
| 29 | (U : V.carrier.Opens) (hU : (U : Set V.carrier) ⊆ (Z.val.val : Set V.carrier)ᶜ) : |
| 30 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver U) (2 * p) |
| 31 | (Map.Constructions.relativeGenerator V F p Z) = 0 := by |
| 32 | let f := Geometric.LocalHomology.Cycles.subspaceInclusion T (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver U : Set T) |
| 33 | let ha : Set.MapsTo f (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver U)) O := by |
| 34 | intro x hx |
| 35 | exact hx |
| 36 | have hr : ∀ x, f x ∈ (Set.range Z.val.analyticInclusion)ᶜ := by |
| 37 | intro x |
| 38 | rw [Z.val.range_analyticInclusion] |
| 39 | exact hU x.property |
| 40 | have hz := DivisorClass.Chern.SupportedDivisorSum.relativeCohomologyMap_zero_of_range_subset (ModuleCat.of ℚ ℚ) f |
| 41 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver U)) (Set.range Z.val.analyticInclusion)ᶜ |
| 42 | (fun _ hx => Map.Constructions.supportComplement_subset V F p Z (ha hx)) hr (2 * p) |
| 43 | have hc : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 T) |
| 44 | (Map.Constructions.supportComplement_subset V F p Z) (2 * p) ≫ |
| 45 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f ha (2 * p) = |
| 46 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f |
| 47 | (fun _ hx => Map.Constructions.supportComplement_subset V F p Z (ha hx)) (2 * p) := by |
| 48 | simpa only [Category.comp_id] using AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp |
| 49 | (ModuleCat.of ℚ ℚ) f (𝟙 T) ha (Map.Constructions.supportComplement_subset V F p Z) (2 * p) |
| 50 | have hv := ConcreteCategory.congr_hom hc Z.val.rationalSupportedCycleClass |
| 51 | rw [hz] at hv |
| 52 | exact hv |
| 53 | |
| 54 | theorem relativeClassMap_restrict_isolated (d : Map.Constructions.SupportedCycle V F p) |
| 55 | (Z : Map.Constructions.SupportedSupport V F p) (U : V.carrier.Opens) |
| 56 | (hU : ∀ W : Map.Constructions.SupportedSupport V F p, W ≠ Z → |
| 57 | (U : Set V.carrier) ⊆ (W.val.val : Set V.carrier)ᶜ) : |
| 58 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver U) (2 * p) |
| 59 | (Map.Constructions.relativeClassMap V F p d) = |
| 60 | d Z • Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O |
| 61 | (Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver U) (2 * p) (Map.Constructions.relativeGenerator V F p Z) := by |
| 62 | classical |
| 63 | simp only [Map.Constructions.relativeClassMap, Finsupp.linearCombination_apply, Finsupp.sum, map_sum] |
| 64 | rw [Finset.sum_eq_single Z] |
| 65 | · exact map_smul _ _ _ |
| 66 | · intro W _ hW |
| 67 | rw [map_smul, relativeGenerator_restrict_away V F p W U (hU W hW), smul_zero] |
| 68 | · intro hZ |
| 69 | rw [Finsupp.notMem_support_iff.mp hZ, zero_smul, map_zero] |
| 70 | |
| 71 | end Constructions |
| 72 | |
| 73 | end AlgebraicGeometry.CycleClass.Thom.Supported.AnalyticRestriction |
| 74 | |
| 75 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.AnalyticRestriction.Constructions |
| 76 | |
| 77 | /-! An actual finite supported cycle restricts near an isolated |
| 78 | component to its original coefficient times that component's class. -/ |
| 79 | |
| 80 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 81 | |
| 82 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions |
| 83 | |
| 84 | set_option backward.isDefEq.respectTransparency false |
| 85 | set_option backward.isDefEq.respectTransparency.types false |
| 86 | |
| 87 | theorem pairMap_targetSupportCast {X Y : TopCat} (f : X ⟶ Y) {A : Set X} {B B' : Set Y} |
| 88 | (he : B = B') (hf : Set.MapsTo f A B) (hf' : Set.MapsTo f A B') (d : ℕ) |
| 89 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y B d) : |
| 90 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf' d |
| 91 | (eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y S d) he) a) = |
| 92 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf d a := by |
| 93 | cases he |
| 94 | rfl |
| 95 | |
| 96 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (F : Closeds V.carrier) (p : ℕ) |
| 97 | (P : Opens V.analyticSpace) (S : Set P) |
| 98 | (hF : Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) S |
| 99 | (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ) |
| 100 | |
| 101 | theorem relativeGenerator_pullback (Z : Map.Constructions.SupportedSupport V F p) : |
| 102 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 103 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) hF (2 * p) |
| 104 | (Map.Constructions.relativeGenerator V F p Z) = |
| 105 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 106 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) |
| 107 | (fun _ hx => Map.Constructions.supportComplement_subset V F p Z (hF hx)) (2 * p) Z.val.rationalSupportedCycleClass := by |
| 108 | have h := ConcreteCategory.congr_hom (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) |
| 109 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) (𝟙 (TopCat.of V.analyticSpace)) |
| 110 | hF (Map.Constructions.supportComplement_subset V F p Z) (2 * p)) Z.val.rationalSupportedCycleClass |
| 111 | simp only [ConcreteCategory.comp_apply, Category.comp_id] at h |
| 112 | exact h |
| 113 | |
| 114 | theorem relativeGenerator_pullback_zero (Z : Map.Constructions.SupportedSupport V F p) |
| 115 | (hZ : ∀ x : P, x.val ∉ Set.range Z.val.analyticInclusion) : |
| 116 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 117 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) hF (2 * p) |
| 118 | (Map.Constructions.relativeGenerator V F p Z) = 0 := by |
| 119 | rw [relativeGenerator_pullback] |
| 120 | exact ConcreteCategory.congr_hom (DivisorClass.Chern.SupportedDivisorSum.relativeCohomologyMap_zero_of_range_subset (ModuleCat.of ℚ ℚ) |
| 121 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) S |
| 122 | (Set.range Z.val.analyticInclusion)ᶜ (fun _ hx => Map.Constructions.supportComplement_subset V F p Z (hF hx)) hZ (2 * p)) |
| 123 | Z.val.rationalSupportedCycleClass |
| 124 | |
| 125 | theorem relativeClassMap_pullback_isolated (c : Map.Constructions.SupportedCycle V F p) (Z : Map.Constructions.SupportedSupport V F p) |
| 126 | (hZ : ∀ W : Map.Constructions.SupportedSupport V F p, W ≠ Z → ∀ x : P, x.val ∉ Set.range W.val.analyticInclusion) : |
| 127 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 128 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) hF (2 * p) |
| 129 | (Map.Constructions.relativeClassMap V F p c) = |
| 130 | c Z • AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 131 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (P : Set V.analyticSpace)) |
| 132 | (fun _ hx => Map.Constructions.supportComplement_subset V F p Z (hF hx)) (2 * p) Z.val.rationalSupportedCycleClass := by |
| 133 | classical |
| 134 | simp only [Map.Constructions.relativeClassMap, Finsupp.linearCombination_apply, Finsupp.sum, map_sum] |
| 135 | rw [Finset.sum_eq_single Z] |
| 136 | · rw [map_smul, relativeGenerator_pullback] |
| 137 | · intro W _ hW |
| 138 | rw [map_smul, relativeGenerator_pullback_zero V F p P S hF W (hZ W hW), smul_zero] |
| 139 | · intro h |
| 140 | rw [Finsupp.notMem_support_iff.mp h, zero_smul, map_zero] |
| 141 | |
| 142 | end AlgebraicGeometry.CycleClass.Thom.Supported.AnalyticRestriction.Constructions |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI |