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.ProjectiveVectorScale |
| 2 | |
| 3 | /-! # Projective Point Injective -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.ProjectivePointInjective |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Homogeneous coordinates separate actual projective scheme points |
| 11 | |
| 12 | If two nonzero coordinate vectors define the same underlying `Proj` point, |
| 13 | homogeneous linear equations show that the vectors are nonzero scalar multiples. |
| 14 | Consequently the previously constructed map from ordinary projectivization to |
| 15 | actual complex-valued projective scheme points is injective. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | variable {n : ℕ} |
| 21 | |
| 22 | /-- Equality of the actual underlying projective scheme points forces two |
| 23 | nonzero homogeneous coordinate vectors to differ by a nonzero scalar. -/ |
| 24 | theorem exists_smul_eq_of_projectiveVectorPoint_apply_eq |
| 25 | (v w : Fin (n + 1) → ℂ) (hv : v ≠ 0) (hw : w ≠ 0) (x : ProjectiveSpace.complexBase) |
| 26 | (heq : ProjectiveVectorPoint.projectiveVectorPoint v hv x = ProjectiveVectorPoint.projectiveVectorPoint w hw x) : |
| 27 | ∃ c : ℂ, c ≠ 0 ∧ w = c • v := by |
| 28 | classical |
| 29 | have hex : ∃ i, v i ≠ 0 := by |
| 30 | by_contra hn |
| 31 | apply hv |
| 32 | funext i |
| 33 | by_contra hi |
| 34 | exact hn ⟨i, hi⟩ |
| 35 | obtain ⟨i, hvi⟩ := hex |
| 36 | have hwi : w i ≠ 0 := by |
| 37 | apply (ProjectiveVectorPoint.projectiveVectorPoint_mem_coordinateOpen_iff w hw i x).mp |
| 38 | rw [← heq] |
| 39 | exact (ProjectiveVectorPoint.projectiveVectorPoint_mem_coordinateOpen_iff v hv i x).mpr hvi |
| 40 | refine ⟨w i / v i, div_ne_zero hwi hvi, ?_⟩ |
| 41 | funext j |
| 42 | let f : ProjectiveSpace.homogeneousCoordinateRing n := |
| 43 | MvPolynomial.C (v i) * MvPolynomial.X j - |
| 44 | MvPolynomial.C (v j) * MvPolynomial.X i |
| 45 | have hf : f ∈ ProjectiveSpace.projectiveGrading n 1 := |
| 46 | (MvPolynomial.isHomogeneous_C_mul_X (v i) j).sub |
| 47 | (MvPolynomial.isHomogeneous_C_mul_X (v j) i) |
| 48 | have hvf : MvPolynomial.eval v f = 0 := by |
| 49 | simp [f, mul_comm] |
| 50 | have hmem : f ∈ (ProjectiveVectorPoint.projectiveVectorPoint v hv x).asHomogeneousIdeal := |
| 51 | (ProjectiveVectorScale.projectiveVectorPoint_homogeneous_mem_iff v hv f 1 hf x).mpr hvf |
| 52 | rw [heq] at hmem |
| 53 | have hwf : MvPolynomial.eval w f = 0 := |
| 54 | (ProjectiveVectorScale.projectiveVectorPoint_homogeneous_mem_iff w hw f 1 hf x).mp hmem |
| 55 | have hcross : v i * w j = v j * w i := by |
| 56 | apply sub_eq_zero.mp |
| 57 | simpa [f] using hwf |
| 58 | change w j = (w i / v i) * v j |
| 59 | calc |
| 60 | w j = (v j * w i) / v i := |
| 61 | (eq_div_iff hvi).mpr (by simpa [mul_comm] using hcross) |
| 62 | _ = (w i / v i) * v j := by |
| 63 | simp only [div_eq_mul_inv] |
| 64 | ac_rfl |
| 65 | |
| 66 | /-- Equal underlying scheme points give equal points of mathlib's ordinary |
| 67 | projectivization. -/ |
| 68 | theorem projectivization_mk_eq_of_projectiveVectorPoint_apply_eq |
| 69 | (v w : Fin (n + 1) → ℂ) (hv : v ≠ 0) (hw : w ≠ 0) (x : ProjectiveSpace.complexBase) |
| 70 | (heq : ProjectiveVectorPoint.projectiveVectorPoint v hv x = ProjectiveVectorPoint.projectiveVectorPoint w hw x) : |
| 71 | Projectivization.mk ℂ v hv = Projectivization.mk ℂ w hw := by |
| 72 | obtain ⟨c, _, hcv⟩ := |
| 73 | exists_smul_eq_of_projectiveVectorPoint_apply_eq v w hv hw x heq |
| 74 | exact ((Projectivization.mk_eq_mk_iff' ℂ w v hw hv).mpr ⟨c, hcv.symm⟩).symm |
| 75 | |
| 76 | /-- Even forgetting the scheme morphism and remembering only its underlying |
| 77 | point gives an injective map from ordinary projective space. -/ |
| 78 | theorem projectivizationPoint_apply_injective (n : ℕ) (x : ProjectiveSpace.complexBase) : |
| 79 | Function.Injective |
| 80 | (fun p : Projectivization ℂ (Fin (n + 1) → ℂ) => ProjectiveVectorScale.projectivizationPoint n p x) := by |
| 81 | intro p q heq |
| 82 | induction p using Projectivization.ind with |
| 83 | | h v hv => |
| 84 | induction q using Projectivization.ind with |
| 85 | | h w hw => |
| 86 | exact projectivization_mk_eq_of_projectiveVectorPoint_apply_eq v w hv hw x heq |
| 87 | |
| 88 | /-- The constructed map from ordinary projectivization to actual |
| 89 | complex-valued projective scheme points is injective. -/ |
| 90 | theorem projectivizationPoint_injective (n : ℕ) : |
| 91 | Function.Injective (ProjectiveVectorScale.projectivizationPoint n) := by |
| 92 | intro p q heq |
| 93 | apply projectivizationPoint_apply_injective n (default : ProjectiveSpace.complexBase) |
| 94 | exact congrArg (fun f : ProjectiveSpace.complexBase ⟶ ProjectiveSpace.projectiveSpace n => f (default : ProjectiveSpace.complexBase)) heq |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Foundations.Scheme.ProjectivePointInjective |