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.ArithmeticGeometry.OrdinaryLocus.Openness.OpenCechShortComplex |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleCechNaturality |
| 3 | |
| 4 | /-! # Open Cech Coefficient Map -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenCechCoefficientMap.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual maps of Cech short complexes induced by module-sheaf morphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {X : TopCat.{v}} |
| 17 | {F G : TopCat.Sheaf (ModuleCat.{v} R) X} (φ : F ⟶ G) {ι : Type v} (U : ι → Opens X) |
| 18 | |
| 19 | def openCechCoefficientMap0 : OpenCechDegreeZero.Construction.openModuleCechC0 F U →ₗ[R] OpenCechDegreeZero.Construction.openModuleCechC0 G U where |
| 20 | toFun z i := φ.hom.app (op (U i)) (z i) |
| 21 | map_add' x y := by funext i; exact map_add (φ.hom.app _).hom _ _ |
| 22 | map_smul' r x := by funext i; exact map_smul (φ.hom.app _).hom _ _ |
| 23 | |
| 24 | def openCechCoefficientMap1 : OpenCechDegreeZero.Construction.openModuleCechC1 F U →ₗ[R] OpenCechDegreeZero.Construction.openModuleCechC1 G U where |
| 25 | toFun z i j := φ.hom.app (op (U i ⊓ U j)) (z i j) |
| 26 | map_add' x y := by funext i j; exact map_add (φ.hom.app _).hom _ _ |
| 27 | map_smul' r x := by funext i j; exact map_smul (φ.hom.app _).hom _ _ |
| 28 | |
| 29 | def openCechCoefficientMap2 : OpenCechShortComplex.Construction.openModuleCechC2 F U →ₗ[R] OpenCechShortComplex.Construction.openModuleCechC2 G U where |
| 30 | toFun z i j k := φ.hom.app (op ((U i ⊓ U j) ⊓ U k)) (z i j k) |
| 31 | map_add' x y := by funext i j k; exact map_add (φ.hom.app _).hom _ _ |
| 32 | map_smul' r x := by funext i j k; exact map_smul (φ.hom.app _).hom _ _ |
| 33 | |
| 34 | theorem openCechRestrict1_naturality (z : OpenCechDegreeZero.Construction.openModuleCechC1 F U) (i j : ι) |
| 35 | (W : Opens X) (hi : W ≤ U i) (hj : W ≤ U j) : |
| 36 | φ.hom.app (op W) (OpenCechCocycles.Construction.openCechRestrict1 F U z i j W hi hj) = |
| 37 | OpenCechCocycles.Construction.openCechRestrict1 G U (openCechCoefficientMap1 φ U z) i j W hi hj := |
| 38 | NatTrans.naturality_apply φ.hom (homOfLE (le_inf hi hj)).op (z i j) |
| 39 | |
| 40 | theorem openCechCoefficientMap_d1 (z : OpenCechDegreeZero.Construction.openModuleCechC1 F U) : |
| 41 | openCechCoefficientMap2 φ U (OpenCechShortComplex.Construction.openModuleCechD1 F U z) = |
| 42 | OpenCechShortComplex.Construction.openModuleCechD1 G U (openCechCoefficientMap1 φ U z) := by |
| 43 | funext i j k |
| 44 | change φ.hom.app (op ((U i ⊓ U j) ⊓ U k)) |
| 45 | (OpenCechCocycles.Construction.openCechRestrict1 F U z i j _ (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) + |
| 46 | OpenCechCocycles.Construction.openCechRestrict1 F U z j k _ (inf_le_left.trans inf_le_right) inf_le_right - |
| 47 | OpenCechCocycles.Construction.openCechRestrict1 F U z i k _ (inf_le_left.trans inf_le_left) inf_le_right) = _ |
| 48 | rw [map_sub, map_add, openCechRestrict1_naturality, openCechRestrict1_naturality, |
| 49 | openCechRestrict1_naturality] |
| 50 | rfl |
| 51 | |
| 52 | def openCechCoefficientMap : OpenCechShortComplex.Construction.openModuleCechShortComplex F U ⟶ OpenCechShortComplex.Construction.openModuleCechShortComplex G U where |
| 53 | τ₁ := ModuleCat.ofHom (openCechCoefficientMap0 φ U) |
| 54 | τ₂ := ModuleCat.ofHom (openCechCoefficientMap1 φ U) |
| 55 | τ₃ := ModuleCat.ofHom (openCechCoefficientMap2 φ U) |
| 56 | comm₁₂ := by |
| 57 | apply ModuleCat.hom_ext |
| 58 | apply LinearMap.ext |
| 59 | intro z |
| 60 | funext i j |
| 61 | exact (ModuleCechNaturality.Construction.openModuleCechD0_naturality F G φ U z i j).symm |
| 62 | comm₂₃ := by |
| 63 | ext z |
| 64 | exact (openCechCoefficientMap_d1 φ U z).symm |
| 65 | |
| 66 | def openModuleCechShortComplexFunctor (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 67 | {ι : Type v} (U : ι → Opens X) : |
| 68 | TopCat.Sheaf (ModuleCat.{v} R) X ⥤ ShortComplex (ModuleCat.{v} R) where |
| 69 | obj F := OpenCechShortComplex.Construction.openModuleCechShortComplex F U |
| 70 | map φ := openCechCoefficientMap φ U |
| 71 | map_id F := by |
| 72 | apply ShortComplex.Hom.ext <;> rfl |
| 73 | map_comp φ ψ := by |
| 74 | apply ShortComplex.Hom.ext <;> rfl |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenCechCoefficientMap.Construction |