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.DegreeTwo.NormalPairSourceRetraction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SourceCompactGysin |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactCupAssociativity |
| 4 | |
| 5 | /-! # Source Gysin Projection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SourceGysinProjection.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual local source Gysin map satisfies the compact-support projection formula. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | variable {M N : Type} [TopologicalSpace M] [TopologicalSpace N] {c d : ℕ} |
| 18 | variable {f : M → N} {x : M} |
| 19 | variable (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin d → ℂ) (Fin c → ℂ) f x) (hf : Topology.IsEmbedding f) |
| 20 | |
| 21 | theorem normalPairSourceCompactGysin_projection (q r : ℕ) |
| 22 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P hf)) q) |
| 23 | (b : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) r) : |
| 24 | eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood)) |
| 25 | (Nat.add_assoc (2*c) q r)) |
| 26 | (CompactCohomologyCup.Constructions.compactCohomologyRightCup (TopCat.of P.neighborhood) (2*c+q) r b |
| 27 | (SourceCompactGysin.Constructions.normalPairSourceCompactGysin P hf q a)) = |
| 28 | SourceCompactGysin.Constructions.normalPairSourceCompactGysin P hf (q+r) |
| 29 | (CompactCohomologyCup.Constructions.compactCohomologyRightCup (TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P hf)) q r |
| 30 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) (NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P hf) r b) a) := by |
| 31 | obtain ⟨K,a,rfl⟩ := AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportedCohomology_exists_stage (ModuleCat.of ℚ ℚ) |
| 32 | (TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P hf)) q a |
| 33 | rw [SourceCompactGysin.Constructions.normalPairSourceCompactGysin_stage_supported, CompactCohomologyCup.Constructions.compactCohomologyRightCup_stage, |
| 34 | CompactCohomologyCup.Constructions.compactCohomologyRightCup_stage, SourceCompactGysin.Constructions.normalPairSourceCompactGysin_stage_supported, |
| 35 | CompactCupAssociativity.Constructions.compactCohomologyι_degreeCast (TopCat.of P.neighborhood) |
| 36 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P hf) K) (Nat.add_assoc (2*c) q r)] |
| 37 | apply congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) |
| 38 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P hf) K) (2*c+(q+r))) |
| 39 | rw [← RelativeCupAssociativity.Constructions.relativeCohomologyCast_eqToHom (TopCat.of P.neighborhood) |
| 40 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P hf) K : Set P.neighborhood)ᶜ |
| 41 | (Nat.add_assoc (2*c) q r)] |
| 42 | exact NormalPairSourceRetraction.Constructions.normalPairSourceSupportedCohomologyIso_ambient_projection P hf K q r a b |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SourceGysinProjection.Constructions |