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.Differential |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Cech.Obj |
| 3 | |
| 4 | /-! # Cech Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.CechCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native abelian Cech cochains in the original literal-intersection coordinates. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {X : TopCat.{0}} {I : Type} (F : X.Presheaf AddCommGrpCat.{0}) (U : I → Opens X) |
| 20 | |
| 21 | abbrev AbelianCechCochain (n : ℕ) := |
| 22 | ∀ a : Fin (n + 1) → I, F.obj (op (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) |
| 23 | |
| 24 | def abelianCechIntersectionIso {n : ℕ} (a : Fin (n + 1) → I) : |
| 25 | F.obj (op (∏ᶜ fun j => U (a j))) ≅ F.obj (op (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) := |
| 26 | F.mapIso (eqToIso (congrArg op (SheafCohomology.Cech.Cochains.TopologicalSpace.Opens.piObj_eq_iInf (fun j => U (a j))))) |
| 27 | |
| 28 | def abelianCechCoordinates (n : ℕ) : |
| 29 | ((CategoryTheory.cechComplexFunctor U).obj F).X n ≃+ AbelianCechCochain F U n := |
| 30 | (SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv F U n).trans |
| 31 | (AddEquiv.piCongrRight (fun a => (abelianCechIntersectionIso F U a).addCommGroupIsoToAddEquiv)) |
| 32 | |
| 33 | theorem abelianCechCoordinates_apply (n : ℕ) |
| 34 | (x : ((CategoryTheory.cechComplexFunctor U).obj F).X n) (a : Fin (n + 1) → I) : |
| 35 | abelianCechCoordinates F U n x a = |
| 36 | (abelianCechIntersectionIso F U a).hom (SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv F U n x a) := rfl |
| 37 | |
| 38 | def abelianCechDelta (n : ℕ) (c : AbelianCechCochain F U n) : AbelianCechCochain F U (n + 1) := |
| 39 | fun a => ∑ j : Fin (n + 2), (-1 : ℤ) ^ j.val • |
| 40 | F.map (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a j.succAbove)).op (c (a ∘ j.succAbove)) |
| 41 | |
| 42 | theorem abelianCechCoordinates_d (n : ℕ) |
| 43 | (x : ((CategoryTheory.cechComplexFunctor U).obj F).X n) : |
| 44 | abelianCechCoordinates F U (n + 1) |
| 45 | (((CategoryTheory.cechComplexFunctor U).obj F).d n (n + 1) x) = |
| 46 | abelianCechDelta F U n (abelianCechCoordinates F U n x) := by |
| 47 | funext a |
| 48 | rw [abelianCechCoordinates_apply, SheafCohomology.Cech.Differential.TopologicalSpace.cechDifferential_apply, map_sum] |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro j _ |
| 51 | rw [map_zsmul] |
| 52 | congr 1 |
| 53 | have he : |
| 54 | F.map (((FormalCoproduct.mk _ U).mapPower |
| 55 | (SimplexCategory.δ j).toOrderHom.toFun).φ a).op ≫ |
| 56 | (abelianCechIntersectionIso F U a).hom = |
| 57 | (abelianCechIntersectionIso F U (a ∘ j.succAbove)).hom ≫ |
| 58 | F.map (homOfLE (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a j.succAbove)).op := by |
| 59 | change F.map _ ≫ F.map _ = F.map _ ≫ F.map _ |
| 60 | rw [← F.map_comp, ← F.map_comp] |
| 61 | congr 1 |
| 62 | exact ConcreteCategory.congr_hom he (SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv F U n x (a ∘ j.succAbove)) |
| 63 | |
| 64 | theorem abelianCechCoordinates_naturality |
| 65 | {G : X.Presheaf AddCommGrpCat.{0}} (f : F ⟶ G) (n : ℕ) |
| 66 | (x : ((CategoryTheory.cechComplexFunctor U).obj F).X n) (a : Fin (n + 1) → I) : |
| 67 | abelianCechCoordinates G U n (((CategoryTheory.cechComplexFunctor U).map f).f n x) a = |
| 68 | f.app (op (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) (abelianCechCoordinates F U n x a) := by |
| 69 | have hn : SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv G U n |
| 70 | (((CategoryTheory.cechComplexFunctor U).map f).f n x) a = |
| 71 | f.app (op (∏ᶜ fun j => U (a j))) (SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv F U n x a) := by |
| 72 | rw [SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv_apply, SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv_apply] |
| 73 | exact ConcreteCategory.congr_hom |
| 74 | (Limits.Pi.map_π (fun b : Fin (n + 1) → I => |
| 75 | f.app (op (∏ᶜ fun j => U (b j)))) a) x |
| 76 | rw [abelianCechCoordinates_apply, hn, abelianCechCoordinates_apply] |
| 77 | exact (ConcreteCategory.congr_hom (f.naturality _) |
| 78 | (SheafCohomology.Cech.Cochains.TopologicalSpace.cechCochainAddEquiv F U n x a)).symm |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.CechCoordinates |