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.SyzygyGraphProjection |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SyzygiesFromPolynomialKernel |
| 3 | |
| 4 | /-! # Syzygy Substitution Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.SyzygySubstitutionComparison.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The graph elimination kernel agrees with substitution Yᵢ ↦ gᵢt in a polynomial ring over the original coordinates. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | variable {K σ ι τ : Type*} [Field K] |
| 15 | |
| 16 | def graphOutput (h : ι → MvPolynomial τ K) : |
| 17 | MvPolynomial (ι ⊕ τ) K →ₐ[K] MvPolynomial τ K := aeval (Sum.elim h X) |
| 18 | |
| 19 | theorem graphSubstitution_eq_rename_output (h : ι → MvPolynomial τ K) |
| 20 | (p : MvPolynomial (ι ⊕ τ) K) : |
| 21 | GraphSubstitutionIdeal.GradedHilbert.graphSubstitution h p = rename Sum.inr (graphOutput h p) := by |
| 22 | have he : GraphSubstitutionIdeal.GradedHilbert.graphSubstitution h = (rename Sum.inr).comp (graphOutput h) := by |
| 23 | apply MvPolynomial.algHom_ext |
| 24 | intro i |
| 25 | cases i <;> simp [GraphSubstitutionIdeal.GradedHilbert.graphSubstitution, graphOutput] |
| 26 | exact AlgHom.congr_fun he p |
| 27 | |
| 28 | theorem graphSubstitution_eq_zero_iff_output (h : ι → MvPolynomial τ K) |
| 29 | (p : MvPolynomial (ι ⊕ τ) K) : |
| 30 | GraphSubstitutionIdeal.GradedHilbert.graphSubstitution h p = 0 ↔ graphOutput h p = 0 := by |
| 31 | rw [graphSubstitution_eq_rename_output, rename_eq_zero_iff_of_injective _ Sum.inr_injective] |
| 32 | |
| 33 | theorem optionEquivLeft_rename_some (p : MvPolynomial σ K) : |
| 34 | optionEquivLeft K σ (rename some p) = Polynomial.C p := by |
| 35 | induction p using MvPolynomial.induction_on with |
| 36 | | C r => simp |
| 37 | | add p q hp hq => simp only [map_add, hp, hq] |
| 38 | | mul_X p i hp => simp only [map_mul, hp, rename_X, optionEquivLeft_X_some] |
| 39 | |
| 40 | def syzygyPolynomialSubstitution (g : ι → MvPolynomial σ K) : |
| 41 | MvPolynomial (ι ⊕ σ) K →ₐ[K] Polynomial (MvPolynomial σ K) := |
| 42 | ((Linear.PolynomialCoefficients.GradedHilbert.linearVariableSubstitution g).restrictScalars K).comp (sumAlgEquiv K ι σ).toAlgHom |
| 43 | |
| 44 | theorem syzygyPolynomialSubstitution_eq_graph_output |
| 45 | (g : ι → MvPolynomial σ K) (p : MvPolynomial (ι ⊕ σ) K) : |
| 46 | syzygyPolynomialSubstitution g p = optionEquivLeft K σ |
| 47 | (graphOutput (SyzygyGraphEquations.GradedHilbert.syzygyGraphData g) (rename SyzygyGraphProjection.GradedHilbert.syzygyVariableEmbedding p)) := by |
| 48 | have he : syzygyPolynomialSubstitution g = (optionEquivLeft K σ).toAlgHom.comp |
| 49 | ((graphOutput (SyzygyGraphEquations.GradedHilbert.syzygyGraphData g)).comp (rename SyzygyGraphProjection.GradedHilbert.syzygyVariableEmbedding)) := by |
| 50 | apply MvPolynomial.algHom_ext |
| 51 | intro i |
| 52 | cases i with |
| 53 | | inl i => |
| 54 | simp [syzygyPolynomialSubstitution, Linear.PolynomialCoefficients.GradedHilbert.linearVariableSubstitution, SyzygyGraphProjection.GradedHilbert.syzygyVariableEmbedding, |
| 55 | graphOutput, SyzygyGraphEquations.GradedHilbert.syzygyGraphData, optionEquivLeft_rename_some] |
| 56 | | inr i => |
| 57 | simp [syzygyPolynomialSubstitution, Linear.PolynomialCoefficients.GradedHilbert.linearVariableSubstitution, SyzygyGraphProjection.GradedHilbert.syzygyVariableEmbedding, graphOutput] |
| 58 | exact AlgHom.congr_fun he p |
| 59 | |
| 60 | theorem syzygy_graph_kernel_comparison (g : ι → MvPolynomial σ K) |
| 61 | (p : MvPolynomial (ι ⊕ σ) K) : |
| 62 | GraphSubstitutionIdeal.GradedHilbert.graphSubstitution (SyzygyGraphEquations.GradedHilbert.syzygyGraphData g) (rename SyzygyGraphProjection.GradedHilbert.syzygyVariableEmbedding p) = 0 ↔ |
| 63 | Linear.PolynomialCoefficients.GradedHilbert.linearVariableSubstitution g (sumAlgEquiv K ι σ p) = 0 := by |
| 64 | change _ ↔ syzygyPolynomialSubstitution g p = 0 |
| 65 | rw [syzygyPolynomialSubstitution_eq_graph_output, graphSubstitution_eq_zero_iff_output] |
| 66 | exact (map_eq_zero_iff (optionEquivLeft K σ) (optionEquivLeft K σ).injective).symm |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.SyzygySubstitutionComparison.GradedHilbert |