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.BoundedModuli.IsomorphismFunctor |
| 2 | |
| 3 | /-! # Level Iso Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.LevelIsoFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Complete polarized full-level isomorphisms form a functor on all test schemes. A proved universal graph bound identifies it with the bounded isomorphism functor. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.MonoidalCategory |
| 11 | universe u |
| 12 | |
| 13 | local instance unboundedIsoPullbackFlat {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Flat A.hom] : |
| 14 | Flat ((Over.pullback f).obj A).hom := inferInstanceAs (Flat (Limits.pullback.snd A.hom f)) |
| 15 | local instance unboundedIsoPullbackFP {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) |
| 16 | [LocallyOfFinitePresentation A.hom] : LocallyOfFinitePresentation ((Over.pullback f).obj A).hom := |
| 17 | inferInstanceAs (LocallyOfFinitePresentation (Limits.pullback.snd A.hom f)) |
| 18 | local instance unboundedIsoPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 19 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 20 | |
| 21 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 22 | variable (A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 23 | |
| 24 | def familyLevelIsoFunctor : (Over S)ᵒᵖ ⥤ Type u where |
| 25 | obj T := Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.unop.hom) (B.pullback T.unop.hom) |
| 26 | map c := TypeCat.ofHom (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint A B c.unop) |
| 27 | map_id T := by |
| 28 | apply ConcreteCategory.hom_ext |
| 29 | intro e |
| 30 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian |
| 31 | exact (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B (𝟙 T.unop) e).trans |
| 32 | (Geometric.MorphismFunctor.geometricFamilyMorphismBaseChange_id T.unop e.abelian.hom) |
| 33 | map_comp c d := by |
| 34 | apply ConcreteCategory.hom_ext |
| 35 | intro e |
| 36 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian |
| 37 | exact (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B (d.unop ≫ c.unop) e).trans |
| 38 | ((Geometric.MorphismFunctor.geometricFamilyMorphismBaseChange_composition d.unop c.unop e.abelian.hom).symm.trans |
| 39 | ((congrArg (Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange d.unop) |
| 40 | (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B c.unop e).symm).trans |
| 41 | (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint_abelian_hom A B d.unop |
| 42 | (Moduli.Isomorphisms.LevelPreservingIso.atParameterPoint A B c.unop e)).symm)) |
| 43 | |
| 44 | def boundedFamilyLevelIsoForgetEquiv {n : ℕ} |
| 45 | (j : A.abelian.scheme ⊗ B.abelian.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 46 | (P : Polynomial ℚ) (h : ∀ (T : Over S) (e : Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (B.pullback T.hom)), |
| 47 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P e.abelian.hom) |
| 48 | (T : Over S) : BoundedModuli.IsomorphismFunctor.BoundedFamilyLevelIso A B j P T ≃ Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (B.pullback T.hom) where |
| 49 | toFun := Subtype.val |
| 50 | invFun e := ⟨e, h T e⟩ |
| 51 | left_inv _ := Subtype.ext rfl |
| 52 | right_inv _ := rfl |
| 53 | |
| 54 | def boundedFamilyLevelIsoForgetIso {n : ℕ} |
| 55 | (j : A.abelian.scheme ⊗ B.abelian.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 56 | (P : Polynomial ℚ) (h : ∀ (T : Over S) (e : Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (B.pullback T.hom)), |
| 57 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) P e.abelian.hom) : |
| 58 | BoundedModuli.IsomorphismFunctor.boundedFamilyLevelIsoFunctor A B j P ≅ familyLevelIsoFunctor A B := |
| 59 | NatIso.ofComponents (fun T => (boundedFamilyLevelIsoForgetEquiv A B j P h T.unop).toIso) |
| 60 | (fun _ => rfl) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.LevelIsoFunctor |