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.AlgebraicTopology.DeRham.Comparison.GeometricCycleTrace |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.RegularAmbientCohomology |
| 3 | import OAI.AlgebraicTopology.Duality.Poincare.CompactSupportAnd |
| 4 | import Mathlib.LinearAlgebra.Finsupp.LinearCombination |
| 5 | |
| 6 | /-! # Geometric Cycle Class -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleClass |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # The ambient geometric class determined by fundamental-cycle traces |
| 14 | |
| 15 | The actual proper trace of the regular locus is a functional on all |
| 16 | complementary compact-support cohomology classes. Canonical Poincare duality |
| 17 | and the field universal-coefficient theorem represent this functional by a |
| 18 | unique ordinary class on the complement of the singular boundary. The |
| 19 | proved absolute restriction isomorphism extends it uniquely to the ambient |
| 20 | projective variety. |
| 21 | |
| 22 | The construction uses no supported Thom class or assumed comparison with |
| 23 | the existing supported cycle-class construction. Their comparison is a |
| 24 | separate theorem. |
| 25 | -/ |
| 26 | |
| 27 | open _root_.CategoryTheory |
| 28 | open OAI.AlgebraicTopology.Duality.Poincare.CompactSupportAnd |
| 29 | |
| 30 | namespace DimensionCycleSupport |
| 31 | |
| 32 | variable {V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 33 | |
| 34 | /-- The unique class on the actual regular ambient open set whose |
| 35 | compact-support evaluations are the proper fundamental-cycle trace. -/ |
| 36 | def _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularGeometricCycleClass (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 37 | Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) (p + p) := |
| 38 | (Duality.Poincare.CompactSupportAnd.compactSupportDualCohomologyEquiv V.complexDimension |
| 39 | (M := Z.regularAmbientSpace) (p + p) (2 * Z.regularComplexDimension) |
| 40 | Z.regularGeometricTrace_degree).symm Z.regularGeometricTrace |
| 41 | |
| 42 | /-- The defining characterization holds for every complementary |
| 43 | compact-support class, not merely classes supported in coordinate charts. -/ |
| 44 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularGeometricCycleClass_evaluation (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 45 | (b : Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) |
| 46 | (TopCat.of Z.regularAmbientSpace) (2 * Z.regularComplexDimension)) : |
| 47 | Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) (2 * Z.regularComplexDimension) |
| 48 | Z.regularGeometricTrace_degree Z.regularGeometricCycleClass b = |
| 49 | Z.regularGeometricTrace b := |
| 50 | Duality.Poincare.CompactSupportAnd.compactSupportDualCohomologyEquiv_symm_apply V.complexDimension |
| 51 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 52 | Z.regularGeometricTrace b |
| 53 | |
| 54 | /-- The actual field UCT and canonical cap duality prove uniqueness of |
| 55 | the class with the specified geometric trace on all compact-support tests. -/ |
| 56 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularGeometricCycleClass_unique (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 57 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) |
| 58 | (TopCat.of Z.regularAmbientSpace) (p + p)) |
| 59 | (ha : ∀ b, Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) |
| 60 | (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree a b = |
| 61 | Z.regularGeometricTrace b) : |
| 62 | a = Z.regularGeometricCycleClass := by |
| 63 | apply (Duality.Poincare.CompactSupportAnd.cohomology_eq_iff_compactSupportEvaluation_eq V.complexDimension |
| 64 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 65 | a Z.regularGeometricCycleClass).mpr |
| 66 | intro b |
| 67 | exact (ha b).trans (Z.regularGeometricCycleClass_evaluation b).symm |
| 68 | |
| 69 | /-- Equality to the regular geometric class is equivalent to its full |
| 70 | geometric trace characterization. -/ |
| 71 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.eq_regularGeometricCycleClass_iff (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 72 | (a : Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) |
| 73 | (TopCat.of Z.regularAmbientSpace) (p + p)) : |
| 74 | a = Z.regularGeometricCycleClass ↔ |
| 75 | ∀ b, Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) |
| 76 | (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree a b = |
| 77 | Z.regularGeometricTrace b := by |
| 78 | constructor |
| 79 | · rintro rfl |
| 80 | exact Z.regularGeometricCycleClass_evaluation |
| 81 | · exact Z.regularGeometricCycleClass_unique a |
| 82 | |
| 83 | /-- The geometric rational class on the ambient projective variety is |
| 84 | the unique extension of the regular-locus trace class across the actual |
| 85 | singular boundary. -/ |
| 86 | def _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleClass (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 87 | V.rationalCohomology (p + p) := |
| 88 | Z.regularAmbientCohomologyIso.inv Z.regularGeometricCycleClass |
| 89 | |
| 90 | /-- Restriction of the ambient geometric class is exactly the class |
| 91 | represented by the proper regular-locus trace functional. -/ |
| 92 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleClass_regularRestriction (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 93 | Z.regularAmbientCohomologyRestriction (p + p) Z.geometricCycleClass = |
| 94 | Z.regularGeometricCycleClass := |
| 95 | Z.regularAmbientCohomologyIso.toLinearEquiv.apply_symm_apply Z.regularGeometricCycleClass |
| 96 | |
| 97 | /-- The ambient class has the required geometric trace on every |
| 98 | complementary compact-support test in the regular ambient open set. -/ |
| 99 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleClass_evaluation (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 100 | (b : Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) |
| 101 | (TopCat.of Z.regularAmbientSpace) (2 * Z.regularComplexDimension)) : |
| 102 | Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) (2 * Z.regularComplexDimension) |
| 103 | Z.regularGeometricTrace_degree |
| 104 | (Z.regularAmbientCohomologyRestriction (p + p) Z.geometricCycleClass) b = |
| 105 | Z.regularGeometricTrace b := by |
| 106 | rw [Z.geometricCycleClass_regularRestriction] |
| 107 | exact Z.regularGeometricCycleClass_evaluation b |
| 108 | |
| 109 | /-- These actual geometric evaluations uniquely determine an ordinary |
| 110 | rational class on the whole projective variety. -/ |
| 111 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleClass_unique (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 112 | (a : V.rationalCohomology (p + p)) |
| 113 | (ha : ∀ b, Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) |
| 114 | (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 115 | (Z.regularAmbientCohomologyRestriction (p + p) a) b = |
| 116 | Z.regularGeometricTrace b) : |
| 117 | a = Z.geometricCycleClass := by |
| 118 | apply Z.regularAmbientCohomologyRestriction_injective |
| 119 | rw [Z.geometricCycleClass_regularRestriction] |
| 120 | exact Z.regularGeometricCycleClass_unique _ ha |
| 121 | |
| 122 | /-- A full geometric characterization, with every compact-support test |
| 123 | and the actual open restriction explicit. -/ |
| 124 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.eq_geometricCycleClass_iff (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 125 | (a : V.rationalCohomology (p + p)) : |
| 126 | a = Z.geometricCycleClass ↔ |
| 127 | ∀ b, Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) |
| 128 | (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 129 | (Z.regularAmbientCohomologyRestriction (p + p) a) b = |
| 130 | Z.regularGeometricTrace b := by |
| 131 | constructor |
| 132 | · rintro rfl |
| 133 | exact Z.geometricCycleClass_evaluation |
| 134 | · exact Z.geometricCycleClass_unique a |
| 135 | |
| 136 | /-- Existence and uniqueness are proved from the genuine trace, UCT, |
| 137 | Poincare duality, and the actual singular-boundary vanishing theorem. -/ |
| 138 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.existsUnique_geometricCycleClass (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 139 | ∃! a : V.rationalCohomology (p + p), |
| 140 | ∀ b, Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) |
| 141 | (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 142 | (Z.regularAmbientCohomologyRestriction (p + p) a) b = |
| 143 | Z.regularGeometricTrace b := |
| 144 | ⟨Z.geometricCycleClass, Z.geometricCycleClass_evaluation, Z.geometricCycleClass_unique⟩ |
| 145 | |
| 146 | end DimensionCycleSupport |
| 147 | |
| 148 | namespace IntegralProjectiveVariety |
| 149 | |
| 150 | /-- Finite rational cycles act by finite rational combination of the |
| 151 | independently constructed geometric fundamental-cycle trace classes. -/ |
| 152 | def _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricCycleClassMap (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) : |
| 153 | AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V p →ₗ[ℚ] V.rationalCohomology (p + p) := |
| 154 | Finsupp.linearCombination ℚ (fun Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.geometricCycleClass) |
| 155 | |
| 156 | @[simp] |
| 157 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricCycleClassMap_single (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 158 | (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (q : ℚ) : |
| 159 | V.geometricCycleClassMap p (Finsupp.single Z q) = q • Z.geometricCycleClass := |
| 160 | Finsupp.linearCombination_single ℚ |
| 161 | (v := fun Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.geometricCycleClass) q Z |
| 162 | |
| 163 | theorem _root_.OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.range_geometricCycleClassMap (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) : |
| 164 | LinearMap.range (V.geometricCycleClassMap p) = |
| 165 | Submodule.span ℚ (Set.range |
| 166 | (fun Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.geometricCycleClass)) := |
| 167 | Finsupp.range_linearCombination ℚ |
| 168 | (v := fun Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.geometricCycleClass) |
| 169 | |
| 170 | end IntegralProjectiveVariety |
| 171 | |
| 172 | end |
| 173 | |
| 174 | end OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleClass |