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.HilbertScheme.Presentations.ModuleCech.CechComplex |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.CohomologyRepresentatives |
| 3 | |
| 4 | /-! # Module Cech Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ModuleCechCriterion.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite representatives of actual homogeneous Čech cycles give finite cohomology of the associated cochain complex. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {σ : Type u} [LinearOrder σ] (R : Type v) [CommRing R] [IsNoetherianRing R] |
| 17 | variable (M : Type w) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 18 | [IsScalarTower R (MvPolynomial σ R) M] |
| 19 | variable (ℳ : ℤ → Submodule R M) |
| 20 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 21 | |
| 22 | theorem moduleCech_homology_finite_of_representatives (d : ℤ) (q : ℕ) |
| 23 | (G : Submodule R (ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M)) [Module.Finite R G] |
| 24 | (hrep : ∀ f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 25 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f → ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M (q + 1) f → |
| 26 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f = 0 → |
| 27 | ∃ g : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 28 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d g ∧ ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q g ∧ |
| 29 | f - ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M g ∈ G) : |
| 30 | Module.Finite R ((ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex (σ := σ) R M ℳ d).homology (q + 1)) := by |
| 31 | let K := ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex (σ := σ) R M ℳ d |
| 32 | let S := K.sc' q (q + 1) (q + 1 + 1) |
| 33 | let U : Submodule R S.X₂ := G.comap (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d (q + 1)).subtype |
| 34 | let : Module.Finite R U := CohomologyRepresentatives.finite_comap_of_injective R |
| 35 | (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d (q + 1)).subtype (Submodule.subtype_injective _) G |
| 36 | have hS : Module.Finite R S.homology := by |
| 37 | apply CohomologyRepresentatives.finite_shortComplex_homology_of_representatives R S U |
| 38 | intro b hb |
| 39 | have hb' : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M b.val = 0 := by |
| 40 | change (K.d (q + 1) (q + 1 + 1)) b = 0 at hb |
| 41 | rw [ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex_d] at hb |
| 42 | exact congrArg Subtype.val hb |
| 43 | obtain ⟨g, hg, hgc, hgr⟩ := hrep b.val b.property.1 b.property.2 hb' |
| 44 | refine ⟨⟨g, hg, hgc⟩, ?_⟩ |
| 45 | change b.val - ((K.d q (q + 1)) ⟨g, hg, hgc⟩).val ∈ G |
| 46 | rw [ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex_d] |
| 47 | exact hgr |
| 48 | let := hS |
| 49 | let e := K.homologyIsoSc' q (q + 1) (q + 1 + 1) |
| 50 | ((ComplexShape.up ℕ).prev_eq' rfl) ((ComplexShape.up ℕ).next_eq' rfl) |
| 51 | exact Module.Finite.of_surjective e.inv.hom ((ModuleCat.epi_iff_surjective _).mp inferInstance) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ModuleCechCriterion.ProjectiveCech |