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.Cech.InjectiveBicomplex |
| 2 | |
| 3 | /-! # Cochain Exactness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.CochainExactness.IntrinsicCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exactness of Čech cochains from exactness on their tuple intersections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : TopCat.{u}} {ι : Type u} (U : ι → Opens X) |
| 16 | |
| 17 | /-- Degree `p` of the native Čech-complex functor on sheaves. -/ |
| 18 | def cechCochainFunctor (p : ℕ) : |
| 19 | CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} ⥤ AddCommGrpCat.{u} := |
| 20 | InjectiveBicomplex.IntrinsicCech.cechSheafComplexFunctor U ⋙ HomologicalComplex.eval _ (.up ℕ) p |
| 21 | |
| 22 | instance cechCochainFunctor_preservesZero (p : ℕ) : |
| 23 | (cechCochainFunctor U p).PreservesZeroMorphisms where |
| 24 | map_zero F G := by |
| 25 | change ((InjectiveBicomplex.IntrinsicCech.cechSheafComplexFunctor U).map (0 : F ⟶ G)).f p = 0 |
| 26 | rw [Functor.map_zero] |
| 27 | rfl |
| 28 | |
| 29 | /-- A native cochain map acts on each tuple by the given morphism of sections. -/ |
| 30 | theorem cechCochainFunctor_map_apply {F G : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}} |
| 31 | (f : F ⟶ G) (p : ℕ) (x : (cechCochainFunctor U p).obj F) |
| 32 | (i : Fin (p + 1) → ι) : |
| 33 | IntrinsicCech.Cochains.cechCochainAddEquiv G.obj U p ((cechCochainFunctor U p).map f x) i = |
| 34 | f.hom.app (op (∏ᶜ fun k : Fin (p + 1) => U (i k))) |
| 35 | (IntrinsicCech.Cochains.cechCochainAddEquiv F.obj U p x i) := by |
| 36 | let x' : ((cechComplexFunctor U).obj F.obj).X p := x |
| 37 | have hleft := IntrinsicCech.Cochains.cechCochainAddEquiv_apply G.obj U p |
| 38 | (((cechComplexFunctor U).map f.hom).f p x') i |
| 39 | have hright := congrArg (f.hom.app (op (∏ᶜ fun k : Fin (p + 1) => U (i k)))) |
| 40 | (IntrinsicCech.Cochains.cechCochainAddEquiv_apply F.obj U p x' i) |
| 41 | have hmap := ConcreteCategory.congr_hom |
| 42 | (Pi.map_π (fun j : Fin (p + 1) → ι => |
| 43 | f.hom.app (op (∏ᶜ fun k : Fin (p + 1) => U (j k)))) i) x' |
| 44 | exact hleft.trans (hmap.trans hright.symm) |
| 45 | |
| 46 | /-- Products of exact section sequences give an exact sequence of native Čech cochains. -/ |
| 47 | theorem cechCochainFunctor_exact_of_sections |
| 48 | (S : ShortComplex (CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u})) (p : ℕ) |
| 49 | (hsections : ∀ (i : Fin (p + 1) → ι) |
| 50 | (x : S.X₂.obj.obj (op (∏ᶜ fun k : Fin (p + 1) => U (i k)))), |
| 51 | S.g.hom.app (op (∏ᶜ fun k : Fin (p + 1) => U (i k))) x = 0 → |
| 52 | ∃ y : S.X₁.obj.obj (op (∏ᶜ fun k : Fin (p + 1) => U (i k))), |
| 53 | S.f.hom.app (op (∏ᶜ fun k : Fin (p + 1) => U (i k))) y = x) : |
| 54 | (S.map (cechCochainFunctor U p)).Exact := by |
| 55 | rw [ShortComplex.ab_exact_iff] |
| 56 | intro x hx |
| 57 | let x' : (cechCochainFunctor U p).obj S.X₂ := x |
| 58 | have hx' : (cechCochainFunctor U p).map S.g x' = 0 := hx |
| 59 | have hi (i : Fin (p + 1) → ι) : |
| 60 | S.g.hom.app (op (∏ᶜ fun k : Fin (p + 1) => U (i k))) |
| 61 | (IntrinsicCech.Cochains.cechCochainAddEquiv S.X₂.obj U p x' i) = 0 := by |
| 62 | have h := congrArg (fun z : (cechCochainFunctor U p).obj S.X₃ => |
| 63 | IntrinsicCech.Cochains.cechCochainAddEquiv S.X₃.obj U p z i) hx' |
| 64 | have hz := congrFun (IntrinsicCech.Cochains.cechCochainAddEquiv S.X₃.obj U p).map_zero i |
| 65 | exact (cechCochainFunctor_map_apply U S.g p x' i).symm.trans (h.trans hz) |
| 66 | choose y hy using fun i => hsections i (IntrinsicCech.Cochains.cechCochainAddEquiv S.X₂.obj U p x' i) (hi i) |
| 67 | let y' : (cechCochainFunctor U p).obj S.X₁ := (IntrinsicCech.Cochains.cechCochainAddEquiv S.X₁.obj U p).symm y |
| 68 | refine ⟨y', ?_⟩ |
| 69 | apply (IntrinsicCech.Cochains.cechCochainAddEquiv S.X₂.obj U p).injective |
| 70 | funext i |
| 71 | change IntrinsicCech.Cochains.cechCochainAddEquiv S.X₂.obj U p |
| 72 | ((cechCochainFunctor U p).map S.f y') i = _ |
| 73 | have hy' : IntrinsicCech.Cochains.cechCochainAddEquiv S.X₁.obj U p y' = y := AddEquiv.apply_symm_apply _ _ |
| 74 | exact (cechCochainFunctor_map_apply U S.f p y' i).trans |
| 75 | ((congrArg (S.f.hom.app (op (∏ᶜ fun k : Fin (p + 1) => U (i k)))) |
| 76 | (congrFun hy' i)).trans (hy i)) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.CochainExactness.IntrinsicCech |