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.AbelianModuli.HilbertConstruction.SaturatedCoordinateChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.CoordinateRelations |
| 3 | |
| 4 | /-! # Relation Invariance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.RelationInvariance |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Having the degree relations of an actual saturated flat |
| 11 | Hilbert ideal is invariant under invertible coordinate changes, |
| 12 | unit row rescalings, and relabeling. -/ |
| 13 | universe u v w |
| 14 | variable {R : Type u} [CommRing R] {n : ℕ} {ι : Type v} |
| 15 | |
| 16 | def ConfigurationHasHilbertRelations (v : ι → Fin (n + 1) → R) (D : ℕ) (P : Polynomial ℚ) : Prop := |
| 17 | ∃ I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R n P, |
| 18 | (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation v D).ker = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.ideal.toIdeal D |
| 19 | |
| 20 | theorem configurationHasHilbertRelations_matrix_iff [Fintype ι] [DecidableEq ι] |
| 21 | (v : ι → Fin (n + 1) → R) (D : ℕ) (P : Polynomial ℚ) : |
| 22 | ConfigurationHasHilbertRelations v D P ↔ |
| 23 | ∃ I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R n P, |
| 24 | (Matrix.toLin' (MonomialMatrix.configurationMonomialMatrix v D)).ker = HilbertScheme.Presentations.DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations I.ideal D := by |
| 25 | unfold ConfigurationHasHilbertRelations |
| 26 | apply exists_congr |
| 27 | intro I |
| 28 | rw [CoordinateRelations.configurationMonomialMatrix_kernel] |
| 29 | change _ ↔ Submodule.map (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n D).equivFun.toLinearMap _ = |
| 30 | Submodule.map (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n D).equivFun.toLinearMap _ |
| 31 | exact (Submodule.map_injective_of_injective (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n D).equivFun.injective).eq_iff.symm |
| 32 | |
| 33 | theorem configurationHasHilbertRelations_relabel_iff {κ : Type w} |
| 34 | (v : ι → Fin (n + 1) → R) (e : κ ≃ ι) (D : ℕ) (P : Polynomial ℚ) : |
| 35 | ConfigurationHasHilbertRelations (fun c => v (e c)) D P ↔ ConfigurationHasHilbertRelations v D P := by |
| 36 | unfold ConfigurationHasHilbertRelations |
| 37 | simp only [EvaluationInvariance.homogeneousConfigurationEvaluation_kernel_relabel] |
| 38 | |
| 39 | variable [IsNoetherianRing R] |
| 40 | |
| 41 | theorem configurationHasHilbertRelations_of_frameOrbit |
| 42 | (v w : ι → Fin (n + 1) → R) |
| 43 | (T : (Fin (n + 1) → R) ≃ₗ[R] (Fin (n + 1) → R)) (s : ι → Rˣ) |
| 44 | (h : ∀ z, w z = (s z : R) • T (v z)) (D : ℕ) (P : Polynomial ℚ) |
| 45 | (H : ConfigurationHasHilbertRelations v D P) : ConfigurationHasHilbertRelations w D P := by |
| 46 | obtain ⟨I, hI⟩ := H |
| 47 | refine ⟨I.coordinateChange (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T), ?_⟩ |
| 48 | have hw : w = fun z j => (s z : R) * T (v z) j := |
| 49 | funext (fun z => funext (fun j => congrFun (h z) j)) |
| 50 | rw [hw] |
| 51 | exact I.coordinateChange_configuration_kernel v D T s hI |
| 52 | |
| 53 | theorem configurationHasHilbertRelations_frameOrbit_iff |
| 54 | (v w : ι → Fin (n + 1) → R) |
| 55 | (T : (Fin (n + 1) → R) ≃ₗ[R] (Fin (n + 1) → R)) (s : ι → Rˣ) |
| 56 | (h : ∀ z, w z = (s z : R) • T (v z)) (D : ℕ) (P : Polynomial ℚ) : |
| 57 | ConfigurationHasHilbertRelations w D P ↔ ConfigurationHasHilbertRelations v D P := by |
| 58 | refine ⟨?_, configurationHasHilbertRelations_of_frameOrbit v w T s h D P⟩ |
| 59 | apply configurationHasHilbertRelations_of_frameOrbit w v T.symm (fun z => (s z)⁻¹) ?_ D P |
| 60 | intro z |
| 61 | rw [h z, T.symm.map_smul, T.symm_apply_apply] |
| 62 | change v z = (s z)⁻¹ • ((s z) • v z) |
| 63 | rw [inv_smul_smul] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.RelationInvariance |