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.HilbertConstruction.ClosedFamily.PullbackRecoveryIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyKernelRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.FamilyBaseChange |
| 4 | |
| 5 | /-! # Classifying Source Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! When an actual pulled-back projective family is an embedded morphism graph, its source is canonically isomorphic to the categorical family pullback, compatibly with the embedding. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | local instance Graph.ClassifyingSourceIso.graphClassifierCompositeClosed {S : Scheme.{u}} {X Y Z : Over S} |
| 19 | (i : X ⟶ Y) [IsClosedImmersion i.left] (j : Y ⟶ Z) [IsClosedImmersion j.left] : |
| 20 | IsClosedImmersion (i ≫ j).left := inferInstanceAs (IsClosedImmersion (i.left ≫ j.left)) |
| 21 | |
| 22 | variable {R T : Scheme.{u}} {A B : Over T} {n : ℕ} |
| 23 | variable [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 24 | variable (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver R n)) (c : T ⟶ R) |
| 25 | |
| 26 | def Closed.Families.FlatClosedFamily.projectiveBaseChangeIso : (F.projectiveBaseChange c).scheme ≅ (Over.pullback c).obj F.scheme := |
| 27 | F.pullbackAlongIso (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c n) c (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback c n) |
| 28 | |
| 29 | theorem Closed.Families.FlatClosedFamily.projectiveBaseChangeIso_inclusion : |
| 30 | (F.projectiveBaseChangeIso c).hom ≫ (Over.pullback c).map F.inclusion = |
| 31 | (F.projectiveBaseChange c).inclusion ≫ |
| 32 | (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c n) c (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback c n)).hom := |
| 33 | F.pullbackAlongIso_inclusion (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c n) c (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback c n) |
| 34 | |
| 35 | variable (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver T n) [IsClosedImmersion j.left] (p : A ⟶ B) |
| 36 | variable (he : F.projectiveBaseChange c = (MorphismGraphFamilies.morphismGraphFamily p).reembed j) |
| 37 | |
| 38 | include he |
| 39 | |
| 40 | theorem Graph.ClassifyingSourceIso.graphClassifyingSourceKernel : |
| 41 | (MorphismGraphFamilies.familyGraph p ≫ j).left.ker = (F.projectiveBaseChange c).inclusion.left.ker := by |
| 42 | have h : Closed.Families.FlatClosedFamily.ofEmbedding (MorphismGraphFamilies.familyGraph p ≫ j) = F.projectiveBaseChange c := |
| 43 | (Closed.Families.FlatClosedFamily.ofEmbedding_reembed (MorphismGraphFamilies.familyGraph p) j).symm.trans he.symm |
| 44 | have hk := congrArg Closed.Families.FlatClosedFamily.ideal h |
| 45 | exact hk.trans (F.projectiveBaseChange c).ideal.ker_subschemeι.symm |
| 46 | |
| 47 | def Graph.ClassifyingSourceIso.graphClassifyingSourceIso : A ≅ (Over.pullback c).obj F.scheme := |
| 48 | Closed.EmbeddingKernelIso.closedEmbeddingKernelIso (MorphismGraphFamilies.familyGraph p ≫ j) (F.projectiveBaseChange c).inclusion |
| 49 | (Graph.ClassifyingSourceIso.graphClassifyingSourceKernel F c j p he) ≪≫ |
| 50 | F.projectiveBaseChangeIso c |
| 51 | |
| 52 | theorem Graph.ClassifyingSourceIso.graphClassifyingSourceIso_embedding : |
| 53 | (Graph.ClassifyingSourceIso.graphClassifyingSourceIso F c j p he).hom ≫ (Over.pullback c).map F.inclusion = |
| 54 | (MorphismGraphFamilies.familyGraph p ≫ j) ≫ |
| 55 | (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c n) c (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback c n)).hom := by |
| 56 | unfold Graph.ClassifyingSourceIso.graphClassifyingSourceIso |
| 57 | rw [Iso.trans_hom, Category.assoc, F.projectiveBaseChangeIso_inclusion, ← Category.assoc, |
| 58 | Closed.EmbeddingKernelIso.closedEmbeddingKernelIso_embedding] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |