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.Cycles.Functoriality.UnitCap |
| 2 | |
| 3 | /-! # Reduction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.Reduction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 10 | |
| 11 | /-- Linearity reduces compatibility for finite rational cycles to the |
| 12 | corresponding identity on each irreducible support. -/ |
| 13 | theorem compatibility_iff_generators |
| 14 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 15 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 16 | (p q : ℕ) |
| 17 | (hdeg : p + Y.complexDimension = q + X.complexDimension) : |
| 18 | (∀ z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle X p, |
| 19 | Y.geometricCycleClassMap q (UnitCap.cyclePushforward f hf p q hdeg z) = |
| 20 | UnitCap.cohomologyPushforward f hf p q hdeg (X.geometricCycleClassMap p z)) ↔ |
| 21 | (∀ Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p, |
| 22 | Y.geometricCycleClassMap q (UnitCap.cyclePushforwardGenerator f p q hdeg Z) = |
| 23 | UnitCap.cohomologyPushforward f hf p q hdeg Z.geometricCycleClass) := by |
| 24 | constructor |
| 25 | · intro h Z |
| 26 | have hz := h (Finsupp.single Z 1) |
| 27 | simpa only [UnitCap.cyclePushforward_single, |
| 28 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricCycleClassMap_single, one_smul] using hz |
| 29 | · intro h |
| 30 | have heq : (Y.geometricCycleClassMap q).comp (UnitCap.cyclePushforward f hf p q hdeg) = |
| 31 | (UnitCap.cohomologyPushforward f hf p q hdeg).comp (X.geometricCycleClassMap p) := by |
| 32 | apply Finsupp.lhom_ext |
| 33 | intro Z a |
| 34 | change Y.geometricCycleClassMap q |
| 35 | (UnitCap.cyclePushforward f hf p q hdeg (Finsupp.single Z a)) = |
| 36 | UnitCap.cohomologyPushforward f hf p q hdeg |
| 37 | (X.geometricCycleClassMap p (Finsupp.single Z a)) |
| 38 | rw [UnitCap.cyclePushforward_single, |
| 39 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricCycleClassMap_single, map_smul, map_smul, h Z] |
| 40 | exact fun z => LinearMap.congr_fun heq z |
| 41 | |
| 42 | /-- The source has no algebraic cycles in codimension above its dimension. -/ |
| 43 | theorem compatibility_above_dimension |
| 44 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 45 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 46 | (p q : ℕ) |
| 47 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 48 | (hp : X.complexDimension < p) (z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle X p) : |
| 49 | Y.geometricCycleClassMap q (UnitCap.cyclePushforward f hf p q hdeg z) = |
| 50 | UnitCap.cohomologyPushforward f hf p q hdeg (X.geometricCycleClassMap p z) := by |
| 51 | have hz : z = 0 := CycleClass.Geometric.DimensionCycles.DimensionCycle.eq_zero_of_ambient_lt z (by |
| 52 | rw [← X.complexDimension_eq_transcendenceDimension] |
| 53 | exact hp) |
| 54 | subst z |
| 55 | simp only [map_zero] |
| 56 | |
| 57 | /-- Applying target Poincare duality cancels its inverse in the |
| 58 | constructed cohomological pushforward. -/ |
| 59 | theorem poincare_cohomologyPushforward |
| 60 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 61 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 62 | (p q : ℕ) |
| 63 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 64 | (hp : p ≤ X.complexDimension) (b : X.rationalCohomology (p + p)) : |
| 65 | (Y.poincareDuality (q + q) (2 * (X.complexDimension - p)) |
| 66 | (UnitCap.targetComplementDegree p q hdeg hp)).hom |
| 67 | (UnitCap.cohomologyPushforward f hf p q hdeg b) = |
| 68 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 69 | (2 * (X.complexDimension - p)) |
| 70 | ((X.poincareDuality (p + p) (2 * (X.complexDimension - p)) |
| 71 | (UnitCap.sourceComplementDegree X p hp)).hom b) := by |
| 72 | rw [UnitCap.cohomologyPushforward_eq_poincare f hf p q hdeg hp] |
| 73 | exact (Y.poincareDuality (q + q) (2 * (X.complexDimension - p)) |
| 74 | (UnitCap.targetComplementDegree p q hdeg hp)).inv_hom_id_apply _ |
| 75 | |
| 76 | /-- In the valid degree range the desired equality is precisely equality |
| 77 | of the ordinary rational homology classes under the genuine pushforward. -/ |
| 78 | theorem eq_pushforward_iff_poincare |
| 79 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 80 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 81 | (p q : ℕ) |
| 82 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 83 | (hp : p ≤ X.complexDimension) |
| 84 | (a : Y.rationalCohomology (q + q)) (b : X.rationalCohomology (p + p)) : |
| 85 | a = UnitCap.cohomologyPushforward f hf p q hdeg b ↔ |
| 86 | (Y.poincareDuality (q + q) (2 * (X.complexDimension - p)) |
| 87 | (UnitCap.targetComplementDegree p q hdeg hp)).hom a = |
| 88 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 89 | (2 * (X.complexDimension - p)) |
| 90 | ((X.poincareDuality (p + p) (2 * (X.complexDimension - p)) |
| 91 | (UnitCap.sourceComplementDegree X p hp)).hom b) := by |
| 92 | rw [← poincare_cohomologyPushforward f hf p q hdeg hp b] |
| 93 | exact (Y.poincareDuality (q + q) (2 * (X.complexDimension - p)) |
| 94 | (UnitCap.targetComplementDegree p q hdeg hp)).toLinearEquiv.injective.eq_iff.symm |
| 95 | |
| 96 | /-- The algebraic image in the dimension-preserving case has the usual |
| 97 | function-field multiplicity, already at the level of geometric classes. -/ |
| 98 | theorem image_class_of_dimension_eq |
| 99 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 100 | (f : X.toOver ⟶ Y.toOver) (p q : ℕ) |
| 101 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 102 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) |
| 103 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 104 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap) : |
| 105 | Y.geometricCycleClassMap q (UnitCap.cyclePushforwardGenerator f p q hdeg Z) = |
| 106 | (f.left.residueDegree Z.genericPoint : ℚ) • |
| 107 | (show CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q from |
| 108 | ⟨UnitCap.imageSupport f Z, UnitCap.imageCodimension_eq f p q hdeg Z hdim⟩).geometricCycleClass := by |
| 109 | rw [UnitCap.cyclePushforwardGenerator_of_dimension_eq f p q hdeg Z hdim] |
| 110 | exact Y.geometricCycleClassMap_single q |
| 111 | ⟨UnitCap.imageSupport f Z, UnitCap.imageCodimension_eq f p q hdeg Z hdim⟩ _ |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Cycles.Functoriality.Reduction.Construction |