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.Intersection |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport |
| 3 | |
| 4 | /-! # Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite cycles contained in a fixed algebraic closed set have an actual |
| 11 | supported class. Forgetting the support gives their original geometric class. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | namespace Constructions |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorCupForget.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.AbsoluteProductMaps.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.Degree.Constructions.Class |
| 21 | |
| 22 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (F : Closeds V.carrier) (p : ℕ) |
| 23 | |
| 24 | abbrev SupportedSupport := {Z : Geometric.DimensionCycles.DimensionCycleSupport V p // (Z.val : Set V.carrier) ⊆ F} |
| 25 | abbrev SupportedCycle := SupportedSupport V F p →₀ ℚ |
| 26 | |
| 27 | def forgetCycle : SupportedCycle V F p →ₗ[ℚ] Geometric.DimensionCycles.RationalDimensionCycle V p := |
| 28 | Finsupp.lmapDomain ℚ ℚ (fun Z : SupportedSupport V F p => Z.val) |
| 29 | |
| 30 | local notation "T" => TopCat.of V.analyticSpace |
| 31 | local notation "O" => (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ |
| 32 | |
| 33 | theorem supportComplement_subset (Z : SupportedSupport V F p) : |
| 34 | O ⊆ (Set.range Z.val.analyticInclusion)ᶜ := by |
| 35 | intro x hx hz |
| 36 | rw [Z.val.range_analyticInclusion] at hz |
| 37 | exact hx (Z.property hz) |
| 38 | |
| 39 | def relativeGenerator (Z : SupportedSupport V F p) : |
| 40 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T O (2 * p) := |
| 41 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 T) |
| 42 | (supportComplement_subset V F p Z) (2 * p) Z.val.rationalSupportedCycleClass |
| 43 | |
| 44 | def relativeClassMap : SupportedCycle V F p →ₗ[ℚ] |
| 45 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T O (2 * p) := |
| 46 | Finsupp.linearCombination ℚ (relativeGenerator V F p) |
| 47 | |
| 48 | def absoluteClassMap : SupportedCycle V F p →ₗ[ℚ] V.rationalCohomology (p + p) := |
| 49 | ((eqToHom (congrArg V.rationalCohomology (two_mul p))).hom.comp |
| 50 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T O (2 * p)).hom).comp |
| 51 | (relativeClassMap V F p) |
| 52 | |
| 53 | theorem relativeGenerator_absolute (Z : SupportedSupport V F p) : |
| 54 | eqToHom (congrArg V.rationalCohomology (two_mul p)) |
| 55 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T O (2 * p) (relativeGenerator V F p Z)) = |
| 56 | Z.val.geometricCycleClass := by |
| 57 | rw [← GeometricTrace.Constructions.HigherThom.rationalCycleClass_eq_geometric Z.val, Cycle.Degree.Constructions.Class.rationalCycleClass_as_cast Z.val] |
| 58 | unfold relativeGenerator |
| 59 | rw [ExteriorCupForget.Constructions.relativeInclusion_pullback, AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_id, ConcreteCategory.id_apply] |
| 60 | exact AbsoluteProductMaps.Constructions.absoluteDegreeCast_apply T (two_mul p) _ |
| 61 | |
| 62 | theorem absoluteClassMap_eq_geometric : |
| 63 | absoluteClassMap V F p = (V.geometricCycleClassMap p).comp (forgetCycle V F p) := by |
| 64 | apply Finsupp.lhom_ext |
| 65 | intro Z r |
| 66 | change eqToHom (congrArg V.rationalCohomology (two_mul p)) |
| 67 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T O (2 * p) |
| 68 | (relativeClassMap V F p (Finsupp.single Z r))) = |
| 69 | V.geometricCycleClassMap p (forgetCycle V F p (Finsupp.single Z r)) |
| 70 | rw [relativeClassMap, Finsupp.linearCombination_single, map_smul, map_smul, |
| 71 | relativeGenerator_absolute] |
| 72 | simp only [forgetCycle, Finsupp.lmapDomain_apply, Finsupp.mapDomain_single, |
| 73 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricCycleClassMap_single] |
| 74 | |
| 75 | theorem relativeClassMap_forget (d : SupportedCycle V F p) : |
| 76 | cast (congrArg (fun n => (V.rationalCohomology n : Type)) (two_mul p)) |
| 77 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T O (2 * p) (relativeClassMap V F p d)) = |
| 78 | V.geometricCycleClassMap p (forgetCycle V F p d) := by |
| 79 | have h := LinearMap.congr_fun (absoluteClassMap_eq_geometric V F p) d |
| 80 | change eqToHom (congrArg V.rationalCohomology (two_mul p)) |
| 81 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T O (2 * p) (relativeClassMap V F p d)) = _ at h |
| 82 | exact (AbsoluteProductMaps.Constructions.absoluteDegreeCast_apply T (two_mul p) _).symm.trans h |
| 83 | |
| 84 | end Constructions |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map |