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.PullbackIdentity |
| 2 | |
| 3 | /-! # Pullback Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Composition base change for embedded polarized objects and their class presheaf. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {P : Over S} {g N : ℕ} {δ : Fin g → ℕ} {T U V : Over S} |
| 16 | |
| 17 | /-- Maps over the new base into a test ambient are determined by their maps to the old ambient. -/ |
| 18 | theorem PullbackComposition.embeddedAmbient_hom_ext (f : T ⟶ U) {Z : Over T.left} |
| 19 | (a b : Z ⟶ FamilyFunctor.embeddedFamilyAmbient P T) |
| 20 | (h : a.left ≫ FamilyFunctor.embeddedFamilyAmbientMap P f = b.left ≫ FamilyFunctor.embeddedFamilyAmbientMap P f) : a = b := by |
| 21 | apply Over.OverMorphism.ext |
| 22 | exact (FamilyFunctor.embeddedFamilyAmbient_isPullback P f).hom_ext h (a.w.trans b.w.symm) |
| 23 | |
| 24 | /-- The comparison of iterated and composite pullback preserves the embedding. -/ |
| 25 | def PolarizedIsomorphisms.EmbeddedLevelIso.pullbackComp (A : PolarizedObjects.EmbeddedPolarizedObject P g δ N V) |
| 26 | (f : U ⟶ V) (h : T ⟶ U) : |
| 27 | PolarizedIsomorphisms.EmbeddedLevelIso ((A.pullback f).pullback h) (A.pullback (h ≫ f)) where |
| 28 | iso := Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A.object f.left h.left |
| 29 | embedding := by |
| 30 | change (A.object.abelian.pullbackCompIso f.left h.left).inv ≫ (A.pullback (h ≫ f)).embedding = |
| 31 | ((A.pullback f).pullback h).embedding |
| 32 | apply PullbackComposition.embeddedAmbient_hom_ext (h ≫ f) |
| 33 | let e := (A.object.abelian.pullbackCompIso f.left h.left).inv.left |
| 34 | let q := pullback.fst A.object.abelian.scheme.hom (h.left ≫ f.left) |
| 35 | let qf := pullback.fst A.object.abelian.scheme.hom f.left |
| 36 | let qh := pullback.fst (A.object.abelian.pullback f.left).scheme.hom h.left |
| 37 | have he : e ≫ q = qh ≫ qf := A.object.abelian.pullbackCompIso_inv_left_fst f.left h.left |
| 38 | have h₀ := (A.pullback_embedding_isPullback (h ≫ f)).w |
| 39 | have h₁ := (A.pullback_embedding_isPullback f).w |
| 40 | have h₂ := ((A.pullback f).pullback_embedding_isPullback h).w |
| 41 | have hstart : (e ≫ (A.pullback (h ≫ f)).embedding.left) ≫ |
| 42 | FamilyFunctor.embeddedFamilyAmbientMap P (h ≫ f) = (qh ≫ qf) ≫ A.embedding.left := |
| 43 | ((Category.assoc _ _ _).trans (congrArg (fun p => e ≫ p) h₀)).trans |
| 44 | ((Category.assoc _ _ _).symm.trans (congrArg (fun p => p ≫ A.embedding.left) he)) |
| 45 | have hmiddle : (qh ≫ qf) ≫ A.embedding.left = |
| 46 | (((A.pullback f).pullback h).embedding.left ≫ FamilyFunctor.embeddedFamilyAmbientMap P h) ≫ |
| 47 | FamilyFunctor.embeddedFamilyAmbientMap P f := |
| 48 | ((Category.assoc _ _ _).trans (congrArg (fun p => qh ≫ p) h₁.symm)).trans |
| 49 | ((Category.assoc _ _ _).symm.trans |
| 50 | (congrArg (fun p => p ≫ FamilyFunctor.embeddedFamilyAmbientMap P f) h₂.symm)) |
| 51 | have hend : (((A.pullback f).pullback h).embedding.left ≫ FamilyFunctor.embeddedFamilyAmbientMap P h) ≫ |
| 52 | FamilyFunctor.embeddedFamilyAmbientMap P f = |
| 53 | ((A.pullback f).pullback h).embedding.left ≫ FamilyFunctor.embeddedFamilyAmbientMap P (h ≫ f) := |
| 54 | (Category.assoc _ _ _).trans |
| 55 | (congrArg (fun p => ((A.pullback f).pullback h).embedding.left ≫ p) |
| 56 | (PullbackIdentity.embeddedFamilyAmbientMap_comp P h f).symm) |
| 57 | exact hstart.trans (hmiddle.trans hend) |
| 58 | |
| 59 | theorem PolarizedIsomorphisms.EmbeddedPolarizedClasses.pullback_comp (f : U ⟶ V) (h : T ⟶ U) |
| 60 | (q : PolarizedIsomorphisms.EmbeddedPolarizedClasses P g δ N V) : |
| 61 | q.pullback (h ≫ f) = (q.pullback f).pullback h := by |
| 62 | induction q using Quotient.inductionOn with |
| 63 | | h A => exact Quotient.sound ⟨(PolarizedIsomorphisms.EmbeddedLevelIso.pullbackComp A f h).symm⟩ |
| 64 | |
| 65 | /-- The embedded polarized full-level classes form a presheaf on test schemes. -/ |
| 66 | def PullbackComposition.embeddedPolarizedFunctor (P : Over S) (g : ℕ) (δ : Fin g → ℕ) (N : ℕ) : |
| 67 | (Over S)ᵒᵖ ⥤ Type (u + 1) where |
| 68 | obj T := PolarizedIsomorphisms.EmbeddedPolarizedClasses P g δ N T.unop |
| 69 | map f := TypeCat.ofHom (PolarizedIsomorphisms.EmbeddedPolarizedClasses.pullback f.unop) |
| 70 | map_id T := by |
| 71 | ext q |
| 72 | exact PolarizedIsomorphisms.EmbeddedPolarizedClasses.pullback_id q |
| 73 | map_comp f h := by |
| 74 | ext q |
| 75 | exact PolarizedIsomorphisms.EmbeddedPolarizedClasses.pullback_comp f.unop h.unop q |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded |