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.Graph.ClassifierFactorization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InverseModelFactorization |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.EmbeddedGraphFamilies |
| 4 | |
| 5 | /-! # Parameter Point Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.ParameterPointRecovery |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every point satisfying the exact graph-locus condition recovers a unique actual test-scheme morphism whose embedded graph is the pulled-back family. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | local instance graphPointRecoveryPullbackFlat {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [Flat A.hom] : |
| 19 | Flat ((Over.pullback f).obj A).hom := inferInstanceAs (Flat (Limits.pullback.snd A.hom f)) |
| 20 | |
| 21 | local instance graphPointRecoveryPullbackFinitePresentation {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) |
| 22 | [LocallyOfFinitePresentation A.hom] : LocallyOfFinitePresentation ((Over.pullback f).obj A).hom := |
| 23 | inferInstanceAs (LocallyOfFinitePresentation (Limits.pullback.snd A.hom f)) |
| 24 | |
| 25 | local instance graphPointRecoveryPullbackSeparated {S T : Scheme.{u}} (f : T ⟶ S) (A : Over S) [IsSeparated A.hom] : |
| 26 | IsSeparated ((Over.pullback f).obj A).hom := inferInstanceAs (IsSeparated (Limits.pullback.snd A.hom f)) |
| 27 | |
| 28 | variable {S : Scheme.{u}} {T M : Over S} {A B : Over S} {n : ℕ} |
| 29 | variable (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver M.left n)) (c : T ⟶ M) |
| 30 | variable (h : (Over.pullback c.left).obj F.scheme ⟶ (Over.pullback c.left).obj (Product.ParameterBaseChange.parameterProductFamily A B M)) |
| 31 | |
| 32 | def graphParameterModelMap : (F.projectiveBaseChange c.left).scheme ⟶ Product.ParameterBaseChange.parameterProductFamily A B T := |
| 33 | InverseModelFactorization.modelFactorizationMap (F.projectiveBaseChangeIso c.left) (Product.ParameterBaseChange.productParameterBaseChangeIso c A B) h |
| 34 | |
| 35 | theorem graphParameterModelMap_factors |
| 36 | (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 37 | (hh : h ≫ (Over.pullback c.left).map (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding M.hom j) = (Over.pullback c.left).map F.inclusion) : |
| 38 | graphParameterModelMap F c h ≫ RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j = (F.projectiveBaseChange c.left).inclusion := |
| 39 | InverseModelFactorization.modelFactorizationMap_factors (F.projectiveBaseChangeIso c.left) (Product.ParameterBaseChange.productParameterBaseChangeIso c A B) |
| 40 | (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c.left n) c.left (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback c.left n)) |
| 41 | h ((Over.pullback c.left).map (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding M.hom j)) ((Over.pullback c.left).map F.inclusion) |
| 42 | (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) (F.projectiveBaseChange c.left).inclusion |
| 43 | (Product.ParameterIsoCompatibility.productParameterBaseChangeIso_embedding c j) (F.projectiveBaseChangeIso_inclusion c.left) hh |
| 44 | |
| 45 | theorem graphParameterModelMap_projection_isIso |
| 46 | [IsIso (h ≫ (Over.pullback c.left).map (fst ((Over.pullback M.hom).obj A) ((Over.pullback M.hom).obj B)))] : |
| 47 | IsIso (graphParameterModelMap F c h ≫ fst ((Over.pullback T.hom).obj A) ((Over.pullback T.hom).obj B)) := |
| 48 | InverseModelFactorization.modelFactorizationMap_projection_isIso (F.projectiveBaseChangeIso c.left) (Product.ParameterBaseChange.productParameterBaseChangeIso c A B) |
| 49 | (Single.ParameterBaseChange.singleParameterBaseChangeIso c A) h |
| 50 | ((Over.pullback c.left).map (fst ((Over.pullback M.hom).obj A) ((Over.pullback M.hom).obj B))) |
| 51 | (fst ((Over.pullback T.hom).obj A) ((Over.pullback T.hom).obj B)) (Product.ParameterIsoCompatibility.productParameterBaseChangeIso_fst c A B) |
| 52 | |
| 53 | variable [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 54 | |
| 55 | theorem graphParameter_factorization_iff_existsUnique |
| 56 | (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] : |
| 57 | FactorizationPointCondition.HasIsomorphicFactorization (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding M.hom j) F.inclusion |
| 58 | (fst ((Over.pullback M.hom).obj A) ((Over.pullback M.hom).obj B)) c.left ↔ |
| 59 | ∃! p : (Over.pullback T.hom).obj A ⟶ (Over.pullback T.hom).obj B, |
| 60 | (MorphismGraphFamilies.morphismGraphFamily p).reembed (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) = F.projectiveBaseChange c.left := by |
| 61 | constructor |
| 62 | · rintro ⟨h, hh, hi⟩ |
| 63 | have : IsIso (h ≫ (Over.pullback c.left).map (fst ((Over.pullback M.hom).obj A) ((Over.pullback M.hom).obj B))) := hi |
| 64 | let k := graphParameterModelMap F c h |
| 65 | have : IsIso (k ≫ fst ((Over.pullback T.hom).obj A) ((Over.pullback T.hom).obj B)) := |
| 66 | graphParameterModelMap_projection_isIso F c h |
| 67 | let p := ProjectedFamilyGraphRecovery.morphismOfProductProjection k |
| 68 | have hp : (MorphismGraphFamilies.morphismGraphFamily p).reembed (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) = F.projectiveBaseChange c.left := |
| 69 | ProjectedFamilyGraphRecovery.projectedFamily_graph_recovery (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) (F.projectiveBaseChange c.left) k |
| 70 | (graphParameterModelMap_factors F c h j hh) |
| 71 | exact ⟨p, hp, fun q hq => Smooth.EmbeddedGraphFamilies.embeddedMorphismGraphFamily_injective (RelativeProjective.GraphRecovery.relativeProjectiveGraphEmbedding T.hom j) (hq.trans hp.symm)⟩ |
| 72 | · rintro ⟨p, hp, _⟩ |
| 73 | exact ClassifierFactorization.graphClassifier_hasIsomorphicFactorization F c j p hp.symm |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.ParameterPointRecovery |