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.AnalyticRestriction |
| 2 | |
| 3 | /-! # Supported Lift -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map |
| 10 | |
| 11 | /-! Actual finite cycle classes in a fixed support on an analytic open. |
| 12 | Their equality can be checked on the original coefficients of the |
| 13 | supports that meet that open. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (U : Opens V.analyticSpace) (S : Set U) (p : ℕ) |
| 21 | |
| 22 | abbrev SupportedSupport := {D : Geometric.DimensionCycles.DimensionCycleSupport V p // |
| 23 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S} |
| 24 | abbrev SupportedCycle := SupportedSupport V U S p →₀ ℚ |
| 25 | |
| 26 | def forgetCycle : SupportedCycle V U S p →ₗ[ℚ] Geometric.DimensionCycles.RationalDimensionCycle V p := |
| 27 | Finsupp.lmapDomain ℚ ℚ (fun D : SupportedSupport V U S p => D.val) |
| 28 | |
| 29 | theorem forgetCycle_apply (c : SupportedCycle V U S p) (D : SupportedSupport V U S p) : |
| 30 | forgetCycle V U S p c D.val = c D := |
| 31 | Finsupp.mapDomain_apply_of_injective Subtype.val_injective c D |
| 32 | |
| 33 | theorem supportComplement_mapsTo (D : SupportedSupport V U S p) : |
| 34 | Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace)) |
| 35 | Sᶜ (Set.range D.val.analyticInclusion)ᶜ := fun _ hx hy => hx (D.property hy) |
| 36 | |
| 37 | def relativeGenerator (D : SupportedSupport V U S p) : |
| 38 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) Sᶜ (2 * p) := |
| 39 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 40 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace)) |
| 41 | (supportComplement_mapsTo V U S p D) (2 * p) D.val.rationalSupportedCycleClass |
| 42 | |
| 43 | def relativeClassMap : SupportedCycle V U S p →ₗ[ℚ] |
| 44 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) Sᶜ (2 * p) := |
| 45 | Finsupp.linearCombination ℚ (relativeGenerator V U S p) |
| 46 | |
| 47 | theorem relativeClassMap_single (D : SupportedSupport V U S p) (r : ℚ) : |
| 48 | relativeClassMap V U S p (Finsupp.single D r) = r • relativeGenerator V U S p D := |
| 49 | Finsupp.linearCombination_single ℚ r D |
| 50 | |
| 51 | theorem relativeGenerator_zero_of_disjoint (D : SupportedSupport V U S p) |
| 52 | (hD : ∀ x : U, x.val ∉ Set.range D.val.analyticInclusion) : |
| 53 | relativeGenerator V U S p D = 0 := by |
| 54 | have h := DivisorClass.Chern.SupportedDivisorSum.relativeCohomologyMap_zero_of_range_subset (ModuleCat.of ℚ ℚ) |
| 55 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace)) Sᶜ |
| 56 | (Set.range D.val.analyticInclusion)ᶜ (supportComplement_mapsTo V U S p D) hD (2 * p) |
| 57 | exact ConcreteCategory.congr_hom h D.val.rationalSupportedCycleClass |
| 58 | |
| 59 | theorem relativeClassMap_eq_of_local_coefficients (c e : SupportedCycle V U S p) |
| 60 | (h : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, (∃ x : U, x.val ∈ Set.range D.analyticInclusion) → |
| 61 | forgetCycle V U S p c D = forgetCycle V U S p e D) : |
| 62 | relativeClassMap V U S p c = relativeClassMap V U S p e := by |
| 63 | classical |
| 64 | apply sub_eq_zero.mp |
| 65 | rw [← map_sub, relativeClassMap, Finsupp.linearCombination_apply, Finsupp.sum] |
| 66 | apply Finset.sum_eq_zero |
| 67 | intro D _ |
| 68 | by_cases hD : ∃ x : U, x.val ∈ Set.range D.val.analyticInclusion |
| 69 | · have hc := h D.val hD |
| 70 | rw [forgetCycle_apply, forgetCycle_apply] at hc |
| 71 | rw [Finsupp.sub_apply, hc, sub_self, zero_smul] |
| 72 | · have hz := relativeGenerator_zero_of_disjoint V U S p D (by simpa only [not_exists] using hD) |
| 73 | rw [hz, smul_zero] |
| 74 | |
| 75 | end AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map |
| 76 | |
| 77 | namespace AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions |
| 78 | |
| 79 | /-! A genuine finite cycle whose retained supports lie in a prescribed |
| 80 | analytic support has a canonical lift to the supported cycle module. -/ |
| 81 | |
| 82 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 83 | |
| 84 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map |
| 85 | |
| 86 | set_option backward.isDefEq.respectTransparency false |
| 87 | set_option backward.isDefEq.respectTransparency.types false |
| 88 | |
| 89 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (U : Opens V.analyticSpace) (S : Set U) (p : ℕ) |
| 90 | |
| 91 | def restrictCycle (c : Geometric.DimensionCycles.RationalDimensionCycle V p) : Map.SupportedCycle V U S p := |
| 92 | Finsupp.subtypeDomain (fun D : Geometric.DimensionCycles.DimensionCycleSupport V p => |
| 93 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S) c |
| 94 | |
| 95 | theorem restrictCycle_apply (c : Geometric.DimensionCycles.RationalDimensionCycle V p) (D : Map.SupportedSupport V U S p) : |
| 96 | restrictCycle V U S p c D = c D.val := rfl |
| 97 | |
| 98 | theorem forget_restrictCycle (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 99 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 100 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S) : |
| 101 | Map.forgetCycle V U S p (restrictCycle V U S p c) = c := by |
| 102 | classical |
| 103 | ext D |
| 104 | by_cases hD : (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S |
| 105 | · exact (Map.forgetCycle_apply V U S p (restrictCycle V U S p c) ⟨D, hD⟩).trans rfl |
| 106 | · have hz : c D = 0 := by |
| 107 | by_contra hn |
| 108 | exact hD (hc D hn) |
| 109 | rw [hz] |
| 110 | exact Finsupp.mapDomain_of_notMem_range (restrictCycle V U S p c) D (by |
| 111 | rintro ⟨E, he⟩ |
| 112 | exact hD (he ▸ E.property)) |
| 113 | |
| 114 | theorem supportedClass_eq_of_local_coefficients (c e : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 115 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 116 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S) |
| 117 | (he : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, e D ≠ 0 → |
| 118 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S) |
| 119 | (hcoeff : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, (∃ x : U, x.val ∈ Set.range D.analyticInclusion) → c D = e D) : |
| 120 | Map.relativeClassMap V U S p (restrictCycle V U S p c) = |
| 121 | Map.relativeClassMap V U S p (restrictCycle V U S p e) := by |
| 122 | apply Map.relativeClassMap_eq_of_local_coefficients |
| 123 | intro D hD |
| 124 | rw [forget_restrictCycle V U S p c hc, forget_restrictCycle V U S p e he] |
| 125 | exact hcoeff D hD |
| 126 | |
| 127 | theorem forgetCycle_supported (c : Map.SupportedCycle V U S p) (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 128 | (hc : Map.forgetCycle V U S p c D ≠ 0) : |
| 129 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S := by |
| 130 | have hr : D ∈ Set.range (fun E : Map.SupportedSupport V U S p => E.val) := |
| 131 | Finsupp.mem_range_of_mapDomain_ne_zero hc |
| 132 | obtain ⟨E, hE⟩ := hr |
| 133 | exact hE ▸ E.property |
| 134 | |
| 135 | theorem supports_of_local_coefficients (c : Map.SupportedCycle V U S p) (e : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 136 | (hcoeff : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, (∃ x : U, x.val ∈ Set.range D.analyticInclusion) → |
| 137 | Map.forgetCycle V U S p c D = e D) : |
| 138 | ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, e D ≠ 0 → |
| 139 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S := by |
| 140 | intro D hD x hx |
| 141 | have hc : Map.forgetCycle V U S p c D ≠ 0 := by |
| 142 | rw [hcoeff D ⟨x, hx⟩] |
| 143 | exact hD |
| 144 | exact forgetCycle_supported V U S p c D hc hx |
| 145 | |
| 146 | theorem relativeClassMap_eq_restrict_of_local_coefficients |
| 147 | (c : Map.SupportedCycle V U S p) (e : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 148 | (hcoeff : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, (∃ x : U, x.val ∈ Set.range D.analyticInclusion) → |
| 149 | Map.forgetCycle V U S p c D = e D) : |
| 150 | Map.relativeClassMap V U S p c = Map.relativeClassMap V U S p (restrictCycle V U S p e) := by |
| 151 | apply Map.relativeClassMap_eq_of_local_coefficients |
| 152 | intro D hD |
| 153 | rw [forget_restrictCycle V U S p e (supports_of_local_coefficients V U S p c e hcoeff)] |
| 154 | exact hcoeff D hD |
| 155 | |
| 156 | end AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI |