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.CoefficientModuleCharts |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.Boundaries |
| 3 | |
| 4 | /-! # Coefficient Module Cech -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientModuleCech.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible enlargement of coefficient scalars identifies actual Čech cochains and boundaries. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w t |
| 15 | |
| 16 | variable {σ : Type u} |
| 17 | variable (R : Type v) [CommRing R] (S : Type w) [CommRing S] [Algebra R S] |
| 18 | |
| 19 | attribute [local instance] MvPolynomial.algebraMvPolynomial |
| 20 | |
| 21 | variable (M : Type t) [AddCommGroup M] [Module R M] [Module S M] |
| 22 | [Module (MvPolynomial σ R) M] [Module (MvPolynomial σ S) M] |
| 23 | [IsScalarTower R S M] [IsScalarTower R (MvPolynomial σ R) M] |
| 24 | [IsScalarTower R (MvPolynomial σ S) M] [IsScalarTower S (MvPolynomial σ S) M] |
| 25 | [IsScalarTower (MvPolynomial σ R) (MvPolynomial σ S) M] |
| 26 | |
| 27 | def coefficientModuleCechEquiv : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M ≃ₗ[R] ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) S M := |
| 28 | LinearEquiv.piCongrRight (fun s => CoefficientModuleCharts.ProjectiveCech.coefficientModuleChartEquiv R S M s) |
| 29 | |
| 30 | omit [IsScalarTower R S M] [Module S M] [IsScalarTower S (MvPolynomial σ S) M] in |
| 31 | theorem coefficientModuleCechEquiv_apply (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) (s : Finset σ) : |
| 32 | coefficientModuleCechEquiv R S M f s = CoefficientModuleCharts.ProjectiveCech.coefficientModuleChartEquiv R S M s (f s) := rfl |
| 33 | |
| 34 | omit [IsScalarTower R S M] [Module S M] [IsScalarTower S (MvPolynomial σ S) M] in |
| 35 | theorem coefficientModuleCechEquiv_card (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) : |
| 36 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported S M q (coefficientModuleCechEquiv R S M f) ↔ ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q f := by |
| 37 | constructor |
| 38 | · intro h s hs |
| 39 | apply (CoefficientModuleCharts.ProjectiveCech.coefficientModuleChartEquiv R S M s).injective |
| 40 | rw [map_zero] |
| 41 | exact h s hs |
| 42 | · intro h s hs |
| 43 | rw [coefficientModuleCechEquiv_apply, h s hs, map_zero] |
| 44 | |
| 45 | variable [LinearOrder σ] |
| 46 | |
| 47 | omit [IsScalarTower R S M] in |
| 48 | theorem coefficientModuleCechEquiv_differential (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) : |
| 49 | coefficientModuleCechEquiv R S M (ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f) = |
| 50 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential S M (coefficientModuleCechEquiv R S M f) := by |
| 51 | funext s |
| 52 | change CoefficientModuleCharts.ProjectiveCech.coefficientModuleChartEquiv R S M s |
| 53 | (∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign R s i • Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.erase_subset i s) (f (s.erase i))) = |
| 54 | ∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign S s i • Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction S M (Finset.erase_subset i s) |
| 55 | (CoefficientModuleCharts.ProjectiveCech.coefficientModuleChartEquiv R S M (s.erase i) (f (s.erase i))) |
| 56 | rw [map_sum] |
| 57 | apply Finset.sum_congr rfl |
| 58 | intro i _ |
| 59 | rw [map_smul, CoefficientModuleCharts.ProjectiveCech.coefficientModuleChartEquiv_restriction, ← algebraMap_smul S, CoefficientModuleCharts.ProjectiveCech.alternatingSign_algebraMap] |
| 60 | |
| 61 | omit [IsScalarTower R S M] in |
| 62 | theorem coefficient_moduleCech_boundary_iff (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) : |
| 63 | f ∈ Cech.Boundaries.ProjectiveCech.moduleCechBoundarySubmodule R M q ↔ |
| 64 | coefficientModuleCechEquiv R S M f ∈ Cech.Boundaries.ProjectiveCech.moduleCechBoundarySubmodule S M q := by |
| 65 | rw [Cech.Boundaries.ProjectiveCech.mem_moduleCechBoundarySubmodule, Cech.Boundaries.ProjectiveCech.mem_moduleCechBoundarySubmodule] |
| 66 | constructor |
| 67 | · rintro ⟨g, hgc, hgd⟩ |
| 68 | refine ⟨coefficientModuleCechEquiv R S M g, (coefficientModuleCechEquiv_card R S M (q - 1) g).mpr hgc, ?_⟩ |
| 69 | rw [← coefficientModuleCechEquiv_differential, hgd] |
| 70 | · rintro ⟨g, hgc, hgd⟩ |
| 71 | obtain ⟨h, rfl⟩ := (coefficientModuleCechEquiv R S M).surjective g |
| 72 | refine ⟨h, (coefficientModuleCechEquiv_card R S M (q - 1) h).mp hgc, ?_⟩ |
| 73 | apply (coefficientModuleCechEquiv R S M).injective |
| 74 | rw [coefficientModuleCechEquiv_differential, hgd] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientModuleCech.ProjectiveCech |