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.Geometric.Extension |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RegularThom |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SingularBoundaryPurity |
| 4 | import OAI.AlgebraicGeometry.Betti.ProjectiveCohomology |
| 5 | import Mathlib.LinearAlgebra.Finsupp.LinearCombination |
| 6 | |
| 7 | /-! # Span -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Rational classes of genuine algebraic cycles |
| 15 | |
| 16 | The class of an irreducible support is obtained from the normalized Thom |
| 17 | class of its actual smooth locus. The two proved singular-boundary |
| 18 | vanishings give its unique extension with support in the original closed |
| 19 | subvariety. Forgetting support gives the rational Betti class, and genuine |
| 20 | finite rational cycles act by finite linear combination. |
| 21 | |
| 22 | This module is assembled only from geometric classes and proved extension |
| 23 | isomorphisms; its final class map has no class, comparison, or purity fields. |
| 24 | -/ |
| 25 | |
| 26 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 27 | open scoped BigOperators |
| 28 | |
| 29 | namespace CycleClass.Geometric |
| 30 | |
| 31 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 32 | |
| 33 | /-- The relative class supported on the whole irreducible algebraic |
| 34 | subvariety, including its singular points. -/ |
| 35 | def DimensionCycles.DimensionCycleSupport.rationalSupportedCycleClass (Z : DimensionCycles.DimensionCycleSupport V p) : |
| 36 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 37 | (Set.range Z.analyticInclusion)ᶜ (2 * p) := |
| 38 | (Z.regularToSupportCohomologyIso (ModuleCat.of ℚ ℚ) (2 * p) |
| 39 | Z.singularBoundaryRationalCohomology_two_mul_isZero |
| 40 | Z.singularBoundaryRationalCohomology_two_mul_add_one_isZero).hom Z.regularThomClass |
| 41 | |
| 42 | /-- The supported extension restricts to the actual smooth-locus Thom class. -/ |
| 43 | theorem DimensionCycles.DimensionCycleSupport.rationalSupportedCycleClass_restrict (Z : DimensionCycles.DimensionCycleSupport V p) : |
| 44 | Z.regularSupportRestriction (ModuleCat.of ℚ ℚ) (2 * p) |
| 45 | Z.rationalSupportedCycleClass = Z.regularThomClass := |
| 46 | ConcreteCategory.congr_hom |
| 47 | (Z.regularToSupportCohomologyIso_hom_restriction (ModuleCat.of ℚ ℚ) (2 * p) |
| 48 | Z.singularBoundaryRationalCohomology_two_mul_isZero |
| 49 | Z.singularBoundaryRationalCohomology_two_mul_add_one_isZero) |
| 50 | Z.regularThomClass |
| 51 | |
| 52 | /-- The restriction above is literally pullback along the open inclusion |
| 53 | of the singular-boundary complement. -/ |
| 54 | theorem DimensionCycles.DimensionCycleSupport.rationalSupportedCycleClass_regularPullback (Z : DimensionCycles.DimensionCycleSupport V p) : |
| 55 | Z.regularThomCohomologyRestriction (ModuleCat.of ℚ ℚ) (2 * p) |
| 56 | Z.rationalSupportedCycleClass = Z.regularThomClass := by |
| 57 | rw [← Z.relativeCohomologyTripleRestriction_regularThom (ModuleCat.of ℚ ℚ) (2 * p)] |
| 58 | exact Z.rationalSupportedCycleClass_restrict |
| 59 | |
| 60 | /-- This is the unique supported class with that genuine smooth restriction. -/ |
| 61 | theorem DimensionCycles.DimensionCycleSupport.rationalSupportedCycleClass_unique (Z : DimensionCycles.DimensionCycleSupport V p) |
| 62 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 63 | (Set.range Z.analyticInclusion)ᶜ (2 * p)) |
| 64 | (hc : Z.regularSupportRestriction (ModuleCat.of ℚ ℚ) (2 * p) c = |
| 65 | Z.regularThomClass) : c = Z.rationalSupportedCycleClass := |
| 66 | Z.regularToSupportCohomologyIso_unique (ModuleCat.of ℚ ℚ) (2 * p) |
| 67 | Z.singularBoundaryRationalCohomology_two_mul_isZero |
| 68 | Z.singularBoundaryRationalCohomology_two_mul_add_one_isZero |
| 69 | Z.regularThomClass c hc |
| 70 | |
| 71 | /-- The rational absolute Betti class, with degree written as p+p to match |
| 72 | the actual pure-type de Rham and Hodge-class interfaces. -/ |
| 73 | def DimensionCycles.DimensionCycleSupport.rationalCycleClass (Z : DimensionCycles.DimensionCycleSupport V p) : |
| 74 | V.rationalCohomology (p + p) := by |
| 75 | change AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) (p + p) |
| 76 | simpa only [two_mul] using |
| 77 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 78 | (Set.range Z.analyticInclusion)ᶜ (2 * p) Z.rationalSupportedCycleClass) |
| 79 | |
| 80 | end CycleClass.Geometric |
| 81 | |
| 82 | /-- The actual rational algebraic cycle-class map: finite rational linear |
| 83 | combination of the geometric classes of irreducible closed supports. -/ |
| 84 | def Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalCycleClass (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) : |
| 85 | CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V p →ₗ[ℚ] V.rationalCohomology (p + p) := |
| 86 | Finsupp.linearCombination ℚ (fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.rationalCycleClass) |
| 87 | |
| 88 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalCycleClass_apply (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 89 | (z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V p) : |
| 90 | V.rationalCycleClass p z = z.sum (fun Z q => q • Z.rationalCycleClass) := |
| 91 | Finsupp.linearCombination_apply ℚ (v := fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => |
| 92 | Z.rationalCycleClass) z |
| 93 | |
| 94 | @[simp] |
| 95 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalCycleClass_single (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 96 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (q : ℚ) : |
| 97 | V.rationalCycleClass p (Finsupp.single Z q) = q • Z.rationalCycleClass := |
| 98 | Finsupp.linearCombination_single ℚ (v := fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => |
| 99 | Z.rationalCycleClass) q Z |
| 100 | |
| 101 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.range_rationalCycleClass (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) : |
| 102 | LinearMap.range (V.rationalCycleClass p) = Submodule.span ℚ |
| 103 | (Set.range (fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.rationalCycleClass)) := |
| 104 | Finsupp.range_linearCombination ℚ (v := fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => |
| 105 | Z.rationalCycleClass) |
| 106 | |
| 107 | /-- The subspace of rational algebraic cycle classes in genuine rational |
| 108 | singular cohomology. -/ |
| 109 | def Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalAlgebraicClasses (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) : |
| 110 | Submodule ℚ (V.rationalCohomology (p + p)) := |
| 111 | LinearMap.range (V.rationalCycleClass p) |
| 112 | |
| 113 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.mem_rationalAlgebraicClasses_iff (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 114 | (c : V.rationalCohomology (p + p)) : |
| 115 | c ∈ V.rationalAlgebraicClasses p ↔ |
| 116 | ∃ z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V p, V.rationalCycleClass p z = c := Iff.rfl |
| 117 | |
| 118 | /-- Algebraicity means a finite rational linear combination of precisely |
| 119 | the classes of genuine codimension-p irreducible algebraic supports. -/ |
| 120 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalAlgebraicClasses_eq_span (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) : |
| 121 | V.rationalAlgebraicClasses p = Submodule.span ℚ |
| 122 | (Set.range (fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.rationalCycleClass)) := |
| 123 | Finsupp.range_linearCombination ℚ (v := fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => |
| 124 | Z.rationalCycleClass) |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry |