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.Finite.Monomorphisms |
| 2 | |
| 3 | /-! # Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Factorization.LevelCover |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Relative full levels factor through the constructed finite etale |
| 12 | full-frame locus. The proof detects the absence of omitted torsion |
| 13 | points after actual scheme base change. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {B B' : Scheme.{0}} {X Y : Over B} |
| 19 | |
| 20 | theorem overPullbackMap_spans_of_isIso (m : X ⟶ Y) (u : B' ⟶ B) |
| 21 | [IsIso ((Over.pullback u).map m)] : |
| 22 | ∀ y : Y.left, Y.hom y ∈ Set.range u → y ∈ Set.range m.left := by |
| 23 | let : IsIso ((Over.pullback u).map m).left := |
| 24 | inferInstanceAs (IsIso ((Over.forget B').map ((Over.pullback u).map m))) |
| 25 | intro y hy |
| 26 | have hy' : y ∈ Set.range (pullback.fst Y.hom u) := by |
| 27 | rw [Scheme.Pullback.range_fst] |
| 28 | exact hy |
| 29 | obtain ⟨z, hz⟩ := hy' |
| 30 | obtain ⟨w, hw⟩ := ((Over.pullback u).map m).left.surjective z |
| 31 | refine ⟨pullback.fst X.hom u w, ?_⟩ |
| 32 | have hc := congrArg (fun q : pullback X.hom u ⟶ Y.left => q w) |
| 33 | (SpanningBaseChange.LevelCover.overPullbackMap_isPullback m u).w |
| 34 | change m.left (pullback.fst X.hom u w) = _ |
| 35 | exact hc.trans ((congrArg (pullback.fst Y.hom u) hw).trans hz) |
| 36 | |
| 37 | variable {S : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 38 | |
| 39 | def relativeLevelOnFramePullback (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) |
| 40 | (β : (A.pullback T.hom).FullLevel N) : |
| 41 | ((A.pullback (Level.Cover.LevelCover.frameScheme A N).hom).pullback f.left).FullLevel N := by |
| 42 | let e := A.pullbackCongrIso T.hom (f.left ≫ (Level.Cover.LevelCover.frameScheme A N).hom) f.w.symm |
| 43 | let e' := A.pullbackCompIso (Level.Cover.LevelCover.frameScheme A N).hom f.left |
| 44 | exact (β.transport e).transport e' |
| 45 | |
| 46 | theorem universalFrame_pullback_isIso_of_relative_split [NeZero N] |
| 47 | (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) (β : (A.pullback T.hom).FullLevel N) : |
| 48 | IsIso ((Over.pullback f.left).map (GroupScheme.LevelCover.frameSchemeMap A (Level.Cover.LevelCover.frameScheme A N) (𝟙 _))) := by |
| 49 | let m := GroupScheme.LevelCover.frameGroupSchemeMap A (Level.Cover.LevelCover.frameScheme A N) (𝟙 _) |
| 50 | let F := Over.pullback f.left |
| 51 | let q := F.mapGrp.map m |
| 52 | let : Mono m.hom.hom := GroupScheme.LevelCover.frameSchemeMap_mono A _ _ |
| 53 | have hq : Mono q.hom.hom := inferInstanceAs (Mono (F.map m.hom.hom)) |
| 54 | let eX := Level.BaseChange.GroupBaseChange.constantBaseChangeYonedaIso (g := g) (N := N) f.left ≪≫ |
| 55 | HilbertConstruction.Geometric.GeometricLevel.constantFullLevelYonedaIso g N T.left |
| 56 | let eY := Level.BaseChange.GroupBaseChange.torsionBaseChangeYonedaIso |
| 57 | (A.pullback (Level.Cover.LevelCover.frameScheme A N).hom) f.left N ≪≫ |
| 58 | (((A.pullback (Level.Cover.LevelCover.frameScheme A N).hom).pullback f.left).torsionSchemeYonedaIso N) ≪≫ |
| 59 | (relativeLevelOnFramePullback A T f β).symm |
| 60 | let : IsIso q := Finite.Monomorphisms.FiniteGroupIso.isIso_of_mono_constant_presentations q hq eX eY |
| 61 | exact inferInstanceAs (IsIso ((Grp.forget (Over T.left)).map q)) |
| 62 | |
| 63 | variable {K : Type} [Field K] [CharZero K] (p : S ⟶ Spec (.of K)) |
| 64 | |
| 65 | theorem relativeLevel_frame_range [NeZero N] (T : Over S) |
| 66 | (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) (β : (A.pullback T.hom).FullLevel N) : |
| 67 | Set.range f.left ⊆ (Locus.LevelCover.fullFrameOpen A p (N := N) : Set (Level.Cover.LevelCover.frameScheme A N).left) := by |
| 68 | let : IsIso ((Over.pullback f.left).map (GroupScheme.LevelCover.frameSchemeMap A (Level.Cover.LevelCover.frameScheme A N) (𝟙 _))) := |
| 69 | universalFrame_pullback_isIso_of_relative_split A T f β |
| 70 | rintro s ⟨t, rfl⟩ |
| 71 | apply (Locus.LevelCover.mem_fullFrameOpen_iff A p _).mpr |
| 72 | intro y hy |
| 73 | exact overPullbackMap_spans_of_isIso |
| 74 | (GroupScheme.LevelCover.frameSchemeMap A (Level.Cover.LevelCover.frameScheme A N) (𝟙 _)) f.left y ⟨t, hy.symm⟩ |
| 75 | |
| 76 | /-- The classifying frame map of a relative full level factors through |
| 77 | the actual full-frame open subscheme. -/ |
| 78 | def fullFrameOfRelativeLevel [NeZero N] (T : Over S) |
| 79 | (β : (A.pullback T.hom).FullLevel N) : T ⟶ Locus.LevelCover.fullFrameScheme A p (N := N) := by |
| 80 | let f := IndependentFrames.LevelCover.frameOfRelativeLevel A T β |
| 81 | have hr : Set.range f.left ⊆ Set.range (Locus.LevelCover.fullFrameOpen A p (N := N)).ι := by |
| 82 | rw [Scheme.Opens.range_ι] |
| 83 | exact relativeLevel_frame_range A p T f β |
| 84 | let l := IsOpenImmersion.lift (Locus.LevelCover.fullFrameOpen A p).ι f.left hr |
| 85 | have hl : l ≫ (Locus.LevelCover.fullFrameOpen A p).ι = f.left := IsOpenImmersion.lift_fac _ _ hr |
| 86 | refine Over.homMk l ?_ |
| 87 | exact (Category.assoc _ _ _).symm.trans ((congrArg (fun q => q ≫ (Level.Cover.LevelCover.frameScheme A N).hom) hl).trans f.w) |
| 88 | |
| 89 | theorem fullFrameOfRelativeLevel_inclusion [NeZero N] (T : Over S) |
| 90 | (β : (A.pullback T.hom).FullLevel N) : |
| 91 | fullFrameOfRelativeLevel A p T β ≫ Finite.Monomorphisms.LevelCover.fullFrameInclusion A p = IndependentFrames.LevelCover.frameOfRelativeLevel A T β := by |
| 92 | apply Over.OverMorphism.ext |
| 93 | exact IsOpenImmersion.lift_fac (Locus.LevelCover.fullFrameOpen A p (N := N)).ι |
| 94 | (IndependentFrames.LevelCover.frameOfRelativeLevel A T β).left _ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | /-! Finite etale representability of full ordered levels on an arbitrary |
| 99 | characteristic-zero abelian scheme. Neither a global level nor a |
| 100 | representability hypothesis is an input. -/ |
| 101 | |
| 102 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 103 | |
| 104 | variable {S : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 105 | {K : Type} [Field K] [CharZero K] (p : S ⟶ Spec (.of K)) [NeZero N] |
| 106 | |
| 107 | instance fullFrameInclusion_mono : Mono (Finite.Monomorphisms.LevelCover.fullFrameInclusion A p (N := N)) := by |
| 108 | let : Mono (Finite.Monomorphisms.LevelCover.fullFrameInclusion A p (N := N)).left := |
| 109 | inferInstanceAs (Mono (Locus.LevelCover.fullFrameOpen A p (N := N)).ι) |
| 110 | exact Over.mono_of_mono_left _ |
| 111 | |
| 112 | /-- The constructed full-frame scheme classifies full levels on every |
| 113 | test scheme, with its canonical universal coefficient map. -/ |
| 114 | def fullFramePointsEquiv (T : Over S) : |
| 115 | (T ⟶ Locus.LevelCover.fullFrameScheme A p (N := N)) ≃ (A.pullback T.hom).FullLevel N where |
| 116 | toFun f := (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel A p).restrict f |
| 117 | invFun β := fullFrameOfRelativeLevel A p T β |
| 118 | left_inv f := by |
| 119 | apply (cancel_mono (Finite.Monomorphisms.LevelCover.fullFrameInclusion A p)).mp |
| 120 | exact (fullFrameOfRelativeLevel_inclusion A p T _).trans |
| 121 | ((FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A f _).trans |
| 122 | (congrArg (fun q => f ≫ q) (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel_classifying A p))) |
| 123 | right_inv β := by |
| 124 | apply FrameRestriction.LevelCover.frameOfRelativeLevel_injective A T |
| 125 | exact (FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A (fullFrameOfRelativeLevel A p T β) _).trans |
| 126 | ((congrArg (fun q => fullFrameOfRelativeLevel A p T β ≫ q) |
| 127 | (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel_classifying A p)).trans |
| 128 | (fullFrameOfRelativeLevel_inclusion A p T β)) |
| 129 | |
| 130 | theorem fullFramePointsEquiv_classifying (T : Over S) |
| 131 | (f : T ⟶ Locus.LevelCover.fullFrameScheme A p (N := N)) : |
| 132 | IndependentFrames.LevelCover.frameOfRelativeLevel A T (fullFramePointsEquiv A p T f) = f ≫ Finite.Monomorphisms.LevelCover.fullFrameInclusion A p := |
| 133 | (FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A f _).trans |
| 134 | (congrArg (fun q => f ≫ q) (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel_classifying A p)) |
| 135 | |
| 136 | /-- The classification commutes with the actual pullback and transport |
| 137 | maps of the full-level family functor. -/ |
| 138 | theorem fullFramePointsEquiv_natural {T U : Over S} (j : T ⟶ U) |
| 139 | (f : U ⟶ Locus.LevelCover.fullFrameScheme A p (N := N)) : |
| 140 | fullFramePointsEquiv A p T (j ≫ f) = (fullFramePointsEquiv A p U f).restrict j := by |
| 141 | apply FrameRestriction.LevelCover.frameOfRelativeLevel_injective A T |
| 142 | exact (fullFramePointsEquiv_classifying A p T (j ≫ f)).trans |
| 143 | ((Category.assoc _ _ _).trans |
| 144 | ((congrArg (fun q => j ≫ q) (fullFramePointsEquiv_classifying A p U f).symm).trans |
| 145 | (FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A j _).symm)) |
| 146 | |
| 147 | def fullLevelRepresentable : |
| 148 | (FrameRestriction.LevelCover.fullLevelFamilyFunctor A (N := N)).RepresentableBy (Locus.LevelCover.fullFrameScheme A p (N := N)) where |
| 149 | homEquiv {T} := fullFramePointsEquiv A p T |
| 150 | homEquiv_comp j f := fullFramePointsEquiv_natural A p j f |
| 151 | |
| 152 | include p in |
| 153 | /-- Every characteristic-zero abelian scheme has an actual finite |
| 154 | etale parameter scheme for all full levels at each nonzero level. -/ |
| 155 | theorem finite_etale_fullLevel_parameter : |
| 156 | ∃ F : Over S, IsFinite F.hom ∧ Etale F.hom ∧ |
| 157 | Nonempty ((FrameRestriction.LevelCover.fullLevelFamilyFunctor A (N := N)).RepresentableBy F) := |
| 158 | ⟨Locus.LevelCover.fullFrameScheme A p, (Locus.LevelCover.fullFrameScheme_finite_etale A p).1, |
| 159 | (Locus.LevelCover.fullFrameScheme_finite_etale A p).2, ⟨fullLevelRepresentable A p⟩⟩ |
| 160 | |
| 161 | theorem fullLevel_unique_fullFrame_classifying (T : Over S) |
| 162 | (β : (A.pullback T.hom).FullLevel N) : |
| 163 | ∃! f : T ⟶ Locus.LevelCover.fullFrameScheme A p (N := N), |
| 164 | (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel A p).restrict f = β := by |
| 165 | refine ⟨(fullFramePointsEquiv A p T).symm β, (fullFramePointsEquiv A p T).apply_symm_apply β, ?_⟩ |
| 166 | intro f hf |
| 167 | exact (fullFramePointsEquiv A p T).injective |
| 168 | (hf.trans ((fullFramePointsEquiv A p T).apply_symm_apply β).symm) |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Factorization.LevelCover |