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.FormalGeometry.Completion.ProEtale.Algebras |
| 2 | import Mathlib.CategoryTheory.Sites.EqualizerSheafCondition |
| 3 | |
| 4 | /-! # Single Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.SingleCover.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: single-cover descent in the actual pro-étale site |
| 12 | |
| 13 | A surjective quasi-compact map between site objects gives a covering sieve. |
| 14 | In particular, faithfully flat maps of affine site objects give actual covers, |
| 15 | and the sheaf condition descends compatible sections uniquely. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u w |
| 24 | |
| 25 | variable {X : Scheme.{u}} {U V : X.ProEt} |
| 26 | |
| 27 | theorem proEtaleMorphism_weaklyEtale (f : U ⟶ V) : WeaklyEtale f.left := by |
| 28 | have : WeaklyEtale (f.left ≫ V.hom) := by |
| 29 | rw [MorphismProperty.Over.w] |
| 30 | infer_instance |
| 31 | exact WeaklyEtale.of_comp f.left V.hom |
| 32 | |
| 33 | /-- A surjective quasi-compact site morphism is an actual single cover. -/ |
| 34 | theorem proEtaleSingleton_cover (f : U ⟶ V) [Surjective f.left] [QuasiCompact f.left] : |
| 35 | Sieve.generate (Presieve.singleton f) ∈ Scheme.ProEt.topology X V := by |
| 36 | apply Precoverage.generate_mem_toGrothendieck |
| 37 | change (Presieve.singleton f).map (Scheme.ProEt.forget X ⋙ Over.forget X) ∈ |
| 38 | Scheme.proetalePrecoverage V.left |
| 39 | rw [Presieve.map_singleton] |
| 40 | exact Scheme.Hom.singleton_mem_propQCPrecoverage (f := f.left) (proEtaleMorphism_weaklyEtale f) |
| 41 | |
| 42 | /-- Faithfully flat algebra maps give actual covers of their affine site objects. -/ |
| 43 | theorem proEtaleAlgebraMap_cover {R : Type u} [CommRing R] {A B : Algebras.Construction.ProEtaleAlgebra R} |
| 44 | (g : A ⟶ B) (hg : g.hom.hom.toRingHom.FaithfullyFlat) : |
| 45 | Sieve.generate (Presieve.singleton ((Algebras.Construction.proEtaleAlgebraSpec R).map g.op)) ∈ |
| 46 | Scheme.ProEt.topology (Spec (CommRingCat.of R)) ((Algebras.Construction.proEtaleAlgebraSpec R).obj (op A)) := by |
| 47 | have : Surjective ((Algebras.Construction.proEtaleAlgebraSpec R).map g.op).left := |
| 48 | ((flat_and_surjective_SpecMap_iff (CommRingCat.ofHom g.hom.hom.toRingHom)).mpr hg).2 |
| 49 | have : QuasiCompact ((Algebras.Construction.proEtaleAlgebraSpec R).map g.op).left := by |
| 50 | change QuasiCompact (Spec.map (CommRingCat.ofHom g.hom.hom.toRingHom)) |
| 51 | infer_instance |
| 52 | exact proEtaleSingleton_cover _ |
| 53 | |
| 54 | /-- Compatible sections descend uniquely across the actual single cover. -/ |
| 55 | theorem proEtaleSheaf_descend_section (F : Sheaf (Scheme.ProEt.topology X) (Type w)) |
| 56 | (f : U ⟶ V) [Surjective f.left] [QuasiCompact f.left] |
| 57 | (s : F.obj.obj (op U)) |
| 58 | (hs : ∀ {W : X.ProEt} (p q : W ⟶ U), p ≫ f = q ≫ f → |
| 59 | F.obj.map p.op s = F.obj.map q.op s) : |
| 60 | ∃! t : F.obj.obj (op V), F.obj.map f.op t = s := by |
| 61 | have hF : Presieve.IsSheaf (Scheme.ProEt.topology X) F.obj := |
| 62 | (isSheaf_iff_isSheaf_of_type _ _).mp F.property |
| 63 | exact Presieve.isSheafFor_singleton.mp |
| 64 | (hF.isSheafFor (Presieve.singleton f) (proEtaleSingleton_cover f)) s hs |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.SingleCover.Construction |