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