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.Cech.VariableEmbedding |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.LocalizationScalarRestriction |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.ModuleRestriction |
| 4 | |
| 5 | /-! # Variable Charts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.VariableCharts.ProjectiveCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Charts on retained variables are unchanged when other variables act by arbitrary specified polynomials. -/ |
| 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 | |
| 23 | include he in |
| 24 | theorem retainedVariable_rename (p : MvPolynomial σ R) : |
| 25 | algebraMap (MvPolynomial τ R) (MvPolynomial σ R) (rename e p) = p := by |
| 26 | let φ := IsScalarTower.toAlgHom R (MvPolynomial τ R) (MvPolynomial σ R) |
| 27 | have h : φ.comp (rename e) = AlgHom.id R (MvPolynomial σ R) := by |
| 28 | apply MvPolynomial.algHom_ext |
| 29 | intro i |
| 30 | change algebraMap (MvPolynomial τ R) (MvPolynomial σ R) (rename e (X i)) = X i |
| 31 | rw [rename_X] |
| 32 | exact he i |
| 33 | exact DFunLike.congr_fun h p |
| 34 | |
| 35 | include he in |
| 36 | theorem retainedChartDenominator (s : Finset σ) : |
| 37 | algebraMap (MvPolynomial τ R) (MvPolynomial σ R) (LaurentMonomials.ProjectiveCech.inversionMonomial R (s.map e)) = LaurentMonomials.ProjectiveCech.inversionMonomial R s := by |
| 38 | rw [Cech.VariableEmbedding.ProjectiveCech.inversionMonomial_map] |
| 39 | exact retainedVariable_rename R e he _ |
| 40 | |
| 41 | variable (M : Type t) [AddCommGroup M] [Module R M] |
| 42 | [Module (MvPolynomial τ R) M] [Module (MvPolynomial σ R) M] |
| 43 | [IsScalarTower R (MvPolynomial τ R) M] [IsScalarTower R (MvPolynomial σ R) M] |
| 44 | [IsScalarTower (MvPolynomial τ R) (MvPolynomial σ R) M] |
| 45 | |
| 46 | def retainedModuleChartEquiv (s : Finset σ) : |
| 47 | Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := τ) R M (s.map e) ≃ₗ[R] Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := σ) R M s := |
| 48 | LocalizationDenominatorImage.GradedModules.awayModuleScalarEquivOfEq (R := R) M (LaurentMonomials.ProjectiveCech.inversionMonomial R (s.map e)) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) |
| 49 | (retainedChartDenominator R e he s) |
| 50 | |
| 51 | theorem retainedModuleChartEquiv_degree (ℳ : ℤ → Submodule R M) (s : Finset σ) (d : ℤ) : |
| 52 | (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ (s.map e) d).map (retainedModuleChartEquiv R e he M s).toLinearMap = |
| 53 | Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d := by |
| 54 | change (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ _ ((s.map e).card : ℤ) d).map _ = Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ _ (s.card : ℤ) d |
| 55 | rw [Finset.card_map] |
| 56 | exact LocalizationDenominatorImage.GradedModules.awayModuleScalarEquivOfEq_degree M ℳ _ _ _ (s.card : ℤ) d |
| 57 | |
| 58 | variable [DecidableEq σ] [DecidableEq τ] |
| 59 | |
| 60 | theorem retainedModuleChartEquiv_restriction {s t : Finset σ} (h : s ⊆ t) |
| 61 | (x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart (σ := τ) R M (s.map e)) : |
| 62 | retainedModuleChartEquiv R e he M t (Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.map_subset_map.mpr h) x) = |
| 63 | Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M h (retainedModuleChartEquiv R e he M s x) := by |
| 64 | apply LocalizationScalarRestriction.GradedModules.awayModuleScalarEquivOfEq_restriction M |
| 65 | (LaurentMonomials.ProjectiveCech.inversionMonomial R (s.map e)) (LaurentMonomials.ProjectiveCech.inversionMonomial R (t.map e)) |
| 66 | (LaurentMonomials.ProjectiveCech.inversionMonomial R (t.map e \ s.map e)) |
| 67 | (LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff R (Finset.map_subset_map.mpr h)).symm |
| 68 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (LaurentMonomials.ProjectiveCech.inversionMonomial R t) (LaurentMonomials.ProjectiveCech.inversionMonomial R (t \ s)) |
| 69 | (LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff R h).symm |
| 70 | (retainedChartDenominator R e he s) (retainedChartDenominator R e he t) |
| 71 | rw [← Finset.map_sdiff] |
| 72 | exact retainedChartDenominator R e he (t \ s) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.VariableCharts.ProjectiveCech |