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.VariableCharts |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.PiRestrictionLift |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.Square |
| 4 | |
| 5 | /-! # Homogeneous Lift -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.HomogeneousLift.ProjectiveCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restriction to retained coordinates gives the actual map from an enlarged Čech complex. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | universe u v w t |
| 16 | |
| 17 | variable {σ : Type v} {τ : Type w} |
| 18 | variable (R : Type u) [CommRing R] (e : σ ↪ τ) |
| 19 | variable [Algebra (MvPolynomial τ R) (MvPolynomial σ R)] |
| 20 | [IsScalarTower R (MvPolynomial τ R) (MvPolynomial σ R)] |
| 21 | variable (he : ∀ i : σ, algebraMap (MvPolynomial τ R) (MvPolynomial σ R) (X (e i)) = X i) |
| 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 retainedModuleCechMap : Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M →ₗ[R] Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M := |
| 28 | PiRestrictionEquiv.piRestrictionLinear (Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := σ) R M) (Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := τ) R M) |
| 29 | (Finset.mapEmbedding e).toEmbedding (VariableCharts.ProjectiveCech.retainedModuleChartEquiv R e he M) |
| 30 | |
| 31 | theorem retainedModuleCechMap_card (q : ℕ) (f : Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M) |
| 32 | (hf : Card.ProjectiveCech.ModuleCechCardSupported R M q f) : |
| 33 | Card.ProjectiveCech.ModuleCechCardSupported R M q (retainedModuleCechMap R e he M f) := by |
| 34 | intro s hs |
| 35 | change VariableCharts.ProjectiveCech.retainedModuleChartEquiv R e he M s (f (s.map e)) = 0 |
| 36 | rw [hf (s.map e) (by simpa only [Finset.card_map] using hs), map_zero] |
| 37 | |
| 38 | theorem retainedModuleCechMap_homogeneous (ℳ : ℤ → Submodule R M) (d : ℤ) |
| 39 | (f : Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M) (hf : Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f) : |
| 40 | Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d (retainedModuleCechMap R e he M f) := by |
| 41 | intro s |
| 42 | rw [← VariableCharts.ProjectiveCech.retainedModuleChartEquiv_degree R e he M ℳ s d] |
| 43 | exact Submodule.mem_map.mpr ⟨f (s.map e), hf _, rfl⟩ |
| 44 | |
| 45 | theorem retainedModuleCechMap_homogeneous_lift (ℳ : ℤ → Submodule R M) (d : ℤ) (q : ℕ) |
| 46 | (f : Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) (hf : Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f) |
| 47 | (hfc : Card.ProjectiveCech.ModuleCechCardSupported R M q f) : |
| 48 | ∃ g : Card.ProjectiveCech.ModuleCechFamily (σ := τ) R M, |
| 49 | Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d g ∧ Card.ProjectiveCech.ModuleCechCardSupported R M q g ∧ retainedModuleCechMap R e he M g = f := by |
| 50 | obtain ⟨g, hg, hzero⟩ := PiRestrictionLift.piRestrictionLinear_lift_supported |
| 51 | (Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := σ) R M) (Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := τ) R M) |
| 52 | (Finset.mapEmbedding e).toEmbedding (VariableCharts.ProjectiveCech.retainedModuleChartEquiv R e he M) f |
| 53 | refine ⟨g, ?_, ?_, hg⟩ |
| 54 | · intro s |
| 55 | by_cases hs : s ∈ Set.range (Finset.map e) |
| 56 | · obtain ⟨a, rfl⟩ := hs |
| 57 | have hm := hf a |
| 58 | rw [← VariableCharts.ProjectiveCech.retainedModuleChartEquiv_degree R e he M ℳ a d, ← congrFun hg a] at hm |
| 59 | obtain ⟨x, hx, heq⟩ := Submodule.mem_map.mp hm |
| 60 | exact ((VariableCharts.ProjectiveCech.retainedModuleChartEquiv R e he M a).injective heq) ▸ hx |
| 61 | · rw [hzero s hs] |
| 62 | exact Submodule.zero_mem _ |
| 63 | · intro s hsc |
| 64 | by_cases hs : s ∈ Set.range (Finset.map e) |
| 65 | · obtain ⟨a, rfl⟩ := hs |
| 66 | apply (VariableCharts.ProjectiveCech.retainedModuleChartEquiv R e he M a).injective |
| 67 | rw [map_zero] |
| 68 | exact (congrFun hg a).trans (hfc a (by simpa only [Finset.card_map] using hsc)) |
| 69 | · exact hzero s hs |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.HomogeneousLift.ProjectiveCech |