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.EmbeddedChartRestriction |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.PiRestrictionEquiv |
| 3 | |
| 4 | /-! # Embedded Module Cech -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.EmbeddedModuleCech.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual Čech cochains after deleting variables that act by zero. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w t |
| 15 | |
| 16 | variable {σ : Type v} {τ : Type w} |
| 17 | variable (R : Type u) [CommRing R] (e : σ ↪ τ) |
| 18 | variable [Algebra (MvPolynomial τ R) (MvPolynomial σ R)] |
| 19 | [IsScalarTower R (MvPolynomial τ R) (MvPolynomial σ R)] |
| 20 | variable (he : algebraMap (MvPolynomial τ R) (MvPolynomial σ R) = |
| 21 | (MvPolynomial.killCompl e.injective).toRingHom) |
| 22 | variable (M : Type t) [AddCommGroup M] [Module R M] |
| 23 | [Module (MvPolynomial τ R) M] [Module (MvPolynomial σ R) M] |
| 24 | [IsScalarTower R (MvPolynomial τ R) M] [IsScalarTower R (MvPolynomial σ R) M] |
| 25 | [IsScalarTower (MvPolynomial τ R) (MvPolynomial σ R) M] |
| 26 | |
| 27 | def embeddedModuleCechEquiv : |
| 28 | ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M ≃ₗ[R] ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M := |
| 29 | PiRestrictionEquiv.piRestrictionEquiv (Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := σ) R M) (Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := τ) R M) |
| 30 | (Finset.mapEmbedding e).toEmbedding (EmbeddedModuleCharts.ProjectiveCech.embeddedModuleChartEquiv R e he M) |
| 31 | (EmbeddedModuleCharts.ProjectiveCech.moduleChart_subsingleton_outside_embedding R e he M) |
| 32 | |
| 33 | theorem embeddedModuleCechEquiv_apply (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M) (s : Finset σ) : |
| 34 | embeddedModuleCechEquiv R e he M f s = |
| 35 | EmbeddedModuleCharts.ProjectiveCech.embeddedModuleChartEquiv R e he M s (f (s.map e)) := rfl |
| 36 | |
| 37 | theorem embeddedModuleCechEquiv_card (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M) : |
| 38 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q (embeddedModuleCechEquiv R e he M f) ↔ |
| 39 | ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q f := by |
| 40 | constructor |
| 41 | · intro h s hs |
| 42 | by_cases hr : s ∈ Set.range (Finset.map e) |
| 43 | · obtain ⟨a, rfl⟩ := hr |
| 44 | apply (EmbeddedModuleCharts.ProjectiveCech.embeddedModuleChartEquiv R e he M a).injective |
| 45 | rw [map_zero] |
| 46 | exact h a (by simpa only [Finset.card_map] using hs) |
| 47 | · exact @Subsingleton.elim _ (EmbeddedModuleCharts.ProjectiveCech.moduleChart_subsingleton_outside_embedding R e he M s hr) _ _ |
| 48 | · intro h s hs |
| 49 | rw [embeddedModuleCechEquiv_apply, h (s.map e) (by simpa only [Finset.card_map] using hs), map_zero] |
| 50 | |
| 51 | theorem embeddedModuleCechEquiv_homogeneous (ℳ : ℤ → Submodule R M) (d : ℤ) |
| 52 | (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M) : |
| 53 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d (embeddedModuleCechEquiv R e he M f) ↔ |
| 54 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f := by |
| 55 | constructor |
| 56 | · intro h s |
| 57 | by_cases hr : s ∈ Set.range (Finset.map e) |
| 58 | · obtain ⟨a, rfl⟩ := hr |
| 59 | have hm := h a |
| 60 | rw [← EmbeddedModuleCharts.ProjectiveCech.embeddedModuleChartEquiv_degree R e he M ℳ a d] at hm |
| 61 | obtain ⟨x, hx, heq⟩ := Submodule.mem_map.mp hm |
| 62 | have hx' : x = f (a.map e) := (EmbeddedModuleCharts.ProjectiveCech.embeddedModuleChartEquiv R e he M a).injective heq |
| 63 | exact hx' ▸ hx |
| 64 | · have hz := @Subsingleton.elim _ (EmbeddedModuleCharts.ProjectiveCech.moduleChart_subsingleton_outside_embedding R e he M s hr) (f s) 0 |
| 65 | rw [hz] |
| 66 | exact Submodule.zero_mem _ |
| 67 | · intro h s |
| 68 | rw [← EmbeddedModuleCharts.ProjectiveCech.embeddedModuleChartEquiv_degree R e he M ℳ s d] |
| 69 | exact Submodule.mem_map.mpr ⟨f (s.map e), h _, rfl⟩ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.EmbeddedModuleCech.ProjectiveCech |