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.CMReduction.Poincare |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.Kunneth |
| 3 | import OAI.AlgebraicTopology.Duality.Poincare.Euclidean |
| 4 | |
| 5 | /-! # Top Trace -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.TopTrace.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Top-degree trace on connected projective varieties, using canonical |
| 12 | Poincare duality and the actual cup-product unit. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open OAI.AlgebraicTopology.Duality.Poincare.Euclidean |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.Kunneth.CM.SurfaceConstruction |
| 18 | |
| 19 | theorem rationalH0_finrank (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 20 | [PathConnectedSpace X.analyticSpace] : Module.finrank ℚ (X.rationalCohomology 0) = 1 := by |
| 21 | let : PathConnectedSpace (Betti.Scheme.schemePointSpace X.toOver) := inferInstanceAs |
| 22 | (PathConnectedSpace X.analyticSpace) |
| 23 | let : FiniteDimensional ℚ |
| 24 | ((AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (Betti.Scheme.schemePointSpace X.toOver)).homology 0) := |
| 25 | AlgebraicTopology.Kunneth.ProjectiveFinitenessLe.Construction.ProjectiveFiniteness.projective_homology_finite X.presentation 0 |
| 26 | have h := (AlgebraicTopology.Cohomology.Singular.UniversalCoefficient.singularUniversalCoefficientEquiv |
| 27 | (F := ℚ) (Betti.Scheme.schemePointSpace X.toOver) 0).finrank_eq |
| 28 | rw [Subspace.dual_finrank_eq] at h |
| 29 | exact h.trans ((AlgebraicTopology.Duality.Poincare.Euclidean.rationalSingularH0Iso (Betti.Scheme.schemePointSpace X.toOver)).toLinearEquiv.finrank_eq.trans |
| 30 | (Module.finrank_self ℚ)) |
| 31 | |
| 32 | theorem rationalUnit_ne_zero (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 33 | [PathConnectedSpace X.analyticSpace] : Cycles.Functoriality.UnitCap.cohomologyUnit X ≠ 0 := by |
| 34 | obtain ⟨a, ha, _⟩ := finrank_eq_one_iff'.mp (rationalH0_finrank X) |
| 35 | intro hz |
| 36 | have hunit : AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace X.toOver) 0 0 |
| 37 | (Cycles.Functoriality.UnitCap.cohomologyUnit X) a = a := |
| 38 | AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCupUnit_cup (TopCat.toSSet.obj (Betti.Scheme.schemePointSpace X.toOver)) a |
| 39 | rw [hz, map_zero, LinearMap.zero_apply] at hunit |
| 40 | exact ha hunit.symm |
| 41 | |
| 42 | theorem rationalH0_smul_unit (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 43 | [PathConnectedSpace X.analyticSpace] (a : X.rationalCohomology 0) : |
| 44 | ∃ r : ℚ, r • Cycles.Functoriality.UnitCap.cohomologyUnit X = a := |
| 45 | (finrank_eq_one_iff_of_nonzero' (Cycles.Functoriality.UnitCap.cohomologyUnit X) (rationalUnit_ne_zero X)).mp |
| 46 | (rationalH0_finrank X) a |
| 47 | |
| 48 | def rationalTopEvaluation (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 49 | X.rationalCohomology (2 * X.complexDimension) →ₗ[ℚ] ℚ := |
| 50 | (AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace X.toOver) |
| 51 | (2 * X.complexDimension)).flip (SurfaceConstructionQ.CM.fundamentalQ X) |
| 52 | |
| 53 | theorem pairing_unit_top (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 54 | (a : X.rationalCohomology (2 * X.complexDimension)) : |
| 55 | IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing (Poincare.CM.Construction.nativePoincareData X) (Nat.zero_add _) |
| 56 | (Cycles.Functoriality.UnitCap.cohomologyUnit X) a = rationalTopEvaluation X a := by |
| 57 | change rationalTopEvaluation X |
| 58 | (AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCast (TopCat.toSSet.obj (Betti.Scheme.schemePointSpace X.toOver)) |
| 59 | (ModuleCat.of ℚ ℚ) (Nat.zero_add _) |
| 60 | (AlgebraicTopology.Products.CupCohomology.cohomologyCup (TopCat.toSSet.obj (Betti.Scheme.schemePointSpace X.toOver)) 0 _ |
| 61 | (AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCupUnit _) a)) = _ |
| 62 | rw [AlgebraicTopology.Products.CupCohomologyAlgebra.cohomologyCupUnit_cup] |
| 63 | |
| 64 | theorem rationalTopEvaluation_injective (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 65 | [PathConnectedSpace X.analyticSpace] : Function.Injective (rationalTopEvaluation X) := by |
| 66 | intro a b hab |
| 67 | apply IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing_ext_right (Poincare.CM.Construction.nativePoincareData X) (Nat.zero_add _) |
| 68 | intro c |
| 69 | obtain ⟨r, rfl⟩ := rationalH0_smul_unit X c |
| 70 | change IntersectionTheory.ProjectionFormula.Cohomology.Construction.integral (Poincare.CM.Construction.nativePoincareData X) _ _ |
| 71 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace X.toOver) 0 _ |
| 72 | (r • Cycles.Functoriality.UnitCap.cohomologyUnit X) a) = |
| 73 | IntersectionTheory.ProjectionFormula.Cohomology.Construction.integral (Poincare.CM.Construction.nativePoincareData X) _ _ |
| 74 | (AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (R := ℚ) (Betti.Scheme.schemePointSpace X.toOver) 0 _ |
| 75 | (r • Cycles.Functoriality.UnitCap.cohomologyUnit X) b) |
| 76 | simp only [map_smul, LinearMap.smul_apply] |
| 77 | change r • IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing (Poincare.CM.Construction.nativePoincareData X) (Nat.zero_add _) |
| 78 | (Cycles.Functoriality.UnitCap.cohomologyUnit X) a = |
| 79 | r • IntersectionTheory.ProjectionFormula.Cohomology.Construction.pairing (Poincare.CM.Construction.nativePoincareData X) (Nat.zero_add _) |
| 80 | (Cycles.Functoriality.UnitCap.cohomologyUnit X) b |
| 81 | rw [pairing_unit_top, pairing_unit_top, hab] |
| 82 | |
| 83 | theorem rationalTop_finrank (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 84 | [PathConnectedSpace X.analyticSpace] : |
| 85 | Module.finrank ℚ (X.rationalCohomology (2 * X.complexDimension)) = 1 := by |
| 86 | let : PathConnectedSpace (Betti.Scheme.schemePointSpace X.toOver) := inferInstanceAs |
| 87 | (PathConnectedSpace X.analyticSpace) |
| 88 | exact (X.poincareDuality (2 * X.complexDimension) 0 (Nat.add_zero _)).toLinearEquiv.finrank_eq.trans |
| 89 | ((AlgebraicTopology.Duality.Poincare.Euclidean.rationalSingularH0Iso (Betti.Scheme.schemePointSpace X.toOver)).toLinearEquiv.finrank_eq.trans |
| 90 | (Module.finrank_self ℚ)) |
| 91 | |
| 92 | theorem rationalTop_exists_ne_zero (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 93 | [PathConnectedSpace X.analyticSpace] : |
| 94 | ∃ a : X.rationalCohomology (2 * X.complexDimension), a ≠ 0 := by |
| 95 | obtain ⟨a, ha, _⟩ := finrank_eq_one_iff'.mp (rationalTop_finrank X) |
| 96 | exact ⟨a, ha⟩ |
| 97 | |
| 98 | theorem rationalTopIntegral_injective (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 99 | [PathConnectedSpace X.analyticSpace] (n : ℕ) (hn : n = 2 * X.complexDimension) : |
| 100 | Function.Injective (IntersectionTheory.ProjectionFormula.Cohomology.Construction.integral (Poincare.CM.Construction.nativePoincareData X) n hn) := by |
| 101 | subst n |
| 102 | exact rationalTopEvaluation_injective X |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.TopTrace.CM.Construction |