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.LocalRepresentationSection |
| 2 | import Mathlib.CategoryTheory.Sites.SubcanonicalOver |
| 3 | |
| 4 | /-! # Local Representation Injectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalRepresentationInjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The map from the glued relative charts to the original sheaf is injective on every test. Equality is checked on the common refinement of the pulled-back chart covers. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {S : Scheme.{u}} {F : (Over S)ᵒᵖ ⥤ Type u} |
| 15 | variable {ι : Type u} {X : ι → Over S} {f : ∀ i, yoneda.obj (X i) ⟶ F} |
| 16 | variable (hf : ∀ i, (RepresentableOpenGlueData.relativeOpenImmersions S).presheaf (f i)) |
| 17 | |
| 18 | theorem relativeLocalRepresentation_comp_eq {T : Over S} {i j : ι} |
| 19 | (a : T ⟶ X i) (b : T ⟶ X j) (h : yoneda.map a ≫ f i = yoneda.map b ≫ f j) : |
| 20 | a ≫ LocalRepresentationSection.relativeLocalRepresentationInclusion hf i = b ≫ LocalRepresentationSection.relativeLocalRepresentationInclusion hf j := by |
| 21 | let D := RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf |
| 22 | have : HasMulticoequalizer D.diagram := SchemeGluing.relativeGlueData_hasColimit D |
| 23 | (RepresentableOpenGlueData.relativeRepresentableOpenGlueData_open hf) |
| 24 | let l := (hf i).rep.lift' a b h |
| 25 | have hi : l ≫ (hf i).rep.fst' (f j) = a := (hf i).rep.lift'_fst a b h |
| 26 | have hj : l ≫ (hf i).rep.snd (f j) = b := (hf i).rep.lift'_snd a b h |
| 27 | have hc : (hf i).rep.fst' (f j) ≫ D.ι i = (hf i).rep.snd (f j) ≫ D.ι j := |
| 28 | (D.glue_condition i j).symm.trans |
| 29 | ((Category.assoc ((hf i).rep.symmetry (hf j).rep) ((hf j).rep.fst' (f i)) (D.ι j)).symm.trans |
| 30 | (congrArg (fun z => z ≫ D.ι j) |
| 31 | (Functor.relativelyRepresentable.symmetry_fst (hf i).rep (hf j).rep))) |
| 32 | exact (congrArg (fun z => z ≫ D.ι i) hi.symm).trans |
| 33 | ((Category.assoc l ((hf i).rep.fst' (f j)) (D.ι i)).trans |
| 34 | ((congrArg (fun z => l ≫ z) hc).trans |
| 35 | ((Category.assoc l ((hf i).rep.snd (f j)) (D.ι j)).symm.trans |
| 36 | (congrArg (fun z => z ≫ D.ι j) hj)))) |
| 37 | |
| 38 | theorem relativeLocalRepresentationMap_injective |
| 39 | (hF : Presheaf.IsSheaf (Scheme.zariskiTopology.over S) F) (T : Over S) : |
| 40 | Function.Injective ((LocalRepresentationSection.relativeLocalRepresentationMap hf hF).app (.op T)) := by |
| 41 | let G := LocalRepresentationSection.relativeLocalRepresentationScheme hf |
| 42 | let α := LocalRepresentationSection.relativeLocalRepresentationMap hf hF |
| 43 | let J := Scheme.zariskiTopology.over S |
| 44 | let R := Sieve.ofArrows X (LocalRepresentationSection.relativeLocalRepresentationInclusion hf) |
| 45 | have hR : R ∈ J G := GluedSheafSections.relativeGlueInclusion_sieve_mem (RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf) |
| 46 | (RepresentableOpenGlueData.relativeRepresentableOpenGlueData_open hf) |
| 47 | have hG : Presieve.IsSheaf J (yoneda.obj G) := |
| 48 | GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable _ |
| 49 | intro p q hpq |
| 50 | have hm : R.pullback p ⊓ R.pullback q ∈ J T := |
| 51 | J.intersection_covering (J.pullback_stable p hR) (J.pullback_stable q hR) |
| 52 | apply (hG _ hm).isSeparatedFor.ext |
| 53 | rintro V γ ⟨⟨W₁, a, _, ⟨i⟩, ha⟩, ⟨W₂, b, _, ⟨j⟩, hb⟩⟩ |
| 54 | change γ ≫ p = γ ≫ q |
| 55 | rw [← ha, ← hb] |
| 56 | apply relativeLocalRepresentation_comp_eq hf a b |
| 57 | have hγ : α.app (.op V) (γ ≫ p) = α.app (.op V) (γ ≫ q) := |
| 58 | (NatTrans.naturality_apply α γ.op p).trans |
| 59 | ((congrArg (F.map γ.op) hpq).trans (NatTrans.naturality_apply α γ.op q).symm) |
| 60 | apply yonedaEquiv.injective |
| 61 | have hi := LocalRepresentationSection.relativeLocalRepresentationMap_chart hf hF i |
| 62 | have hj := LocalRepresentationSection.relativeLocalRepresentationMap_chart hf hF j |
| 63 | rw [← hi, ← hj, ← Category.assoc, ← Category.assoc, ← yoneda.map_comp, ← yoneda.map_comp] |
| 64 | simp only [yonedaEquiv_comp, yonedaEquiv_yoneda_map] |
| 65 | exact (congrArg (fun z => α.app (.op V) z) ha).trans |
| 66 | (hγ.trans (congrArg (fun z => α.app (.op V) z) hb).symm) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalRepresentationInjectivity |