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.HodgeConjecture.HeckeCycles.GeometricSource |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.RealizedHodgeMaps |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.CompactManifoldFundamental |
| 4 | import OAI.AlgebraicTopology.Duality.Poincare.IntegralHomologyCoefficients |
| 5 | import OAI.AlgebraicTopology.Products.CupCohomology |
| 6 | |
| 7 | /-! # Cm -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Cm |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | Native geometric interfaces for ThetaCycle. A surface is an actual integral smooth |
| 15 | projective scheme of complex dimension two. Its fundamental class is the |
| 16 | constructed complex-oriented integral class, extended to complex coefficients; |
| 17 | evaluation is the genuine singular homology/cohomology pairing. |
| 18 | Principal refinements retain the literal ball uniformizations, algebraic map, |
| 19 | finite covering degree, and the integral fundamental-class degree law. These |
| 20 | are output data in ThetaCycle, not hypotheses granting its missing surface. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory |
| 24 | open OAI.AlgebraicGeometry.CycleClass.Geometric.CompactManifoldFundamental.Cycles OAI.AlgebraicTopology.Duality.Poincare.IntegralHomologyCoefficients |
| 25 | |
| 26 | /-- Actual cup product on complex Betti cohomology. -/ |
| 27 | abbrev cup (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) := |
| 28 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup |
| 29 | (R := ℂ) (Betti.Scheme.schemePointSpace X.toOver) p q |
| 30 | |
| 31 | /-- The source's surface condition uses the derived algebraic dimension. -/ |
| 32 | abbrev ProjectiveSurface := |
| 33 | {X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety // X.complexDimension = 2} |
| 34 | |
| 35 | namespace ProjectiveSurface |
| 36 | |
| 37 | abbrev variety (S : ProjectiveSurface) : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := S.val |
| 38 | |
| 39 | /-- The canonical integral fundamental class, transported only in degree. -/ |
| 40 | def integralClass (S : ProjectiveSurface) : |
| 41 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (Betti.Scheme.schemePointSpace S.variety.toOver)).homology 4 := |
| 42 | (eqToHom (congrArg |
| 43 | (fun n => (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains |
| 44 | (Betti.Scheme.schemePointSpace S.variety.toOver)).homology n) |
| 45 | (show 2 * S.variety.complexDimension = 4 by rw [S.property]))) |
| 46 | (CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass |
| 47 | S.variety.complexDimension S.variety.analyticSpace) |
| 48 | |
| 49 | /-- The same class with complex coefficients; no class is supplied as input. -/ |
| 50 | def fundamentalClass (S : ProjectiveSurface) : |
| 51 | (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℂ) |
| 52 | (Betti.Scheme.schemePointSpace S.variety.toOver)).homology 4 := |
| 53 | AlgebraicTopology.Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℂ) |
| 54 | (Betti.Scheme.schemePointSpace S.variety.toOver) 4 S.integralClass |
| 55 | |
| 56 | /-- Actual evaluation on the complex-oriented fundamental class. -/ |
| 57 | def evaluate (S : ProjectiveSurface) : |
| 58 | S.variety.complexCohomology 4 →ₗ[ℂ] ℂ := |
| 59 | (LinearMap.applyₗ' ℂ S.fundamentalClass).comp |
| 60 | (AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℂ ℂ) |
| 61 | (Betti.Scheme.schemePointSpace S.variety.toOver) 4) |
| 62 | |
| 63 | theorem evaluate_eq (S : ProjectiveSurface) |
| 64 | (z : S.variety.complexCohomology 4) : |
| 65 | S.evaluate z = |
| 66 | AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℂ ℂ) |
| 67 | (Betti.Scheme.schemePointSpace S.variety.toOver) 4 z |
| 68 | (AlgebraicTopology.Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology (R := ℂ) |
| 69 | (Betti.Scheme.schemePointSpace S.variety.toOver) 4 S.integralClass) := rfl |
| 70 | |
| 71 | end ProjectiveSurface |
| 72 | |
| 73 | variable (K : IntermediateField ℚ ℂ) |
| 74 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 75 | |
| 76 | /-- The actual principal quotient of the specified rank-three Hermitian ball. -/ |
| 77 | structure PrincipalBallSurface (B : HeckeCycles.GeometricSource.CM.BallDatum K) (N : ℕ) where |
| 78 | surface : ProjectiveSurface |
| 79 | torsion_free : ∀ g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K, |
| 80 | B.principalLevel N g → ∀ k : ℕ, 0 < k → g ^ k = 1 → g = 1 |
| 81 | projection : B.Domain → surface.variety.analyticSpace |
| 82 | isBallCover : B.IsBallCover N surface.variety projection |
| 83 | |
| 84 | /-- A common deeper congruence cover, retaining its geometric degree law. |
| 85 | The degree law is about the canonical integral classes, not an arbitrary |
| 86 | linear functional. Existence of this record remains part of the main target. -/ |
| 87 | structure PrincipalRefinement {B : HeckeCycles.GeometricSource.CM.BallDatum K} |
| 88 | {N M : ℕ} (S : PrincipalBallSurface K B N) |
| 89 | (T : PrincipalBallSurface K B M) where |
| 90 | divides : N ∣ M |
| 91 | map : T.surface.variety.toOver ⟶ S.surface.variety.toOver |
| 92 | over_ball : ∀ z : B.Domain, |
| 93 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map map) (T.projection z) = S.projection z |
| 94 | covering : IsCoveringMap (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map map) |
| 95 | degree : ℕ |
| 96 | degree_pos : 0 < degree |
| 97 | fibers : ∀ x : S.surface.variety.analyticSpace, |
| 98 | Nat.card {y : T.surface.variety.analyticSpace // |
| 99 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map map) y = x} = degree |
| 100 | integral_degree : |
| 101 | HomologicalComplex.homologyMap |
| 102 | (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map map)) 4 |
| 103 | T.surface.integralClass = degree • S.surface.integralClass |
| 104 | |
| 105 | namespace PrincipalRefinement |
| 106 | |
| 107 | variable {K} {B : HeckeCycles.GeometricSource.CM.BallDatum K} {N M : ℕ} |
| 108 | {S : PrincipalBallSurface K B N} {T : PrincipalBallSurface K B M} |
| 109 | |
| 110 | omit [IsGalois ℚ K] in |
| 111 | /-- Extension of coefficients preserves the actual covering degree law. -/ |
| 112 | theorem fundamentalClass_map (p : PrincipalRefinement K S T) : |
| 113 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℂ) |
| 114 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map p.map) 4 T.surface.fundamentalClass = |
| 115 | (p.degree : ℂ) • S.surface.fundamentalClass := by |
| 116 | unfold ProjectiveSurface.fundamentalClass |
| 117 | rw [AlgebraicTopology.Duality.Poincare.IntegralHomologyCoefficients.integralToScalarSingularHomology_naturality, |
| 118 | p.integral_degree, map_nsmul, Nat.cast_smul_eq_nsmul] |
| 119 | |
| 120 | omit [IsGalois ℚ K] in |
| 121 | /-- ThetaCoverDegree's degree scaling in the native Betti/fundamental-class interface. -/ |
| 122 | theorem evaluate_pullback (p : PrincipalRefinement K S T) |
| 123 | (z : S.surface.variety.complexCohomology 4) : |
| 124 | T.surface.evaluate |
| 125 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 4 p.map z) = |
| 126 | (p.degree : ℂ) * S.surface.evaluate z := by |
| 127 | change AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℂ ℂ) |
| 128 | (Betti.Scheme.schemePointSpace T.surface.variety.toOver) 4 |
| 129 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) |
| 130 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map p.map) 4 z) T.surface.fundamentalClass = _ |
| 131 | rw [AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularEvaluation_naturality, p.fundamentalClass_map, map_smul] |
| 132 | rfl |
| 133 | |
| 134 | omit [IsGalois ℚ K] in |
| 135 | /-- A common finite cover preserves nonvanishing of the actual evaluation. -/ |
| 136 | theorem evaluate_pullback_ne_zero (p : PrincipalRefinement K S T) |
| 137 | (z : S.surface.variety.complexCohomology 4) |
| 138 | (hz : S.surface.evaluate z ≠ 0) : |
| 139 | T.surface.evaluate |
| 140 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 4 p.map z) ≠ 0 := by |
| 141 | rw [p.evaluate_pullback] |
| 142 | exact mul_ne_zero (Nat.cast_ne_zero.mpr (Nat.ne_of_gt p.degree_pos)) hz |
| 143 | |
| 144 | end PrincipalRefinement |
| 145 | |
| 146 | /-- The original rational-Hodge-map span remains available for extraction. -/ |
| 147 | def cmLineSpan |
| 148 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 149 | (HX : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (X.rationalCohomology 1)) |
| 150 | (v : ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 151 | (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 152 | (τ : Gal(K/ℚ)) : |
| 153 | Submodule ℂ (X.complexCohomology 1) := |
| 154 | Submodule.span ℂ |
| 155 | {z | ∃ u : K →ₗ[ℚ] X.rationalCohomology 1, |
| 156 | ComplexMultiplication.WeightOne.CM.IsHodgeMap (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K v) HX u ∧ |
| 157 | z = ComplexMultiplication.CohomologyBaseChange.CM.singularCohomologyComplexification |
| 158 | (Betti.Scheme.schemePointSpace X.toOver) 1 |
| 159 | (u.baseChange ℂ |
| 160 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ)))} |
| 161 | |
| 162 | /-- Finite complex linear combinations of wedges from two spaces. -/ |
| 163 | def wedgeSpan |
| 164 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 165 | (S T : Submodule ℂ (X.complexCohomology 1)) : |
| 166 | Submodule ℂ (X.complexCohomology 2) := |
| 167 | Submodule.span ℂ |
| 168 | {z | ∃ a ∈ S, ∃ b ∈ T, z = cup X 1 1 a b} |
| 169 | |
| 170 | /-- The four prescribed embedding classes, pulled back by algebraic maps. -/ |
| 171 | def fourClass |
| 172 | (v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern |
| 173 | (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)) |
| 174 | (R : ∀ i, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure K (v i))) |
| 175 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 176 | (f : (i : Fin 4) → X.toOver ⟶ (R i).abelianVariety.toOver) : |
| 177 | X.complexCohomology 4 := |
| 178 | let b : Fin 4 → X.complexCohomology 1 := fun i => |
| 179 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (f i) |
| 180 | ((R i).complexComparison |
| 181 | (ComplexMultiplication.EmbeddingDecomposition.CM.embeddingVector K (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K |
| 182 | (if i.val < 2 then 1 else ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K)))) |
| 183 | cup X 2 2 (cup X 1 1 (b 0) (b 1)) (cup X 1 1 (b 2) (b 3)) |
| 184 | |
| 185 | end |
| 186 | |
| 187 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Cm |