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.Quotients.FiniteDescent.CubeOpenCechCohomology |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 3 | |
| 4 | /-! # Open Cech Short Complex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCechShortComplex.Construction.CubeCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The first three terms of the actual open-cover Cech complex. -/ |
| 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 : TopCat.Sheaf (ModuleCat.{v} R) X) {ι : Type v} (U : ι → Opens X) |
| 18 | |
| 19 | abbrev openModuleCechC2 := ∀ i j k, F.obj.obj (op ((U i ⊓ U j) ⊓ U k)) |
| 20 | |
| 21 | def openCechRestrict1Linear (i j : ι) (W : Opens X) (hi : W ≤ U i) (hj : W ≤ U j) : |
| 22 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U →ₗ[R] F.obj.obj (op W) where |
| 23 | toFun z := CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U z i j W hi hj |
| 24 | map_add' z w := (F.obj.map (homOfLE (le_inf hi hj)).op).hom.map_add (z i j) (w i j) |
| 25 | map_smul' r z := (F.obj.map (homOfLE (le_inf hi hj)).op).hom.map_smul r (z i j) |
| 26 | |
| 27 | def openModuleCechD1 : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U →ₗ[R] openModuleCechC2 F U := |
| 28 | LinearMap.pi fun i ↦ LinearMap.pi fun j ↦ LinearMap.pi fun k ↦ |
| 29 | openCechRestrict1Linear F U i j ((U i ⊓ U j) ⊓ U k) |
| 30 | (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) + |
| 31 | openCechRestrict1Linear F U j k ((U i ⊓ U j) ⊓ U k) |
| 32 | (inf_le_left.trans inf_le_right) inf_le_right - |
| 33 | openCechRestrict1Linear F U i k ((U i ⊓ U j) ⊓ U k) |
| 34 | (inf_le_left.trans inf_le_left) inf_le_right |
| 35 | |
| 36 | theorem openModuleCechD1_eq_zero_iff (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) : |
| 37 | openModuleCechD1 F U z = 0 ↔ CubeOpenCechCocycles.Construction.CubeCech.IsOpenCechCocycle F U z := by |
| 38 | constructor |
| 39 | · intro hz i j k W hi hj hk |
| 40 | have hz' := congrFun (congrFun (congrFun hz i) j) k |
| 41 | change CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U z i j ((U i ⊓ U j) ⊓ U k) |
| 42 | (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) + |
| 43 | CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U z j k ((U i ⊓ U j) ⊓ U k) |
| 44 | (inf_le_left.trans inf_le_right) inf_le_right - |
| 45 | CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U z i k ((U i ⊓ U j) ⊓ U k) |
| 46 | (inf_le_left.trans inf_le_left) inf_le_right = 0 at hz' |
| 47 | have h := congrArg (F.obj.map (homOfLE (le_inf (le_inf hi hj) hk)).op) |
| 48 | (sub_eq_zero.mp hz') |
| 49 | rw [map_add, CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1_comp, CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1_comp, CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1_comp] at h |
| 50 | exact h |
| 51 | · intro hz |
| 52 | funext i j k |
| 53 | exact sub_eq_zero.mpr (hz i j k ((U i ⊓ U j) ⊓ U k) |
| 54 | (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) inf_le_right) |
| 55 | |
| 56 | theorem openModuleCechD1_comp_D0 : (openModuleCechD1 F U).comp (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U) = 0 := by |
| 57 | apply LinearMap.ext |
| 58 | intro x |
| 59 | exact (openModuleCechD1_eq_zero_iff F U _).mpr (CubeOpenCechCocycles.Construction.CubeCech.openCechD0_isCocycle F U x) |
| 60 | |
| 61 | abbrev openModuleCechShortComplex : ShortComplex (ModuleCat.{v} R) := |
| 62 | ShortComplex.moduleCatMk (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U) (openModuleCechD1 F U) |
| 63 | (openModuleCechD1_comp_D0 F U) |
| 64 | |
| 65 | theorem openModuleCechD1_kernel : LinearMap.ker (openModuleCechD1 F U) = CubeOpenCechCohomology.Construction.CubeCech.openCechCocycles F U := by |
| 66 | ext z |
| 67 | exact openModuleCechD1_eq_zero_iff F U z |
| 68 | |
| 69 | def openModuleCechCyclesEquiv : LinearMap.ker (openModuleCechD1 F U) ≃ₗ[R] CubeOpenCechCohomology.Construction.CubeCech.openCechCocycles F U := |
| 70 | LinearEquiv.ofEq _ _ (openModuleCechD1_kernel F U) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCechShortComplex.Construction.CubeCech |