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.Linear.PolynomialSubstitution |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DimensionShift |
| 3 | |
| 4 | /-! # Cover Module -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CoverModule.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual Čech complexes of finite polynomial covers, using the polynomial action given by evaluation. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.PolynomialSubstitution.GradedModules |
| 15 | |
| 16 | universe u v w t z |
| 17 | |
| 18 | variable {σ : Type u} (R : Type v) [CommRing R] |
| 19 | |
| 20 | section General |
| 21 | |
| 22 | variable (A : Type w) [CommRing A] [Algebra R A] |
| 23 | variable (M : Type t) [AddCommGroup M] [Module R M] [Module A M] [IsScalarTower R A M] |
| 24 | |
| 25 | @[instance_reducible] |
| 26 | def polynomialCoverModule (a : σ → A) : Module (MvPolynomial σ R) M := |
| 27 | Module.compHom M (MvPolynomial.aeval a).toRingHom |
| 28 | |
| 29 | theorem polynomialCover_scalarTower (a : σ → A) : |
| 30 | let := polynomialCoverModule R A M a |
| 31 | IsScalarTower R (MvPolynomial σ R) M := by |
| 32 | let := polynomialCoverModule R A M a |
| 33 | apply IsScalarTower.of_algebraMap_smul |
| 34 | intro r m |
| 35 | change MvPolynomial.aeval a (C r) • m = r • m |
| 36 | rw [MvPolynomial.aeval_C, algebraMap_smul A] |
| 37 | |
| 38 | variable [LinearOrder σ] |
| 39 | |
| 40 | def polynomialCoverCechExactAt (a : σ → A) (ℳ : ℤ → Submodule R M) (d : ℤ) (q : ℕ) : Prop := |
| 41 | let := polynomialCoverModule R A M a |
| 42 | let := polynomialCover_scalarTower R A M a |
| 43 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q |
| 44 | |
| 45 | end General |
| 46 | |
| 47 | section Composition |
| 48 | |
| 49 | variable {κ : Type z} |
| 50 | variable (A : Type w) [CommRing A] [Algebra R A] |
| 51 | variable (M : Type t) [AddCommGroup M] [Module A M] |
| 52 | |
| 53 | theorem polynomialCover_composition_tower (a : σ → A) (b : κ → A) |
| 54 | (f : MvPolynomial κ R →ₐ[R] MvPolynomial σ R) |
| 55 | (hf : (MvPolynomial.aeval a).comp f = MvPolynomial.aeval b) : |
| 56 | let := f.toRingHom.toAlgebra |
| 57 | let := polynomialCoverModule R A M a |
| 58 | let := polynomialCoverModule R A M b |
| 59 | IsScalarTower (MvPolynomial κ R) (MvPolynomial σ R) M := by |
| 60 | let := f.toRingHom.toAlgebra |
| 61 | let := polynomialCoverModule R A M a |
| 62 | let := polynomialCoverModule R A M b |
| 63 | apply IsScalarTower.of_algebraMap_smul |
| 64 | intro p m |
| 65 | change MvPolynomial.aeval a (f p) • m = MvPolynomial.aeval b p • m |
| 66 | exact congrArg (fun r : A => r • m) (DFunLike.congr_fun hf p) |
| 67 | |
| 68 | end Composition |
| 69 | |
| 70 | variable {τ : Type w} [Fintype σ] [Fintype τ] |
| 71 | variable (M : Type t) [AddCommGroup M] [Module R M] [Module (MvPolynomial τ R) M] |
| 72 | [IsScalarTower R (MvPolynomial τ R) M] |
| 73 | variable (ℳ : ℤ → Submodule R M) [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := τ) R) ℳ] |
| 74 | |
| 75 | omit [IsScalarTower R (MvPolynomial τ R) M] in |
| 76 | theorem polynomialCover_gradedSMul (a : σ → MvPolynomial τ R) (ha : ∀ i, (a i).IsHomogeneous 1) : |
| 77 | let := polynomialCoverModule R (MvPolynomial τ R) M a |
| 78 | SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ := by |
| 79 | let := polynomialCoverModule R (MvPolynomial τ R) M a |
| 80 | constructor |
| 81 | intro i j p m hp hm |
| 82 | change (MvPolynomial.aeval a p) • m ∈ ℳ (i +ᵥ j) |
| 83 | exact SetLike.GradedSMul.smul_mem (Linear.PolynomialSubstitution.GradedModules.linearSubstitution_integer_homogeneous R a ha hp) hm |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CoverModule.ProjectiveCech |