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.Moduli.ParameterPointMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.IsomorphismUniqueness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.EmbeddedMorphismFunctor |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.MorphismFunctor |
| 5 | |
| 6 | /-! # Isomorphism Functor -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BoundedModuli.IsomorphismFunctor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Complete polarized full-level isomorphisms with a fixed embedded graph polynomial form an actual functor on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | local instance boundedModuliPullbackFlat {S T : Scheme.{u}} (f : T ⟶ S) (X : Over S) [Flat X.hom] : |
| 20 | Flat ((Over.pullback f).obj X).hom := inferInstanceAs (Flat (Limits.pullback.snd X.hom f)) |
| 21 | |
| 22 | local instance boundedModuliPullbackFinitePresentation {S T : Scheme.{u}} (f : T ⟶ S) (X : Over S) |
| 23 | [LocallyOfFinitePresentation X.hom] : LocallyOfFinitePresentation ((Over.pullback f).obj X).hom := |
| 24 | inferInstanceAs (LocallyOfFinitePresentation (Limits.pullback.snd X.hom f)) |
| 25 | |
| 26 | local instance boundedModuliPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (X : Over S) [IsSeparated X.hom] : |
| 27 | IsSeparated ((Over.pullback f).obj X).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd X.hom f)) |
| 28 | |
| 29 | variable {S : Scheme.{u}} {g N n : ℕ} {δ : Fin g → ℕ} |
| 30 | variable (A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 31 | variable (j : A.abelian.scheme ⊗ B.abelian.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 32 | variable (P : Polynomial ℚ) |
| 33 | |
| 34 | def BoundedFamilyLevelIso (T : Over S) := |
| 35 | {e : Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (B.pullback T.hom) // |
| 36 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P e.abelian.hom} |
| 37 | |
| 38 | def BoundedFamilyLevelIso.pullback {T U : Over S} (c : U ⟶ T) (e : BoundedFamilyLevelIso A B j P T) : |
| 39 | BoundedFamilyLevelIso A B j P U := by |
| 40 | refine ⟨Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint A B c e.val, ?_⟩ |
| 41 | exact (congrArg (Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding U.hom j) P) |
| 42 | (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B c e.val)).mpr |
| 43 | (Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial.geometricBaseChange c j e.val.abelian.hom P e.property) |
| 44 | |
| 45 | def boundedFamilyLevelIsoFunctor : (Over S)ᵒᵖ ⥤ Type u where |
| 46 | obj T := BoundedFamilyLevelIso A B j P T.unop |
| 47 | map c := TypeCat.ofHom (BoundedFamilyLevelIso.pullback A B j P c.unop) |
| 48 | map_id T := by |
| 49 | apply ConcreteCategory.hom_ext |
| 50 | intro e |
| 51 | apply Subtype.ext |
| 52 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian |
| 53 | exact (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B (𝟙 T.unop) e.val).trans |
| 54 | (Geometric.MorphismFunctor.geometricFamilyMorphismBaseChange_id T.unop e.val.abelian.hom) |
| 55 | map_comp c d := by |
| 56 | apply ConcreteCategory.hom_ext |
| 57 | intro e |
| 58 | apply Subtype.ext |
| 59 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian |
| 60 | exact (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B (d.unop ≫ c.unop) e.val).trans |
| 61 | ((Geometric.MorphismFunctor.geometricFamilyMorphismBaseChange_composition d.unop c.unop e.val.abelian.hom).symm.trans |
| 62 | ((congrArg (Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange d.unop) |
| 63 | (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B c.unop e.val).symm).trans |
| 64 | (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B d.unop |
| 65 | (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint A B c.unop e.val)).symm)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BoundedModuli.IsomorphismFunctor |