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