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.AlgebraicTopology.DeRham.Comparison.SmoothCechDoubleComplex |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexAugmentation |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Colimits |
| 4 | |
| 5 | /-! # Smooth Cech Total -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The signed total complex of actual smooth Čech–de Rham cochains |
| 13 | |
| 14 | The degree-k object is mathlib's categorical direct sum of the actual |
| 15 | smooth Čech cochain modules in bidegrees n+p=k. Its differential is the |
| 16 | horizontal Čech differential plus the signed vertical exterior derivative. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {E ι : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | variable (U : ι → TopologicalSpace.Opens E) |
| 25 | |
| 26 | /-- The total complex uses actual direct sums of the smooth Čech cochain modules. -/ |
| 27 | def smoothCechTotal : CochainComplex (ModuleCat.{u} ℂ) ℕ := |
| 28 | (SmoothCechDoubleComplex.smoothCechDoubleComplex U).total (ComplexShape.up ℕ) |
| 29 | |
| 30 | /-- Inclusion of one actual bidegree into the total cochain module. -/ |
| 31 | def smoothCechTotalInclusion (n p k : ℕ) (h : n + p = k) : |
| 32 | ModuleCat.of ℂ (SmoothCech.SmoothCechCochain U p n) ⟶ (smoothCechTotal U).X k := |
| 33 | (SmoothCechDoubleComplex.smoothCechDoubleComplex U).ιTotal (ComplexShape.up ℕ) n p k h |
| 34 | |
| 35 | /-- On each actual cochain summand the total differential is `δ + (-1)^n d`. -/ |
| 36 | theorem smoothCechTotalInclusion_d (n p k : ℕ) (h : n + p = k) : |
| 37 | smoothCechTotalInclusion U n p k h ≫ (smoothCechTotal U).d k (k + 1) = |
| 38 | ModuleCat.ofHom (SmoothCech.smoothCechDelta U p n) ≫ |
| 39 | smoothCechTotalInclusion U (n + 1) p (k + 1) (by omega) + |
| 40 | ((-1 : ℤ) ^ n) • (ModuleCat.ofHom (SmoothCechDoubleComplex.smoothCechExteriorD U p n) ≫ |
| 41 | smoothCechTotalInclusion U n (p + 1) (k + 1) (by omega)) := by |
| 42 | have hd := DoubleComplexSigns.DoubleComplex.iota_d_of_eq (SmoothCechDoubleComplex.smoothCechDoubleComplex U) n p k h |
| 43 | rw [SmoothCechDoubleComplex.smoothCechDoubleComplex_d_f, SmoothCechDoubleComplex.smoothCechDoubleComplex_X_d] at hd |
| 44 | exact hd |
| 45 | |
| 46 | /-- The total differential squares to zero by the proved bicomplex identities. -/ |
| 47 | theorem smoothCechTotal_d_squared (k : ℕ) : |
| 48 | (smoothCechTotal U).d k (k + 1) ≫ (smoothCechTotal U).d (k + 1) (k + 2) = 0 := |
| 49 | (smoothCechTotal U).d_comp_d k (k + 1) (k + 2) |
| 50 | |
| 51 | /-- The total differential as a complex-linear map of the actual total modules. -/ |
| 52 | def smoothCechTotalD (k : ℕ) : |
| 53 | (smoothCechTotal U).X k →ₗ[ℂ] (smoothCechTotal U).X (k + 1) := |
| 54 | ((smoothCechTotal U).d k (k + 1)).hom |
| 55 | |
| 56 | theorem smoothCechTotalD_squared (k : ℕ) (c : (smoothCechTotal U).X k) : |
| 57 | smoothCechTotalD U (k + 1) (smoothCechTotalD U k c) = 0 := |
| 58 | congrArg (fun f => f.hom c) (smoothCechTotal_d_squared U k) |
| 59 | |
| 60 | variable (W : TopologicalSpace.Opens E) (hsub : ∀ i, U i ≤ W) |
| 61 | |
| 62 | /-- The ordinary restriction augmentation induces a genuine map to the total complex. -/ |
| 63 | def smoothCechAugmentationToTotal : Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex W ⟶ smoothCechTotal U := |
| 64 | DoubleComplexAugmentation.DoubleComplex.augmentationToTotal (SmoothCechDoubleComplex.smoothCechDoubleComplex U) |
| 65 | (SmoothCechDoubleComplex.smoothCechColumnAugmentation U W hsub) (by |
| 66 | change SmoothCechDoubleComplex.smoothCechColumnAugmentation U W hsub ≫ |
| 67 | CochainComplex.of.d (SmoothCechDoubleComplex.smoothCechColumn U) (SmoothCechDoubleComplex.smoothCechHorizontal U) 0 (0 + 1) = 0 |
| 68 | rw [CochainComplex.of_d] |
| 69 | exact SmoothCechDoubleComplex.smoothCechColumnAugmentation_horizontal U W hsub) |
| 70 | |
| 71 | @[simp] |
| 72 | theorem smoothCechAugmentationToTotal_f (p : ℕ) : |
| 73 | (smoothCechAugmentationToTotal U W hsub).f p = |
| 74 | ModuleCat.ofHom (SmoothCechAugmentation.smoothCechAugmentation U p W hsub) ≫ |
| 75 | smoothCechTotalInclusion U 0 p p (Nat.zero_add p) := rfl |
| 76 | |
| 77 | /-- Global forms map to total Čech–de Rham cochains by actual restriction. -/ |
| 78 | def smoothCechGlobalAugmentationToTotal : Analysis.DifferentialForms.Manifold.DeRham.deRhamComplex E ⟶ smoothCechTotal U := |
| 79 | Analysis.DifferentialForms.Manifold.OpenDeRhamX.deRhamOnOpen ⊤ ≫ smoothCechAugmentationToTotal U ⊤ (fun _ => le_top) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechTotal |