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.GraphSubstitutionIdeal |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.VariableElimination |
| 3 | |
| 4 | /-! # Syzygy Graph Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.SyzygyGraphEquations.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Bounded elimination for the graph equations Yᵢ − gᵢt of a homogeneous polynomial family. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v z |
| 15 | |
| 16 | variable {K : Type u} [Field K] {σ : Type v} {ι : Type z} |
| 17 | |
| 18 | def syzygyGraphData (g : ι → MvPolynomial σ K) (i : ι) : MvPolynomial (Option σ) K := |
| 19 | rename some (g i) * X none |
| 20 | |
| 21 | def syzygyGraphWeight (N : ℕ) : ι ⊕ Option σ → ℕ := |
| 22 | Sum.elim (fun _ => N + 1) (fun _ => 1) |
| 23 | |
| 24 | theorem syzygyGraphWeight_pos (N : ℕ) (i : ι ⊕ Option σ) : |
| 25 | syzygyGraphWeight N i ≠ 0 := by |
| 26 | cases i <;> simp [syzygyGraphWeight] |
| 27 | |
| 28 | theorem syzygyGraphEquation_weighted_homogeneous |
| 29 | (g : ι → MvPolynomial σ K) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) (i : ι) : |
| 30 | (GraphSubstitutionIdeal.GradedHilbert.graphEquation (syzygyGraphData g) i).IsWeightedHomogeneous (syzygyGraphWeight N) (N + 1) := by |
| 31 | apply (isWeightedHomogeneous_X K (syzygyGraphWeight N) (Sum.inl i)).sub |
| 32 | apply WeightedRename.GradedHilbert.weightedHomogeneous_rename (syzygyGraphWeight N) Sum.inr |
| 33 | have hrename : (rename some (g i)).IsWeightedHomogeneous (fun _ : Option σ => 1) N := by |
| 34 | apply WeightedRename.GradedHilbert.weightedHomogeneous_rename (fun _ : Option σ => 1) some |
| 35 | exact hg i |
| 36 | exact hrename.mul (isWeightedHomogeneous_X K (fun _ : Option σ => 1) none) |
| 37 | |
| 38 | theorem exists_bounded_syzygy_graph_elimination |
| 39 | [Fintype ι] {n : ℕ} (E : (ι ⊕ Option σ) ≃ Fin (n + 1)) |
| 40 | (g : ι → MvPolynomial σ K) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) : |
| 41 | ∃ B : Finset (MvPolynomial (ι ⊕ Option σ) K), |
| 42 | (∀ f ∈ B, GraphSubstitutionIdeal.GradedHilbert.graphSubstitution (syzygyGraphData g) f = 0 ∧ f ≠ 0 ∧ |
| 43 | f ∈ supported K ({Sum.inr none}ᶜ : Set (ι ⊕ Option σ)) ∧ |
| 44 | ∃ d ≤ Uniform.GroebnerCompletion.GradedHilbert.homogeneousGroebnerDegreeBound n (N + 1), |
| 45 | f.IsWeightedHomogeneous (syzygyGraphWeight N) d) ∧ |
| 46 | ∀ f ∈ supported K ({Sum.inr none}ᶜ : Set (ι ⊕ Option σ)), |
| 47 | GraphSubstitutionIdeal.GradedHilbert.graphSubstitution (syzygyGraphData g) f = 0 ↔ |
| 48 | f ∈ Ideal.span (B : Set (MvPolynomial (ι ⊕ Option σ) K)) := by |
| 49 | classical |
| 50 | obtain ⟨B, hB, hgen⟩ := Finite.VariableElimination.GradedHilbert.exists_weighted_elimination_generators_of_equiv E |
| 51 | (syzygyGraphWeight N) (syzygyGraphWeight_pos N) {Sum.inr none} |
| 52 | (GraphSubstitutionIdeal.GradedHilbert.graphEquation (syzygyGraphData g)) (fun _ => N + 1) |
| 53 | (syzygyGraphEquation_weighted_homogeneous g N hg) |
| 54 | (GraphSubstitutionIdeal.GradedHilbert.graphEquation_ne_zero (syzygyGraphData g)) (N + 1) (fun _ => le_rfl) |
| 55 | simp only [Finset.coe_singleton] at hB hgen |
| 56 | have hker (f : MvPolynomial (ι ⊕ Option σ) K) : |
| 57 | f ∈ Ideal.span (Set.range (GraphSubstitutionIdeal.GradedHilbert.graphEquation (syzygyGraphData g))) ↔ |
| 58 | GraphSubstitutionIdeal.GradedHilbert.graphSubstitution (syzygyGraphData g) f = 0 := by |
| 59 | rw [← GraphSubstitutionIdeal.GradedHilbert.graphSubstitution_kernel, RingHom.mem_ker] |
| 60 | rfl |
| 61 | refine ⟨B, ?_, ?_⟩ |
| 62 | · intro f hf |
| 63 | obtain ⟨hfi, hf0, hfs, d, hd, hhom⟩ := hB f hf |
| 64 | exact ⟨(hker f).mp hfi, hf0, hfs, d, hd, hhom⟩ |
| 65 | · intro f hfs |
| 66 | exact (hker f).symm.trans (hgen f hfs) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.SyzygyGraphEquations.GradedHilbert |