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.AbelianModuli.ReferenceFamily.Reference.PointTopology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.QuasiProjectiveComponents |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Principal.BallCovering |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 6 | import Mathlib.Topology.Connected.Clopen |
| 7 | |
| 8 | /-! # Projective Component -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The original reference quotient supplies the actual principal |
| 15 | projective component and its holomorphic ball covering. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped _root_.Manifold _root_.Topology |
| 19 | |
| 20 | /-- A map locally given by the inverse of a holomorphic chart has a |
| 21 | bijective complex derivative in the original manifold structures. -/ |
| 22 | theorem Principal.ProjectiveComponent.localInverseChart_derivative |
| 23 | {V W T : Type} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 24 | [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 25 | [TopologicalSpace T] [ChartedSpace W T] [IsManifold (𝓘(ℂ, W)) 1 T] |
| 26 | (D : Opens V) (q : D → T) (z : D) |
| 27 | (e : OpenPartialHomeomorph T V) |
| 28 | (he : q z ∈ e.source) (hez : e (q z) = z.val) |
| 29 | (hhol : e.MDifferentiable (𝓘(ℂ, W)) (𝓘(ℂ, V))) |
| 30 | (hrec : ∀ w : D, w.val ∈ e.target → q w = e.symm w.val) : |
| 31 | MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, W)) q z ∧ |
| 32 | Function.Bijective (mfderiv (𝓘(ℂ, V)) (𝓘(ℂ, W)) q z) := by |
| 33 | have hz : z.val ∈ e.target := by |
| 34 | rw [← hez] |
| 35 | exact e.map_source he |
| 36 | have hc := mdifferentiable_of_mem_atlas (I := 𝓘(ℂ, V)) (chart_mem_atlas V z) |
| 37 | have hi : MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, V)) (fun w : D => w.val) z := |
| 38 | hc.mdifferentiableAt (mem_chart_source V z) |
| 39 | have hbi : Function.Bijective (mfderiv (𝓘(ℂ, V)) (𝓘(ℂ, V)) (fun w : D => w.val) z) := |
| 40 | hc.mfderiv_bijective (mem_chart_source V z) |
| 41 | have hinv := hhol.mdifferentiableAt_symm hz |
| 42 | have hEq : q =ᶠ[𝓝 z] (fun w : D => e.symm w.val) := by |
| 43 | filter_upwards [(e.open_target.preimage continuous_subtype_val).mem_nhds hz] with w hw |
| 44 | exact hrec w hw |
| 45 | refine ⟨(hinv.comp z hi).congr_of_eventuallyEq hEq, ?_⟩ |
| 46 | have hd : (mfderiv (𝓘(ℂ, V)) (𝓘(ℂ, W)) q z : V →L[ℂ] W) = |
| 47 | mfderiv (𝓘(ℂ, V)) (𝓘(ℂ, W)) (e.symm ∘ (fun w : D => w.val)) z := hEq.mfderiv_eq |
| 48 | rw [hd, mfderiv_comp z hinv hi] |
| 49 | exact (hhol.symm.mfderiv_bijective hz).comp hbi |
| 50 | |
| 51 | /-- A nonempty connected clopen set is precisely the connected component |
| 52 | of any of its points. -/ |
| 53 | theorem Principal.ProjectiveComponent.clopen_connected_eq_component_fiber |
| 54 | {X : Type} [TopologicalSpace X] (S : Set X) (hc : IsClopen S) |
| 55 | (hS : IsConnected S) (x : X) (hx : x ∈ S) : |
| 56 | S = {y | ConnectedComponents.mk y = ConnectedComponents.mk x} := by |
| 57 | have heq : S = connectedComponent x := |
| 58 | Set.Subset.antisymm (hS.isPreconnected.subset_connectedComponent hx) |
| 59 | (hc.connectedComponent_subset hx) |
| 60 | ext y |
| 61 | rw [heq] |
| 62 | exact ConnectedComponents.coe_eq_coe'.symm |
| 63 | |
| 64 | theorem Principal.ProjectiveComponent.exists_homeomorph_of_equal_embedding_ranges |
| 65 | {A B T : Type} [TopologicalSpace A] [TopologicalSpace B] [TopologicalSpace T] |
| 66 | (u : A → T) (v : B → T) (hu : Topology.IsEmbedding u) (hv : Topology.IsEmbedding v) |
| 67 | (hrange : Set.range u = Set.range v) : |
| 68 | ∃ e : A ≃ₜ B, ∀ a, v (e a) = u a := by |
| 69 | let O : A ≃ₜ Set.range u := hu.toHomeomorph |
| 70 | let J : B ≃ₜ Set.range u := hv.toHomeomorph.trans (Homeomorph.setCongr hrange.symm) |
| 71 | let e : A ≃ₜ B := O.trans J.symm |
| 72 | refine ⟨e, ?_⟩ |
| 73 | intro a |
| 74 | calc |
| 75 | v (e a) = (J (J.symm (O a))).val := rfl |
| 76 | _ = (O a).val := congrArg Subtype.val (J.apply_symm_apply _) |
| 77 | _ = u a := rfl |
| 78 | |
| 79 | attribute [local implicit_reducible] Models.FinePELModel.complexFiber |
| 80 | |
| 81 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 82 | [IsGalois ℚ E] [Field K] |
| 83 | {s N : ℕ} [NeZero N] {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 84 | (M : Models.FinePELModel P iota N) (hM : M.IsFine) (κ : K →+* ℂ) |
| 85 | (hP : P.IsAdmissible) (hκ : κ.comp iota = P.μ) |
| 86 | |
| 87 | /-- Any lift of the literal reference map through a monomorphic smooth |
| 88 | surface has the native holomorphic derivative dictated by its period chart. -/ |
| 89 | theorem Models.FinePELModel.reference_lift_derivative |
| 90 | {S : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 91 | (f : S ⟶ M.complexFiber κ) [Mono f] |
| 92 | (hdim : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom = 2) |
| 93 | (q : P.Domain → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) |
| 94 | (hq : ∀ z, q z ≫ f = M.referencePoint hM κ hP hκ z) |
| 95 | (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) (z : P.Domain) : |
| 96 | MDifferentiableAt (𝓘(ℂ, OAI.Geometry.ComplexBall.PrescribedSignsB.BallChart)) |
| 97 | (𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom) → ℂ)) q z ∧ |
| 98 | Function.Bijective (mfderiv (𝓘(ℂ, OAI.Geometry.ComplexBall.PrescribedSignsB.BallChart)) |
| 99 | (𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom) → ℂ)) q z) := by |
| 100 | obtain ⟨e, he, hez, hhol, _, hrec⟩ := |
| 101 | M.exists_native_reference_moduli_chart hM κ hP hκ f hs hdegree hdim (q z) z (hq z) |
| 102 | apply Principal.ProjectiveComponent.localInverseChart_derivative P.domainOpen q z e he hez hhol |
| 103 | intro w hw |
| 104 | obtain ⟨hp, hpoint⟩ := hrec (e.symm w.val) (e.map_target hw) |
| 105 | have heq : (⟨e (e.symm w.val), hp⟩ : P.domain) = w := Subtype.ext (e.right_inv hw) |
| 106 | rw [heq] at hpoint |
| 107 | exact (cancel_mono f).mp ((hq w).trans hpoint.symm) |
| 108 | |
| 109 | variable [NumberField K] [LocallyOfFiniteType M.space.hom] [QuasiCompact M.space.hom] |
| 110 | |
| 111 | /-- An actual open projective realization of the reference image has the |
| 112 | prescribed principal SU uniformization in its native analytic atlas. -/ |
| 113 | theorem Models.FinePELModel.principal_uniformization_of_reference_image |
| 114 | (hN : 3 ≤ N) (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 115 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (f : X.toOver ⟶ M.complexFiber κ) |
| 116 | [IsOpenImmersion f.left] (hdim : X.complexDimension = 2) |
| 117 | (hrange : Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) = Set.range (M.referencePoint hM κ hP hκ)) : |
| 118 | P.IsUniformizedBy X (Groups.principalSpecialUnitary P.b P.lattice N) := by |
| 119 | have : IsIntegral X.toOver.left := X.property |
| 120 | have : Smooth X.toOver.hom := X.presentation.smooth |
| 121 | have : Mono f := Over.mono_of_mono_left f |
| 122 | obtain ⟨e, he⟩ := Principal.ProjectiveComponent.exists_homeomorph_of_equal_embedding_ranges |
| 123 | (M.referenceOrbitMap hM κ hP hκ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) |
| 124 | (M.referenceOrbitMap_isOpenEmbedding hM κ hP hκ hN hs hdegree).isEmbedding |
| 125 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion f).isEmbedding |
| 126 | ((M.referenceOrbitMap_range hM κ hP hκ).trans hrange.symm) |
| 127 | let q : P.Domain → X.analyticSpace := e ∘ P.principalOrbitProjection N |
| 128 | have hq (z : P.Domain) : q z ≫ f = M.referencePoint hM κ hP hκ z := |
| 129 | he (P.principalOrbitProjection N z) |
| 130 | have hsurj : Function.Surjective q := e.surjective.comp (P.principalOrbitProjection_surjective N) |
| 131 | have hcover : IsCoveringMap q := |
| 132 | (P.principalOrbitProjection_covering hP N hN).homeomorph_comp e |
| 133 | have hderiv (z : P.Domain) := |
| 134 | M.reference_lift_derivative hM κ hP hκ f hdim q hq hs hdegree z |
| 135 | refine ⟨q, ⟨hsurj, hcover, fun z => (hderiv z).1, fun z => (hderiv z).2⟩, ?_⟩ |
| 136 | intro z w |
| 137 | change e (P.principalOrbitProjection N z) = e (P.principalOrbitProjection N w) ↔ _ |
| 138 | exact e.injective.eq_iff.trans (P.principalOrbitProjection_fibers N z w) |
| 139 | |
| 140 | include hM hP hκ in |
| 141 | /-- The original reference locus is an actual open-and-closed projective |
| 142 | surface component, with precisely its original principal SU ball quotient. -/ |
| 143 | theorem Models.FinePELModel.exists_principal_projective_component |
| 144 | (Q : HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation (M.complexFiber κ)) |
| 145 | (hN : 3 ≤ N) (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) : |
| 146 | ∃ (C : M.ComplexComponent κ) (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety), |
| 147 | M.IsProjectiveComponent κ C X ∧ |
| 148 | P.IsUniformizedBy X (Groups.principalSpecialUnitary P.b P.lattice N) := by |
| 149 | have : LocallyOfFiniteType (M.complexFiber κ).hom := M.complexFiber_locallyFiniteType κ |
| 150 | let Y := M.complexFiber κ |
| 151 | let V := Set.range (M.referencePoint hM κ hP hκ) |
| 152 | obtain ⟨hcompact, hopen, hconnected, hsmooth⟩ := |
| 153 | M.referenceImage_compact_open_connected_smooth hM κ hP hκ hN hs hdegree |
| 154 | obtain ⟨R, hRo, hRc, ⟨Pj⟩, hrange⟩ := |
| 155 | QuasiProjectiveComponents.exists_projective_open_piece_of_compact_connected_analytic_open Q V hopen hcompact hconnected |
| 156 | (fun _ hx => hsmooth hx) |
| 157 | have : IsOpenImmersion R.inclusion := hRo |
| 158 | have : IsClosedImmersion R.inclusion := hRc |
| 159 | let X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := ⟨{ |
| 160 | carrier := R.carrier |
| 161 | structureMap := R.inclusion ≫ Y.hom |
| 162 | projective := Pj |
| 163 | smooth := R.smooth }, R.integral⟩ |
| 164 | let f : X.toOver ⟶ Y := Over.homMk R.inclusion rfl |
| 165 | have : IsOpenImmersion f.left := hRo |
| 166 | have : IsClosedImmersion f.left := hRc |
| 167 | have hfRange : Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) = V := hrange |
| 168 | let a := P.referenceOrigin hP |
| 169 | let x := M.referencePoint hM κ hP hκ a |
| 170 | have hx : x ∈ V := ⟨a, rfl⟩ |
| 171 | have hxR : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ R.support := by |
| 172 | have hmem : x ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) := hfRange.symm ▸ hx |
| 173 | rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion f] at hmem |
| 174 | exact hmem |
| 175 | obtain ⟨S, hSo, hSdim, t, ht⟩ := |
| 176 | M.exists_reference_open_surface hM κ hP hκ hN hs hdegree a |
| 177 | have : IsOpenImmersion S.inclusion := hSo |
| 178 | have hxS : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ S.support := by |
| 179 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (M.referencePoint hM κ hP hκ a) ∈ S.support |
| 180 | rw [← ht] |
| 181 | exact ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying t, rfl⟩ |
| 182 | have : Etale ((𝟙 Y : Y ⟶ Y).left) := inferInstanceAs (Etale (𝟙 Y.left)) |
| 183 | have hdim : X.complexDimension = 2 := |
| 184 | (Reference.PointTopology.openPiece_dimension_eq_of_etale_span (𝟙 Y) (𝟙 Y) R S |
| 185 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x) hxR hxS).trans hSdim |
| 186 | have hclopen : IsClopen V := by |
| 187 | refine ⟨?_, hopen⟩ |
| 188 | rw [← hfRange] |
| 189 | exact (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion f).isClosed_range |
| 190 | have hcomponent := Principal.ProjectiveComponent.clopen_connected_eq_component_fiber V hclopen hconnected x hx |
| 191 | let C : M.ComplexComponent κ := ConnectedComponents.mk x |
| 192 | refine ⟨C, X, ⟨hdim, f, hRo, hRc, hfRange.trans hcomponent⟩, ?_⟩ |
| 193 | exact M.principal_uniformization_of_reference_image hM κ hP hκ hN hs hdegree X f hdim hfRange |
| 194 | |
| 195 | end |
| 196 | |
| 197 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |