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.ProjectivePresentation |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Ord |
| 3 | import Mathlib.LinearAlgebra.Quotient.Basic |
| 4 | |
| 5 | /-! # Chow -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Chow.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # LineBundleCycles: rational equivalence and the rational Chow quotient |
| 15 | |
| 16 | The generators below are principal divisors of nonzero rational functions |
| 17 | on the actual reduced integral closed subschemes of codimension one less. |
| 18 | Their multiplicities are `Scheme.ord`, defined using lengths of local-ring |
| 19 | quotients. Equality of coefficients is required at every scheme point, |
| 20 | including points outside the requested codimension. No cohomological |
| 21 | condition enters the definition of rational equivalence. |
| 22 | |
| 23 | The cycle-class descent and refined intersection pullback are separate |
| 24 | constructions; this file does not assume their existence or compatibility. |
| 25 | -/ |
| 26 | |
| 27 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 28 | |
| 29 | /-- The generic-point indexing of the existing finite cycle group. -/ |
| 30 | def cyclePointEmbedding (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 31 | X.DimensionCycleSupport p ↪ X.carrier where |
| 32 | toFun Z := irreducibleSetEquivPoints Z.1 |
| 33 | inj' := fun _ _ h => Subtype.ext (irreducibleSetEquivPoints.injective h) |
| 34 | |
| 35 | /-- The coefficients of a graded cycle, extended by zero to all scheme points. -/ |
| 36 | def pointCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 37 | (z : X.RationalDimensionCycle p) : X.carrier →₀ ℚ := |
| 38 | Finsupp.embDomain (cyclePointEmbedding X p) z |
| 39 | |
| 40 | @[simp] |
| 41 | theorem pointCycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 42 | (z : X.RationalDimensionCycle p) (Z : X.DimensionCycleSupport p) : |
| 43 | pointCycle X p z (cyclePointEmbedding X p Z) = z Z := |
| 44 | Finsupp.embDomain_apply_self _ _ _ |
| 45 | |
| 46 | theorem pointCycle_injective (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 47 | Function.Injective (pointCycle X p) := |
| 48 | Finsupp.embDomain_injective _ |
| 49 | |
| 50 | /-- The integral reduced scheme supporting a potential rational-equivalence |
| 51 | generator is locally Noetherian, even when that support is singular. -/ |
| 52 | instance supportNoetherian (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 53 | (W : IrreducibleCloseds X.carrier) : |
| 54 | AlgebraicGeometry.IsNoetherian (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) := |
| 55 | (X.projective.reducedSupport W).isNoetherian |
| 56 | |
| 57 | /-- The finite rational principal divisor pushed along the support inclusion. |
| 58 | Finiteness is proved for every rational function in `Divisors`. -/ |
| 59 | def principalDivisorCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 60 | (W : IrreducibleCloseds X.carrier) |
| 61 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : X.carrier →₀ ℚ := |
| 62 | Finsupp.embDomain |
| 63 | ⟨CycleClass.Geometric.GenericPoint.reducedSupportι W, (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective⟩ |
| 64 | ((Ord.BundleCycles.principalDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) f).mapRange |
| 65 | (fun n : ℤ => (n : ℚ)) (Int.cast_zero)) |
| 66 | |
| 67 | /-- Push a principal-divisor coefficient function along the actual closed |
| 68 | immersion. Closed immersions preserve the residue fields, so no residue-degree |
| 69 | factor is needed. Coefficients outside the support are zero. -/ |
| 70 | def principalDivisorCoefficients (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 71 | (W : IrreducibleCloseds X.carrier) |
| 72 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : X.carrier → ℚ := |
| 73 | Function.extend (CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 74 | (fun x => ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).ord f x : ℚ)) 0 |
| 75 | |
| 76 | @[simp] |
| 77 | theorem principalDivisorCoefficients_at_support (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 78 | (W : IrreducibleCloseds X.carrier) |
| 79 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme W) : |
| 80 | principalDivisorCoefficients X W f ((CycleClass.Geometric.GenericPoint.reducedSupportι W) x) = |
| 81 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).ord f x : ℚ) := |
| 82 | (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective.extend_apply _ _ _ |
| 83 | |
| 84 | theorem principalDivisorCoefficients_off_support (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 85 | (W : IrreducibleCloseds X.carrier) |
| 86 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (x : X.carrier) |
| 87 | (hx : x ∉ (W : Set X.carrier)) : |
| 88 | principalDivisorCoefficients X W f x = 0 := by |
| 89 | apply Function.extend_apply' |
| 90 | simpa only [← Set.mem_range, CycleClass.Geometric.GenericPoint.range_reducedSupportι] using hx |
| 91 | |
| 92 | /-- The finite divisor has exactly the local-length multiplicities above. -/ |
| 93 | theorem principalDivisorCycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 94 | (W : IrreducibleCloseds X.carrier) |
| 95 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (x : X.carrier) : |
| 96 | principalDivisorCycle X W f x = principalDivisorCoefficients X W f x := by |
| 97 | classical |
| 98 | by_cases hx : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 99 | · obtain ⟨y, rfl⟩ := hx |
| 100 | rw [principalDivisorCoefficients_at_support] |
| 101 | exact Finsupp.embDomain_apply_self _ _ _ |
| 102 | · rw [principalDivisorCoefficients_off_support X W f x |
| 103 | (by simpa only [CycleClass.Geometric.GenericPoint.range_reducedSupportι] using hx)] |
| 104 | exact Finsupp.embDomain_of_notMem_range _ _ _ hx |
| 105 | |
| 106 | /-- Orders of products add, including after extension to ambient points. -/ |
| 107 | theorem principalDivisorCoefficients_mul (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 108 | (W : IrreducibleCloseds X.carrier) |
| 109 | (f g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (hf : f ≠ 0) (hg : g ≠ 0) : |
| 110 | principalDivisorCoefficients X W (f * g) = |
| 111 | principalDivisorCoefficients X W f + principalDivisorCoefficients X W g := by |
| 112 | classical |
| 113 | funext x |
| 114 | by_cases hx : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 115 | · obtain ⟨y, rfl⟩ := hx |
| 116 | simp only [Pi.add_apply, principalDivisorCoefficients_at_support, |
| 117 | Scheme.ord_mul hf hg, Int.cast_add] |
| 118 | · have hxW : x ∉ (W : Set X.carrier) := by |
| 119 | simpa only [CycleClass.Geometric.GenericPoint.range_reducedSupportι] using hx |
| 120 | simp only [Pi.add_apply, principalDivisorCoefficients_off_support X W _ x hxW, |
| 121 | zero_add] |
| 122 | |
| 123 | /-- A finite graded cycle is principal if its coefficients are exactly those |
| 124 | of the divisor of a nonzero function on an integral support one degree larger. |
| 125 | The equality is imposed at all scheme points, not only on selected supports. -/ |
| 126 | def IsPrincipalDivisorQ (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 127 | (z : X.RationalDimensionCycle p) : Prop := |
| 128 | ∃ W : IrreducibleCloseds X.carrier, X.supportCodimension W + 1 = p ∧ |
| 129 | ∃ f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField, f ≠ 0 ∧ |
| 130 | pointCycle X p z = principalDivisorCycle X W f |
| 131 | |
| 132 | /-- Rational equivalence is generated by the geometric principal divisors. -/ |
| 133 | def rationalEquivalenceQ (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 134 | Submodule ℚ (X.RationalDimensionCycle p) := |
| 135 | Submodule.span ℚ {z | IsPrincipalDivisorQ X p z} |
| 136 | |
| 137 | /-- Codimension-p algebraic cycles modulo rational equivalence over ℚ. -/ |
| 138 | def ChowQ (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : ModuleCat ℚ := |
| 139 | ModuleCat.of ℚ (X.RationalDimensionCycle p ⧸ rationalEquivalenceQ X p) |
| 140 | |
| 141 | /-- The canonical quotient map from finite cycles to the rational Chow group. -/ |
| 142 | def cycleToChowQ (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 143 | X.RationalDimensionCycle p →ₗ[ℚ] ChowQ X p := |
| 144 | (rationalEquivalenceQ X p).mkQ |
| 145 | |
| 146 | theorem cycleToChowQ_surjective (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 147 | Function.Surjective (cycleToChowQ X p) := |
| 148 | (rationalEquivalenceQ X p).mkQ_surjective |
| 149 | |
| 150 | theorem cycleToChowQ_eq_zero_iff (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 151 | (z : X.RationalDimensionCycle p) : |
| 152 | cycleToChowQ X p z = 0 ↔ z ∈ rationalEquivalenceQ X p := |
| 153 | Submodule.Quotient.mk_eq_zero _ |
| 154 | |
| 155 | theorem cycleToChowQ_eq_iff (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 156 | (z w : X.RationalDimensionCycle p) : |
| 157 | cycleToChowQ X p z = cycleToChowQ X p w ↔ z - w ∈ rationalEquivalenceQ X p := |
| 158 | Submodule.Quotient.eq _ |
| 159 | |
| 160 | theorem principalDivisor_mem_rationalEquivalenceQ |
| 161 | (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) (z : X.RationalDimensionCycle p) |
| 162 | (hz : IsPrincipalDivisorQ X p z) : z ∈ rationalEquivalenceQ X p := |
| 163 | Submodule.subset_span hz |
| 164 | |
| 165 | theorem cycleToChowQ_principalDivisor |
| 166 | (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) (z : X.RationalDimensionCycle p) |
| 167 | (hz : IsPrincipalDivisorQ X p z) : cycleToChowQ X p z = 0 := |
| 168 | (cycleToChowQ_eq_zero_iff X p z).mpr |
| 169 | (principalDivisor_mem_rationalEquivalenceQ X p z hz) |
| 170 | |
| 171 | /-- No codimension-zero principal-divisor relations are imposed. -/ |
| 172 | theorem rationalEquivalenceQ_zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) : |
| 173 | rationalEquivalenceQ X 0 = ⊥ := by |
| 174 | apply le_antisymm _ bot_le |
| 175 | apply Submodule.span_le.mpr |
| 176 | rintro z ⟨W, hW, _⟩ |
| 177 | exact False.elim (Nat.noConfusion hW) |
| 178 | |
| 179 | /-- The precise geometric condition still needed to descend the existing |
| 180 | cycle-class map. This proves the quotient's universal property; it does not |
| 181 | assert that the class of every principal divisor vanishes. -/ |
| 182 | theorem geometricCycleClass_descent_iff (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 183 | (∃ cl : ChowQ X p →ₗ[ℚ] X.rationalCohomology (p + p), |
| 184 | cl.comp (cycleToChowQ X p) = X.geometricCycleClassMap p) ↔ |
| 185 | ∀ z : X.RationalDimensionCycle p, IsPrincipalDivisorQ X p z → |
| 186 | X.geometricCycleClassMap p z = 0 := by |
| 187 | constructor |
| 188 | · rintro ⟨cl, hcl⟩ z hz |
| 189 | rw [← hcl, LinearMap.comp_apply, cycleToChowQ_principalDivisor X p z hz, |
| 190 | map_zero] |
| 191 | · intro h |
| 192 | have hker : rationalEquivalenceQ X p ≤ LinearMap.ker (X.geometricCycleClassMap p) := by |
| 193 | apply Submodule.span_le.mpr |
| 194 | intro z hz |
| 195 | exact h z hz |
| 196 | exact ⟨(rationalEquivalenceQ X p).liftQ (X.geometricCycleClassMap p) hker, |
| 197 | (rationalEquivalenceQ X p).liftQ_mkQ _ _⟩ |
| 198 | |
| 199 | /-- A descended geometric class map, if constructed, is unique because every |
| 200 | Chow class has a finite-cycle representative. -/ |
| 201 | theorem geometricCycleClass_descent_unique (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 202 | (cl₁ cl₂ : ChowQ X p →ₗ[ℚ] X.rationalCohomology (p + p)) |
| 203 | (h₁ : cl₁.comp (cycleToChowQ X p) = X.geometricCycleClassMap p) |
| 204 | (h₂ : cl₂.comp (cycleToChowQ X p) = X.geometricCycleClassMap p) : cl₁ = cl₂ := by |
| 205 | ext a |
| 206 | obtain ⟨z, rfl⟩ := cycleToChowQ_surjective X p a |
| 207 | exact LinearMap.congr_fun (h₁.trans h₂.symm) z |
| 208 | |
| 209 | end |
| 210 | |
| 211 | /-! The genuine embedding of codimension cycles into finite point |
| 212 | cycles, expressed as a linear map. -/ |
| 213 | |
| 214 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 215 | |
| 216 | def projectiveCyclePointMap (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 217 | X.RationalDimensionCycle p →ₗ[ℚ] (X.carrier →₀ ℚ) := |
| 218 | Finsupp.lmapDomain ℚ ℚ (cyclePointEmbedding X p) |
| 219 | |
| 220 | theorem projectiveCyclePointMap_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 221 | (z : X.RationalDimensionCycle p) : projectiveCyclePointMap X p z = pointCycle X p z := |
| 222 | (Finsupp.embDomain_eq_mapDomain (cyclePointEmbedding X p) z).symm |
| 223 | |
| 224 | end |
| 225 | |
| 226 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Chow.BundleCycles |