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.CoordinateCone |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ManifoldImage |
| 3 | |
| 4 | /-! # Cone Parametrization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeParametrization.Constructions.Cone |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Lifting projective parametrizations to the punctured cone |
| 12 | -/ |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped _root_.Topology |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 18 | |
| 19 | variable {ι : Type*} [Fintype ι] |
| 20 | attribute [local instance] Classical.propDecidable |
| 21 | |
| 22 | def normalizedLift (i : ι) (u : {j : ι // j ≠ i} → ℂ) : ι → ℂ := |
| 23 | fun j => if h : j = i then 1 else u ⟨j, h⟩ |
| 24 | |
| 25 | omit [Fintype ι] in |
| 26 | theorem normalizedLift_self (i : ι) (u : {j : ι // j ≠ i} → ℂ) : normalizedLift i u i = 1 := by |
| 27 | simp [normalizedLift] |
| 28 | |
| 29 | theorem differentiable_normalizedLift (i : ι) : Differentiable ℂ (normalizedLift i) := by |
| 30 | apply differentiable_pi.mpr |
| 31 | intro j |
| 32 | by_cases hj : j = i |
| 33 | · simp only [normalizedLift, dite_eq_left hj] |
| 34 | exact differentiable_const _ |
| 35 | · simp only [normalizedLift, dite_eq_right hj] |
| 36 | exact differentiable_apply _ |
| 37 | |
| 38 | omit [Fintype ι] in |
| 39 | theorem ratios_smul_normalizedLift (i : ι) (u : {j : ι // j ≠ i} → ℂ) |
| 40 | {t : ℂ} (ht : t ≠ 0) : CoordinateCone.Constructions.Cone.coordinateRatios i (t • normalizedLift i u) = u := by |
| 41 | ext j |
| 42 | simp [CoordinateCone.Constructions.Cone.coordinateRatios, normalizedLift, j.property, ht] |
| 43 | |
| 44 | omit [Fintype ι] in |
| 45 | theorem smul_normalizedLift_ratios (i : ι) (v : ι → ℂ) (hvi : v i ≠ 0) : |
| 46 | v i • normalizedLift i (CoordinateCone.Constructions.Cone.coordinateRatios i v) = v := by |
| 47 | ext j |
| 48 | by_cases hj : j = i |
| 49 | · subst j |
| 50 | simp only [Pi.smul_apply, smul_eq_mul, normalizedLift_self, mul_one] |
| 51 | · simp only [Pi.smul_apply, smul_eq_mul, normalizedLift, dite_eq_right hj, CoordinateCone.Constructions.Cone.coordinateRatios] |
| 52 | exact mul_div_cancel₀ _ hvi |
| 53 | |
| 54 | theorem local_parametrization_of_coordinateCone |
| 55 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 56 | (Z : Set (Projectivization ℂ (ι → ℂ))) |
| 57 | (hparam : ∀ i p, p ∈ Z → p ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).source → |
| 58 | ∃ (O : Set ({j : ι // j ≠ i} → ℂ)) (V : Set E) (φ : E → ({j : ι // j ≠ i} → ℂ)), |
| 59 | IsOpen O ∧ ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i p ∈ O ∧ IsOpen V ∧ DifferentiableOn ℂ φ V ∧ |
| 60 | ((ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).symm ⁻¹' Z) ∩ O ⊆ φ '' V ∧ |
| 61 | MapsTo φ V ((ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).symm ⁻¹' Z) ∧ InjOn φ V) |
| 62 | (v : ι → ℂ) (hv : v ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z) (hv0 : v ≠ 0) : |
| 63 | ∃ (O : Set (ι → ℂ)) (V : Set (E × ℂ)) (φ : E × ℂ → (ι → ℂ)), |
| 64 | IsOpen O ∧ v ∈ O ∧ IsOpen V ∧ DifferentiableOn ℂ φ V ∧ |
| 65 | ProjectiveCone.Constructions.Cone.projectiveCone Z ∩ O ⊆ φ '' V ∧ MapsTo φ V (ProjectiveCone.Constructions.Cone.projectiveCone Z) ∧ InjOn φ V := by |
| 66 | classical |
| 67 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.exists_inPatch (Projectivization.mk ℂ v hv0) |
| 68 | have hvi : v i ≠ 0 := (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v hv0).mp hi |
| 69 | obtain ⟨O, V, φ, hO, hvO, hV, hφ, hsub, hmaps, hinj⟩ := hparam i _ (hv hv0) hi |
| 70 | rw [← CoordinateCone.Constructions.Cone.coordinateRatios_eq_projectiveChart i v hv0] at hvO |
| 71 | let W : Set (ι → ℂ) := {w | w i ≠ 0} ∩ CoordinateCone.Constructions.Cone.coordinateRatios i ⁻¹' O |
| 72 | have hpatch : IsOpen {w : ι → ℂ | w i ≠ 0} := |
| 73 | isOpen_ne_fun (continuous_apply i) continuous_const |
| 74 | have hW : IsOpen W := (CoordinateCone.Constructions.Cone.differentiableOn_coordinateRatios i).continuousOn.isOpen_inter_preimage hpatch hO |
| 75 | let V' := V ×ˢ ({0}ᶜ : Set ℂ) |
| 76 | let ψ : E × ℂ → (ι → ℂ) := fun p => p.2 • normalizedLift i (φ p.1) |
| 77 | have hψi (p : E × ℂ) : ψ p i = p.2 := by |
| 78 | simp only [ψ, Pi.smul_apply, smul_eq_mul, normalizedLift_self, mul_one] |
| 79 | have hψrat (p : E × ℂ) (hp : p ∈ V') : CoordinateCone.Constructions.Cone.coordinateRatios i (ψ p) = φ p.1 := |
| 80 | ratios_smul_normalizedLift i (φ p.1) hp.2 |
| 81 | have hφfst : DifferentiableOn ℂ (fun p : E × ℂ => φ p.1) V' := |
| 82 | hφ.comp differentiable_fst.differentiableOn (fun p (hp : p ∈ V') => hp.1) |
| 83 | have hlift : DifferentiableOn ℂ (fun p : E × ℂ => normalizedLift i (φ p.1)) V' := |
| 84 | (differentiable_normalizedLift i).comp_differentiableOn hφfst |
| 85 | have hψ : DifferentiableOn ℂ ψ V' := differentiable_snd.differentiableOn.fun_smul hlift |
| 86 | refine ⟨W, V', ψ, hW, ⟨hvi, hvO⟩, hV.prod isClosed_singleton.isOpen_compl, hψ, ?_, ?_, ?_⟩ |
| 87 | · intro w hw |
| 88 | have hwt : (ComplexPoints.Analytic.ProjectiveCharts.projectiveChart i).symm (CoordinateCone.Constructions.Cone.coordinateRatios i w) ∈ Z := |
| 89 | (CoordinateCone.Constructions.Cone.mem_projectiveCone_iff_coordinateRatios Z i w hw.2.1).mp hw.1 |
| 90 | obtain ⟨a, ha, hφa⟩ := hsub ⟨hwt, hw.2.2⟩ |
| 91 | refine ⟨(a, w i), ⟨ha, hw.2.1⟩, ?_⟩ |
| 92 | change w i • normalizedLift i (φ a) = w |
| 93 | rw [hφa] |
| 94 | exact smul_normalizedLift_ratios i w hw.2.1 |
| 95 | · intro p hp |
| 96 | apply (CoordinateCone.Constructions.Cone.mem_projectiveCone_iff_coordinateRatios Z i (ψ p) (by rw [hψi]; exact hp.2)).mpr |
| 97 | rw [hψrat p hp] |
| 98 | exact hmaps hp.1 |
| 99 | · intro p hp q hq heq |
| 100 | have ht : p.2 = q.2 := by simpa only [hψi] using congrFun heq i |
| 101 | have hbase : φ p.1 = φ q.1 := by |
| 102 | rw [← hψrat p hp, ← hψrat q hq, heq] |
| 103 | exact Prod.ext (hinj hp.1 hq.1 hbase) ht |
| 104 | |
| 105 | omit [Fintype ι] in |
| 106 | theorem exists_nonzero_mem_projectiveCone |
| 107 | {Z : Set (Projectivization ℂ (ι → ℂ))} (hZ : Z.Nonempty) : |
| 108 | ∃ v ∈ ProjectiveCone.Constructions.Cone.projectiveCone Z, v ≠ 0 := by |
| 109 | obtain ⟨p, hp⟩ := hZ |
| 110 | induction p using Projectivization.ind with |
| 111 | | h v hv => exact ⟨v, fun _ => hp, hv⟩ |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeParametrization.Constructions.Cone |