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.Relative.RepresentableTripleCycle |
| 2 | import Mathlib.CategoryTheory.MorphismProperty.Comma |
| 3 | import Mathlib.CategoryTheory.Limits.Over |
| 4 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Basic |
| 5 | |
| 6 | /-! # Representable Open Glue Data -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.RepresentableOpenGlueData |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Representable open charts of a presheaf on schemes over a fixed base give actual gluing data in that over-category. This specializes the generic pullback construction used by Scheme.LocalRepresentability. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | def relativeOpenImmersions (S : Scheme.{u}) : MorphismProperty (Over S) := |
| 17 | (IsOpenImmersion : MorphismProperty Scheme.{u}).inverseImage (Over.forget S) |
| 18 | |
| 19 | theorem relativeOpenImmersions_le_monomorphisms (S : Scheme.{u}) : |
| 20 | relativeOpenImmersions S ≤ MorphismProperty.monomorphisms (Over S) := by |
| 21 | intro A B f hf |
| 22 | have : IsOpenImmersion f.left := hf |
| 23 | change Mono f |
| 24 | exact Over.mono_of_mono_left f |
| 25 | |
| 26 | variable {S : Scheme.{u}} {F : (Over S)ᵒᵖ ⥤ Type u} |
| 27 | variable {ι : Type u} {X : ι → Over S} |
| 28 | variable {f : ∀ i, yoneda.obj (X i) ⟶ F} |
| 29 | variable (hf : ∀ i, (relativeOpenImmersions S).presheaf (f i)) |
| 30 | |
| 31 | open Functor.relativelyRepresentable in |
| 32 | def relativeRepresentableOpenGlueData : CategoryTheory.GlueData (Over S) where |
| 33 | J := ι |
| 34 | U := X |
| 35 | V := fun (i, j) => (hf i).rep.pullback (f j) |
| 36 | f i j := (hf i).rep.fst' (f j) |
| 37 | f_mono i j := relativeOpenImmersions_le_monomorphisms S _ |
| 38 | ((hf j).property _ _ _ ((hf i).rep.isPullback' (f j)).flip) |
| 39 | f_id i := (relativeOpenImmersions S).isIso_fst'_self |
| 40 | (relativeOpenImmersions_le_monomorphisms S) (hf i) |
| 41 | t i j := (hf i).rep.symmetry (hf j).rep |
| 42 | t_id i := by |
| 43 | apply (hf i).rep.hom_ext' <;> |
| 44 | simp [(relativeOpenImmersions S).fst'_self_eq_snd |
| 45 | (relativeOpenImmersions_le_monomorphisms S) (hf i)] |
| 46 | t' i j k := RepresentableTripleCycle.relativeRepresentableTripleCycle (fun a => (hf a).rep) i j k |
| 47 | t_fac i j k := by |
| 48 | let h := fun a => (hf a).rep |
| 49 | let c := RepresentableTripleCycle.relativeRepresentableTripleCycle h i j k |
| 50 | apply (hf j).rep.hom_ext' |
| 51 | · exact (Category.assoc c (pullback.snd _ _) ((hf j).rep.fst' (f i))).trans |
| 52 | ((congrArg (fun z => c ≫ z) (pullback₃.snd_fst'_eq_p₁ (hf j).rep (f k) (f i))).trans |
| 53 | ((RepresentableTripleCycle.relativeRepresentableTripleCycle_p₁ h i j k).trans |
| 54 | ((Category.assoc (pullback.fst _ _) ((hf i).rep.symmetry (hf j).rep) |
| 55 | ((hf j).rep.fst' (f i))).trans |
| 56 | (congrArg (fun z => pullback.fst _ _ ≫ z) |
| 57 | (symmetry_fst (hf i).rep (hf j).rep))).symm)) |
| 58 | · exact (Category.assoc c (pullback.snd _ _) ((hf j).rep.snd (f i))).trans |
| 59 | ((congrArg (fun z => c ≫ z) (pullback₃.snd_snd_eq_p₃ (hf j).rep (f k) (f i))).trans |
| 60 | ((RepresentableTripleCycle.relativeRepresentableTripleCycle_p₃ h i j k).trans |
| 61 | ((Category.assoc (pullback.fst _ _) ((hf i).rep.symmetry (hf j).rep) |
| 62 | ((hf j).rep.snd (f i))).trans |
| 63 | (congrArg (fun z => pullback.fst _ _ ≫ z) |
| 64 | (symmetry_snd (hf i).rep (hf j).rep))).symm)) |
| 65 | cocycle i j k := RepresentableTripleCycle.relativeRepresentableTripleCycle_cocycle (fun a => (hf a).rep) i j k |
| 66 | |
| 67 | theorem relativeRepresentableOpenGlueData_open (i j : ι) : |
| 68 | IsOpenImmersion ((relativeRepresentableOpenGlueData hf).f i j).left := |
| 69 | (hf j).property _ _ _ ((hf i).rep.isPullback' (f j)).flip |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.RepresentableOpenGlueData |