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.Embedded.FamilyDescentData |
| 2 | |
| 3 | /-! # Family Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyGluing.EmbeddedFamilyDescentData |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Effective descent of embedded flat families along a locally directed open cover of the base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {P T : Over S} {C : T.left.OpenCover} |
| 16 | variable [Category C.I₀] [C.LocallyDirected] [Small.{u} C.I₀] [Quiver.IsThin C.I₀] |
| 17 | variable (D : FamilyDescentData.EmbeddedFamilyDescentData P T C) |
| 18 | |
| 19 | local instance : Small.{u} (C.pullback₁ (FamilyFunctor.embeddedFamilyAmbient P T).hom).I₀ := |
| 20 | inferInstanceAs (Small.{u} C.I₀) |
| 21 | |
| 22 | local instance : Quiver.IsThin (C.pullback₁ (FamilyFunctor.embeddedFamilyAmbient P T).hom).I₀ := |
| 23 | inferInstanceAs (Quiver.IsThin C.I₀) |
| 24 | |
| 25 | /-- The global embedded flat family obtained from the compatible local families. -/ |
| 26 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyDescentData.EmbeddedFamilyDescentData.glue : Closed.Families.FlatClosedFamily (FamilyFunctor.embeddedFamilyAmbient P T) := |
| 27 | Closed.Families.FlatClosedFamily.glue D.idealDescentData D.canonicalFamily_flat D.canonicalFamily_locallyFinitePresentation |
| 28 | |
| 29 | /-- The glued ideal pulls back to the exact original ideal over each member of the base cover. -/ |
| 30 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyDescentData.EmbeddedFamilyDescentData.glue_ideal_pullback (i : C.I₀) : |
| 31 | D.glue.ideal.comap (FamilyFunctor.embeddedFamilyAmbientMap P (FamilyOpenCover.overOpenCoverMap T C i)) = (D.family i).ideal := by |
| 32 | let e := CoverComparisons.embeddedCoverIso P T C i |
| 33 | let b := (C.pullback₁ (FamilyFunctor.embeddedFamilyAmbient P T).hom).f i |
| 34 | let c := FamilyFunctor.embeddedFamilyAmbientMap P (FamilyOpenCover.overOpenCoverMap T C i) |
| 35 | have hi : D.glue.ideal.comap b = (D.family i).ideal.comap e.inv.left := |
| 36 | Closed.Families.FlatClosedFamily.glue_ideal_comap D.idealDescentData D.canonicalFamily_flat |
| 37 | D.canonicalFamily_locallyFinitePresentation i |
| 38 | have he : e.hom.left ≫ b = c := |
| 39 | (FamilyFunctor.embeddedFamilyAmbient_isPullback P (FamilyOpenCover.overOpenCoverMap T C i)).isoPullback_hom_fst |
| 40 | have hee : e.hom.left ≫ e.inv.left = |
| 41 | 𝟙 (FamilyFunctor.embeddedFamilyAmbient P (FamilyOpenCover.overOpenCoverObject T C i)).left := |
| 42 | congrArg Over.Hom.left e.hom_inv_id |
| 43 | change D.glue.ideal.comap c = (D.family i).ideal |
| 44 | exact (congrArg (fun a => D.glue.ideal.comap a) he.symm).trans |
| 45 | ((D.glue.ideal.comap_comp e.hom.left b).trans |
| 46 | ((congrArg (fun I => I.comap e.hom.left) hi).trans |
| 47 | (((D.family i).ideal.comap_comp e.hom.left e.inv.left).symm.trans |
| 48 | ((congrArg (fun a => (D.family i).ideal.comap a) hee).trans |
| 49 | (D.family i).ideal.comap_id)))) |
| 50 | |
| 51 | /-- The global family's restrictions are the prescribed local flat families. -/ |
| 52 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyDescentData.EmbeddedFamilyDescentData.glue_pullback (i : C.I₀) : |
| 53 | (FamilyFunctor.embeddedFlatFamilyFunctor P).map (FamilyOpenCover.overOpenCoverMap T C i).op D.glue = D.family i := |
| 54 | Closed.Families.FlatClosedFamily.ext (D.glue_ideal_pullback i) |
| 55 | |
| 56 | /-- Compatible embedded flat families on a directed base cover glue uniquely. -/ |
| 57 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyDescentData.EmbeddedFamilyDescentData.existsUnique_glue : ∃! F : Closed.Families.FlatClosedFamily (FamilyFunctor.embeddedFamilyAmbient P T), |
| 58 | ∀ i, (FamilyFunctor.embeddedFlatFamilyFunctor P).map (FamilyOpenCover.overOpenCoverMap T C i).op F = D.family i := by |
| 59 | refine ⟨D.glue, D.glue_pullback, ?_⟩ |
| 60 | intro F hF |
| 61 | exact FamilyOpenCover.embeddedFlatFamily_eq_of_open_cover C F D.glue |
| 62 | (fun i => (hF i).trans (D.glue_pullback i).symm) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyGluing.EmbeddedFamilyDescentData |