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.Relative.TwistingAffinePullback |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.Pullbacks |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.TwistingBundle |
| 6 | |
| 7 | /-! # Pullback Embedding Twisting -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PullbackEmbeddingTwisting |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The affine field presentation of a relative closed embedding recovers |
| 14 | the actual pulled-back source and the pulled-back embedding line bundle. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | variable {S : Scheme.{u}} {X : Over S} {n : ℕ} |
| 20 | variable (j : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 21 | variable [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 22 | variable {R : CommRingCat.{u}} (x : Spec R ⟶ S) |
| 23 | |
| 24 | def affinePullbackEmbeddingIso : |
| 25 | (Over.pullback x).obj X ≅ ((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).scheme := |
| 26 | (Over.pullback x).mapIso (Closed.Families.FlatClosedFamily.ofEmbeddingIso j) ≪≫ |
| 27 | ((Closed.Families.FlatClosedFamily.ofEmbedding j).pullbackAlongIso (AffineProjective.Charts.affineProjectiveChartMap x n) x |
| 28 | (AffineProjective.Charts.affineProjectiveChartMap_isPullback x n)).symm |
| 29 | |
| 30 | theorem affinePullbackEmbeddingIso_inclusion : |
| 31 | (affinePullbackEmbeddingIso j x).hom ≫ |
| 32 | ((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).inclusion ≫ |
| 33 | (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso (AffineProjective.Charts.affineProjectiveChartMap x n) x |
| 34 | (AffineProjective.Charts.affineProjectiveChartMap_isPullback x n)).hom = |
| 35 | (Over.pullback x).map j := by |
| 36 | let F := Closed.Families.FlatClosedFamily.ofEmbedding j |
| 37 | let e := F.pullbackAlongIso (AffineProjective.Charts.affineProjectiveChartMap x n) x |
| 38 | (AffineProjective.Charts.affineProjectiveChartMap_isPullback x n) |
| 39 | change ((Over.pullback x).map (Closed.Families.FlatClosedFamily.ofEmbeddingIso j).hom ≫ e.inv) ≫ |
| 40 | (F.affineProjectivePullback x).inclusion ≫ |
| 41 | (ClosedFamily.PullbackRecoveryIso.cartesianAmbientOverIso (AffineProjective.Charts.affineProjectiveChartMap x n) x |
| 42 | (AffineProjective.Charts.affineProjectiveChartMap_isPullback x n)).hom = _ |
| 43 | erw [Category.assoc, ← F.pullbackAlongIso_inclusion (AffineProjective.Charts.affineProjectiveChartMap x n) x |
| 44 | (AffineProjective.Charts.affineProjectiveChartMap_isPullback x n)] |
| 45 | change (Over.pullback x).map (Closed.Families.FlatClosedFamily.ofEmbeddingIso j).hom ≫ |
| 46 | e.inv ≫ e.hom ≫ (Over.pullback x).map F.inclusion = _ |
| 47 | rw [Iso.inv_hom_id_assoc, ← Functor.map_comp, Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion] |
| 48 | |
| 49 | theorem affinePullbackEmbeddingIso_embedding : |
| 50 | (affinePullbackEmbeddingIso j x).hom.left ≫ |
| 51 | ((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).inclusion.left ≫ |
| 52 | AffineProjective.Charts.affineProjectiveChartMap x n = |
| 53 | pullback.fst X.hom x ≫ j.left := by |
| 54 | let hp := AffineProjective.Charts.affineProjectiveChartMap_isPullback x n |
| 55 | have h := congrArg (fun k : (Over.pullback x).obj X ⟶ |
| 56 | (Over.pullback x).obj (Projective.ProjectivePresentations.projectiveSpaceOver S n) => |
| 57 | k.left ≫ pullback.fst (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom x) |
| 58 | (affinePullbackEmbeddingIso_inclusion j x) |
| 59 | change (((affinePullbackEmbeddingIso j x).hom.left ≫ |
| 60 | ((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).inclusion.left) ≫ |
| 61 | hp.isoPullback.hom) ≫ pullback.fst (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom x = _ at h |
| 62 | rw [Category.assoc, hp.isoPullback_hom_fst, Category.assoc] at h |
| 63 | exact h.trans (pullback.lift_fst _ _ _) |
| 64 | |
| 65 | def affinePullbackEmbeddingTwistingIso : |
| 66 | ((((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).twistingBundle).pullback |
| 67 | (affinePullbackEmbeddingIso j x).hom.left).sheaf ≅ |
| 68 | (((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n).pullback j.left).pullback (pullback.fst X.hom x)).sheaf := by |
| 69 | let O := RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n |
| 70 | let F := (Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x |
| 71 | let e := (affinePullbackEmbeddingIso j x).hom.left |
| 72 | let c := AffineProjective.Charts.affineProjectiveChartMap x n |
| 73 | exact (Scheme.Modules.pullback e).mapIso |
| 74 | ((Scheme.Modules.pullback F.inclusion.left).mapIso (Relative.TwistingAffinePullback.relativeProjectiveTwistingBundle_affineIso x n).symm) ≪≫ |
| 75 | (Scheme.Modules.pullback e).mapIso |
| 76 | ((Scheme.Modules.pullbackComp F.inclusion.left c).app O.sheaf) ≪≫ |
| 77 | (Scheme.Modules.pullbackComp e (F.inclusion.left ≫ c)).app O.sheaf ≪≫ |
| 78 | (Scheme.Modules.pullbackCongr (affinePullbackEmbeddingIso_embedding j x)).app O.sheaf ≪≫ |
| 79 | (Scheme.Modules.pullbackComp (pullback.fst X.hom x) j.left).symm.app O.sheaf |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PullbackEmbeddingTwisting |