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.NumberTheory.PadicHodge.IntegralComparison.Projective.SpaceSmooth |
| 2 | |
| 3 | /-! # Relative Dimension -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.RelativeDimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The usual projective coordinate charts have the expected smooth |
| 10 | relative dimension over an arbitrary coefficient ring. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomogeneousLocalization |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable (R : Type u) [CommRing R] (τ : Type v) [Finite τ] |
| 19 | |
| 20 | def polynomialPresentation : |
| 21 | Algebra.SubmersivePresentation R (MvPolynomial τ R) τ Empty where |
| 22 | toGenerators := Algebra.Generators.mvPolynomial R τ |
| 23 | relation := Empty.elim |
| 24 | span_range_relation_eq_ker := by simp [Algebra.Generators.ker_mvPolynomial] |
| 25 | map := Empty.elim |
| 26 | map_inj := by intro x; exact x.elim |
| 27 | jacobian_isUnit := by |
| 28 | rw [Algebra.PreSubmersivePresentation.jacobian_eq_jacobiMatrix_det] |
| 29 | simp |
| 30 | |
| 31 | theorem polynomial_standardSmooth : |
| 32 | Algebra.IsStandardSmoothOfRelativeDimension (Nat.card τ) R (MvPolynomial τ R) := |
| 33 | (polynomialPresentation R τ).isStandardSmoothOfRelativeDimension (by |
| 34 | simp [Algebra.Presentation.dimension]) |
| 35 | |
| 36 | variable {R} {σ : Type} [Fintype σ] |
| 37 | |
| 38 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 39 | |
| 40 | theorem chart_standardSmooth (i : σ) : |
| 41 | Algebra.IsStandardSmoothOfRelativeDimension (Fintype.card σ - 1) R |
| 42 | (Away (homogeneousSubmodule σ R) (MvPolynomial.X i)) := by |
| 43 | classical |
| 44 | have hc : Nat.card {j : σ // j ≠ i} = Fintype.card σ - 1 := by |
| 45 | simp [Nat.card_eq_fintype_card, Fintype.card_subtype_compl] |
| 46 | let : Algebra.IsStandardSmoothOfRelativeDimension (Fintype.card σ - 1) R |
| 47 | (MvPolynomial {j : σ // j ≠ i} R) := |
| 48 | hc ▸ polynomial_standardSmooth R {j : σ // j ≠ i} |
| 49 | exact Algebra.IsStandardSmoothOfRelativeDimension.of_algEquiv |
| 50 | (Fintype.card σ - 1) (SpaceSmooth.chartEquiv (R := R) i).symm |
| 51 | |
| 52 | theorem smooth : SmoothOfRelativeDimension (Fintype.card σ - 1) |
| 53 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) := by |
| 54 | rw [IsZariskiLocalAtSource.iff_of_iSup_eq_top |
| 55 | (P := @SmoothOfRelativeDimension (Fintype.card σ - 1)) _ |
| 56 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top (R := R) (σ := σ))] |
| 57 | intro i |
| 58 | let e := Proj.basicOpenIsoSpec (homogeneousSubmodule σ R) (MvPolynomial.X i) |
| 59 | (AlgebraicGeometry.SheafCohomology.Projective.SpaceChart.MvPolynomial.X_mem_homogeneousSubmodule_one R i) one_pos |
| 60 | rw [← MorphismProperty.cancel_left_of_respectsIso |
| 61 | (P := @SmoothOfRelativeDimension (Fintype.card σ - 1)) e.inv] |
| 62 | change SmoothOfRelativeDimension (Fintype.card σ - 1) |
| 63 | (e.inv ≫ (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i).ι ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) |
| 64 | rw [AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ, ← Category.assoc, ← Category.assoc, ← Proj.awayι, |
| 65 | Proj.awayι_toSpecZero, ← Spec.map_comp] |
| 66 | apply (HasRingHomProperty.Spec_iff |
| 67 | (P := @SmoothOfRelativeDimension (Fintype.card σ - 1))).mpr |
| 68 | apply RingHom.locally_of RingHom.isStandardSmoothOfRelativeDimension_respectsIso |
| 69 | exact (RingHom.isStandardSmoothOfRelativeDimension_algebraMap (Fintype.card σ - 1)).mpr |
| 70 | (chart_standardSmooth i) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.RelativeDimension |