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.CompactThomZero |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntrinsicGysinAdjunction |
| 3 | |
| 4 | /-! # Compact Top Open Generation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactTopOpenGeneration.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native compact Poincare duality transports open generation of H₀ to top compact cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | variable {d : ℕ} {M : Type} [TopologicalSpace M] [T2Space M] |
| 18 | variable [SecondCountableTopology M] [ChartedSpace (Fin d → ℂ) M] |
| 19 | variable [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 M] |
| 20 | |
| 21 | theorem compactTop_hom_ext_openCover {ι : Type*} |
| 22 | (U : ι → Opens M) (hcover : ∀ x : M, ∃ i, x ∈ U i) {A : ModuleCat.{0} ℚ} |
| 23 | {f g : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of M) (2*d) ⟶ A} |
| 24 | (h : ∀ i, AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenExtension (X := TopCat.of M) (U i) (2*d) ≫ f = |
| 25 | AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenExtension (X := TopCat.of M) (U i) (2*d) ≫ g) : f = g := by |
| 26 | let eM := AlgebraicTopology.Duality.Poincare.Manifold.complexManifoldPoincareDuality d (M := M) (2*d) 0 rfl |
| 27 | apply (cancel_epi eM.inv).mp |
| 28 | apply CompactThomZero.Constructions.rationalHomologyZero_hom_ext_openCover (TopCat.of M) U hcover |
| 29 | intro i |
| 30 | let eU := AlgebraicTopology.Duality.Poincare.Manifold.complexManifoldPoincareDuality d (M := U i) (2*d) 0 rfl |
| 31 | apply (cancel_epi eU.hom).mp |
| 32 | have hc := AlgebraicTopology.Duality.Poincare.CanonicalCapNaturality.complexManifoldCompactSupportCap_open d (U i) (2*d) 0 rfl |
| 33 | change AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenExtension (X := TopCat.of M) (U i) (2*d) ≫ eM.hom = |
| 34 | eU.hom ≫ AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℚ) |
| 35 | (Opens.inclusion' (X := TopCat.of M) (U i)) 0 at hc |
| 36 | simp only [← Category.assoc] |
| 37 | rw [← hc] |
| 38 | simpa only [Category.assoc, Iso.hom_inv_id_assoc] using h i |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactTopOpenGeneration.Constructions |