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.CubeOpenCechCocycles |
| 2 | import Mathlib.LinearAlgebra.Quotient.Basic |
| 3 | |
| 4 | /-! # Cube Open Cech Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeOpenCechCohomology.Construction.CubeCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! First Cech cohomology of an open family with coefficients in a module sheaf. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {X : TopCat.{v}} |
| 17 | (F : TopCat.Sheaf (ModuleCat.{v} R) X) {ι : Type w} (U : ι → Opens X) |
| 18 | |
| 19 | def openCechCocycles : Submodule R (OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) where |
| 20 | carrier := CubeOpenCechCocycles.Construction.CubeCech.IsOpenCechCocycle F U |
| 21 | zero_mem' := by |
| 22 | intro i j k W hi hj hk |
| 23 | simp [CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1] |
| 24 | add_mem' := by |
| 25 | intro a b ha hb i j k W hi hj hk |
| 26 | simp only [CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1, Pi.add_apply, map_add] |
| 27 | change (CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U a i j W hi hj + CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U b i j W hi hj) + |
| 28 | (CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U a j k W hj hk + CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1 F U b j k W hj hk) = _ |
| 29 | rw [add_add_add_comm, ha i j k W hi hj hk, hb i j k W hi hj hk] |
| 30 | rfl |
| 31 | smul_mem' := by |
| 32 | intro r a ha i j k W hi hj hk |
| 33 | simp only [CubeOpenCechCocycles.Construction.CubeCech.openCechRestrict1, Pi.smul_apply, map_smul] |
| 34 | exact (smul_add r _ _).symm.trans (congrArg (fun x ↦ r • x) (ha i j k W hi hj hk)) |
| 35 | |
| 36 | def openCechBoundaryMap : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 F U →ₗ[R] openCechCocycles F U := |
| 37 | (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U).codRestrict (openCechCocycles F U) (CubeOpenCechCocycles.Construction.CubeCech.openCechD0_isCocycle F U) |
| 38 | |
| 39 | abbrev OpenCechH1 := openCechCocycles F U ⧸ LinearMap.range (openCechBoundaryMap F U) |
| 40 | |
| 41 | def openCechClass (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (hz : CubeOpenCechCocycles.Construction.CubeCech.IsOpenCechCocycle F U z) : OpenCechH1 F U := |
| 42 | Submodule.Quotient.mk ⟨z, hz⟩ |
| 43 | |
| 44 | theorem openCechClass_eq_zero_iff (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (hz : CubeOpenCechCocycles.Construction.CubeCech.IsOpenCechCocycle F U z) : |
| 45 | openCechClass F U z hz = 0 ↔ ∃ x, OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 F U x = z := by |
| 46 | rw [openCechClass, Submodule.Quotient.mk_eq_zero] |
| 47 | constructor |
| 48 | · rintro ⟨x, hx⟩ |
| 49 | exact ⟨x, congrArg Subtype.val hx⟩ |
| 50 | · rintro ⟨x, hx⟩ |
| 51 | exact ⟨x, Subtype.ext hx⟩ |
| 52 | |
| 53 | theorem openCechClass_surjective (q : OpenCechH1 F U) : |
| 54 | ∃ (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 F U) (hz : CubeOpenCechCocycles.Construction.CubeCech.IsOpenCechCocycle F U z), openCechClass F U z hz = q := by |
| 55 | obtain ⟨z, rfl⟩ := (LinearMap.range (openCechBoundaryMap F U)).mkQ_surjective q |
| 56 | exact ⟨z.val, z.property, rfl⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeOpenCechCohomology.Construction.CubeCech |