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.Polarized.Torsion |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ComplexPointExistence |
| 3 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 4 | |
| 5 | /-! # Complex Cover -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.ComplexCover.LevelCover |
| 12 | |
| 13 | /-! The full-level parameter covers every polarized family on a complex |
| 14 | base locally of finite type. A nonempty complement would contain a genuine |
| 15 | complex point, whose native torsion supplies the missing full level. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.Foundations.Scheme.ComplexPointExistence |
| 18 | |
| 19 | variable {S : Scheme.{0}} {g N L : ℕ} {δ : Fin g → ℕ} |
| 20 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 21 | (p : S ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [NeZero L] |
| 22 | |
| 23 | theorem complex_point_mem_fullFrame_image (q : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ S) (x : Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 24 | q x ∈ Set.range (Frame.Locus.LevelCover.fullFrameScheme A.abelian p (N := L)).hom := by |
| 25 | let β := Polarized.Torsion.polarizedComplexFullLevel (A.pullback q) L |
| 26 | let f := Frame.Factorization.LevelCover.fullFrameOfRelativeLevel A.abelian p (Over.mk q) β |
| 27 | exact ⟨f.left x, congrArg (fun h : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ S => h x) f.w⟩ |
| 28 | |
| 29 | /-- Surjectivity on every component follows from the actual complex |
| 30 | torsion calculation; no connectedness or supplied fiber is required. -/ |
| 31 | theorem polarizedFullFrame_surjective [LocallyOfFiniteType p] : |
| 32 | Surjective (Frame.Locus.LevelCover.fullFrameScheme A.abelian p (N := L)).hom := by |
| 33 | constructor |
| 34 | intro s |
| 35 | by_contra hs |
| 36 | let U : S.Opens := ⟨(Set.range (Frame.Locus.LevelCover.fullFrameScheme A.abelian p (N := L)).hom)ᶜ, |
| 37 | (CoverIs.LevelCover.fullFrame_image_isClopen A.abelian p (N := L)).1.isOpen_compl⟩ |
| 38 | let : Nonempty U := ⟨⟨s, hs⟩⟩ |
| 39 | let q := Classical.choice (Foundations.Scheme.ComplexPointExistence.nonempty_complexOverPoints (U.ι ≫ p)) |
| 40 | have h := complex_point_mem_fullFrame_image A p (L := L) (q.left ≫ U.ι) (default : Foundations.Scheme.ProjectiveSpace.complexBase) |
| 41 | exact (q.left (default : Foundations.Scheme.ProjectiveSpace.complexBase)).property h |
| 42 | |
| 43 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.ComplexCover.LevelCover |
| 44 | |
| 45 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 46 | |
| 47 | /-! Full-level covers on bases locally of finite type over a field with |
| 48 | a complex embedding. Complex points of every nonempty open are obtained |
| 49 | by surjective base change followed by the proved complex-point theorem. -/ |
| 50 | |
| 51 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry OAI.AlgebraicGeometry.Foundations.Scheme.ComplexPointExistence |
| 52 | |
| 53 | variable {K : Type} [Field K] (κ : K →+* ℂ) |
| 54 | |
| 55 | include κ in |
| 56 | theorem Level.ComplexCover.nonempty_complex_test {S : Scheme.{0}} (p : S ⟶ Spec (.of K)) |
| 57 | [LocallyOfFiniteType p] [Nonempty S] : Nonempty (Foundations.Scheme.ProjectiveSpace.complexBase ⟶ S) := by |
| 58 | let b : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ Spec (.of K) := Spec.map (CommRingCat.ofHom κ) |
| 59 | let : Surjective b := ⟨Function.surjective_to_subsingleton _⟩ |
| 60 | let f := pullback.fst p b |
| 61 | let : Nonempty (pullback p b : Scheme) := |
| 62 | ⟨Classical.choose (f.surjective (Classical.choice (inferInstance : Nonempty S)))⟩ |
| 63 | let q := Classical.choice (Foundations.Scheme.ComplexPointExistence.nonempty_complexOverPoints (pullback.snd p b)) |
| 64 | exact ⟨q.left ≫ f⟩ |
| 65 | |
| 66 | namespace Level.ComplexCover.LevelCover |
| 67 | |
| 68 | variable [CharZero K] {S : Scheme.{0}} {g N L : ℕ} {δ : Fin g → ℕ} |
| 69 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 70 | (p : S ⟶ Spec (.of K)) [NeZero L] |
| 71 | |
| 72 | include κ in |
| 73 | theorem polarizedFullFrame_surjective_of_locallyOfFiniteType [LocallyOfFiniteType p] : |
| 74 | Surjective (Frame.Locus.LevelCover.fullFrameScheme A.abelian p (N := L)).hom := by |
| 75 | constructor |
| 76 | intro s |
| 77 | by_contra hs |
| 78 | let U : S.Opens := ⟨(Set.range (Frame.Locus.LevelCover.fullFrameScheme A.abelian p (N := L)).hom)ᶜ, |
| 79 | (CoverIs.LevelCover.fullFrame_image_isClopen A.abelian p (N := L)).1.isOpen_compl⟩ |
| 80 | let : Nonempty U := ⟨⟨s, hs⟩⟩ |
| 81 | let q := Classical.choice (nonempty_complex_test κ (U.ι ≫ p)) |
| 82 | have h := Polarized.Torsion.LevelCover.polarized_point_mem_fullFrame_image A p (L := L) (q ≫ U.ι) (default : Foundations.Scheme.ProjectiveSpace.complexBase) |
| 83 | exact (q (default : Foundations.Scheme.ProjectiveSpace.complexBase)).property h |
| 84 | |
| 85 | end Level.ComplexCover.LevelCover |
| 86 | |
| 87 | variable [NumberField K] {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 88 | [NumberField.IsCMField E] {s N L : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 89 | {T : Over (Spec (.of K))} (A : PEL.Objects.PELObject P iota N T) [NeZero L] |
| 90 | |
| 91 | include κ in |
| 92 | theorem PEL.Objects.PELObject.auxiliaryLevelProjection_surjective_of_locallyOfFiniteType [LocallyOfFiniteType T.hom] : |
| 93 | Surjective (PEL.Objects.PELObject.auxiliaryLevelProjection A (L := L)).left := |
| 94 | Level.ComplexCover.LevelCover.polarizedFullFrame_surjective_of_locallyOfFiniteType κ A.polarized T.hom |
| 95 | |
| 96 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 97 | |
| 98 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.ComplexCover.LevelCover |
| 99 | |
| 100 | /-! A constructed covering of full levels stays a covering after |
| 101 | arbitrary scheme base change and transport by a group-scheme isomorphism. |
| 102 | The pulled-back marking is built with the actual pullback comparisons. -/ |
| 103 | |
| 104 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 105 | open scoped _root_.CategoryTheory.MonObj |
| 106 | |
| 107 | variable {S T U : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 108 | {K : Type} [Field K] [CharZero K] (p : S ⟶ Spec (.of K)) [NeZero N] |
| 109 | |
| 110 | theorem fullFrame_surjective_of_cover (u : U ⟶ S) [Surjective u] |
| 111 | (β : (A.pullback u).FullLevel N) : Surjective (Frame.Locus.LevelCover.fullFrameScheme A p (N := N)).hom := by |
| 112 | let f := Frame.Factorization.LevelCover.fullFrameOfRelativeLevel A p (Over.mk u) β |
| 113 | constructor |
| 114 | intro s |
| 115 | obtain ⟨t, ht⟩ := u.surjective s |
| 116 | exact ⟨f.left t, (congrArg (fun h : U ⟶ S => h t) f.w).trans ht⟩ |
| 117 | |
| 118 | /-- The level on a surjective cover pulls back through the actual |
| 119 | cartesian square, with the two composite base changes identified. -/ |
| 120 | def levelOnBaseChangedCover (q : T ⟶ S) (u : U ⟶ S) (β : (A.pullback u).FullLevel N) : |
| 121 | ((A.pullback q).pullback (pullback.snd u q)).FullLevel N := by |
| 122 | let β₁ := (β.pullback (pullback.fst u q)).transport |
| 123 | (A.pullbackCompIso u (pullback.fst u q)).symm |
| 124 | let β₂ := β₁.transport |
| 125 | (A.pullbackCongrIso (pullback.fst u q ≫ u) (pullback.snd u q ≫ q) pullback.condition) |
| 126 | exact β₂.transport (A.pullbackCompIso q (pullback.snd u q)) |
| 127 | |
| 128 | /-- Full-level surjectivity persists over any test scheme, with no |
| 129 | finite-type hypothesis on the new base. -/ |
| 130 | theorem fullFrame_surjective_pullback (q : T ⟶ S) |
| 131 | [Surjective (Frame.Locus.LevelCover.fullFrameScheme A p (N := N)).hom] : |
| 132 | Surjective (Frame.Locus.LevelCover.fullFrameScheme (A.pullback q) (q ≫ p) (N := N)).hom := |
| 133 | fullFrame_surjective_of_cover (A.pullback q) (q ≫ p) |
| 134 | (pullback.snd (Frame.Locus.LevelCover.fullFrameScheme A p (N := N)).hom q) |
| 135 | (levelOnBaseChangedCover A q (Frame.Locus.LevelCover.fullFrameScheme A p (N := N)).hom |
| 136 | (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel A p)) |
| 137 | |
| 138 | theorem fullFrame_surjective_of_iso (B : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 139 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] |
| 140 | [Surjective (Frame.Locus.LevelCover.fullFrameScheme A p (N := N)).hom] : |
| 141 | Surjective (Frame.Locus.LevelCover.fullFrameScheme B p (N := N)).hom := by |
| 142 | let u := (Frame.Locus.LevelCover.fullFrameScheme A p (N := N)).hom |
| 143 | let : GrpObj ((Over.pullback u).obj A.scheme) := Functor.grpObjObj |
| 144 | let : GrpObj ((Over.pullback u).obj B.scheme) := Functor.grpObjObj |
| 145 | let e' : (A.pullback u).scheme ≅ (B.pullback u).scheme := (Over.pullback u).mapIso e |
| 146 | let : IsMonHom e'.hom := by |
| 147 | dsimp only [e', HilbertConstruction.Abelian.Schemes.AbelianScheme.pullback] |
| 148 | exact inferInstanceAs (IsMonHom ((Over.pullback u).map e.hom)) |
| 149 | let β := (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel A p).transport e' |
| 150 | exact fullFrame_surjective_of_cover B p u β |
| 151 | |
| 152 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.ComplexCover.LevelCover |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI |