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.LocalizationScalarRestriction |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.Square |
| 3 | |
| 4 | /-! # Coefficient Module Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientModuleCharts.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual module charts agree when the polynomial coefficient algebra is enlarged compatibly. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.LocalizationScalarRestriction.GradedModules |
| 15 | |
| 16 | universe u v w t |
| 17 | |
| 18 | variable {σ : Type u} |
| 19 | variable (R : Type v) [CommRing R] (S : Type w) [CommRing S] [Algebra R S] |
| 20 | |
| 21 | attribute [local instance] MvPolynomial.algebraMvPolynomial |
| 22 | |
| 23 | theorem inversionMonomial_coefficientMap (s : Finset σ) : |
| 24 | algebraMap (MvPolynomial σ R) (MvPolynomial σ S) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) = |
| 25 | LaurentMonomials.ProjectiveCech.inversionMonomial S s := by |
| 26 | simp only [MvPolynomial.algebraMap_def, LaurentMonomials.ProjectiveCech.inversionMonomial, MvPolynomial.map_monomial, map_one] |
| 27 | |
| 28 | variable (M : Type t) [AddCommGroup M] [Module R M] [Module S M] |
| 29 | [Module (MvPolynomial σ R) M] [Module (MvPolynomial σ S) M] |
| 30 | [IsScalarTower R S M] [IsScalarTower R (MvPolynomial σ R) M] |
| 31 | [IsScalarTower R (MvPolynomial σ S) M] [IsScalarTower S (MvPolynomial σ S) M] |
| 32 | [IsScalarTower (MvPolynomial σ R) (MvPolynomial σ S) M] |
| 33 | |
| 34 | def coefficientModuleChartEquiv (s : Finset σ) : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s ≃ₗ[R] Graded.ModuleRestriction.ProjectiveCech.ModuleChart S M s := |
| 35 | LocalizationDenominatorImage.GradedModules.awayModuleScalarEquivOfEq (R := R) M (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (LaurentMonomials.ProjectiveCech.inversionMonomial S s) |
| 36 | (inversionMonomial_coefficientMap R S s) |
| 37 | |
| 38 | omit [IsScalarTower R S M] in |
| 39 | theorem coefficientModuleChartEquiv_fraction (s : Finset σ) (k : ℕ) (m : M) : |
| 40 | coefficientModuleChartEquiv R S M s (Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := R) (LaurentMonomials.ProjectiveCech.inversionMonomial R s) k m) = |
| 41 | Presentations.Module.Fractions.GradedModules.moduleFractionMap (R := S) (LaurentMonomials.ProjectiveCech.inversionMonomial S s) k m := |
| 42 | LocalizationDenominatorImage.GradedModules.awayModuleScalarEquivOfEq_fraction M _ _ _ k m |
| 43 | |
| 44 | variable [LinearOrder σ] |
| 45 | |
| 46 | omit [IsScalarTower R S M] in |
| 47 | theorem coefficientModuleChartEquiv_restriction {s t : Finset σ} (h : s ⊆ t) |
| 48 | (x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s) : |
| 49 | coefficientModuleChartEquiv R S M t (Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M h x) = |
| 50 | Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction S M h (coefficientModuleChartEquiv R S M s x) := |
| 51 | LocalizationScalarRestriction.GradedModules.awayModuleScalarEquivOfEq_restriction M |
| 52 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (LaurentMonomials.ProjectiveCech.inversionMonomial R t) (LaurentMonomials.ProjectiveCech.inversionMonomial R (t \ s)) |
| 53 | (LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff R h).symm |
| 54 | (LaurentMonomials.ProjectiveCech.inversionMonomial S s) (LaurentMonomials.ProjectiveCech.inversionMonomial S t) (LaurentMonomials.ProjectiveCech.inversionMonomial S (t \ s)) |
| 55 | (LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff S h).symm |
| 56 | (inversionMonomial_coefficientMap R S s) (inversionMonomial_coefficientMap R S t) |
| 57 | (inversionMonomial_coefficientMap R S (t \ s)) x |
| 58 | |
| 59 | omit [Module R M] [Module S M] [Module (MvPolynomial σ R) M] [Module (MvPolynomial σ S) M] |
| 60 | [AddCommGroup M] [IsScalarTower R S M] [IsScalarTower R (MvPolynomial σ R) M] |
| 61 | [IsScalarTower R (MvPolynomial σ S) M] [IsScalarTower S (MvPolynomial σ S) M] |
| 62 | [IsScalarTower (MvPolynomial σ R) (MvPolynomial σ S) M] in |
| 63 | theorem alternatingSign_algebraMap (s : Finset σ) (i : σ) : |
| 64 | algebraMap R S (Cech.Signs.ProjectiveCech.alternatingSign R s i) = Cech.Signs.ProjectiveCech.alternatingSign S s i := by |
| 65 | simp only [Cech.Signs.ProjectiveCech.alternatingSign, map_pow, map_neg, map_one] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientModuleCharts.ProjectiveCech |