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.Open.SupportedLift |
| 2 | |
| 3 | /-! # Cycle Lift -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.CycleLift.Constructions.OpenMap |
| 10 | |
| 11 | /-! The canonical supported class of a genuine algebraically supported |
| 12 | cycle restricts to its canonical finite-cycle class on every analytic |
| 13 | open. All maps retain the original cycle coefficients. -/ |
| 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) (F : Closeds V.carrier) (p : ℕ) |
| 21 | |
| 22 | local notation "G" => OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions.SupportedCycle V F p |
| 23 | local notation "GS" => OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions.SupportedSupport V F p |
| 24 | local notation "T" => TopCat.of V.analyticSpace |
| 25 | local notation "O" => (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ |
| 26 | |
| 27 | variable (U : Opens V.analyticSpace) |
| 28 | |
| 29 | local notation "S" => Subtype (fun x : U => V.analyticUnderlying (Subtype.val x) ∈ F) |
| 30 | |
| 31 | def openSupport (D : GS) : Open.SupportedLift.Constructions.Map.SupportedSupport V U |
| 32 | {x : U | V.analyticUnderlying x.val ∈ F} p := |
| 33 | ⟨D.val, by |
| 34 | intro x hx |
| 35 | rw [D.val.range_analyticInclusion] at hx |
| 36 | exact D.property hx⟩ |
| 37 | |
| 38 | def openCycle : G →ₗ[ℚ] Open.SupportedLift.Constructions.Map.SupportedCycle V U |
| 39 | {x : U | V.analyticUnderlying x.val ∈ F} p := |
| 40 | Finsupp.lmapDomain ℚ ℚ (openSupport V F p U) |
| 41 | |
| 42 | theorem forget_openCycle (c : G) : |
| 43 | Open.SupportedLift.Constructions.Map.forgetCycle V U {x : U | V.analyticUnderlying x.val ∈ F} p |
| 44 | (openCycle V F p U c) = Map.Constructions.forgetCycle V F p c := by |
| 45 | change Finsupp.mapDomain Subtype.val (Finsupp.mapDomain (openSupport V F p U) c) = |
| 46 | Finsupp.mapDomain Subtype.val c |
| 47 | exact Finsupp.mapDomain_comp.symm |
| 48 | |
| 49 | theorem relativeGenerator_open (D : GS) : |
| 50 | Open.SupportedLift.Constructions.Map.relativeGenerator V U {x : U | V.analyticUnderlying x.val ∈ F} p |
| 51 | (openSupport V F p U D) = |
| 52 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O U (2 * p) |
| 53 | (Map.Constructions.relativeGenerator V F p D) := by |
| 54 | exact (ConcreteCategory.congr_hom (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) |
| 55 | (Geometric.LocalHomology.Cycles.subspaceInclusion T (U : Set V.analyticSpace)) (𝟙 T) |
| 56 | (A := {x : U | V.analyticUnderlying x.val ∈ F}ᶜ) (B := O) |
| 57 | (fun _ hx => hx) (Map.Constructions.supportComplement_subset V F p D) (2 * p)) |
| 58 | D.val.rationalSupportedCycleClass).symm |
| 59 | |
| 60 | theorem relativeClassMap_open (c : G) : |
| 61 | Open.SupportedLift.Constructions.Map.relativeClassMap V U {x : U | V.analyticUnderlying x.val ∈ F} p |
| 62 | (openCycle V F p U c) = |
| 63 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O U (2 * p) |
| 64 | (Map.Constructions.relativeClassMap V F p c) := by |
| 65 | suffices h : (Open.SupportedLift.Constructions.Map.relativeClassMap V U {x : U | V.analyticUnderlying x.val ∈ F} p).comp |
| 66 | (openCycle V F p U) = |
| 67 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O U (2 * p)).hom.comp |
| 68 | (Map.Constructions.relativeClassMap V F p) from LinearMap.congr_fun h c |
| 69 | apply Finsupp.lhom_ext |
| 70 | intro D r |
| 71 | change Open.SupportedLift.Constructions.Map.relativeClassMap V U {x : U | V.analyticUnderlying x.val ∈ F} p |
| 72 | (openCycle V F p U (Finsupp.single D r)) = |
| 73 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O U (2 * p) |
| 74 | (Map.Constructions.relativeClassMap V F p (Finsupp.single D r)) |
| 75 | rw [openCycle, Finsupp.lmapDomain_apply, Finsupp.mapDomain_single, |
| 76 | Open.SupportedLift.Constructions.Map.relativeClassMap_single, Map.Constructions.relativeClassMap, |
| 77 | Finsupp.linearCombination_single, map_smul, relativeGenerator_open] |
| 78 | |
| 79 | theorem restrictCycle_class_of_global (c : G) : |
| 80 | Open.SupportedLift.Constructions.Map.relativeClassMap V U {x : U | V.analyticUnderlying x.val ∈ F} p |
| 81 | (Open.SupportedLift.Constructions.restrictCycle V U {x : U | V.analyticUnderlying x.val ∈ F} p |
| 82 | (Map.Constructions.forgetCycle V F p c)) = |
| 83 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O U (2 * p) |
| 84 | (Map.Constructions.relativeClassMap V F p c) := by |
| 85 | have h := Open.SupportedLift.Constructions.relativeClassMap_eq_restrict_of_local_coefficients |
| 86 | V U {x : U | V.analyticUnderlying x.val ∈ F} p (openCycle V F p U c) |
| 87 | (Map.Constructions.forgetCycle V F p c) (fun C _ => congrArg (fun z => z C) (forget_openCycle V F p U c)) |
| 88 | exact h.symm.trans (relativeClassMap_open V F p U c) |
| 89 | |
| 90 | end AlgebraicGeometry.CycleClass.Thom.Supported.CycleLift.Constructions.OpenMap |
| 91 | |
| 92 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.CycleLift.Constructions |
| 93 | |
| 94 | /-! The actual cycle coefficients provide a canonical lift to an |
| 95 | algebraic closed support; its relative class restricts to the canonical |
| 96 | class on every analytic open. -/ |
| 97 | |
| 98 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 99 | |
| 100 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Supported.CycleLift.Constructions.OpenMap |
| 101 | |
| 102 | set_option backward.isDefEq.respectTransparency false |
| 103 | set_option backward.isDefEq.respectTransparency.types false |
| 104 | |
| 105 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (F : Closeds V.carrier) (p : ℕ) |
| 106 | |
| 107 | def liftCycle (c : Geometric.DimensionCycles.RationalDimensionCycle V p) : Map.Constructions.SupportedCycle V F p := |
| 108 | Finsupp.subtypeDomain (fun D : Geometric.DimensionCycles.DimensionCycleSupport V p => (D.val : Set V.carrier) ⊆ F) c |
| 109 | |
| 110 | theorem forget_liftCycle (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 111 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → (D.val : Set V.carrier) ⊆ F) : |
| 112 | Map.Constructions.forgetCycle V F p (liftCycle V F p c) = c := by |
| 113 | classical |
| 114 | ext D |
| 115 | by_cases hD : (D.val : Set V.carrier) ⊆ F |
| 116 | · exact (Finsupp.mapDomain_apply_of_injective Subtype.val_injective (liftCycle V F p c) ⟨D, hD⟩).trans rfl |
| 117 | · have hz : c D = 0 := by |
| 118 | by_contra hn |
| 119 | exact hD (hc D hn) |
| 120 | rw [hz] |
| 121 | exact Finsupp.mapDomain_of_notMem_range (liftCycle V F p c) D (by |
| 122 | rintro ⟨E, he⟩ |
| 123 | exact hD (he ▸ E.property)) |
| 124 | |
| 125 | theorem supportedClass_on_open (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 126 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → (D.val : Set V.carrier) ⊆ F) |
| 127 | (U : Opens V.analyticSpace) : |
| 128 | Open.SupportedLift.Constructions.Map.relativeClassMap V U {x : U | V.analyticUnderlying x.val ∈ F} p |
| 129 | (Open.SupportedLift.Constructions.restrictCycle V U {x : U | V.analyticUnderlying x.val ∈ F} p c) = |
| 130 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 131 | (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ U (2 * p) |
| 132 | (Map.Constructions.relativeClassMap V F p (liftCycle V F p c)) := by |
| 133 | have h := OpenMap.restrictCycle_class_of_global V F p U (liftCycle V F p c) |
| 134 | rw [forget_liftCycle V F p c hc] at h |
| 135 | exact h |
| 136 | |
| 137 | end AlgebraicGeometry.CycleClass.Thom.Supported.CycleLift.Constructions |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI |