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.Foundations.Scheme.ProjectiveVectorPoint |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ClosedProjective |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.HomogeneousEvalMap |
| 4 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 5 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 6 | import Mathlib.LinearAlgebra.Projectivization.Basic |
| 7 | |
| 8 | /-! # Projective Vector Scale -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveVectorScale |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # Scale independence of actual projective scheme points |
| 16 | |
| 17 | The map from nonzero vectors to `Proj` is invariant under nonzero complex |
| 18 | scalars. It therefore descends to mathlib's ordinary projectivization. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | variable {n : ℕ} |
| 24 | |
| 25 | /-- The homogeneous prime ideal of the scheme point contains a homogeneous |
| 26 | polynomial exactly when its ordinary evaluation is zero, including degree zero. -/ |
| 27 | theorem projectiveVectorPoint_homogeneous_mem_iff |
| 28 | (v : Fin (n + 1) → ℂ) (hv : v ≠ 0) |
| 29 | (f : ProjectiveSpace.homogeneousCoordinateRing n) (d : ℕ) (hf : f ∈ ProjectiveSpace.projectiveGrading n d) |
| 30 | (x : ProjectiveSpace.complexBase) : |
| 31 | f ∈ (ProjectiveVectorPoint.projectiveVectorPoint v hv x).asHomogeneousIdeal ↔ MvPolynomial.eval v f = 0 := by |
| 32 | cases d with |
| 33 | | zero => |
| 34 | obtain ⟨c, rfl⟩ : ∃ c : ℂ, f = MvPolynomial.C c := |
| 35 | ⟨_, HomogeneousEvalMap.eq_C_of_isHomogeneous_zero hf⟩ |
| 36 | simp only [MvPolynomial.eval_C] |
| 37 | constructor |
| 38 | · intro h |
| 39 | by_contra hc |
| 40 | let : (ProjectiveVectorPoint.projectiveVectorPoint v hv x).asHomogeneousIdeal.toIdeal.IsPrime := |
| 41 | (ProjectiveVectorPoint.projectiveVectorPoint v hv x).isPrime |
| 42 | exact Ideal.notMem_of_isUnit |
| 43 | (ProjectiveVectorPoint.projectiveVectorPoint v hv x).asHomogeneousIdeal.toIdeal |
| 44 | ((isUnit_iff_ne_zero.mpr hc).map MvPolynomial.C) h |
| 45 | · intro hc |
| 46 | simp [hc] |
| 47 | | succ d => |
| 48 | have h := ProjectiveVectorPoint.projectiveVectorPoint_mem_basicOpen_iff v hv f (Nat.succ_pos d) hf x |
| 49 | change (¬ f ∈ (ProjectiveVectorPoint.projectiveVectorPoint v hv x).asHomogeneousIdeal ↔ |
| 50 | ¬ MvPolynomial.eval v f = 0) at h |
| 51 | exact not_iff_not.mp h |
| 52 | |
| 53 | /-- Nonzero scalar multiplication does not change the underlying Proj point. -/ |
| 54 | theorem projectiveVectorPoint_smul_apply |
| 55 | (v : Fin (n + 1) → ℂ) (hv : v ≠ 0) (c : ℂ) (hc : c ≠ 0) |
| 56 | (hcv : c • v ≠ 0) (x : ProjectiveSpace.complexBase) : |
| 57 | ProjectiveVectorPoint.projectiveVectorPoint (c • v) hcv x = ProjectiveVectorPoint.projectiveVectorPoint v hv x := by |
| 58 | apply ProjectiveSpectrum.ext |
| 59 | apply HomogeneousIdeal.ext' |
| 60 | intro d f hf |
| 61 | rw [projectiveVectorPoint_homogeneous_mem_iff (c • v) hcv f d hf x, |
| 62 | projectiveVectorPoint_homogeneous_mem_iff v hv f d hf x] |
| 63 | exact HomogeneousEvalMap.eval_smul_eq_zero_iff hf hc v |
| 64 | |
| 65 | /-- Nonzero scalar multiplication does not change the actual morphism |
| 66 | `Spec ℂ → Proj ℂ[X₀,...,Xₙ]`, not just its underlying point. -/ |
| 67 | theorem projectiveVectorPoint_smul |
| 68 | (v : Fin (n + 1) → ℂ) (hv : v ≠ 0) (c : ℂ) (hc : c ≠ 0) |
| 69 | (hcv : c • v ≠ 0) : |
| 70 | ProjectiveVectorPoint.projectiveVectorPoint (c • v) hcv = ProjectiveVectorPoint.projectiveVectorPoint v hv := by |
| 71 | apply ext_of_apply_closedPoint_eq (ProjectiveSpace.projectiveSpaceToBase n) |
| 72 | (ProjectiveVectorPoint.projectiveVectorPoint_over_base (c • v) hcv) (ProjectiveVectorPoint.projectiveVectorPoint_over_base v hv) |
| 73 | exact projectiveVectorPoint_smul_apply v hv c hc hcv _ |
| 74 | |
| 75 | /-- Ordinary complex projective space maps to the actual complex-valued points |
| 76 | of its projective scheme by quotienting the scale-independent vector map. -/ |
| 77 | def projectivizationPoint (n : ℕ) : |
| 78 | Projectivization ℂ (Fin (n + 1) → ℂ) → (ProjectiveSpace.complexBase ⟶ ProjectiveSpace.projectiveSpace n) := |
| 79 | Projectivization.lift |
| 80 | (fun v : {v : Fin (n + 1) → ℂ // v ≠ 0} => ProjectiveVectorPoint.projectiveVectorPoint v.val v.property) |
| 81 | (by |
| 82 | intro a b c h |
| 83 | have hc : c ≠ 0 := by |
| 84 | intro hc |
| 85 | apply a.property |
| 86 | simpa [hc] using h |
| 87 | have hcb : c • b.val ≠ 0 := by simpa [← h] using a.property |
| 88 | simpa [h] using projectiveVectorPoint_smul b.val b.property c hc hcb) |
| 89 | |
| 90 | @[simp] |
| 91 | theorem projectivizationPoint_mk (v : Fin (n + 1) → ℂ) (hv : v ≠ 0) : |
| 92 | projectivizationPoint n (Projectivization.mk ℂ v hv) = ProjectiveVectorPoint.projectiveVectorPoint v hv := rfl |
| 93 | |
| 94 | /-- Every point obtained by the quotient construction is over the complex base. -/ |
| 95 | @[reassoc (attr := simp)] |
| 96 | theorem projectivizationPoint_over_base (p : Projectivization ℂ (Fin (n + 1) → ℂ)) : |
| 97 | projectivizationPoint n p ≫ ProjectiveSpace.projectiveSpaceToBase n = 𝟙 ProjectiveSpace.complexBase := by |
| 98 | induction p using Projectivization.ind with |
| 99 | | h v hv => exact ProjectiveVectorPoint.projectiveVectorPoint_over_base v hv |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveVectorScale |