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.AlgebraicTopology.Cohomology.Singular.ChainRepresentatives |
| 2 | import Mathlib.LinearAlgebra.Isomorphisms |
| 3 | |
| 4 | /-! # Linear Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.FundamentalClass.LinearDescent.IntegrationConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integration: elementary descent of actual chain functionals to quotient chains |
| 11 | and homology. These lemmas contain no geometric comparison assumption. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory OAI.AlgebraicTopology.Cohomology.Singular.ChainRepresentatives |
| 14 | |
| 15 | variable {F : Type} [Field F] |
| 16 | |
| 17 | def factorFunctional {V W : Type} [AddCommGroup V] [Module F V] |
| 18 | [AddCommGroup W] [Module F W] (π : V →ₗ[F] W) (hπ : Function.Surjective π) |
| 19 | (L : V →ₗ[F] F) (hL : LinearMap.ker π ≤ LinearMap.ker L) : W →ₗ[F] F := |
| 20 | ((LinearMap.ker π).liftQ L hL).comp (π.quotKerEquivOfSurjective hπ).symm.toLinearMap |
| 21 | |
| 22 | theorem factorFunctional_apply {V W : Type} [AddCommGroup V] [Module F V] |
| 23 | [AddCommGroup W] [Module F W] (π : V →ₗ[F] W) (hπ : Function.Surjective π) |
| 24 | (L : V →ₗ[F] F) (hL : LinearMap.ker π ≤ LinearMap.ker L) (v : V) : |
| 25 | factorFunctional π hπ L hL (π v) = L v := by |
| 26 | simp only [factorFunctional, LinearMap.comp_apply, LinearEquiv.coe_coe, |
| 27 | LinearMap.quotKerEquivOfSurjective_symm_apply] |
| 28 | rfl |
| 29 | |
| 30 | def chainFunctionalOnHomology (C : ChainComplex (ModuleCat.{0} F) ℕ) (n : ℕ) |
| 31 | (L : C.X n →ₗ[F] F) (hL : ∀ (i : ℕ) (v : C.X i), L (C.d i n v) = 0) : |
| 32 | C.homology n →ₗ[F] F := |
| 33 | ((Cohomology.Singular.ChainRepresentatives.chainBoundaries C n).liftQ (L.comp (Cohomology.Singular.ChainRepresentatives.chainCycles C n).subtype) |
| 34 | (by |
| 35 | rintro z ⟨v, rfl⟩ |
| 36 | exact hL _ v)).comp (Cohomology.Singular.ChainRepresentatives.homologyQuotientIso C n).toLinearEquiv.toLinearMap |
| 37 | |
| 38 | theorem chainFunctionalOnHomology_class (C : ChainComplex (ModuleCat.{0} F) ℕ) (n : ℕ) |
| 39 | (L : C.X n →ₗ[F] F) (hL : ∀ (i : ℕ) (v : C.X i), L (C.d i n v) = 0) |
| 40 | (z : Cohomology.Singular.ChainRepresentatives.chainCycles C n) : |
| 41 | chainFunctionalOnHomology C n L hL (Cohomology.Singular.ChainRepresentatives.chainClass C n z) = L z.val := by |
| 42 | dsimp only [chainFunctionalOnHomology, Cohomology.Singular.ChainRepresentatives.chainClass, LinearMap.comp_apply] |
| 43 | simp only [LinearEquiv.coe_coe, LinearEquiv.apply_symm_apply] |
| 44 | rfl |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicTopology.FundamentalClass.LinearDescent.IntegrationConstruction |