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.AmbientIsomorphisms |
| 2 | |
| 3 | /-! # Ambient Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coordinate changes on ideal-defined closed families and their polarized refinements. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {P Q : Over S} |
| 16 | |
| 17 | /-- Transport an actual closed family by an isomorphism of ambient schemes. -/ |
| 18 | def Closed.Families.FlatClosedFamily.changeAmbient (F : Closed.Families.FlatClosedFamily P) (e : P ≅ Q) : Closed.Families.FlatClosedFamily Q := by |
| 19 | have : IsIso e.inv.left := inferInstanceAs (IsIso ((Over.forget S).map e.inv)) |
| 20 | exact F.pullbackAlong e.inv.left (𝟙 S) |
| 21 | (IsPullback.of_horiz_isIso ⟨e.inv.w.trans (Category.comp_id _).symm⟩) |
| 22 | |
| 23 | theorem Closed.Families.FlatClosedFamily.changeAmbient_ideal (F : Closed.Families.FlatClosedFamily P) (e : P ≅ Q) : |
| 24 | (F.changeAmbient e).ideal = F.ideal.comap e.inv.left := rfl |
| 25 | |
| 26 | variable {g N : ℕ} {δ : Fin g → ℕ} {T U : Over S} |
| 27 | |
| 28 | /-- Re-embedding through an ambient isomorphism is a Cartesian square. -/ |
| 29 | theorem Embedded.PolarizedObjects.EmbeddedPolarizedObject.changeAmbient_isPullback |
| 30 | (A : Embedded.PolarizedObjects.EmbeddedPolarizedObject P g δ N T) (e : P ≅ Q) : |
| 31 | IsPullback (A.changeAmbient e).embedding.left (𝟙 A.object.abelian.scheme.left) |
| 32 | (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv.left A.embedding.left := by |
| 33 | have : IsIso (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv.left := |
| 34 | inferInstanceAs (IsIso ((Over.forget T.left).map (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv)) |
| 35 | change IsPullback (A.embedding.left ≫ (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).hom.left) |
| 36 | (𝟙 A.object.abelian.scheme.left) (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv.left A.embedding.left |
| 37 | apply IsPullback.of_vert_isIso |
| 38 | constructor |
| 39 | change (A.embedding.left ≫ (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).hom.left) ≫ |
| 40 | (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv.left = 𝟙 A.object.abelian.scheme.left ≫ A.embedding.left |
| 41 | have he : (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).hom.left ≫ (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv.left = |
| 42 | 𝟙 (Embedded.FamilyFunctor.embeddedFamilyAmbient P T).left := congrArg Over.Hom.left (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).hom_inv_id |
| 43 | rw [Category.assoc, he, Category.comp_id, Category.id_comp] |
| 44 | |
| 45 | /-- The re-embedded ideal is the inverse-coordinate pullback of the original ideal. -/ |
| 46 | theorem Embedded.PolarizedObjects.EmbeddedPolarizedObject.changeAmbient_ideal |
| 47 | (A : Embedded.PolarizedObjects.EmbeddedPolarizedObject P g δ N T) (e : P ≅ Q) : |
| 48 | (A.changeAmbient e).embedding.left.ker = |
| 49 | A.embedding.left.ker.comap (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv.left := by |
| 50 | let h := A.changeAmbient_isPullback e |
| 51 | exact (congrArg Scheme.Hom.ker h.isoPullback_hom_fst).symm.trans |
| 52 | ((Scheme.Hom.ker_comp_of_isIso h.isoPullback.hom _).trans |
| 53 | (Scheme.IdealSheafData.ker_fst_of_isClosedImmersion A.embedding.left |
| 54 | (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T).inv.left)) |
| 55 | |
| 56 | /-- Changing coordinates commutes with forgetting a polarized object to its closed family. -/ |
| 57 | theorem Embedded.PolarizedObjects.EmbeddedPolarizedObject.changeAmbient_closedFamily |
| 58 | (A : Embedded.PolarizedObjects.EmbeddedPolarizedObject P g δ N T) (e : P ≅ Q) : |
| 59 | (A.changeAmbient e).closedFamily = A.closedFamily.changeAmbient (Embedded.AmbientIsomorphisms.embeddedAmbientIso e T) := |
| 60 | Closed.Families.FlatClosedFamily.ext (A.changeAmbient_ideal e) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |