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.Crystalline.Cohomology.Cech.Cover |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Sheaf Locality Is -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.SheafLocalityIs.SheafLocality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Detecting zero module sheaves on an open cover |
| 12 | |
| 13 | Vanishing after restriction to every member of an open cover implies |
| 14 | vanishing globally. The proof uses the uniqueness clause in the actual |
| 15 | sheaf condition. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits Opposite _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] (X : Scheme.{u}) |
| 23 | {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 24 | (H : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R)) |
| 25 | (hH : ∀ i, IsZero ((Cech.Cover.CechRestriction.sheafRestrictionFunctor R (U i).ι).obj H)) |
| 26 | |
| 27 | include hH in |
| 28 | theorem intersection_sections_isZero (i : ι) (V : X.Opens) : IsZero (H.obj.obj (op (V ⊓ U i))) := by |
| 29 | have hz := Functor.map_isZero (sheafToPresheaf (Opens.grothendieckTopology (U i).toScheme) |
| 30 | (ModuleCat.{u} R)) (hH i) |
| 31 | have he := hz.obj (op ((U i).ι ⁻¹ᵁ V)) |
| 32 | have hV : (U i).ι ''ᵁ ((U i).ι ⁻¹ᵁ V) = V ⊓ U i := by |
| 33 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι, inf_comm] |
| 34 | change IsZero (H.obj.obj (op ((U i).ι ''ᵁ ((U i).ι ⁻¹ᵁ V)))) at he |
| 35 | rw [hV] at he |
| 36 | exact he |
| 37 | |
| 38 | include hU hH in |
| 39 | /-- A module sheaf vanishes if its restrictions to an open cover vanish. -/ |
| 40 | theorem isZero_of_restrictions : IsZero H := by |
| 41 | apply IsZero.of_full_of_faithful_of_isZero (sheafToPresheaf (Opens.grothendieckTopology X) |
| 42 | (ModuleCat.{u} R)) H |
| 43 | apply Functor.isZero |
| 44 | intro V |
| 45 | apply ModuleCat.isZero_iff_subsingleton.mpr |
| 46 | refine ⟨fun s t => ?_⟩ |
| 47 | have hcover : V.unop ≤ iSup (fun i => V.unop ⊓ U i) := by |
| 48 | rw [← inf_iSup_eq, hU, inf_top_eq] |
| 49 | apply TopCat.Sheaf.eq_of_locally_eq' H (fun i => V.unop ⊓ U i) V.unop |
| 50 | (fun _ => homOfLE inf_le_left) hcover s t |
| 51 | intro i |
| 52 | have hz := intersection_sections_isZero R X U H hH i V.unop |
| 53 | have hs := ModuleCat.isZero_iff_subsingleton.mp hz |
| 54 | exact hs.elim _ _ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.SheafLocalityIs.SheafLocality |