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.ProjectiveCoordinateCover |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart |
| 5 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint |
| 6 | |
| 7 | /-! # Projective Point Surjective -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.ProjectivePointSurjective |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Surjectivity ingredients for actual projective complex points |
| 15 | |
| 16 | A scheme point over `Spec ℂ` in an affine polynomial chart is evaluation at |
| 17 | its coordinate values. The projective result uses these genuine affine |
| 18 | morphisms and the finite coordinate-open cover. |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | set_option warningAsError true |
| 23 | |
| 24 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 25 | |
| 26 | /-- Every morphism from `Spec ℂ` to a polynomial affine scheme over ℂ is |
| 27 | ordinary evaluation at a complex coordinate vector. -/ |
| 28 | theorem affinePolynomialPoint_eq_eval {ι : Type} |
| 29 | (p : ProjectiveSpace.complexBase ⟶ Spec (.of (MvPolynomial ι ℂ))) |
| 30 | (hp : p ≫ Spec.map (CommRingCat.ofHom (MvPolynomial.C : ℂ →+* MvPolynomial ι ℂ)) = |
| 31 | 𝟙 ProjectiveSpace.complexBase) : |
| 32 | ∃ a : ι → ℂ, p = Spec.map (CommRingCat.ofHom (MvPolynomial.eval a)) := by |
| 33 | obtain ⟨φ, rfl⟩ := Spec.map_surjective p |
| 34 | have hc : CommRingCat.ofHom (MvPolynomial.C : ℂ →+* MvPolynomial ι ℂ) ≫ φ = |
| 35 | 𝟙 (CommRingCat.of ℂ) := by |
| 36 | apply Spec.map_injective |
| 37 | simpa only [Spec.map_comp, Spec.map_id] using hp |
| 38 | refine ⟨fun i => φ (MvPolynomial.X i), ?_⟩ |
| 39 | congr 1 |
| 40 | apply CommRingCat.hom_ext |
| 41 | apply MvPolynomial.ringHom_ext |
| 42 | · intro c |
| 43 | have h := congrArg (fun f : CommRingCat.of ℂ ⟶ CommRingCat.of ℂ => f c) hc |
| 44 | simpa using h |
| 45 | · intro i |
| 46 | simp |
| 47 | |
| 48 | /-- Every actual complex scheme point of projective space factors through |
| 49 | one of the actual coordinate open subschemes. -/ |
| 50 | theorem projectivePoint_factors_coordinateOpen {n : ℕ} |
| 51 | (p : ProjectiveSpace.complexBase ⟶ ProjectiveSpace.projectiveSpace n) : |
| 52 | ∃ (i : Fin (n + 1)) (q : ProjectiveSpace.complexBase ⟶ (ProjectiveCoordinateCover.projectiveCoordinateOpen n i).toScheme), |
| 53 | q ≫ (ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ι = p := by |
| 54 | obtain ⟨i, hi⟩ := ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen n (p (default : ProjectiveSpace.complexBase)) |
| 55 | have hr : Set.range p ⊆ Set.range (ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ι := by |
| 56 | rw [Scheme.Opens.range_ι] |
| 57 | rintro _ ⟨x, rfl⟩ |
| 58 | change p x ∈ ProjectiveCoordinateCover.projectiveCoordinateOpen n i |
| 59 | simpa only [Subsingleton.elim x (default : ProjectiveSpace.complexBase)] using hi |
| 60 | exact ⟨i, IsOpenImmersion.lift (ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ι p hr, |
| 61 | IsOpenImmersion.lift_fac (ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ι p hr⟩ |
| 62 | |
| 63 | /-- Every actual projective complex point is given by polynomial evaluation |
| 64 | in one of the standard affine charts. -/ |
| 65 | theorem projectivePoint_eq_affineChart {n : ℕ} |
| 66 | (p : ProjectiveSpace.complexBase ⟶ ProjectiveSpace.projectiveSpace n) |
| 67 | (hp : p ≫ ProjectiveSpace.projectiveSpaceToBase n = 𝟙 ProjectiveSpace.complexBase) : |
| 68 | ∃ (i : Fin (n + 1)) (a : {j : Fin (n + 1) // j ≠ i} → ℂ), |
| 69 | p = Spec.map (CommRingCat.ofHom (MvPolynomial.eval a)) ≫ |
| 70 | ProjectiveChart.projectiveAffineChartMap n i := by |
| 71 | obtain ⟨i, q, hq⟩ := projectivePoint_factors_coordinateOpen p |
| 72 | let g := q ≫ (ProjectiveChart.projectiveCoordinateIsoSpec n i).hom |
| 73 | have hg : g ≫ ProjectiveChart.projectiveChartPolynomialToBase n i = 𝟙 ProjectiveSpace.complexBase := by |
| 74 | dsimp [g] |
| 75 | rw [Category.assoc, ProjectiveChart.projectiveCoordinateIsoSpec_over, ← Category.assoc, hq] |
| 76 | exact hp |
| 77 | obtain ⟨a, ha⟩ := affinePolynomialPoint_eq_eval g hg |
| 78 | refine ⟨i, a, ?_⟩ |
| 79 | rw [← ha] |
| 80 | simpa [g, ProjectiveChart.projectiveAffineChartMap, Category.assoc] using hq.symm |
| 81 | |
| 82 | /-- Every actual complex point of the projective scheme is constructed from |
| 83 | a nonzero homogeneous coordinate vector. -/ |
| 84 | theorem projectiveVectorPoint_surjective {n : ℕ} |
| 85 | (p : ProjectiveSpace.complexBase ⟶ ProjectiveSpace.projectiveSpace n) |
| 86 | (hp : p ≫ ProjectiveSpace.projectiveSpaceToBase n = 𝟙 ProjectiveSpace.complexBase) : |
| 87 | ∃ (v : Fin (n + 1) → ℂ) (hv : v ≠ 0), ProjectiveVectorPoint.projectiveVectorPoint v hv = p := by |
| 88 | obtain ⟨i, a, ha⟩ := projectivePoint_eq_affineChart p hp |
| 89 | refine ⟨DehomogenizationC.Algebraic.Dehomogenization.insertOne i a, ProjectiveChartPoint.insertOne_ne_zero n i a, ?_⟩ |
| 90 | exact (ProjectiveChartPoint.projectiveAffineChartMap_eval_eq_vectorPoint n i a |
| 91 | (ProjectiveChartPoint.insertOne_ne_zero n i a)).symm.trans ha.symm |
| 92 | |
| 93 | /-- Equivalently, every actual complex projective scheme point comes from |
| 94 | mathlib's projectivization of the homogeneous coordinate vector space. -/ |
| 95 | theorem exists_projectivizationPoint {n : ℕ} |
| 96 | (p : ProjectiveSpace.complexBase ⟶ ProjectiveSpace.projectiveSpace n) |
| 97 | (hp : p ≫ ProjectiveSpace.projectiveSpaceToBase n = 𝟙 ProjectiveSpace.complexBase) : |
| 98 | ∃ q : Projectivization ℂ (Fin (n + 1) → ℂ), ProjectiveVectorScale.projectivizationPoint n q = p := by |
| 99 | obtain ⟨v, hv, hpv⟩ := projectiveVectorPoint_surjective p hp |
| 100 | exact ⟨Projectivization.mk ℂ v hv, (ProjectiveVectorScale.projectivizationPoint_mk v hv).trans hpv⟩ |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Foundations.Scheme.ProjectivePointSurjective |