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