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.Integral.CanonicalFrame |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Factorization |
| 3 | |
| 4 | /-! # Frame Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.FrameFactorization.IntegralLevelCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Full-level construction over arbitrary bases where the level is invertible. |
| 13 | Adapted from the corresponding proved ReferenceFamily construction; no characteristic-zero |
| 14 | hypothesis or supplied torsion trivialization is retained. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Factorization.LevelCover |
| 20 | |
| 21 | variable {S : Scheme.{0}} {g N : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 22 | (hN : ∀ x : S, IsUnit (N : S.presheaf.stalk x)) |
| 23 | |
| 24 | theorem relativeLevel_frame_range [NeZero N] (T : Over S) |
| 25 | (f : T ⟶ AbelianModuli.ReferenceFamily.Level.Cover.LevelCover.frameScheme A N) (β : (A.pullback T.hom).FullLevel N) : |
| 26 | Set.range f.left ⊆ (FrameLocus.IntegralLevelCover.fullFrameOpen A hN (N := N) : Set (AbelianModuli.ReferenceFamily.Level.Cover.LevelCover.frameScheme A N).left) := by |
| 27 | let : IsIso ((Over.pullback f.left).map (AbelianModuli.ReferenceFamily.Frame.GroupScheme.LevelCover.frameSchemeMap A (AbelianModuli.ReferenceFamily.Level.Cover.LevelCover.frameScheme A N) (𝟙 _))) := |
| 28 | AbelianModuli.ReferenceFamily.Frame.Factorization.LevelCover.universalFrame_pullback_isIso_of_relative_split A T f β |
| 29 | rintro s ⟨t, rfl⟩ |
| 30 | apply (FrameLocus.IntegralLevelCover.mem_fullFrameOpen_iff A hN _).mpr |
| 31 | intro y hy |
| 32 | exact AbelianModuli.ReferenceFamily.Frame.Factorization.LevelCover.overPullbackMap_spans_of_isIso |
| 33 | (AbelianModuli.ReferenceFamily.Frame.GroupScheme.LevelCover.frameSchemeMap A (AbelianModuli.ReferenceFamily.Level.Cover.LevelCover.frameScheme A N) (𝟙 _)) f.left y ⟨t, hy.symm⟩ |
| 34 | |
| 35 | /-- The classifying frame map of a relative full level factors through |
| 36 | the actual full-frame open subscheme. -/ |
| 37 | def fullFrameOfRelativeLevel [NeZero N] (T : Over S) |
| 38 | (β : (A.pullback T.hom).FullLevel N) : T ⟶ FrameLocus.IntegralLevelCover.fullFrameScheme A hN (N := N) := by |
| 39 | let f := AbelianModuli.ReferenceFamily.IndependentFrames.LevelCover.frameOfRelativeLevel A T β |
| 40 | have hr : Set.range f.left ⊆ Set.range (FrameLocus.IntegralLevelCover.fullFrameOpen A hN (N := N)).ι := by |
| 41 | rw [Scheme.Opens.range_ι] |
| 42 | exact relativeLevel_frame_range A hN T f β |
| 43 | let l := IsOpenImmersion.lift (FrameLocus.IntegralLevelCover.fullFrameOpen A hN).ι f.left hr |
| 44 | have hl : l ≫ (FrameLocus.IntegralLevelCover.fullFrameOpen A hN).ι = f.left := IsOpenImmersion.lift_fac _ _ hr |
| 45 | refine Over.homMk l ?_ |
| 46 | exact (Category.assoc _ _ _).symm.trans ((congrArg (fun q => q ≫ (AbelianModuli.ReferenceFamily.Level.Cover.LevelCover.frameScheme A N).hom) hl).trans f.w) |
| 47 | |
| 48 | theorem fullFrameOfRelativeLevel_inclusion [NeZero N] (T : Over S) |
| 49 | (β : (A.pullback T.hom).FullLevel N) : |
| 50 | fullFrameOfRelativeLevel A hN T β ≫ CanonicalFrame.IntegralLevelCover.fullFrameInclusion A hN = AbelianModuli.ReferenceFamily.IndependentFrames.LevelCover.frameOfRelativeLevel A T β := by |
| 51 | apply Over.OverMorphism.ext |
| 52 | exact IsOpenImmersion.lift_fac (FrameLocus.IntegralLevelCover.fullFrameOpen A hN (N := N)).ι |
| 53 | (AbelianModuli.ReferenceFamily.IndependentFrames.LevelCover.frameOfRelativeLevel A T β).left _ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | /-! Full-level construction over arbitrary bases where the level is invertible. |
| 58 | Adapted from the corresponding proved ReferenceFamily construction; no characteristic-zero |
| 59 | hypothesis or supplied torsion trivialization is retained. -/ |
| 60 | |
| 61 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 62 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 63 | |
| 64 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Factorization.LevelCover |
| 65 | |
| 66 | variable {S : Scheme.{0}} {g N : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 67 | (hN : ∀ x : S, IsUnit (N : S.presheaf.stalk x)) |
| 68 | |
| 69 | variable [NeZero N] |
| 70 | |
| 71 | instance fullFrameInclusion_mono : Mono (CanonicalFrame.IntegralLevelCover.fullFrameInclusion A hN (N := N)) := by |
| 72 | let : Mono (CanonicalFrame.IntegralLevelCover.fullFrameInclusion A hN (N := N)).left := |
| 73 | inferInstanceAs (Mono (FrameLocus.IntegralLevelCover.fullFrameOpen A hN (N := N)).ι) |
| 74 | exact Over.mono_of_mono_left _ |
| 75 | |
| 76 | /-- The constructed full-frame scheme classifies full levels on every |
| 77 | test scheme, with its canonical universal coefficient map. -/ |
| 78 | def fullFramePointsEquiv (T : Over S) : |
| 79 | (T ⟶ FrameLocus.IntegralLevelCover.fullFrameScheme A hN (N := N)) ≃ (A.pullback T.hom).FullLevel N where |
| 80 | toFun f := (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel A hN).restrict f |
| 81 | invFun β := fullFrameOfRelativeLevel A hN T β |
| 82 | left_inv f := by |
| 83 | apply (cancel_mono (CanonicalFrame.IntegralLevelCover.fullFrameInclusion A hN)).mp |
| 84 | exact (fullFrameOfRelativeLevel_inclusion A hN T _).trans |
| 85 | ((AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A f _).trans |
| 86 | (congrArg (fun q => f ≫ q) (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel_classifying A hN))) |
| 87 | right_inv β := by |
| 88 | apply AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.frameOfRelativeLevel_injective A T |
| 89 | exact (AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A (fullFrameOfRelativeLevel A hN T β) _).trans |
| 90 | ((congrArg (fun q => fullFrameOfRelativeLevel A hN T β ≫ q) |
| 91 | (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel_classifying A hN)).trans |
| 92 | (fullFrameOfRelativeLevel_inclusion A hN T β)) |
| 93 | |
| 94 | theorem fullFramePointsEquiv_classifying (T : Over S) |
| 95 | (f : T ⟶ FrameLocus.IntegralLevelCover.fullFrameScheme A hN (N := N)) : |
| 96 | AbelianModuli.ReferenceFamily.IndependentFrames.LevelCover.frameOfRelativeLevel A T (fullFramePointsEquiv A hN T f) = f ≫ CanonicalFrame.IntegralLevelCover.fullFrameInclusion A hN := |
| 97 | (AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A f _).trans |
| 98 | (congrArg (fun q => f ≫ q) (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel_classifying A hN)) |
| 99 | |
| 100 | /-- The classification commutes with the actual pullback and transport |
| 101 | maps of the full-level family functor. -/ |
| 102 | theorem fullFramePointsEquiv_natural {T U : Over S} (j : T ⟶ U) |
| 103 | (f : U ⟶ FrameLocus.IntegralLevelCover.fullFrameScheme A hN (N := N)) : |
| 104 | fullFramePointsEquiv A hN T (j ≫ f) = (fullFramePointsEquiv A hN U f).restrict j := by |
| 105 | apply AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.frameOfRelativeLevel_injective A T |
| 106 | exact (fullFramePointsEquiv_classifying A hN T (j ≫ f)).trans |
| 107 | ((Category.assoc _ _ _).trans |
| 108 | ((congrArg (fun q => j ≫ q) (fullFramePointsEquiv_classifying A hN U f).symm).trans |
| 109 | (AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.frameOfRelativeLevel_restrict A j _).symm)) |
| 110 | |
| 111 | def fullLevelRepresentable : |
| 112 | (AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.fullLevelFamilyFunctor A (N := N)).RepresentableBy (FrameLocus.IntegralLevelCover.fullFrameScheme A hN (N := N)) where |
| 113 | homEquiv {T} := fullFramePointsEquiv A hN T |
| 114 | homEquiv_comp j f := fullFramePointsEquiv_natural A hN j f |
| 115 | |
| 116 | include hN in |
| 117 | /-- Every abelian scheme with invertible level has an actual finite |
| 118 | etale parameter scheme for all full levels at each nonzero level. -/ |
| 119 | theorem finite_etale_fullLevel_parameter : |
| 120 | ∃ F : Over S, IsFinite F.hom ∧ Etale F.hom ∧ |
| 121 | Nonempty ((AbelianModuli.ReferenceFamily.Frame.FrameRestriction.LevelCover.fullLevelFamilyFunctor A (N := N)).RepresentableBy F) := |
| 122 | ⟨FrameLocus.IntegralLevelCover.fullFrameScheme A hN, (FrameLocus.IntegralLevelCover.fullFrameScheme_finite_etale A hN).1, |
| 123 | (FrameLocus.IntegralLevelCover.fullFrameScheme_finite_etale A hN).2, ⟨fullLevelRepresentable A hN⟩⟩ |
| 124 | |
| 125 | theorem fullLevel_unique_fullFrame_classifying (T : Over S) |
| 126 | (β : (A.pullback T.hom).FullLevel N) : |
| 127 | ∃! f : T ⟶ FrameLocus.IntegralLevelCover.fullFrameScheme A hN (N := N), |
| 128 | (CanonicalFrame.IntegralLevelCover.canonicalFullFrameLevel A hN).restrict f = β := by |
| 129 | refine ⟨(fullFramePointsEquiv A hN T).symm β, (fullFramePointsEquiv A hN T).apply_symm_apply β, ?_⟩ |
| 130 | intro f hf |
| 131 | exact (fullFramePointsEquiv A hN T).injective |
| 132 | (hf.trans ((fullFramePointsEquiv A hN T).apply_symm_apply β).symm) |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.FrameFactorization.IntegralLevelCover |