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.RepresentationTheory.Theta.Geometric.FppfPicardLocality |
| 2 | import Mathlib.CategoryTheory.Sites.LocallySurjective |
| 3 | |
| 4 | /-! # Sheaf Base Cover Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SheafBaseCoverDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual fppf test covers detect isomorphisms of sheaves. This lets |
| 13 | the original dual universal property be checked on its native base change. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {S : Scheme.{0}} {F G : Sheaf (Scheme.fppfTopology.over S) (Type 1)} (a : F ⟶ G) |
| 18 | (hc : ∀ T : Over S, ∃ (U : Over S) (f : U ⟶ T), |
| 19 | Flat f.left ∧ LocallyOfFinitePresentation f.left ∧ Surjective f.left ∧ |
| 20 | Function.Bijective (a.hom.app (.op U))) |
| 21 | |
| 22 | include hc in |
| 23 | theorem sheaf_component_injective_of_covers (T : Over S) : Function.Injective (a.hom.app (.op T)) := by |
| 24 | obtain ⟨U, f, hf, hfp, hs, hb⟩ := hc T |
| 25 | let := hf |
| 26 | let := hfp |
| 27 | let := hs |
| 28 | intro x y h |
| 29 | apply RepresentationTheory.Theta.Geometric.FppfPicardLocality.fppfSheaf_map_injective F f |
| 30 | apply hb.injective |
| 31 | exact (a.hom.naturality_apply f.op x).trans |
| 32 | ((congrArg (G.obj.map f.op) h).trans (a.hom.naturality_apply f.op y).symm) |
| 33 | |
| 34 | include hc in |
| 35 | theorem sheaf_locallySurjective_of_covers : Sheaf.IsLocallySurjective a where |
| 36 | imageSieve_mem {T} x := by |
| 37 | obtain ⟨U, f, hf, hfp, hs, hb⟩ := hc T |
| 38 | let := hf |
| 39 | let := hfp |
| 40 | let := hs |
| 41 | apply (Scheme.fppfTopology.over S).superset_covering |
| 42 | ((Sieve.generate_le_iff _ _).mpr ?_) (RepresentationTheory.Theta.Geometric.FppfPicardLocality.fppfSingletonOverSieve_mem f) |
| 43 | intro V v hv |
| 44 | obtain ⟨i⟩ := hv |
| 45 | exact hb.surjective (G.obj.map f.op x) |
| 46 | |
| 47 | include hc in |
| 48 | theorem sheaf_isIso_of_covers : IsIso a := by |
| 49 | have (T : (Over S)ᵒᵖ) : Mono (a.hom.app T) := |
| 50 | ConcreteCategory.mono_of_injective _ (sheaf_component_injective_of_covers a hc T.unop) |
| 51 | have : Mono a.hom := NatTrans.mono_of_mono_app a.hom |
| 52 | have : Mono a := (sheafToPresheaf (Scheme.fppfTopology.over S) (Type 1)).mono_of_mono_map |
| 53 | (inferInstanceAs (Mono a.hom)) |
| 54 | have : Sheaf.IsLocallySurjective a := sheaf_locallySurjective_of_covers a hc |
| 55 | exact isIso_of_mono_of_epi a |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! Restriction along an actual fppf base cover detects an isomorphism |
| 60 | of sheaves on all test schemes over the original base. -/ |
| 61 | |
| 62 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 63 | |
| 64 | theorem sheaf_isIso_of_base_cover {S Y : Scheme.{0}} (p : Y ⟶ S) |
| 65 | [Flat p] [LocallyOfFinitePresentation p] [Surjective p] |
| 66 | {F G : Sheaf (Scheme.fppfTopology.over S) (Type 1)} (a : F ⟶ G) |
| 67 | (ha : ∀ T : Over Y, Function.Bijective (a.hom.app (.op ((Over.map p).obj T)))) : IsIso a := by |
| 68 | apply sheaf_isIso_of_covers a |
| 69 | intro T |
| 70 | let T' := (Over.pullback p).obj T |
| 71 | let U := (Over.map p).obj T' |
| 72 | let f : U ⟶ T := Over.homMk (pullback.fst T.hom p) pullback.condition |
| 73 | exact ⟨U, f, inferInstanceAs (Flat (pullback.fst T.hom p)), |
| 74 | inferInstanceAs (LocallyOfFinitePresentation (pullback.fst T.hom p)), |
| 75 | inferInstanceAs (Surjective (pullback.fst T.hom p)), ha T'⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SheafBaseCoverDetection |