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.AddedLevelModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.RelativeLevelIso |
| 3 | |
| 4 | /-! # Added Level Existence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Classification of two-level pure families by the constructed |
| 13 | finite-etale full-frame scheme over the exact pure HilbertConstruction model. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {K : Type} [Field K] [CharZero K] |
| 19 | {g L N : ℕ} {δ : Fin g → ℕ} |
| 20 | (M : Fine.PurePolarizedModel g δ L (Spec (.of K))) [NeZero N] |
| 21 | |
| 22 | def Fine.PurePolarizedModel.frameToAddedMap {T : Over (Spec (.of K))} (f : T ⟶ M.space) |
| 23 | (q : Over.mk f.left ⟶ Fine.PurePolarizedModel.prescribedFrame M (N := N)) : T ⟶ Fine.PurePolarizedModel.addedLevelSpace M (N := N) := |
| 24 | Over.homMk q.left (by |
| 25 | exact (Category.assoc q.left (Fine.PurePolarizedModel.prescribedFrame M (N := N)).hom M.space.hom).symm.trans |
| 26 | ((congrArg (fun z => z ≫ M.space.hom) q.w).trans f.w)) |
| 27 | |
| 28 | def Fine.PurePolarizedModel.addedMapFrame {T : Over (Spec (.of K))} (j : T ⟶ Fine.PurePolarizedModel.addedLevelSpace M (N := N)) |
| 29 | (f : T ⟶ M.space) (hf : j ≫ Fine.PurePolarizedModel.addedLevelForget M = f) : |
| 30 | Over.mk f.left ⟶ Fine.PurePolarizedModel.prescribedFrame M (N := N) := |
| 31 | Over.homMk j.left (congrArg (fun z => z.left) hf) |
| 32 | |
| 33 | def Fine.PurePolarizedModel.frameAddedIso {T : Over (Spec (.of K))} (f : T ⟶ M.space) |
| 34 | (q : Over.mk f.left ⟶ Fine.PurePolarizedModel.prescribedFrame M (N := N)) : |
| 35 | Level.Data.AddedFullLevel.Iso ((Fine.PurePolarizedModel.addedLevelUniversal M).pullback (Fine.PurePolarizedModel.frameToAddedMap M f q).left) |
| 36 | (RelativeLevelIso.relativeAddedLevel M.universal (Over.mk f.left) |
| 37 | ((Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel M.universal.abelian M.space.hom).restrict q)) := |
| 38 | RelativeLevelIso.relativeAddedLevelIso M.universal q (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel M.universal.abelian M.space.hom) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | /-! Classification of two-level pure families by the constructed |
| 43 | finite-etale full-frame scheme over the exact pure HilbertConstruction model. -/ |
| 44 | |
| 45 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 46 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 47 | |
| 48 | variable {K : Type} [Field K] [CharZero K] |
| 49 | {g L N : ℕ} {δ : Fin g → ℕ} |
| 50 | (M : Fine.PurePolarizedModel g δ L (Spec (.of K))) [NeZero N] |
| 51 | |
| 52 | theorem Fine.PurePolarizedModel.addedLevel_classifying_exists (hM : M.IsFine) |
| 53 | (T : Over (Spec (.of K))) (A : Level.Data.AddedFullLevel g δ L N T.left) : |
| 54 | ∃ j : T ⟶ Fine.PurePolarizedModel.addedLevelSpace M (N := N), |
| 55 | Nonempty (Level.Data.AddedFullLevel.Iso ((Fine.PurePolarizedModel.addedLevelUniversal M).pullback j.left) A) := by |
| 56 | obtain ⟨f, ⟨e⟩, _⟩ := hM T A.auxiliary |
| 57 | let β : (M.universal.abelian.pullback f.left).FullLevel N := |
| 58 | @HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.transport g N T.left A.auxiliary.abelian |
| 59 | (M.universal.abelian.pullback f.left) A.prescribed e.abelian.symm e.symm.abelianGroup |
| 60 | let q : Over.mk f.left ⟶ Fine.PurePolarizedModel.prescribedFrame M (N := N) := |
| 61 | (Frame.Factorization.LevelCover.fullFramePointsEquiv M.universal.abelian M.space.hom (Over.mk f.left)).symm β |
| 62 | have hβ : (Finite.Monomorphisms.LevelCover.canonicalFullFrameLevel M.universal.abelian M.space.hom).restrict q = β := |
| 63 | (Frame.Factorization.LevelCover.fullFramePointsEquiv M.universal.abelian M.space.hom (Over.mk f.left)).apply_symm_apply β |
| 64 | refine ⟨Fine.PurePolarizedModel.frameToAddedMap M f q, ⟨(Fine.PurePolarizedModel.frameAddedIso M f q).trans |
| 65 | { auxiliary := e, prescribed := ?_ }⟩⟩ |
| 66 | apply HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.ext_basis |
| 67 | intro U c |
| 68 | have h := congrArg (fun α : (M.universal.abelian.pullback f.left).FullLevel N => |
| 69 | (α.hom.app (.op U) c).val ≫ e.abelian.hom) hβ |
| 70 | exact h.trans (by |
| 71 | change ((A.prescribed.hom.app (.op U) c).val ≫ e.abelian.inv) ≫ e.abelian.hom = _ |
| 72 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id]) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure |