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.AbelianModuli.HilbertConstruction.Module.HomBaseChange |
| 2 | import Mathlib.CategoryTheory.Sites.Over |
| 3 | import Mathlib.CategoryTheory.Sites.Sheaf |
| 4 | |
| 5 | /-! # Hom Local Sheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.HomLocalSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Sheaf descent can be checked after replacing the base by a test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} (T : Over X) |
| 18 | |
| 19 | def sliceIdentityIso : (Over.map T.hom).obj (Over.mk (𝟙 T.left)) ≅ T := |
| 20 | Over.isoMk (Iso.refl T.left) rfl |
| 21 | |
| 22 | def sliceBaseChangeSieve (S : Sieve T) : Sieve (Over.mk (𝟙 T.left)) := |
| 23 | (Sieve.overEquiv (Over.mk (𝟙 T.left))).symm (Sieve.overEquiv T S) |
| 24 | |
| 25 | theorem sliceBaseChangeSieve_push_pull (S : Sieve T) : |
| 26 | ((sliceBaseChangeSieve T S).functorPushforward (Over.map T.hom)).pullback (sliceIdentityIso T).inv = S := by |
| 27 | apply (Sieve.overEquiv T).injective |
| 28 | rw [Sieve.overEquiv_pullback, sliceBaseChangeSieve, Sieve.functorPushforward_over_map, |
| 29 | OrderIso.apply_symm_apply] |
| 30 | change (Sieve.overEquiv T S).pullback (𝟙 T.left) = Sieve.overEquiv T S |
| 31 | exact Sieve.pullback_id |
| 32 | |
| 33 | theorem moduleHom_isSheafFor_of_baseChange (J : GrothendieckTopology Scheme.{u}) |
| 34 | (M N : X.Modules) |
| 35 | (hF : Presheaf.IsSheaf (J.over T.left) |
| 36 | (HomPresheaf.moduleHomPresheaf ((Scheme.Modules.pullback T.hom).obj M) ((Scheme.Modules.pullback T.hom).obj N))) |
| 37 | (S : Sieve T) (hS : S ∈ (J.over X) T) : |
| 38 | Presieve.IsSheafFor (HomPresheaf.moduleHomPresheaf M N) S.arrows := by |
| 39 | have hR : sliceBaseChangeSieve T S ∈ (J.over T.left) (Over.mk (𝟙 T.left)) := |
| 40 | J.overEquiv_symm_mem_over _ _ hS |
| 41 | have h := (isSheaf_iff_isSheaf_of_type _ _).mp hF _ hR |
| 42 | have h' := Presieve.isSheafFor_iso (HomBaseChange.moduleHomBaseChangeIso T.hom M N) h |
| 43 | have h'' := (Presieve.isSheafFor_over_map_op_comp_iff T.hom (HomPresheaf.moduleHomPresheaf M N) |
| 44 | (sliceBaseChangeSieve T S) (sliceIdentityIso T)).mp h' |
| 45 | rw [sliceBaseChangeSieve_push_pull] at h'' |
| 46 | exact h'' |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.HomLocalSheaf |