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.BasisSheafificationInverse |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.BasisIsomorphisms |
| 3 | |
| 4 | /-! # Basis Sheafification Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A compatible map from a module presheaf that is an isomorphism on a topological basis identifies its sheafification with the target sheaf. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type v} {B : ι → X.Opens} {P : X.PresheafOfModules} {N : X.Modules} |
| 17 | variable (D : PresheafModuleBasisMaps.PresheafModuleBasisMap B P N) (hB : Opens.IsBasis (Set.range B)) |
| 18 | variable (hD : ∀ i, Function.Bijective (D.app i)) |
| 19 | |
| 20 | def PresheafModuleBasisMaps.PresheafModuleBasisMap.sheafificationInverse : N ⟶ (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).obj P := |
| 21 | (D.inverseBasisMap hD).extend hB |
| 22 | |
| 23 | theorem PresheafModuleBasisMaps.PresheafModuleBasisMap.sheafificationInverse_hom : D.sheafificationInverse hB hD ≫ D.sheafificationMap hB = 𝟙 N := by |
| 24 | apply Module.BasisIsomorphisms.moduleMap_eq_of_basis B hB |
| 25 | intro i |
| 26 | apply ConcreteCategory.hom_ext |
| 27 | intro x |
| 28 | have hi := (D.inverseBasisMap hD).extend_app hB i x |
| 29 | exact (congrArg ((D.sheafificationMap hB).val.app (.op (B i))) hi).trans |
| 30 | ((D.sheafificationMap_unit_app hB i ((D.basisEquiv hD i).symm x)).trans |
| 31 | ((D.basisEquiv hD i).apply_symm_apply x)) |
| 32 | |
| 33 | theorem PresheafModuleBasisMaps.PresheafModuleBasisMap.sheafificationHom_inverse : D.sheafificationMap hB ≫ D.sheafificationInverse hB hD = 𝟙 _ := by |
| 34 | let L : X.Modules := (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).obj P |
| 35 | apply ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv P L).injective |
| 36 | rw [Adjunction.homEquiv_unit, Adjunction.homEquiv_unit] |
| 37 | apply (PresheafOfModules.toPresheaf X.ringCatSheaf.obj).map_injective |
| 38 | apply TopCat.Sheaf.hom_ext P.presheaf ⟨L.presheaf, L.isSheaf⟩ hB |
| 39 | intro i |
| 40 | apply ConcreteCategory.hom_ext |
| 41 | intro x |
| 42 | have hf := D.sheafificationMap_unit_app hB i x |
| 43 | have hi := (D.inverseBasisMap hD).extend_app hB i (D.app i x) |
| 44 | have he := congrArg |
| 45 | (((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).unit.app P).app (.op (B i))) |
| 46 | ((D.basisEquiv hD i).symm_apply_apply x) |
| 47 | exact (congrArg ((D.sheafificationInverse hB hD).val.app (.op (B i))) hf).trans (hi.trans he) |
| 48 | |
| 49 | def PresheafModuleBasisMaps.PresheafModuleBasisMap.sheafificationIso : (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).obj P ≅ N where |
| 50 | hom := D.sheafificationMap hB |
| 51 | inv := D.sheafificationInverse hB hD |
| 52 | hom_inv_id := D.sheafificationHom_inverse hB hD |
| 53 | inv_hom_id := D.sheafificationInverse_hom hB hD |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |