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.SyzygyGraphEquations |
| 2 | |
| 3 | /-! # Syzygy Graph Projection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.SyzygyGraphProjection.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Removing the auxiliary graph variable preserves the elimination relations and their weighted degree bounds. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | variable {K σ ι : Type*} [Field K] |
| 14 | |
| 15 | def syzygyVariableEmbedding : ι ⊕ σ → ι ⊕ Option σ := Sum.map id some |
| 16 | |
| 17 | theorem syzygyVariableEmbedding_injective : |
| 18 | Function.Injective (syzygyVariableEmbedding (ι := ι) (σ := σ)) := by |
| 19 | intro x y h |
| 20 | cases x with |
| 21 | | inl x => |
| 22 | cases y with |
| 23 | | inl y => simpa [syzygyVariableEmbedding] using h |
| 24 | | inr y => simp [syzygyVariableEmbedding] at h |
| 25 | | inr x => |
| 26 | cases y with |
| 27 | | inl y => simp [syzygyVariableEmbedding] at h |
| 28 | | inr y => simpa [syzygyVariableEmbedding] using h |
| 29 | |
| 30 | def syzygyGraphProjection : MvPolynomial (ι ⊕ Option σ) K →ₐ[K] MvPolynomial (ι ⊕ σ) K := |
| 31 | killCompl syzygyVariableEmbedding_injective |
| 32 | |
| 33 | theorem syzygyGraphProjection_rename (p : MvPolynomial (ι ⊕ σ) K) : |
| 34 | syzygyGraphProjection (rename syzygyVariableEmbedding p) = p := |
| 35 | killCompl_rename_app syzygyVariableEmbedding_injective p |
| 36 | |
| 37 | theorem syzygy_rename_supported (p : MvPolynomial (ι ⊕ σ) K) : |
| 38 | rename syzygyVariableEmbedding p ∈ supported K ({Sum.inr none}ᶜ : Set (ι ⊕ Option σ)) := by |
| 39 | rw [mem_supported] |
| 40 | intro i hi |
| 41 | obtain ⟨j, _, rfl⟩ := mem_vars_rename syzygyVariableEmbedding p hi |
| 42 | cases j <;> simp [syzygyVariableEmbedding] |
| 43 | |
| 44 | theorem syzygy_rename_projection (p : MvPolynomial (ι ⊕ Option σ) K) |
| 45 | (hp : p ∈ supported K ({Sum.inr none}ᶜ : Set (ι ⊕ Option σ))) : |
| 46 | rename syzygyVariableEmbedding (syzygyGraphProjection p) = p := by |
| 47 | have hv : (p.vars : Set (ι ⊕ Option σ)) ⊆ Set.range syzygyVariableEmbedding := by |
| 48 | intro i hi |
| 49 | cases i with |
| 50 | | inl i => exact ⟨Sum.inl i, rfl⟩ |
| 51 | | inr i => |
| 52 | cases i with |
| 53 | | none => exact False.elim ((mem_supported.mp hp) hi (Set.mem_singleton _)) |
| 54 | | some i => exact ⟨Sum.inr i, rfl⟩ |
| 55 | obtain ⟨q, rfl⟩ := exists_rename_eq_of_vars_subset_range p syzygyVariableEmbedding |
| 56 | syzygyVariableEmbedding_injective hv |
| 57 | rw [syzygyGraphProjection_rename] |
| 58 | |
| 59 | theorem syzygyGraphProjection_weighted_homogeneous |
| 60 | {p : MvPolynomial (ι ⊕ Option σ) K} {N d : ℕ} |
| 61 | (hp : p.IsWeightedHomogeneous (SyzygyGraphEquations.GradedHilbert.syzygyGraphWeight N) d) : |
| 62 | (syzygyGraphProjection p).IsWeightedHomogeneous |
| 63 | (Sum.elim (fun _ : ι => N + 1) (fun _ : σ => 1)) d := by |
| 64 | intro a ha |
| 65 | change (killCompl syzygyVariableEmbedding_injective p).coeff a ≠ 0 at ha |
| 66 | rw [coeff_killCompl] at ha |
| 67 | have hd := hp ha |
| 68 | rw [WeightedRename.GradedHilbert.naturalWeight_mapDomain] at hd |
| 69 | have hw : SyzygyGraphEquations.GradedHilbert.syzygyGraphWeight (ι := ι) (σ := σ) N ∘ syzygyVariableEmbedding = |
| 70 | Sum.elim (fun _ : ι => N + 1) (fun _ : σ => 1) := by |
| 71 | funext i |
| 72 | cases i <;> rfl |
| 73 | rwa [hw] at hd |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.SyzygyGraphProjection.GradedHilbert |