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.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone |
| 3 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.AnalyticFibers |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts |
| 5 | |
| 6 | /-! # Cone Charts -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Holomorphic equations on the punctured projective cone |
| 14 | |
| 15 | The standard affine projective charts pull back to coordinate-ratio maps on |
| 16 | the cone. These maps are holomorphic wherever the denominator is nonzero, |
| 17 | so local holomorphic equations in projective charts give local holomorphic |
| 18 | equations on the cone away from its vertex. |
| 19 | -/ |
| 20 | |
| 21 | open Set Filter |
| 22 | open scoped _root_.Topology |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 25 | |
| 26 | /-- The affine coordinate ratios on the patch where coordinate `i` is nonzero. -/ |
| 27 | def dehomogenize {n : ℕ} (i : Fin (n + 1)) (v : Fin (n + 1) → ℂ) (j : Fin n) : ℂ := |
| 28 | v (i.succAbove j) / v i |
| 29 | |
| 30 | theorem differentiableOn_dehomogenize {n : ℕ} (i : Fin (n + 1)) : |
| 31 | DifferentiableOn ℂ (dehomogenize i) {v | v i ≠ 0} := by |
| 32 | apply differentiableOn_pi.mpr |
| 33 | intro j |
| 34 | have hnum : Differentiable ℂ (fun v : Fin (n + 1) → ℂ => v (i.succAbove j)) := |
| 35 | differentiable_apply _ |
| 36 | have hden : Differentiable ℂ (fun v : Fin (n + 1) → ℂ => v i) := |
| 37 | differentiable_apply _ |
| 38 | have hinv : DifferentiableOn ℂ (fun v : Fin (n + 1) → ℂ => (v i)⁻¹) |
| 39 | {v | v i ≠ 0} := hden.differentiableOn.fun_inv (fun _ h => h) |
| 40 | simpa only [dehomogenize, div_eq_mul_inv] using hnum.differentiableOn.fun_mul hinv |
| 41 | |
| 42 | theorem dehomogenize_eq_projectiveChart {n : ℕ} (i : Fin (n + 1)) |
| 43 | (v : Fin (n + 1) → ℂ) (hv : v ≠ 0) : |
| 44 | dehomogenize i v = ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (Projectivization.mk ℂ v hv) := by |
| 45 | ext j |
| 46 | simp only [dehomogenize, ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart_apply, Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio_mk] |
| 47 | |
| 48 | /-- Membership in the cone is tested by its actual projective affine chart. -/ |
| 49 | theorem mem_projectiveCone_iff_dehomogenize {n : ℕ} |
| 50 | (Z : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 51 | (i : Fin (n + 1)) (v : Fin (n + 1) → ℂ) (hvi : v i ≠ 0) : |
| 52 | v ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z ↔ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).symm (dehomogenize i v) ∈ Z := by |
| 53 | have hv : v ≠ 0 := by |
| 54 | intro h |
| 55 | apply hvi |
| 56 | simp [h] |
| 57 | rw [ProjectiveCone.Constructions.Cone.mem_projectiveCone_iff Z v hv, dehomogenize_eq_projectiveChart i v hv] |
| 58 | have hp : Projectivization.mk ℂ v hv ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source := |
| 59 | (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v hv).mpr hvi |
| 60 | rw [(ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).left_inv hp] |
| 61 | |
| 62 | /-- Holomorphic equations in one projective patch pull back to genuine local |
| 63 | holomorphic equations on the punctured affine cone. -/ |
| 64 | theorem holomorphicZeroSetAt_projectiveCone_of_chart {n : ℕ} |
| 65 | (Z : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 66 | (i : Fin (n + 1)) (v : Fin (n + 1) → ℂ) (hvi : v i ≠ 0) |
| 67 | (hlocal : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt ((ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).symm ⁻¹' Z) |
| 68 | (dehomogenize i v)) : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (ProjectiveCone.Constructions.Cone.projectiveCone Z) v := by |
| 69 | have hopen : IsOpen {w : Fin (n + 1) → ℂ | w i ≠ 0} := |
| 70 | isOpen_ne_fun (continuous_apply i) continuous_const |
| 71 | have hpull := hlocal.preimage hopen hvi (differentiableOn_dehomogenize i) |
| 72 | apply hpull.congr |
| 73 | filter_upwards [hopen.mem_nhds hvi] with w hw |
| 74 | exact mem_projectiveCone_iff_dehomogenize Z i w hw |
| 75 | |
| 76 | /-- Projective local holomorphic equations supply the needed local cone |
| 77 | equations at every nonzero vector. -/ |
| 78 | theorem holomorphicZeroSetAt_projectiveCone {n : ℕ} |
| 79 | (Z : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 80 | (hlocal : ∀ i p, p ∈ Z → p ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 81 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt ((ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).symm ⁻¹' Z) (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i p)) |
| 82 | (v : Fin (n + 1) → ℂ) (hv : v ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z) (hv0 : v ≠ 0) : |
| 83 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (ProjectiveCone.Constructions.Cone.projectiveCone Z) v := by |
| 84 | obtain ⟨i, hi⟩ := ComplexPoints.Analytic.ProjectiveCharts.exists_mem_projectiveFinChart_source (Projectivization.mk ℂ v hv0) |
| 85 | have hvi : v i ≠ 0 := (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v hv0).mp hi |
| 86 | apply holomorphicZeroSetAt_projectiveCone_of_chart Z i v hvi |
| 87 | rw [dehomogenize_eq_projectiveChart i v hv0] |
| 88 | exact hlocal i _ (hv hv0) hi |
| 89 | |
| 90 | /-- The projective center of the coordinate projection. -/ |
| 91 | def coordinateProjectionCenter (n : ℕ) : Projectivization ℂ (Fin (n + 1) → ℂ) := |
| 92 | Projectivization.mk ℂ (Fin.cons 1 0) (by |
| 93 | intro h |
| 94 | have hc := congrFun h 0 |
| 95 | simp only [Fin.cons_zero, Pi.zero_apply, one_ne_zero] at hc) |
| 96 | |
| 97 | theorem axis_mem_projectiveCone_iff {n : ℕ} |
| 98 | (Z : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 99 | (Fin.cons 1 0 : Fin (n + 1) → ℂ) ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z ↔ |
| 100 | coordinateProjectionCenter n ∈ Z := |
| 101 | ProjectiveCone.Constructions.Cone.mem_projectiveCone_iff Z _ _ |
| 102 | |
| 103 | /-- A closed projective set with local holomorphic equations and avoiding |
| 104 | the projection center has a proper affine-cone projection with finite fibers. -/ |
| 105 | theorem proper_finite_projectiveCone_projection {n : ℕ} |
| 106 | (Z : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (hZ : IsClosed Z) |
| 107 | (hcenter : coordinateProjectionCenter n ∉ Z) |
| 108 | (hlocal : ∀ i p, p ∈ Z → p ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 109 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt ((ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).symm ⁻¹' Z) (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i p)) : |
| 110 | IsProperMap (fun x : ProjectiveCone.Constructions.Cone.projectiveCone Z => Projection.Constructions.Cone.tailProjection n x) ∧ |
| 111 | ∀ y : Fin n → ℂ, {c : ℂ | Fin.cons c y ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z}.Finite := by |
| 112 | have haxis : (Fin.cons 1 0 : Fin (n + 1) → ℂ) ∉ ProjectiveCone.Constructions.Cone.projectiveCone Z := |
| 113 | fun h => hcenter ((axis_mem_projectiveCone_iff Z).mp h) |
| 114 | have hclosed := ProjectiveCone.Constructions.Cone.isClosed_projectiveCone Z hZ |
| 115 | have hcone := ProjectiveCone.Constructions.Cone.smul_mem_projectiveCone Z |
| 116 | refine ⟨Projection.Constructions.Cone.isProperMap_projection hclosed hcone (Projection.Constructions.Cone.tailProjection n) |
| 117 | (Projection.Constructions.Cone.tailProjection_kernel_trivial hcone haxis), fun y => ?_⟩ |
| 118 | exact AnalyticFibers.Constructions.Cone.finite_coordinateFiber_of_holomorphic hclosed hcone haxis |
| 119 | (holomorphicZeroSetAt_projectiveCone Z hlocal) y |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone |