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.Coordinate.SyzygyBound |
| 2 | |
| 3 | /-! # Syzygy Lifting -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.SyzygyLifting.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Lifting relations in a bounded range of homogeneous degrees suffices to lift every relation after a surjective coefficient specialization. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u v z |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] {S : Type v} [CommRing S] |
| 16 | variable {n : ℕ} {ι : Type z} [Fintype ι] |
| 17 | |
| 18 | def mapRelationVector (φ : R →+* S) (a : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing S n := |
| 19 | fun i => MvPolynomial.map φ (a i) |
| 20 | |
| 21 | theorem map_polynomialRelationMap (φ : R →+* S) (g a : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : |
| 22 | MvPolynomial.map φ (SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap g a) = |
| 23 | SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap (mapRelationVector φ g) (mapRelationVector φ a) := by |
| 24 | simp [SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap, mapRelationVector, map_sum, map_mul] |
| 25 | |
| 26 | def liftedPolynomialRelations (φ : R →+* S) (hφ : Function.Surjective φ) |
| 27 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : Submodule (Hilbert.Polynomial.GradedHilbert.CoordinateRing S n) (ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing S n) where |
| 28 | carrier := {a | ∃ b, SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap g b = 0 ∧ mapRelationVector φ b = a} |
| 29 | zero_mem' := ⟨0, map_zero _, by funext i; simp [mapRelationVector]⟩ |
| 30 | add_mem' := by |
| 31 | rintro a b ⟨a', ha', rfl⟩ ⟨b', hb', rfl⟩ |
| 32 | refine ⟨a' + b', by rw [map_add, ha', hb', add_zero], ?_⟩ |
| 33 | funext i |
| 34 | simp [mapRelationVector] |
| 35 | smul_mem' := by |
| 36 | rintro c a ⟨b, hb, rfl⟩ |
| 37 | obtain ⟨c', hc'⟩ := MvPolynomial.map_surjective φ hφ c |
| 38 | refine ⟨c' • b, by rw [map_smul, hb, smul_zero], ?_⟩ |
| 39 | funext i |
| 40 | simp only [mapRelationVector, Pi.smul_apply, smul_eq_mul, map_mul, hc'] |
| 41 | |
| 42 | theorem liftedPolynomialRelations_le_kernel (φ : R →+* S) (hφ : Function.Surjective φ) |
| 43 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : |
| 44 | liftedPolynomialRelations φ hφ g ≤ LinearMap.ker (SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap (mapRelationVector φ g)) := by |
| 45 | rintro a ⟨b, hb, rfl⟩ |
| 46 | change SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap (mapRelationVector φ g) (mapRelationVector φ b) = 0 |
| 47 | rw [← map_polynomialRelationMap, hb, map_zero] |
| 48 | |
| 49 | theorem all_relations_lift_of_bounded_homogeneous_lifts |
| 50 | {K : Type v} [Field K] (φ : R →+* K) (hφ : Function.Surjective φ) |
| 51 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 52 | (hlift : ∀ d ≤ Coordinate.SyzygyBound.GradedHilbert.homogeneousSyzygyDegreeBound n (Fintype.card ι) N, |
| 53 | ∀ a : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n, (∀ i, (a i).IsHomogeneous d) → |
| 54 | SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap (mapRelationVector φ g) a = 0 → |
| 55 | ∃ b : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n, SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap g b = 0 ∧ mapRelationVector φ b = a) : |
| 56 | liftedPolynomialRelations φ hφ g = LinearMap.ker (SyzygiesFromPolynomialKernel.GradedHilbert.polynomialRelationMap (mapRelationVector φ g)) := by |
| 57 | have hgK (i : ι) : (mapRelationVector φ g i).IsHomogeneous N := (hg i).map φ |
| 58 | obtain ⟨B, hB, hdeg⟩ := Coordinate.SyzygyBound.GradedHilbert.exists_uniform_coordinate_syzygy_generators (mapRelationVector φ g) N hgK |
| 59 | apply le_antisymm (liftedPolynomialRelations_le_kernel φ hφ g) |
| 60 | rw [hB] |
| 61 | apply Submodule.span_le.mpr |
| 62 | intro a ha |
| 63 | obtain ⟨d, hd, hhom⟩ := hdeg a ha |
| 64 | apply hlift d hd a hhom |
| 65 | apply LinearMap.mem_ker.mp |
| 66 | rw [hB] |
| 67 | exact Submodule.subset_span ha |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.SyzygyLifting.GradedHilbert |