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.Homogeneous.CoordinateBasis |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RelationsBaseChangeMap |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.SubmoduleExtension |
| 4 | |
| 5 | /-! # Degree Coordinate Relations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.DegreeCoordinateRelations.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Homogeneous degree relations in fixed monomial coordinates commute |
| 12 | with arbitrary coefficient-ring base change. -/ |
| 13 | |
| 14 | open TensorProduct _root_.MvPolynomial |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.SubmoduleExtension.Grassmannian |
| 17 | |
| 18 | universe u |
| 19 | variable {R A : Type u} [CommRing R] [CommRing A] {n : ℕ} |
| 20 | |
| 21 | def degreeCoordinateRelations (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (d : ℕ) : |
| 22 | Submodule R (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n d → R) := |
| 23 | (Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d).map (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d).equivFun.toLinearMap |
| 24 | |
| 25 | theorem coordinateDegreeBasis_map (φ : R →+* A) (d : ℕ) (f : Hilbert.Polynomial.GradedHilbert.grading R n d) : |
| 26 | (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis A n d).equivFun ⟨MvPolynomial.map φ f.val, f.property.map φ⟩ = |
| 27 | φ ∘ (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d).equivFun f := by |
| 28 | funext m |
| 29 | change AddMonoidAlgebra.coeff (MvPolynomial.map φ f.val) m.down.val = φ (AddMonoidAlgebra.coeff f.val m.down.val) |
| 30 | exact MvPolynomial.coeff_map φ f.val m.down.val |
| 31 | |
| 32 | theorem degreeCoordinateRelations_baseChange [Algebra R A] |
| 33 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (d : ℕ) : |
| 34 | Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (algebraMap R A) (degreeCoordinateRelations I d) = |
| 35 | degreeCoordinateRelations (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I) d := by |
| 36 | apply le_antisymm |
| 37 | · apply Submodule.span_le.mpr |
| 38 | rintro _ ⟨v, hv, rfl⟩ |
| 39 | obtain ⟨f, hf, rfl⟩ := hv |
| 40 | refine ⟨⟨MvPolynomial.map (algebraMap R A) f.val, f.property.map _⟩, |
| 41 | Ideal.mem_map_of_mem _ hf, coordinateDegreeBasis_map (algebraMap R A) d f⟩ |
| 42 | · rintro _ ⟨f, hf, rfl⟩ |
| 43 | obtain ⟨z, hz⟩ := RelationsBaseChangeMap.GradedHilbert.degreeRelationsBaseChangeMap_surjective (S := A) I d ⟨f, hf⟩ |
| 44 | have hm : (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis A n d).equivFun (RelationsBaseChangeMap.GradedHilbert.degreeRelationsBaseChangeMap (S := A) I d z).val ∈ |
| 45 | Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (algebraMap R A) (degreeCoordinateRelations I d) := by |
| 46 | clear hz |
| 47 | induction z using TensorProduct.inductionOn with |
| 48 | | tmul s g => |
| 49 | have he : (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis A n d).equivFun |
| 50 | (RelationsBaseChangeMap.GradedHilbert.degreeRelationsBaseChangeMap (S := A) I d (s ⊗ₜ[R] g)).val = |
| 51 | s • ((algebraMap R A) ∘ (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d).equivFun g.val) := by |
| 52 | funext m |
| 53 | change AddMonoidAlgebra.coeff (RelationsBaseChangeMap.GradedHilbert.degreeRelationsBaseChangeMap (S := A) I d (s ⊗ₜ[R] g)).val.val m.down.val = |
| 54 | s • algebraMap R A (AddMonoidAlgebra.coeff g.val.val m.down.val) |
| 55 | rw [RelationsBaseChangeMap.GradedHilbert.degreeRelationsBaseChangeMap_tmul, AddMonoidAlgebra.coeff_smul, Finsupp.smul_apply, MvPolynomial.coeff_map] |
| 56 | rw [he] |
| 57 | apply Submodule.smul_mem |
| 58 | exact Submodule.subset_span ⟨_, ⟨g.val, g.property, rfl⟩, rfl⟩ |
| 59 | | add z w hz hw => |
| 60 | simpa only [map_add, Submodule.coe_add] using Submodule.add_mem _ hz hw |
| 61 | have he : (RelationsBaseChangeMap.GradedHilbert.degreeRelationsBaseChangeMap (S := A) I d z).val = f := congrArg Subtype.val hz |
| 62 | rwa [he] at hm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.DegreeCoordinateRelations.GradedHilbert |