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.HodgeConjecture.CMVariety.AlgebraicCone |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicConeProjection |
| 4 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.FiniteBranchesAt |
| 5 | |
| 6 | /-! # Algebraic Regular Cone -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicRegularCone.CM.Abelian.Algebraization.RegularCone |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open Set |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 15 | |
| 16 | theorem regular_projection_of_period_embedding {n : ℕ} (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) |
| 17 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) (hf : Continuous f) |
| 18 | (hd : ∀ (z : Φ.space) (i : Fin (n + 1)), |
| 19 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i (f (QuotientAddGroup.mk z)) → DifferentiableAt ℂ |
| 20 | (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z) |
| 21 | (A : (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ) →L[ℂ] (Fin (n + 1) → ℂ)) |
| 22 | (hA : Function.Injective A) : |
| 23 | ∃ L : (Fin (n + 1) → ℂ) →L[ℂ] |
| 24 | (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ), |
| 25 | (∀ v ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f), L v = 0 → v = 0) ∧ Function.Bijective (L.comp A) := by |
| 26 | let g : Φ.space → Projectivization ℂ (Fin (n + 1) → ℂ) := |
| 27 | fun z => f (QuotientAddGroup.mk z) |
| 28 | let U : Fin (n + 1) → Set (Φ.space) := |
| 29 | fun i => g ⁻¹' (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source |
| 30 | let r : Fin (n + 1) → Φ.space → Fin n → ℂ := |
| 31 | fun i z => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g z) |
| 32 | have hg : Continuous g := hf.comp QuotientAddGroup.continuous_mk |
| 33 | have hU : ∀ i, IsOpen (U i) := fun i => (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).open_source.preimage hg |
| 34 | have hr : ∀ i, DifferentiableOn ℂ (r i) (U i) := |
| 35 | fun i z hz => (hd z i hz).differentiableWithinAt |
| 36 | apply Geometry.ComplexTorus.RiemannProjectivity.RegularProjectionIs.Constructions.RegularProjection.exists_regular_projection_avoiding (Nat.lt_succ_self _) U r hU hr |
| 37 | (ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) ?_ A hA |
| 38 | intro v hv hv0 |
| 39 | obtain ⟨t, ht⟩ := hv hv0 |
| 40 | obtain ⟨z, hz⟩ := QuotientAddGroup.mk_surjective t |
| 41 | obtain ⟨i, hi⟩ := ComplexPoints.Analytic.ProjectiveCharts.exists_mem_projectiveFinChart_source (Projectivization.mk ℂ v hv0) |
| 42 | have hgz : g z = Projectivization.mk ℂ v hv0 := by simp only [g, hz, ht] |
| 43 | refine ⟨i, z, ?_, (Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.inPatch_mk_iff i v hv0).mp hi, ?_⟩ |
| 44 | · change g z ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source |
| 45 | rwa [hgz] |
| 46 | · intro j |
| 47 | change v (i.succAbove j) / v i = ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g z) j |
| 48 | rw [hgz, ← ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.dehomogenize_eq_projectiveChart i v hv0] |
| 49 | rfl |
| 50 | |
| 51 | /-- The actual cone admits a proper linear projection whose image contains |
| 52 | a nonempty open set of the base. -/ |
| 53 | theorem proper_period_cone_projection_with_interior_and_immersions |
| 54 | (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) : |
| 55 | ∃ (n : ℕ) (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 56 | (L : (Fin (n + 1) → ℂ) →L[ℂ] |
| 57 | (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ)), |
| 58 | Topology.IsClosedEmbedding f ∧ |
| 59 | (∀ (z : Φ.space) (i : Fin (n + 1)), |
| 60 | f (QuotientAddGroup.mk z) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 61 | DifferentiableAt ℂ (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z ∧ |
| 62 | Function.Injective (fderiv ℂ (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z)) ∧ |
| 63 | (∀ v ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f), L v = 0 → v = 0) ∧ |
| 64 | IsProperMap (fun v : ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) => L v) ∧ |
| 65 | (interior (L '' ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))).Nonempty := by |
| 66 | obtain ⟨n, f, hf, hd⟩ := AlgebraizationRoot.CM.Abelian.Algebraization.projective_period_torus_all_charts Φ |
| 67 | let g : Φ.space → Projectivization ℂ (Fin (n + 1) → ℂ) := |
| 68 | fun z => f (QuotientAddGroup.mk z) |
| 69 | obtain ⟨i, hi⟩ := ComplexPoints.Analytic.ProjectiveCharts.exists_mem_projectiveFinChart_source (g 0) |
| 70 | let r : Φ.space → Fin n → ℂ := fun z => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g z) |
| 71 | let U : Set (Φ.space) := g ⁻¹' (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source |
| 72 | have hU : IsOpen U := (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).open_source.preimage |
| 73 | (hf.continuous.comp QuotientAddGroup.continuous_mk) |
| 74 | have hr : DifferentiableOn ℂ r U := fun z hz => (hd z i hz).1.differentiableWithinAt |
| 75 | let T := Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.tangentMap i r 0 |
| 76 | have hT : Function.Injective T := Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.tangentMap_injective i (hd 0 i hi).2 |
| 77 | let e : (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ) ≃L[ℂ] |
| 78 | (Φ.space × ℂ) := ContinuousLinearEquiv.ofFinrankEq (by |
| 79 | simp [Module.finrank_prod]) |
| 80 | let A := T.comp e.toContinuousLinearMap |
| 81 | have hA : Function.Injective A := hT.comp e.injective |
| 82 | obtain ⟨L, hL, hreg⟩ := regular_projection_of_period_embedding Φ f hf.continuous |
| 83 | (fun z j hz => (hd z j hz).1) A hA |
| 84 | have hLT : Function.Bijective (L.comp T) := |
| 85 | (Function.Bijective.of_comp_iff (L.comp T) e.bijective).mp hreg |
| 86 | let F : (Φ.space × ℂ) → (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ) := |
| 87 | fun p => L (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i r p) |
| 88 | have hFd : HasFDerivAt F (L.comp T) (0, 1) := |
| 89 | L.hasFDerivAt.comp (0, 1) (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.hasFDerivAt_parameterization i (hd 0 i hi).1) |
| 90 | have hFdiff : DifferentiableOn ℂ F (U ×ˢ univ) := |
| 91 | L.differentiable.comp_differentiableOn (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.differentiableOn_parameterization i hr) |
| 92 | have hFreg : Function.Bijective (fderiv ℂ F (0, 1)) := by rwa [hFd.fderiv] |
| 93 | have hxU : (0, (1 : ℂ)) ∈ U ×ˢ univ := ⟨hi, mem_univ _⟩ |
| 94 | obtain ⟨q, hq, hqF, _⟩ := Geometry.ComplexTorus.RiemannProjectivity.FiniteBranchesAt.Constructions.FiniteBranches.holomorphic_local_inverse |
| 95 | (hU.prod isOpen_univ) hFdiff hxU hFreg |
| 96 | let q' := q.restrOpen (U ×ˢ univ) (hU.prod isOpen_univ) |
| 97 | have hq' : (0, (1 : ℂ)) ∈ q'.source := ⟨hq, hi, mem_univ _⟩ |
| 98 | have hsubset : q'.target ⊆ L '' ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := by |
| 99 | intro y hy |
| 100 | let p := q'.symm y |
| 101 | have hp : p ∈ q'.source := q'.map_target hy |
| 102 | have hmem : Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i r p ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := by |
| 103 | have h := Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization_mem_cone i g p.1 hp.2.1 p.2 |
| 104 | intro hv0 |
| 105 | obtain ⟨z, hz⟩ := h hv0 |
| 106 | exact ⟨QuotientAddGroup.mk z, hz⟩ |
| 107 | refine ⟨Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i r p, hmem, ?_⟩ |
| 108 | have hqp : q' p = F p := congrFun hqF p |
| 109 | exact hqp.symm.trans (q'.right_inv hy) |
| 110 | refine ⟨n, f, L, hf, hd, hL, ComplexGroups.HolomorphicAlgebraicity.Projection.Constructions.Cone.isProperMap_projection |
| 111 | (ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.isClosed_projectiveCone _ hf.isClosed_range) (ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.smul_mem_projectiveCone _) L hL, ?_⟩ |
| 112 | exact ⟨q' (0, 1), interior_mono hsubset |
| 113 | ((q'.open_target.interior_eq).symm ▸ q'.map_source hq')⟩ |
| 114 | |
| 115 | theorem proper_period_cone_projection_with_interior_and_charts |
| 116 | (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) : |
| 117 | ∃ (n : ℕ) (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 118 | (L : (Fin (n + 1) → ℂ) →L[ℂ] |
| 119 | (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ)), |
| 120 | Topology.IsClosedEmbedding f ∧ |
| 121 | (∀ (z : Φ.space) (i : Fin (n + 1)), |
| 122 | f (QuotientAddGroup.mk z) ∈ (ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 123 | DifferentiableAt ℂ (fun w => ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z) ∧ |
| 124 | (∀ v ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f), L v = 0 → v = 0) ∧ |
| 125 | IsProperMap (fun v : ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) => L v) ∧ |
| 126 | (interior (L '' ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))).Nonempty := by |
| 127 | obtain ⟨n, f, L, hf, hd, hL, hp, hi⟩ := |
| 128 | proper_period_cone_projection_with_interior_and_immersions Φ |
| 129 | exact ⟨n, f, L, hf, (fun z i hi => (hd z i hi).1), hL, hp, hi⟩ |
| 130 | |
| 131 | theorem proper_period_cone_projection_with_interior |
| 132 | (Φ : ProjectiveTorusData.CM.Abelian.ProjectivePeriodData) : |
| 133 | ∃ (n : ℕ) (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 134 | (L : (Fin (n + 1) → ℂ) →L[ℂ] |
| 135 | (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ)), |
| 136 | Topology.IsClosedEmbedding f ∧ |
| 137 | (∀ v ∈ ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f), L v = 0 → v = 0) ∧ |
| 138 | IsProperMap (fun v : ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) => L v) ∧ |
| 139 | (interior (L '' ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))).Nonempty := by |
| 140 | obtain ⟨n, f, L, hf, _, hL, hp, hi⟩ := |
| 141 | proper_period_cone_projection_with_interior_and_charts Φ |
| 142 | exact ⟨n, f, L, hf, hL, hp, hi⟩ |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.AlgebraicRegularCone.CM.Abelian.Algebraization.RegularCone |