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 Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CoverSheafExistence |
| 3 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 4 | import Mathlib.AlgebraicGeometry.Noetherian |
| 5 | import Mathlib.CategoryTheory.Sites.Over |
| 6 | import Mathlib.CategoryTheory.Limits.Over |
| 7 | |
| 8 | /-! # Fppf Sheaf Existence -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Noetherian.FppfSheafExistence.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Fppf sheaf sections over a Noetherian test scheme can be glued |
| 15 | using uniqueness only on Noetherian tests: the covering maps and their |
| 16 | pairwise pullbacks are locally of finite presentation. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | universe u w |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false in |
| 23 | theorem noetherian_fppf_sheaf_nonempty_of_cover |
| 24 | {S : Scheme.{u}} (P : (Over S)ᵒᵖ ⥤ Type w) |
| 25 | (hP : Presheaf.IsSheaf (Scheme.fppfTopology.over S) P) |
| 26 | (hsub : ∀ (U : Over S) [IsLocallyNoetherian U.left], Subsingleton (P.obj (op U))) |
| 27 | (T : Over S) [IsLocallyNoetherian T.left] |
| 28 | (R : Sieve T) (hR : R ∈ (Scheme.fppfTopology.over S) T) |
| 29 | (hlocal : ∀ (U : Over S) [IsLocallyNoetherian U.left] (f : U ⟶ T), |
| 30 | R f → Nonempty (P.obj (op U))) : Nonempty (P.obj (op T)) := by |
| 31 | have : Scheme.fppfPrecoverage.HasIsos := by |
| 32 | constructor |
| 33 | intro X Y f _ |
| 34 | exact (Scheme.singleton_mem_precoverage_iff _ f).mpr |
| 35 | ⟨f.surjective, inferInstance, inferInstance⟩ |
| 36 | have : Scheme.fppfPrecoverage.HasPullbacks := by |
| 37 | dsimp only [Scheme.fppfPrecoverage] |
| 38 | infer_instance |
| 39 | let K := Scheme.fppfPrecoverage.comap (Over.forget S) |
| 40 | have hJ : Scheme.fppfTopology.over S = K.toGrothendieck := |
| 41 | over_toGrothendieck_eq_toGrothendieck_comap_forget Scheme.fppfPrecoverage S |
| 42 | obtain ⟨E, hE, hER⟩ := |
| 43 | K.mem_toGrothendieck_iff_of_isStableUnderComposition.mp (hJ ▸ hR) |
| 44 | have hlfp {U : Over S} (f : U ⟶ T) (hf : E f) : LocallyOfFinitePresentation f.left := by |
| 45 | have hE' : E.map (Over.forget S) ∈ Scheme.fppfPrecoverage T.left := hE |
| 46 | exact (hE'.2 (E.map_map hf)).2 |
| 47 | apply CoverSheafExistence.Construction.sheaf_nonempty_of_cover_subsingleton_pullbacks (Scheme.fppfTopology.over S) P hP E |
| 48 | (hJ.symm ▸ Precoverage.generate_mem_toGrothendieck hE) |
| 49 | · intro U f hf |
| 50 | have := hlfp f hf |
| 51 | have : IsLocallyNoetherian U.left := LocallyOfFiniteType.isLocallyNoetherian f.left |
| 52 | exact hlocal U f (hER U f hf) |
| 53 | · intro U V f g hf hg |
| 54 | have := hlfp f hf |
| 55 | have : IsLocallyNoetherian U.left := LocallyOfFiniteType.isLocallyNoetherian f.left |
| 56 | have := hlfp g hg |
| 57 | have H : IsPullback (pullback.fst f g).left (pullback.snd f g).left f.left g.left := |
| 58 | Functor.map_isPullback (Over.forget S) (IsPullback.of_hasPullback f g) |
| 59 | have : LocallyOfFinitePresentation (pullback.fst f g).left := |
| 60 | MorphismProperty.of_isPullback H.flip (hlfp g hg) |
| 61 | have : IsLocallyNoetherian (pullback f g).left := |
| 62 | LocallyOfFiniteType.isLocallyNoetherian (pullback.fst f g).left |
| 63 | exact hsub (pullback f g) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Noetherian.FppfSheafExistence.Construction |