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.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CohomologyNaturality |
| 2 | |
| 3 | /-! # Cover -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.Cover.Comparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Any two affine covers compute the same positive Zariski |
| 10 | cohomology of a quasicoherent module, naturally in that module. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | universe u |
| 18 | variable (R : Type u) [CommRing R] |
| 19 | (X : Over (Spec (CommRingCat.of R))) [X.left.IsSeparated] |
| 20 | {ι κ : Type u} (U : ι → X.left.Opens) (V : κ → X.left.Opens) |
| 21 | (hU : ⨆ i, U i = ⊤) (hV : ⨆ i, V i = ⊤) |
| 22 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) |
| 23 | |
| 24 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CohomologyNaturality.forgetCoefficients R |
| 25 | |
| 26 | def iso (M : X.left.Modules) [M.IsQuasicoherent] (n : ℕ) : |
| 27 | (G).obj ((DimensionBound.complex R X M U).homology (n + 1)) ≅ |
| 28 | (G).obj ((DimensionBound.complex R X M V).homology (n + 1)) := |
| 29 | DimensionBound.cohomologyIso R X M U hU haU n ≪≫ |
| 30 | (DimensionBound.cohomologyIso R X M V hV haV n).symm |
| 31 | |
| 32 | theorem naturality {M N : X.left.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 33 | (f : M ⟶ N) (n : ℕ) : |
| 34 | (G).map (HomologicalComplex.homologyMap (CohomologyNaturality.map R X U f) (n + 1)) ≫ |
| 35 | (iso R X U V hU hV haU haV N n).hom = |
| 36 | (iso R X U V hU hV haU haV M n).hom ≫ |
| 37 | (G).map (HomologicalComplex.homologyMap (CohomologyNaturality.map R X V f) (n + 1)) := by |
| 38 | apply (cancel_mono (DimensionBound.cohomologyIso R X N V hV haV n).hom).mp |
| 39 | simp only [iso, Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 40 | rw [CohomologyNaturality.naturality R X V hV haV f n] |
| 41 | simp only [Iso.inv_hom_id_assoc] |
| 42 | exact CohomologyNaturality.naturality R X U hU haU f n |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.Cover.Comparison |