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.PELModuli.IntegralModel.Relative.FamilyClassification |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.PureAddedLevel |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AddedLevelRelabeling |
| 4 | |
| 5 | /-! # Two Level Existence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.TwoLevelExistence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Construct the bounded integral PEL parameter over the actual two-level |
| 14 | pure family. Every reduced integral PEL family admitting an auxiliary full |
| 15 | level has a geometric classifying map. Uniqueness and removal of the |
| 16 | auxiliary level are separate assertions. -/ |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.PureAddedLevel.IntegralPureModel |
| 23 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 24 | [CommRing R] {s L N : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 25 | (iotaO : NumberField.RingOfIntegers E →+* R) |
| 26 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel (3 * s) P.polarizationType L (Spec (.of R))) [NeZero N] |
| 27 | [IsNoetherian M.space.left] |
| 28 | |
| 29 | theorem exists_integral_two_level_pel_parameter (hM : M.IsFine) |
| 30 | (hft : LocallyOfFiniteType M.space.hom) (hqc : QuasiCompact M.space.hom) |
| 31 | (hsep : IsSeparated M.space.hom) |
| 32 | (hN : ∀ x : M.space.left, IsUnit (N : M.space.left.presheaf.stalk x)) |
| 33 | (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 34 | (hc : ∀ x : M.space.left, IsUnit (D.conductor : M.space.left.presheaf.stalk x)) : |
| 35 | ∃ V : Over (Spec (.of R)), IsReduced V.left ∧ IsNoetherian V.left ∧ |
| 36 | LocallyOfFiniteType V.hom ∧ QuasiCompact V.hom ∧ IsSeparated V.hom ∧ |
| 37 | ∃ U : PEL.Has.IntegralPELObject P R iotaO N V, |
| 38 | Nonempty (U.data.polarized.abelian.FullLevel L) ∧ |
| 39 | ∀ (T : Over (Spec (.of R))) [IsReduced T.left] |
| 40 | (B : PEL.Has.IntegralPELObject P R iotaO N T), |
| 41 | Nonempty (B.data.polarized.abelian.FullLevel L) → |
| 42 | ∃ f : T ⟶ V, Nonempty (PEL.Iso.PolarizedActionIso (U.data.pullback f.left) B.data) := by |
| 43 | let F := PureAddedLevel.IntegralPureModel.addedLevelSpace M hN (N := N) |
| 44 | let A := (PureAddedLevel.IntegralPureModel.addedLevelUniversal M hN (N := N)).forgetAuxiliary |
| 45 | let q := (PureAddedLevel.IntegralPureModel.prescribedFrame M hN (N := N)).hom |
| 46 | have : IsFinite q := inferInstanceAs (IsFinite (PureAddedLevel.IntegralPureModel.addedLevelForget M hN (N := N)).left) |
| 47 | have : IsLocallyNoetherian F.left := LocallyOfFiniteType.isLocallyNoetherian q |
| 48 | have : CompactSpace F.left := QuasiCompact.compactSpace_of_compactSpace q |
| 49 | have : IsNoetherian F.left := ⟨⟩ |
| 50 | have : LocallyOfFiniteType F.hom := by |
| 51 | change LocallyOfFiniteType (q ≫ M.space.hom) |
| 52 | infer_instance |
| 53 | have : QuasiCompact F.hom := by |
| 54 | change QuasiCompact (q ≫ M.space.hom) |
| 55 | infer_instance |
| 56 | have : IsSeparated F.hom := by |
| 57 | change IsSeparated (q ≫ M.space.hom) |
| 58 | infer_instance |
| 59 | obtain ⟨Z, hr, hn, hZft, hZqc, hZsep, U, hU, hclass⟩ := |
| 60 | Relative.FamilyClassification.exists_bounded_relative_pel_universal_family P iotaO F A D hPresentations (fun x => by |
| 61 | simpa only [map_natCast] using (hc (q x)).map (q.stalkMap x).hom) |
| 62 | let V := (Over.map F.hom).obj Z |
| 63 | have : IsReduced V.left := hr |
| 64 | have : IsNoetherian V.left := hn |
| 65 | have : LocallyOfFiniteType V.hom := by |
| 66 | change LocallyOfFiniteType (Z.hom ≫ F.hom) |
| 67 | infer_instance |
| 68 | have : QuasiCompact V.hom := by |
| 69 | change QuasiCompact (Z.hom ≫ F.hom) |
| 70 | infer_instance |
| 71 | have : IsSeparated V.hom := by |
| 72 | change IsSeparated (Z.hom ≫ F.hom) |
| 73 | infer_instance |
| 74 | refine ⟨V, inferInstance, inferInstance, inferInstance, inferInstance, inferInstance, U, ?_, ?_⟩ |
| 75 | · rw [hU] |
| 76 | exact ⟨((PureAddedLevel.IntegralPureModel.addedLevelUniversal M hN (N := N)).auxiliary.level).pullback Z.hom⟩ |
| 77 | · rintro T _ B ⟨β⟩ |
| 78 | let B₂ : AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel (3 * s) P.polarizationType L N T.left := { |
| 79 | auxiliary := { B.data.polarized with level := β } |
| 80 | prescribed := B.data.polarized.level } |
| 81 | obtain ⟨f, ⟨e⟩⟩ := PureAddedLevel.IntegralPureModel.addedLevel_classifying_exists M hN hM T B₂ |
| 82 | let t : Over F.left := Over.mk f.left |
| 83 | have : IsReduced t.left := inferInstanceAs (IsReduced T.left) |
| 84 | let b : ((Over.map F.hom).obj t) ⟶ T := Over.homMk (𝟙 T.left) (by |
| 85 | change 𝟙 T.left ≫ T.hom = f.left ≫ F.hom |
| 86 | exact (Category.id_comp _).trans f.w.symm) |
| 87 | let B' := B.pullback b |
| 88 | let e' : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback t.hom) B'.data.polarized := |
| 89 | e.forgetAuxiliary.trans (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackId B.data.polarized).symm |
| 90 | obtain ⟨j, ⟨ej⟩⟩ := hclass t B' ⟨e'⟩ |
| 91 | let k : T ⟶ V := Over.homMk j.left (by |
| 92 | exact (Category.assoc j.left Z.hom F.hom).symm.trans |
| 93 | ((congrArg (fun m => m ≫ F.hom) j.w).trans f.w)) |
| 94 | exact ⟨k, ⟨ej.trans (PEL.Iso.PolarizedActionIso.pullbackId B.data)⟩⟩ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | /-! The full pure HilbertConstruction graph input and bounded Presentations endomorphism-equation |
| 99 | input produce the actual integral two-level PEL parameter over a noetherian |
| 100 | coefficient ring. No pure model or PEL representation is supplied as input. -/ |
| 101 | |
| 102 | set_option backward.isDefEq.respectTransparency false |
| 103 | set_option backward.isDefEq.respectTransparency.types false |
| 104 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 105 | |
| 106 | theorem integer_unit_at_stalk_of_base_unit {R : Type} [CommRing R] |
| 107 | {S : Scheme.{0}} (p : S ⟶ Spec (.of R)) (n : ℕ) (hn : IsUnit (n : R)) (x : S) : |
| 108 | IsUnit (n : S.presheaf.stalk x) := by |
| 109 | let constants : R →+* Γ(S, ⊤) := p.appTop.hom.comp (Scheme.ΓSpecIso (.of R)).inv.hom |
| 110 | let toStalk : R →+* S.presheaf.stalk x := |
| 111 | (S.presheaf.germ ⊤ x (by trivial)).hom.comp constants |
| 112 | simpa only [map_natCast] using hn.map toStalk |
| 113 | |
| 114 | theorem exists_integral_bounded_two_level_pel_parameter |
| 115 | {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 116 | [CommRing R] [IsNoetherianRing R] {s L N : ℕ} [NeZero N] |
| 117 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hs : 0 < s) |
| 118 | (hδ : ∀ i, 0 < P.polarizationType i) |
| 119 | (hchain : ∀ i j, i ≤ j → P.polarizationType i ∣ P.polarizationType j) |
| 120 | (iotaO : NumberField.RingOfIntegers E →+* R) |
| 121 | (hL : 3 ≤ L) (hcoprime : Nat.Coprime L (∏ i, P.polarizationType i)) |
| 122 | (hLunit : IsUnit (L : R)) (hNunit : IsUnit (N : R)) |
| 123 | (hδunit : ∀ i, IsUnit (P.polarizationType i : R)) |
| 124 | (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) (hc : IsUnit (D.conductor : R)) |
| 125 | (hHilbertConstruction : AbelianModuli.ReferenceFamily.Pure.Fine.PureHilbertConstructionInput) (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) : |
| 126 | ∃ V : Over (Spec (.of R)), IsReduced V.left ∧ IsNoetherian V.left ∧ |
| 127 | LocallyOfFiniteType V.hom ∧ QuasiCompact V.hom ∧ IsSeparated V.hom ∧ |
| 128 | ∃ U : PEL.Has.IntegralPELObject P R iotaO N V, |
| 129 | Nonempty (U.data.polarized.abelian.FullLevel L) ∧ |
| 130 | ∀ (T : Over (Spec (.of R))) [IsReduced T.left] |
| 131 | (B : PEL.Has.IntegralPELObject P R iotaO N T), |
| 132 | Nonempty (B.data.polarized.abelian.FullLevel L) → |
| 133 | ∃ f : T ⟶ V, Nonempty (PEL.Iso.PolarizedActionIso (U.data.pullback f.left) B.data) := by |
| 134 | obtain ⟨M, ⟨Q⟩, hM⟩ := hHilbertConstruction (3 * s) (by omega) P.polarizationType hδ hchain |
| 135 | L hL hcoprime (Spec (.of R)) |
| 136 | (by simpa only [map_natCast] using hLunit.map (Scheme.ΓSpecIso (.of R)).inv.hom) |
| 137 | (fun i => by simpa only [map_natCast] using |
| 138 | (hδunit i).map (Scheme.ΓSpecIso (.of R)).inv.hom) |
| 139 | have : LocallyOfFiniteType M.space.hom := Q.locallyFiniteType |
| 140 | have : QuasiCompact M.space.hom := Q.quasiCompact |
| 141 | have : IsLocallyNoetherian M.space.left := LocallyOfFiniteType.isLocallyNoetherian M.space.hom |
| 142 | have : CompactSpace M.space.left := QuasiCompact.compactSpace_of_compactSpace M.space.hom |
| 143 | have : IsNoetherian M.space.left := ⟨⟩ |
| 144 | exact exists_integral_two_level_pel_parameter P iotaO M hM Q.locallyFiniteType Q.quasiCompact |
| 145 | Q.separated (integer_unit_at_stalk_of_base_unit M.space.hom N hNunit) D hPresentations |
| 146 | (integer_unit_at_stalk_of_base_unit M.space.hom D.conductor hc) |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.TwoLevelExistence |