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.ComplexPoints.Analytic.ProjectiveScheme |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeClosed |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.ClosedProjective |
| 4 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 5 | import Mathlib.RingTheory.Ideal.Quotient.Nilpotent |
| 6 | |
| 7 | /-! # Projective Closure Is -/ |
| 8 | |
| 9 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # RiemannProjectivity: the actual reduced projective closure |
| 15 | |
| 16 | The closed scheme is constructed from the vanishing ideal sheaf of the |
| 17 | Zariski closure of the embedded complex points. It is reduced and genuinely |
| 18 | projective over ℂ. Every original complex point lifts to that scheme. |
| 19 | Equality of its complex points with the analytic image is a separate theorem. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Set |
| 23 | |
| 24 | variable {n : ℕ} |
| 25 | |
| 26 | def underlyingPoint (p : Projectivization ℂ (Fin (n + 1) → ℂ)) : OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n := |
| 27 | (OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left (IsLocalRing.closedPoint ℂ) |
| 28 | |
| 29 | def closureSupport (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 30 | Closeds (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := .closure (underlyingPoint '' S) |
| 31 | |
| 32 | def closureIdeal (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 33 | (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n).IdealSheafData := |
| 34 | Scheme.IdealSheafData.vanishingIdeal (closureSupport S) |
| 35 | |
| 36 | def closureScheme (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : Scheme := |
| 37 | (closureIdeal S).subscheme |
| 38 | |
| 39 | def closureInclusion (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 40 | closureScheme S ⟶ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n := (closureIdeal S).subschemeι |
| 41 | |
| 42 | instance (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 43 | IsClosedImmersion (closureInclusion S) := |
| 44 | inferInstanceAs (IsClosedImmersion (closureIdeal S).subschemeι) |
| 45 | |
| 46 | def closureStructureMap (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 47 | closureScheme S ⟶ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := closureInclusion S ≫ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n |
| 48 | |
| 49 | def closurePresentation (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 50 | OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (closureScheme S) (closureStructureMap S) := |
| 51 | ⟨n, closureInclusion S, inferInstance, rfl⟩ |
| 52 | |
| 53 | instance closureScheme_reduced (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 54 | IsReduced (closureScheme S) := by |
| 55 | let I := closureIdeal S |
| 56 | change IsReduced I.subscheme |
| 57 | apply (IsReduced.iff_of_openCover I.subscheme I.subschemeCover.openCover).2 |
| 58 | intro U |
| 59 | change (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n).affineOpens at U |
| 60 | change IsReduced (Spec (.of (Γ(OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n, U) ⧸ I.ideal U))) |
| 61 | apply (affine_isReduced_iff _).2 |
| 62 | apply (Ideal.isRadical_iff_quotient_reduced _).1 |
| 63 | exact PrimeSpectrum.isRadical_vanishingIdeal _ |
| 64 | |
| 65 | instance closureStructureMap_proper (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 66 | IsProper (closureStructureMap S) := (closurePresentation S).isProper |
| 67 | |
| 68 | theorem inclusion_range (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 69 | range (closureInclusion S) = (closureSupport S : Set (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) := by |
| 70 | change range (closureIdeal S).subschemeι = _ |
| 71 | rw [Scheme.IdealSheafData.range_subschemeι] |
| 72 | simp [closureIdeal] |
| 73 | |
| 74 | theorem underlying_mem_support (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 75 | {p : Projectivization ℂ (Fin (n + 1) → ℂ)} (hp : p ∈ S) : |
| 76 | underlyingPoint p ∈ closureSupport S := |
| 77 | subset_closure ⟨p, hp, rfl⟩ |
| 78 | |
| 79 | def closureOver (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : Over OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := |
| 80 | Over.mk (closureStructureMap S) |
| 81 | |
| 82 | def inclusionOver (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 83 | closureOver S ⟶ Over.mk (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := |
| 84 | Over.homMk (closureInclusion S) rfl |
| 85 | |
| 86 | /-- An original complex point lies on the actual reduced closure scheme. -/ |
| 87 | theorem exists_liftedPoint (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 88 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 89 | (hp : underlyingPoint p ∈ closureSupport S) : |
| 90 | ∃ q : OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (closureOver S), |
| 91 | OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (inclusionOver S) q = OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p := by |
| 92 | let : LocallyOfFiniteType (closureStructureMap S) := (closurePresentation S).finiteType.1 |
| 93 | have hp' : underlyingPoint p ∈ range (closureInclusion S) := by |
| 94 | rw [inclusion_range] |
| 95 | exact hp |
| 96 | obtain ⟨x, hx⟩ := hp' |
| 97 | let P := OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p |
| 98 | have hpc : IsClosed ({underlyingPoint p} : Set (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) := |
| 99 | (pointEquivClosedPoint (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) ⟨P.left, P.w⟩).property |
| 100 | have hxc : IsClosed ({x} : Set (closureScheme S)) := by |
| 101 | have h := hpc.preimage (closureInclusion S).continuous |
| 102 | convert! h using 1 |
| 103 | ext y |
| 104 | simp only [mem_singleton_iff, mem_preimage] |
| 105 | rw [← hx] |
| 106 | exact (closureInclusion S).isClosedEmbedding.injective.eq_iff.symm |
| 107 | let q₀ : OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ closureScheme S := |
| 108 | pointOfClosedPoint (X := closureScheme S) (K := ℂ) (closureStructureMap S) x hxc |
| 109 | have hq₀ : q₀ ≫ closureStructureMap S = 𝟙 OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := |
| 110 | pointOfClosedPoint_comp (closureStructureMap S) x hxc |
| 111 | let q : OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (closureOver S) := Over.homMk q₀ hq₀ |
| 112 | refine ⟨q, ?_⟩ |
| 113 | apply Over.OverMorphism.ext |
| 114 | apply ext_of_apply_closedPoint_eq (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) |
| 115 | (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (inclusionOver S) q).w P.w |
| 116 | change closureInclusion S |
| 117 | ((pointOfClosedPoint (closureStructureMap S) x hxc) (IsLocalRing.closedPoint ℂ)) = underlyingPoint p |
| 118 | exact (congrArg (closureInclusion S) |
| 119 | (pointOfClosedPoint_apply (closureStructureMap S) x hxc (IsLocalRing.closedPoint ℂ))).trans hx |
| 120 | |
| 121 | def liftedPoint (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 122 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 123 | (hp : underlyingPoint p ∈ closureSupport S) : OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (closureOver S) := |
| 124 | Classical.choose (exists_liftedPoint S p hp) |
| 125 | |
| 126 | theorem liftedPoint_inclusion (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 127 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 128 | (hp : underlyingPoint p ∈ closureSupport S) : |
| 129 | OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (inclusionOver S) (liftedPoint S p hp) = |
| 130 | OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p := |
| 131 | Classical.choose_spec (exists_liftedPoint S p hp) |
| 132 | |
| 133 | variable {T : Type} [TopologicalSpace T] |
| 134 | |
| 135 | /-- Lift the entire parametrized image through the genuine closed immersion. -/ |
| 136 | def liftedMap (f : T → Projectivization ℂ (Fin (n + 1) → ℂ)) : |
| 137 | T → OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (closureOver (range f)) := |
| 138 | fun t => liftedPoint (range f) (f t) (underlying_mem_support (range f) ⟨t, rfl⟩) |
| 139 | |
| 140 | omit [TopologicalSpace T] in |
| 141 | theorem liftedMap_inclusion (f : T → Projectivization ℂ (Fin (n + 1) → ℂ)) (t : T) : |
| 142 | OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (inclusionOver (range f)) (liftedMap f t) = |
| 143 | OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n (f t) := |
| 144 | liftedPoint_inclusion (range f) (f t) _ |
| 145 | |
| 146 | theorem liftedMap_continuous (f : T → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 147 | (hf : Continuous f) : Continuous (liftedMap f) := by |
| 148 | let j := inclusionOver (range f) |
| 149 | let : IsClosedImmersion j.left := inferInstanceAs (IsClosedImmersion (closureInclusion (range f))) |
| 150 | have hj := OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion j |
| 151 | apply hj.isEmbedding.isInducing.continuous_iff.mpr |
| 152 | have heq : OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j ∘ liftedMap f = |
| 153 | OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n ∘ f := |
| 154 | funext (liftedMap_inclusion f) |
| 155 | rw [heq] |
| 156 | exact (OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).continuous.comp hf |
| 157 | |
| 158 | omit [TopologicalSpace T] in |
| 159 | theorem liftedMap_injective (f : T → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 160 | (hf : Function.Injective f) : Function.Injective (liftedMap f) := by |
| 161 | intro x y hxy |
| 162 | apply hf |
| 163 | apply (OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).injective |
| 164 | exact (liftedMap_inclusion f x).symm.trans |
| 165 | ((congrArg (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (inclusionOver (range f))) hxy).trans |
| 166 | (liftedMap_inclusion f y)) |
| 167 | |
| 168 | /-- A compact embedded analytic image lifts as a closed topological embedding |
| 169 | into the actual complex points of its reduced projective closure. -/ |
| 170 | theorem liftedMap_isClosedEmbedding [CompactSpace T] |
| 171 | (f : T → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 172 | (hf : Topology.IsClosedEmbedding f) : Topology.IsClosedEmbedding (liftedMap f) := by |
| 173 | let j := inclusionOver (range f) |
| 174 | let : IsClosedImmersion j.left := inferInstanceAs (IsClosedImmersion (closureInclusion (range f))) |
| 175 | let : T2Space (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (closureOver (range f))) := |
| 176 | (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion j).isEmbedding.t2Space |
| 177 | exact (liftedMap_continuous f hf.continuous).isClosedEmbedding (liftedMap_injective f hf.injective) |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure |