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.BaseChange |
| 2 | |
| 3 | /-! # Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transport embedded flat families through specified Cartesian ambient squares. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S T : Scheme.{u}} {P : Over S} {Q : Over T} |
| 16 | |
| 17 | /-- The inverse-image ideal is the closed subscheme in the Cartesian ambient square. -/ |
| 18 | theorem ClosedFamily.Transport.closedFamilyTransport_isPullback (p : Q.left ⟶ P.left) (f : T ⟶ S) |
| 19 | (h : IsPullback p Q.hom P.hom f) (I : P.left.IdealSheafData) : |
| 20 | IsPullback ((I.comapIso p).hom ≫ pullback.snd p I.subschemeι) |
| 21 | ((I.comap p).subschemeι ≫ Q.hom) (I.subschemeι ≫ P.hom) f := by |
| 22 | have hs : IsPullback (I.comap p).subschemeι |
| 23 | ((I.comapIso p).hom ≫ pullback.snd p I.subschemeι) p I.subschemeι := by |
| 24 | apply isPullback_of_isClosedImmersion |
| 25 | · calc |
| 26 | (I.comap p).subschemeι ≫ p = ((I.comapIso p).hom ≫ pullback.fst p I.subschemeι) ≫ p := |
| 27 | congrArg (fun a => a ≫ p) (I.comapIso_hom_fst p).symm |
| 28 | _ = _ := by rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 29 | · rw [I.ker_subschemeι, (I.comap p).ker_subschemeι] |
| 30 | exact hs.flip.paste_vert h |
| 31 | |
| 32 | @[ext] |
| 33 | theorem Closed.Families.FlatClosedFamily.ext {F G : Closed.Families.FlatClosedFamily P} (h : F.ideal = G.ideal) : F = G := by |
| 34 | cases F |
| 35 | cases G |
| 36 | cases h |
| 37 | rfl |
| 38 | |
| 39 | /-- Base change through any chosen Cartesian ambient square. -/ |
| 40 | def Closed.Families.FlatClosedFamily.pullbackAlong (F : Closed.Families.FlatClosedFamily P) (p : Q.left ⟶ P.left) (f : T ⟶ S) |
| 41 | (h : IsPullback p Q.hom P.hom f) : Closed.Families.FlatClosedFamily Q where |
| 42 | ideal := F.ideal.comap p |
| 43 | flat := MorphismProperty.of_isPullback (P := @Flat) |
| 44 | (ClosedFamily.Transport.closedFamilyTransport_isPullback p f h F.ideal) F.flat |
| 45 | locallyFinitePresentation := MorphismProperty.of_isPullback (P := @LocallyOfFinitePresentation) |
| 46 | (ClosedFamily.Transport.closedFamilyTransport_isPullback p f h F.ideal) F.locallyFinitePresentation |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |