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.MorphismGraphFamilies |
| 2 | |
| 3 | /-! # Family Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Base change of ideal-defined embeddings and the canonical comparison of morphism graphs. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S T : Scheme.{u}} {A B : Over S} |
| 17 | |
| 18 | theorem Graph.FamilyBaseChange.overPullback_map_isPullback_flip (f : T ⟶ S) (p : A ⟶ B) : |
| 19 | IsPullback ((Over.pullback f).map p).left (pullback.fst A.hom f) |
| 20 | (pullback.fst B.hom f) p.left := by |
| 21 | have hf : ((Over.pullback f).map p).left ≫ pullback.fst B.hom f = |
| 22 | pullback.fst A.hom f ≫ p.left := pullback.lift_fst _ _ _ |
| 23 | have hs : ((Over.pullback f).map p).left ≫ pullback.snd B.hom f = |
| 24 | pullback.snd A.hom f := pullback.lift_snd _ _ _ |
| 25 | apply IsPullback.of_right (t := (IsPullback.of_hasPullback B.hom f).flip) _ hf |
| 26 | rw [hs, p.w] |
| 27 | exact (IsPullback.of_hasPullback A.hom f).flip |
| 28 | |
| 29 | theorem Graph.FamilyBaseChange.closedImmersion_ker_baseChange {X X' Y Y' : Scheme.{u}} |
| 30 | {i : X ⟶ Y} {i' : X' ⟶ Y'} {a : X' ⟶ X} {b : Y' ⟶ Y} |
| 31 | [IsClosedImmersion i] (H : IsPullback i' a b i) : i'.ker = i.ker.comap b := |
| 32 | (congrArg Scheme.Hom.ker H.isoPullback_hom_fst).symm.trans |
| 33 | ((Scheme.Hom.ker_comp_of_isIso H.isoPullback.hom _).trans |
| 34 | (Scheme.IdealSheafData.ker_fst_of_isClosedImmersion i b)) |
| 35 | |
| 36 | theorem Closed.Families.FlatClosedFamily.ofEmbedding_baseChange (f : T ⟶ S) (i : A ⟶ B) |
| 37 | [IsClosedImmersion i.left] [Flat A.hom] [LocallyOfFinitePresentation A.hom] : |
| 38 | (Closed.Families.FlatClosedFamily.ofEmbedding i).baseChange f = |
| 39 | @Closed.Families.FlatClosedFamily.ofEmbedding T ((Over.pullback f).obj B) ((Over.pullback f).obj A) |
| 40 | ((Over.pullback f).map i) |
| 41 | (MorphismProperty.overPullbackMap f i (inferInstance : IsClosedImmersion i.left)) |
| 42 | (inferInstanceAs (Flat (pullback.snd A.hom f))) |
| 43 | (inferInstanceAs (LocallyOfFinitePresentation (pullback.snd A.hom f))) := by |
| 44 | apply Closed.Families.FlatClosedFamily.ext |
| 45 | exact (Graph.FamilyBaseChange.closedImmersion_ker_baseChange (Graph.FamilyBaseChange.overPullback_map_isPullback_flip f i)).symm |
| 46 | |
| 47 | theorem Graph.FamilyBaseChange.familyGraph_pullback (f : T ⟶ S) (p : A ⟶ B) : |
| 48 | MorphismGraphFamilies.familyGraph ((Over.pullback f).map p) ≫ (Functor.Monoidal.μIso (Over.pullback f) A B).hom = |
| 49 | (Over.pullback f).map (MorphismGraphFamilies.familyGraph p) := by |
| 50 | have h := Functor.Monoidal.lift_μ (F := Over.pullback f) (𝟙 A) p |
| 51 | rw [CategoryTheory.Functor.map_id] at h |
| 52 | exact h |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |