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.ProjectiveCoordinatesIn |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCompactness |
| 3 | import Mathlib.Analysis.Complex.Basic |
| 4 | import Mathlib.Topology.ContinuousOn |
| 5 | import Mathlib.Topology.Homeomorph.Lemmas |
| 6 | import Mathlib.Topology.OpenPartialHomeomorph.Constructions |
| 7 | import Mathlib.Logic.Equiv.Fin.Basic |
| 8 | |
| 9 | /-! # Projective Charts -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! |
| 16 | # The standard affine charts of complex projective space |
| 17 | |
| 18 | The underlying space is mathlib's quotient of nonzero homogeneous coordinate |
| 19 | vectors. Its topology is the ordinary quotient topology, and the coordinate |
| 20 | maps below are the representative-independent ratios defined in |
| 21 | `Algebraic.ProjectiveCoordinates`. Each standard patch is open and is |
| 22 | homeomorphic to the usual complex affine coordinate space. |
| 23 | -/ |
| 24 | |
| 25 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 26 | |
| 27 | variable {ι : Type*} |
| 28 | |
| 29 | /-- A standard nonvanishing-coordinate patch is open in the ordinary quotient |
| 30 | topology of complex projective space. -/ |
| 31 | theorem isOpen_projectivePatch (i : ι) : |
| 32 | IsOpen {p : Projectivization ℂ (ι → ℂ) | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p} := by |
| 33 | rw [ProjectiveCompactness.isOpen_projectivization_iff] |
| 34 | simpa only [Set.preimage_ofPred_eq, Projectivization.mk'_eq_mk, |
| 35 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff] using |
| 36 | (isOpen_ne_fun ((continuous_apply i).comp continuous_subtype_val) |
| 37 | continuous_const : |
| 38 | IsOpen {v : {v : ι → ℂ // v ≠ 0} | v.val i ≠ 0}) |
| 39 | |
| 40 | /-- The ratio of homogeneous coordinates is continuous wherever its denominator |
| 41 | coordinate is nonzero. -/ |
| 42 | theorem continuousOn_projectiveRatio (i j : ι) : |
| 43 | ContinuousOn (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j : Projectivization ℂ (ι → ℂ) → ℂ) |
| 44 | {p | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p} := by |
| 45 | apply (Topology.IsQuotientMap.continuousOn_isOpen_iff |
| 46 | (ProjectiveCompactness.isQuotientMap_projectivization_mk' ℂ (ι → ℂ)) |
| 47 | (g := Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j) (isOpen_projectivePatch i)).mpr |
| 48 | change ContinuousOn |
| 49 | (fun v : {v : ι → ℂ // v ≠ 0} => v.val j / v.val i) |
| 50 | {v | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i (Projectivization.mk' ℂ v)} |
| 51 | apply (((continuous_apply j).comp continuous_subtype_val).continuousOn).div |
| 52 | (((continuous_apply i).comp continuous_subtype_val).continuousOn) |
| 53 | intro v hv |
| 54 | exact (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v.val v.property).mp hv |
| 55 | |
| 56 | /-- Continuity of the ordinary affine chart on its open projective patch. -/ |
| 57 | theorem continuous_projectiveAffineChart (i : ι) : |
| 58 | Continuous (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.affineChart (K := ℂ) i) := by |
| 59 | apply continuous_pi |
| 60 | intro j |
| 61 | exact (continuousOn_projectiveRatio i j.val).domRestrict |
| 62 | |
| 63 | /-- The inverse affine chart continuously inserts the normalized coordinate 1 |
| 64 | and projects the resulting nonzero vector to its projective line. -/ |
| 65 | theorem continuous_projectiveAffineChart_symm (i : ι) : |
| 66 | Continuous (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.affineChart (K := ℂ) i).symm := by |
| 67 | classical |
| 68 | apply continuous_induced_rng.mpr |
| 69 | change Continuous (fun f : {j : ι // j ≠ i} → ℂ => |
| 70 | Projectivization.mk ℂ (fun j => if h : j = i then 1 else f ⟨j, h⟩) _) |
| 71 | have hc : Continuous (fun f : {j : ι // j ≠ i} → ℂ => |
| 72 | fun j => if h : j = i then (1 : ℂ) else f ⟨j, h⟩) := by |
| 73 | apply continuous_pi |
| 74 | intro j |
| 75 | by_cases h : j = i |
| 76 | · simpa [h] using |
| 77 | (continuous_const : Continuous (fun _ : {j : ι // j ≠ i} → ℂ => (1 : ℂ))) |
| 78 | · simpa [h] using |
| 79 | (continuous_apply (⟨j, h⟩ : {j : ι // j ≠ i})) |
| 80 | exact (ProjectiveCompactness.continuous_projectivization_mk' ℂ (ι → ℂ)).comp |
| 81 | (hc.subtype_mk _) |
| 82 | |
| 83 | /-- The standard affine chart as a homeomorphism for the ordinary topology. -/ |
| 84 | def projectiveAffineChart (i : ι) : |
| 85 | {p : Projectivization ℂ (ι → ℂ) // Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p} ≃ₜ |
| 86 | ({j : ι // j ≠ i} → ℂ) where |
| 87 | toEquiv := Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.affineChart i |
| 88 | continuous_toFun := continuous_projectiveAffineChart i |
| 89 | continuous_invFun := continuous_projectiveAffineChart_symm i |
| 90 | |
| 91 | @[simp] |
| 92 | theorem projectiveAffineChart_apply (i : ι) |
| 93 | (p : {p : Projectivization ℂ (ι → ℂ) // Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p}) |
| 94 | (j : {j : ι // j ≠ i}) : |
| 95 | projectiveAffineChart i p j = Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j.val p.val := rfl |
| 96 | |
| 97 | /-- The standard affine chart as an open partial homeomorphism defined on the |
| 98 | full projective space. Its source is the nonvanishing-coordinate patch and its |
| 99 | target is the whole affine coordinate space. -/ |
| 100 | def projectiveChart (i : ι) : |
| 101 | OpenPartialHomeomorph (Projectivization ℂ (ι → ℂ)) ({j : ι // j ≠ i} → ℂ) where |
| 102 | toFun p j := Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j.val p |
| 103 | invFun z := ((projectiveAffineChart i).symm z).val |
| 104 | source := {p | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p} |
| 105 | target := Set.univ |
| 106 | map_source' _ _ := Set.mem_univ _ |
| 107 | map_target' z _ := ((projectiveAffineChart i).symm z).property |
| 108 | left_inv' p hp := congrArg Subtype.val |
| 109 | ((projectiveAffineChart i).symm_apply_apply ⟨p, hp⟩) |
| 110 | right_inv' z _ := (projectiveAffineChart i).apply_symm_apply z |
| 111 | open_source := isOpen_projectivePatch i |
| 112 | open_target := isOpen_univ |
| 113 | continuousOn_toFun := continuousOn_pi.mpr fun j => continuousOn_projectiveRatio i j.val |
| 114 | continuousOn_invFun := |
| 115 | (continuous_subtype_val.comp (projectiveAffineChart i).symm.continuous).continuousOn |
| 116 | |
| 117 | @[simp] |
| 118 | theorem projectiveChart_source (i : ι) : |
| 119 | (projectiveChart i).source = {p | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p} := rfl |
| 120 | |
| 121 | @[simp] |
| 122 | theorem projectiveChart_target (i : ι) : |
| 123 | (projectiveChart i).target = Set.univ := rfl |
| 124 | |
| 125 | @[simp] |
| 126 | theorem projectiveChart_apply (i : ι) (p : Projectivization ℂ (ι → ℂ)) |
| 127 | (j : {j : ι // j ≠ i}) : projectiveChart i p j = Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j.val p := rfl |
| 128 | |
| 129 | /-- The affine model with the distinguished homogeneous coordinate removed is |
| 130 | the standard `Fin n` coordinate space. -/ |
| 131 | def projectiveFinChart {n : ℕ} (i : Fin (n + 1)) : |
| 132 | OpenPartialHomeomorph (Projectivization ℂ (Fin (n + 1) → ℂ)) (Fin n → ℂ) := |
| 133 | (projectiveChart i).transHomeomorph |
| 134 | (Homeomorph.piCongrLeft (Y := fun _ : {j : Fin (n + 1) // j ≠ i} => ℂ) |
| 135 | (finSuccAboveEquiv i)).symm |
| 136 | |
| 137 | @[simp] |
| 138 | theorem projectiveFinChart_source {n : ℕ} (i : Fin (n + 1)) : |
| 139 | (projectiveFinChart i).source = {p | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p} := rfl |
| 140 | |
| 141 | @[simp] |
| 142 | theorem projectiveFinChart_target {n : ℕ} (i : Fin (n + 1)) : |
| 143 | (projectiveFinChart i).target = Set.univ := rfl |
| 144 | |
| 145 | @[simp] |
| 146 | theorem projectiveFinChart_apply {n : ℕ} (i : Fin (n + 1)) |
| 147 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) (j : Fin n) : |
| 148 | projectiveFinChart i p j = Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i (i.succAbove j) p := rfl |
| 149 | |
| 150 | /-- Every projective point belongs to the source of a standard finite-dimensional |
| 151 | affine chart. -/ |
| 152 | theorem exists_mem_projectiveFinChart_source {n : ℕ} |
| 153 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) : |
| 154 | ∃ i, p ∈ (projectiveFinChart i).source := |
| 155 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.exists_inPatch p |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts |