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 Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 2 | import Mathlib.Algebra.Homology.Additive |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 4 | |
| 5 | /-! # Cochain Scalar Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CochainScalarRestriction.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual cochain complexes and differential kernels under restriction of scalars. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R S : Type u} [CommRing R] [CommRing S] (ρ : R →+* S) |
| 18 | |
| 19 | abbrev scalarRestrictedComplex (C : CochainComplex (ModuleCat.{u} S) ℕ) : |
| 20 | CochainComplex (ModuleCat.{u} R) ℕ := |
| 21 | ((ModuleCat.restrictScalars ρ).mapHomologicalComplex (ComplexShape.up ℕ)).obj C |
| 22 | |
| 23 | /-- Restriction of scalars leaves the actual zero-cycle elements unchanged. -/ |
| 24 | def scalarRestrictedZeroCyclesEquiv (C : CochainComplex (ModuleCat.{u} S) ℕ) : |
| 25 | (ModuleCat.restrictScalars ρ).obj (ModuleCat.of S (C.d 0 1).hom.ker) ≃ₗ[R] |
| 26 | ((scalarRestrictedComplex ρ C).d 0 1).hom.ker where |
| 27 | toFun x := ⟨x.val, x.property⟩ |
| 28 | invFun x := ⟨x.val, x.property⟩ |
| 29 | left_inv _ := rfl |
| 30 | right_inv _ := rfl |
| 31 | map_add' _ _ := rfl |
| 32 | map_smul' _ _ := rfl |
| 33 | |
| 34 | theorem scalarRestrictedZeroCyclesEquiv_apply_val (C : CochainComplex (ModuleCat.{u} S) ℕ) |
| 35 | (x : (ModuleCat.restrictScalars ρ).obj (ModuleCat.of S (C.d 0 1).hom.ker)) : |
| 36 | (scalarRestrictedZeroCyclesEquiv ρ C x).val = x.val := rfl |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CochainScalarRestriction.Construction |