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.ProjectiveCone |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts |
| 4 | |
| 5 | /-! # Coordinate Cone -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.CoordinateCone.Constructions.Cone |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Punctured cone equations for arbitrary finite projective coordinates |
| 13 | |
| 14 | This version includes the product coordinate set of the Segre embedding. |
| 15 | -/ |
| 16 | |
| 17 | open Set Filter |
| 18 | open scoped _root_.Topology |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 21 | |
| 22 | variable {ι : Type*} [Fintype ι] |
| 23 | attribute [local instance] Classical.propDecidable |
| 24 | |
| 25 | def coordinateRatios (i : ι) (v : ι → ℂ) (j : {j : ι // j ≠ i}) : ℂ := v j / v i |
| 26 | |
| 27 | theorem differentiableOn_coordinateRatios (i : ι) : |
| 28 | DifferentiableOn ℂ (coordinateRatios i) {v | v i ≠ 0} := by |
| 29 | apply differentiableOn_pi.mpr |
| 30 | intro j |
| 31 | have hnum : Differentiable ℂ (fun v : ι → ℂ => v j) := differentiable_apply _ |
| 32 | have hden : Differentiable ℂ (fun v : ι → ℂ => v i) := differentiable_apply _ |
| 33 | have hinv : DifferentiableOn ℂ (fun v : ι → ℂ => (v i)⁻¹) {v | v i ≠ 0} := |
| 34 | hden.differentiableOn.fun_inv (fun _ h => h) |
| 35 | simpa only [coordinateRatios, div_eq_mul_inv] using hnum.differentiableOn.fun_mul hinv |
| 36 | |
| 37 | omit [Fintype ι] in |
| 38 | theorem coordinateRatios_eq_projectiveChart (i : ι) (v : ι → ℂ) (hv : v ≠ 0) : |
| 39 | coordinateRatios i v = ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i (Projectivization.mk ℂ v hv) := by |
| 40 | ext j |
| 41 | simp only [coordinateRatios, ComplexPoints.Analytic.ProjectiveCharts.projectiveChart_apply, Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio_mk] |
| 42 | |
| 43 | omit [Fintype ι] in |
| 44 | theorem projectiveChart_image_eq_preimage (i : ι) |
| 45 | (Z : Set (Projectivization ℂ (ι → ℂ))) : |
| 46 | ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i '' (Z ∩ (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).source) = (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).symm ⁻¹' Z := by |
| 47 | rw [inter_comm, (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).image_source_inter_eq', ComplexPoints.Analytic.ProjectiveCharts.projectiveChart_target, univ_inter] |
| 48 | |
| 49 | omit [Fintype ι] in |
| 50 | theorem mem_projectiveCone_iff_coordinateRatios |
| 51 | (Z : Set (Projectivization ℂ (ι → ℂ))) (i : ι) (v : ι → ℂ) (hi : v i ≠ 0) : |
| 52 | v ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z ↔ (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).symm (coordinateRatios i v) ∈ Z := by |
| 53 | have hv : v ≠ 0 := by |
| 54 | intro h |
| 55 | exact hi (by simp [h]) |
| 56 | rw [ProjectiveCone.Constructions.Cone.mem_projectiveCone_iff Z v hv, coordinateRatios_eq_projectiveChart i v hv] |
| 57 | rw [(ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).left_inv ((Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v hv).mpr hi)] |
| 58 | |
| 59 | /-- Holomorphic equations in actual standard projective charts pull back to |
| 60 | holomorphic equations everywhere on the affine cone except its vertex. -/ |
| 61 | theorem holomorphicZeroSetAt_coordinateCone |
| 62 | (Z : Set (Projectivization ℂ (ι → ℂ))) |
| 63 | (hlocal : ∀ i p, p ∈ Z → p ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).source → |
| 64 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt |
| 65 | (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i '' (Z ∩ (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).source)) (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i p)) |
| 66 | (v : ι → ℂ) (hv : v ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z) (hv0 : v ≠ 0) : |
| 67 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (ProjectiveCone.Constructions.Cone.projectiveCone Z) v := by |
| 68 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.exists_inPatch (Projectivization.mk ℂ v hv0) |
| 69 | have hvi : v i ≠ 0 := (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v hv0).mp hi |
| 70 | have h := hlocal i _ (hv hv0) hi |
| 71 | rw [projectiveChart_image_eq_preimage, ← coordinateRatios_eq_projectiveChart] at h |
| 72 | have hopen : IsOpen {w : ι → ℂ | w i ≠ 0} := |
| 73 | isOpen_ne_fun (continuous_apply i) continuous_const |
| 74 | have hpull := h.preimage hopen hvi (differentiableOn_coordinateRatios i) |
| 75 | apply hpull.congr |
| 76 | filter_upwards [hopen.mem_nhds hvi] with w hw |
| 77 | exact mem_projectiveCone_iff_coordinateRatios Z i w hw |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.CoordinateCone.Constructions.Cone |