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.SheafInjective |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover |
| 3 | import Mathlib.Topology.Sheaves.Flasque |
| 4 | |
| 5 | /-! # Injective Flasque -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Module.InjectiveFlasque.ModuleInjectiveFlasque |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Injective module sheaves are flasque, and their actual open restrictions remain flasque. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] (X : Scheme.{u}) |
| 18 | (F : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R)) |
| 19 | |
| 20 | theorem flasque [Injective F] : TopCat.Sheaf.IsFlasque F where |
| 21 | epi {U V} i := by |
| 22 | apply (ModuleCat.epi_iff_surjective _).mpr |
| 23 | intro s |
| 24 | let a : ModuleCat.of R R ⟶ F.obj.obj V := |
| 25 | ModuleCat.ofHom (LinearMap.toSpanSingleton R (F.obj.obj V) s) |
| 26 | obtain ⟨b, hb⟩ := AlgebraicGeometry.Crystalline.Cohomology.SheafInjective.SheafInjectiveRestrictions.exists_extension |
| 27 | (Opens.grothendieckTopology X) i.unop (ModuleCat.of R R) F a |
| 28 | refine ⟨b 1, ?_⟩ |
| 29 | exact (congrArg (fun f => f 1) hb).trans (one_smul R s) |
| 30 | |
| 31 | variable {X} {Y : Scheme.{u}} (f : Y ⟶ X) [IsOpenImmersion f] |
| 32 | |
| 33 | theorem restriction [TopCat.Sheaf.IsFlasque F] : |
| 34 | TopCat.Sheaf.IsFlasque ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f).obj F) where |
| 35 | epi {U V} i := by |
| 36 | change Epi (F.obj.map (f.opensFunctor.map i.unop).op) |
| 37 | infer_instance |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Module.InjectiveFlasque.ModuleInjectiveFlasque |