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.Quotients.FiniteDescent.MinimalResidueCohomology |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ShortComplexFirstCycles |
| 3 | |
| 4 | /-! # Minimal Residue Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The first module of a minimal nonnegative complex computes degree-zero cohomology on the fiber. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 18 | {S : ShortComplex (ModuleCat.{u} R)} (P : LocalMinimalShort.Construction.LocalSectionLifting.LocalMinimalShortComplex S) |
| 19 | |
| 20 | def LocalMinimalShort.Construction.LocalSectionLifting.LocalMinimalShortComplex.firstCyclesEquiv : |
| 21 | LinearMap.ker S.f.hom ≃ₗ[R] LinearMap.ker P.complex.f.hom := |
| 22 | ShortComplexFirstCycles.Construction.LocalSectionLifting.shortComplexFirstCyclesEquiv P.equivalence P.hom_h₀ P.inv_h₀ |
| 23 | |
| 24 | def LocalMinimalShort.Construction.LocalSectionLifting.LocalMinimalShortComplex.baseChangeFirstCyclesEquiv |
| 25 | (K : Type u) [CommRing K] [Algebra R K] : |
| 26 | LinearMap.ker (ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R K S).f.hom ≃ₗ[K] |
| 27 | LinearMap.ker (ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R K P.complex).f.hom := |
| 28 | ShortComplexFirstCycles.Construction.LocalSectionLifting.shortComplexFirstCyclesEquiv |
| 29 | (ShortComplexEndpointHomotopy.Construction.LocalSectionLifting.shortComplexHomotopyEquivMap (ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R K) P.equivalence) |
| 30 | (ShortComplexEndpointHomotopy.Construction.LocalSectionLifting.shortComplexHomotopyEquivMap_hom_h₀ (ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R K) P.equivalence P.hom_h₀) |
| 31 | (ShortComplexEndpointHomotopy.Construction.LocalSectionLifting.shortComplexHomotopyEquivMap_inv_h₀ (ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R K) P.equivalence P.inv_h₀) |
| 32 | |
| 33 | def LocalMinimalShort.Construction.LocalSectionLifting.LocalMinimalShortComplex.residueFirstCyclesEquiv : |
| 34 | LinearMap.ker (ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).f.hom ≃ₗ[IsLocalRing.ResidueField R] |
| 35 | (IsLocalRing.ResidueField R ⊗[R] P.complex.X₁) := |
| 36 | (P.baseChangeFirstCyclesEquiv (IsLocalRing.ResidueField R)).trans |
| 37 | (LinearEquiv.ofTop _ (by |
| 38 | change LinearMap.ker (P.complex.f.hom.baseChange (IsLocalRing.ResidueField R)) = ⊤ |
| 39 | rw [P.incoming_residue_zero, LinearMap.ker_zero])) |
| 40 | |
| 41 | theorem LocalMinimalShort.Construction.LocalSectionLifting.LocalMinimalShortComplex.first_finrank_eq_residue_cycles : |
| 42 | Module.finrank R P.complex.X₁ = Module.finrank (IsLocalRing.ResidueField R) |
| 43 | (LinearMap.ker (ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).f.hom) := by |
| 44 | have h := P.residueFirstCyclesEquiv.finrank_eq |
| 45 | rw [Module.finrank_baseChange] at h |
| 46 | exact h.symm |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent |