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.Pure.Fine |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.FrameFactorization |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.RelativeLevelIso |
| 4 | |
| 5 | /-! # Pure Added Level -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.PureAddedLevel.IntegralPureModel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Adapted from PureAddedLevelModel at fc4f55b19489ddf8581cc300ef4e451dda22da2e. The base is arbitrary; |
| 14 | invertibility of the prescribed level replaces the characteristic-zero hypothesis. -/ |
| 15 | |
| 16 | /-! Over a pure HilbertConstruction model, the independently prescribed full level is |
| 17 | constructed by the actual finite-etale full-frame scheme. This supplies |
| 18 | the two-level candidate family without restricting the prescribed N. -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.FrameFactorization.IntegralLevelCover |
| 23 | |
| 24 | variable {S : Scheme.{0}} {g L N : ℕ} {δ : Fin g → ℕ} |
| 25 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel g δ L S) [NeZero N] |
| 26 | (hN : ∀ x : M.space.left, IsUnit (N : M.space.left.presheaf.stalk x)) |
| 27 | |
| 28 | def prescribedFrame : Over M.space.left := |
| 29 | FrameLocus.IntegralLevelCover.fullFrameScheme M.universal.abelian hN (N := N) |
| 30 | |
| 31 | def addedLevelSpace : Over S := |
| 32 | (Over.map M.space.hom).obj (prescribedFrame M hN (N := N)) |
| 33 | |
| 34 | def addedLevelForget : addedLevelSpace M hN (N := N) ⟶ M.space := |
| 35 | Over.homMk (prescribedFrame M hN (N := N)).hom rfl |
| 36 | |
| 37 | instance addedLevelForget_isFinite : IsFinite (addedLevelForget M hN (N := N)).left := |
| 38 | (FrameLocus.IntegralLevelCover.fullFrameScheme_finite_etale M.universal.abelian hN).1 |
| 39 | |
| 40 | instance addedLevelForget_etale : Etale (addedLevelForget M hN (N := N)).left := |
| 41 | (FrameLocus.IntegralLevelCover.fullFrameScheme_finite_etale M.universal.abelian hN).2 |
| 42 | |
| 43 | def addedLevelUniversal : AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel g δ L N (addedLevelSpace M hN (N := N)).left where |
| 44 | auxiliary := M.universal.pullback (prescribedFrame M hN (N := N)).hom |
| 45 | prescribed := CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel M.universal.abelian hN |
| 46 | |
| 47 | def liftPrescribedLevel {T : Over S} (f : T ⟶ M.space) |
| 48 | (β : (M.universal.abelian.pullback f.left).FullLevel N) : |
| 49 | T ⟶ addedLevelSpace M hN (N := N) := by |
| 50 | let t : Over M.space.left := Over.mk f.left |
| 51 | let q := (FrameFactorization.IntegralLevelCover.fullFramePointsEquiv M.universal.abelian hN t).symm β |
| 52 | exact Over.homMk q.left (by |
| 53 | exact (Category.assoc q.left (FrameLocus.IntegralLevelCover.fullFrameScheme M.universal.abelian hN).hom |
| 54 | M.space.hom).symm.trans ((congrArg (fun h => h ≫ M.space.hom) q.w).trans f.w)) |
| 55 | |
| 56 | theorem liftPrescribedLevel_forget {T : Over S} (f : T ⟶ M.space) |
| 57 | (β : (M.universal.abelian.pullback f.left).FullLevel N) : |
| 58 | liftPrescribedLevel M hN f β ≫ addedLevelForget M hN = f := by |
| 59 | apply Over.OverMorphism.ext |
| 60 | exact ((FrameFactorization.IntegralLevelCover.fullFramePointsEquiv M.universal.abelian hN (Over.mk f.left)).symm β).w |
| 61 | |
| 62 | theorem liftPrescribedLevel_coefficients {T : Over S} (f : T ⟶ M.space) |
| 63 | (β : (M.universal.abelian.pullback f.left).FullLevel N) : |
| 64 | (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel M.universal.abelian hN).restrict |
| 65 | ((FrameFactorization.IntegralLevelCover.fullFramePointsEquiv M.universal.abelian hN (Over.mk f.left)).symm β) = β := |
| 66 | (FrameFactorization.IntegralLevelCover.fullFramePointsEquiv M.universal.abelian hN (Over.mk f.left)).apply_symm_apply β |
| 67 | |
| 68 | end |
| 69 | |
| 70 | section |
| 71 | |
| 72 | /-! Adapted from PureAddedLevelMaps at fc4f55b19489ddf8581cc300ef4e451dda22da2e. The base is arbitrary; |
| 73 | invertibility of the prescribed level replaces the characteristic-zero hypothesis. -/ |
| 74 | |
| 75 | /-! Classification of two-level pure families by the constructed |
| 76 | finite-etale full-frame scheme over the exact pure HilbertConstruction model. -/ |
| 77 | |
| 78 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 79 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 80 | |
| 81 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.FrameFactorization.IntegralLevelCover |
| 82 | |
| 83 | variable {S : Scheme.{0}} |
| 84 | {g L N : ℕ} {δ : Fin g → ℕ} |
| 85 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel g δ L S) [NeZero N] |
| 86 | (hN : ∀ x : M.space.left, IsUnit (N : M.space.left.presheaf.stalk x)) |
| 87 | |
| 88 | def frameToAddedMap {T : Over S} (f : T ⟶ M.space) |
| 89 | (q : Over.mk f.left ⟶ prescribedFrame M hN (N := N)) : T ⟶ addedLevelSpace M hN (N := N) := |
| 90 | Over.homMk q.left (by |
| 91 | exact (Category.assoc q.left (prescribedFrame M hN (N := N)).hom M.space.hom).symm.trans |
| 92 | ((congrArg (fun z => z ≫ M.space.hom) q.w).trans f.w)) |
| 93 | |
| 94 | def addedMapFrame {T : Over S} (j : T ⟶ addedLevelSpace M hN (N := N)) |
| 95 | (f : T ⟶ M.space) (hf : j ≫ addedLevelForget M hN = f) : |
| 96 | Over.mk f.left ⟶ prescribedFrame M hN (N := N) := |
| 97 | Over.homMk j.left (congrArg (fun z => z.left) hf) |
| 98 | |
| 99 | def frameAddedIso {T : Over S} (f : T ⟶ M.space) |
| 100 | (q : Over.mk f.left ⟶ prescribedFrame M hN (N := N)) : |
| 101 | AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel.Iso ((addedLevelUniversal M hN).pullback (frameToAddedMap M hN f q).left) |
| 102 | (AbelianModuli.ReferenceFamily.Pure.RelativeLevelIso.relativeAddedLevel M.universal (Over.mk f.left) |
| 103 | ((CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel M.universal.abelian hN).restrict q)) := |
| 104 | AbelianModuli.ReferenceFamily.Pure.RelativeLevelIso.relativeAddedLevelIso M.universal q (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel M.universal.abelian hN) |
| 105 | |
| 106 | end |
| 107 | |
| 108 | section |
| 109 | |
| 110 | /-! Adapted from PureAddedLevelExistence at fc4f55b19489ddf8581cc300ef4e451dda22da2e. The base is arbitrary; |
| 111 | invertibility of the prescribed level replaces the characteristic-zero hypothesis. -/ |
| 112 | |
| 113 | /-! Classification of two-level pure families by the constructed |
| 114 | finite-etale full-frame scheme over the exact pure HilbertConstruction model. -/ |
| 115 | |
| 116 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 117 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 118 | |
| 119 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.FrameFactorization.IntegralLevelCover |
| 120 | |
| 121 | variable {S : Scheme.{0}} |
| 122 | {g L N : ℕ} {δ : Fin g → ℕ} |
| 123 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel g δ L S) [NeZero N] |
| 124 | (hN : ∀ x : M.space.left, IsUnit (N : M.space.left.presheaf.stalk x)) |
| 125 | |
| 126 | theorem addedLevel_classifying_exists (hM : M.IsFine) |
| 127 | (T : Over S) (A : AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel g δ L N T.left) : |
| 128 | ∃ j : T ⟶ addedLevelSpace M hN (N := N), |
| 129 | Nonempty (AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel.Iso ((addedLevelUniversal M hN).pullback j.left) A) := by |
| 130 | obtain ⟨f, ⟨e⟩, _⟩ := hM T A.auxiliary |
| 131 | let β : (M.universal.abelian.pullback f.left).FullLevel N := |
| 132 | @AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.transport g N T.left A.auxiliary.abelian |
| 133 | (M.universal.abelian.pullback f.left) A.prescribed e.abelian.symm e.symm.abelianGroup |
| 134 | let q : Over.mk f.left ⟶ prescribedFrame M hN (N := N) := |
| 135 | (FrameFactorization.IntegralLevelCover.fullFramePointsEquiv M.universal.abelian hN (Over.mk f.left)).symm β |
| 136 | have hβ : (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel M.universal.abelian hN).restrict q = β := |
| 137 | (FrameFactorization.IntegralLevelCover.fullFramePointsEquiv M.universal.abelian hN (Over.mk f.left)).apply_symm_apply β |
| 138 | refine ⟨frameToAddedMap M hN f q, ⟨(frameAddedIso M hN f q).trans |
| 139 | { auxiliary := e, prescribed := ?_ }⟩⟩ |
| 140 | apply AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.ext_basis |
| 141 | intro U c |
| 142 | have h := congrArg (fun α : (M.universal.abelian.pullback f.left).FullLevel N => |
| 143 | (α.hom.app (.op U) c).val ≫ e.abelian.hom) hβ |
| 144 | exact h.trans (by |
| 145 | change ((A.prescribed.hom.app (.op U) c).val ≫ e.abelian.inv) ≫ e.abelian.hom = _ |
| 146 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id]) |
| 147 | |
| 148 | end |
| 149 | |
| 150 | /-! Uniqueness for the constructed integral two-level pure parameter |
| 151 | follows from rigidity of the actual underlying auxiliary-level families. |
| 152 | The rigidity hypothesis is local to this comparison lemma. -/ |
| 153 | |
| 154 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 155 | |
| 156 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.FrameFactorization.IntegralLevelCover |
| 157 | |
| 158 | variable {S : Scheme.{0}} {g L N : ℕ} {δ : Fin g → ℕ} |
| 159 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel g δ L S) [NeZero N] |
| 160 | (hN : ∀ x : M.space.left, IsUnit (N : M.space.left.presheaf.stalk x)) |
| 161 | |
| 162 | theorem addedLevel_classifying_unique_of_rigidity (hM : M.IsFine) |
| 163 | (T : Over S) (A : AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel g δ L N T.left) |
| 164 | (hRigid : ∀ (f : T ⟶ M.space) |
| 165 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (M.universal.pullback f.left) (M.universal.pullback f.left)), |
| 166 | e.abelian.hom = 𝟙 (M.universal.abelian.pullback f.left).scheme) |
| 167 | (j k : T ⟶ addedLevelSpace M hN (N := N)) |
| 168 | (a : AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel.Iso ((addedLevelUniversal M hN).pullback j.left) A) |
| 169 | (b : AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel.Iso ((addedLevelUniversal M hN).pullback k.left) A) : j = k := by |
| 170 | let f := j ≫ addedLevelForget M hN |
| 171 | let h := k ≫ addedLevelForget M hN |
| 172 | let q := addedMapFrame M hN j f rfl |
| 173 | let r := addedMapFrame M hN k h rfl |
| 174 | let a' := (frameAddedIso M hN f q).symm.trans a |
| 175 | let b' := (frameAddedIso M hN h r).symm.trans b |
| 176 | obtain ⟨u, _, hu⟩ := hM T A.auxiliary |
| 177 | have hh : h = f := (hu h ⟨b'.auxiliary⟩).trans (hu f ⟨a'.auxiliary⟩).symm |
| 178 | let r' := addedMapFrame M hN k f hh |
| 179 | let c := (frameAddedIso M hN f r').symm.trans b |
| 180 | have hab : a'.auxiliary.abelian.hom = c.auxiliary.abelian.hom := by |
| 181 | have he := hRigid f (a'.auxiliary.trans c.auxiliary.symm) |
| 182 | have hh := congrArg (fun z => z ≫ c.auxiliary.abelian.hom) he |
| 183 | change (a'.auxiliary.abelian.hom ≫ c.auxiliary.abelian.inv) ≫ c.auxiliary.abelian.hom = |
| 184 | 𝟙 (M.universal.abelian.pullback f.left).scheme ≫ c.auxiliary.abelian.hom at hh |
| 185 | exact ((Category.assoc _ _ _).trans |
| 186 | ((congrArg (a'.auxiliary.abelian.hom ≫ ·) c.auxiliary.abelian.inv_hom_id).trans |
| 187 | (Category.comp_id _))).symm.trans (hh.trans (Category.id_comp _)) |
| 188 | let firstLevel := (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel M.universal.abelian hN).restrict q |
| 189 | let secondLevel := (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel M.universal.abelian hN).restrict r' |
| 190 | have hβ : firstLevel = secondLevel := by |
| 191 | apply AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.ext_basis |
| 192 | intro U coefficients |
| 193 | apply (cancel_mono c.auxiliary.abelian.hom).mp |
| 194 | exact ((congrArg (fun z => (firstLevel.hom.app (.op U) coefficients).val ≫ z) |
| 195 | hab).symm.trans (a'.prescribed_basis U coefficients)).trans |
| 196 | (c.prescribed_basis U coefficients).symm |
| 197 | have hq : q = r' := (FrameFactorization.IntegralLevelCover.fullFramePointsEquiv M.universal.abelian hN (Over.mk f.left)).injective hβ |
| 198 | exact Over.OverMorphism.ext (congrArg (fun z => z.left) hq) |
| 199 | |
| 200 | end |
| 201 | |
| 202 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.PureAddedLevel.IntegralPureModel |