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 Mathlib.AlgebraicTopology.SimplicialSet.Homology.Basic |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 3 | import Mathlib.Algebra.Homology.Additive |
| 4 | |
| 5 | /-! # Chain Functor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ChainFunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Simplicial chains commute with additive functors preserving coproducts -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits |
| 14 | open scoped Simplicial |
| 15 | |
| 16 | variable {C D : Type*} [Category* C] [Category* D] [Preadditive C] [Preadditive D] |
| 17 | [HasCoproducts.{0} C] [HasCoproducts.{0} D] |
| 18 | (F : C ⥤ D) [PreservesColimitsOfSize.{0, 0} F] |
| 19 | (S : SSet.{0}) (R : C) |
| 20 | |
| 21 | /-- The degreewise coproduct comparison for simplicial chains. -/ |
| 22 | def chainFunctorXIso (n : ℕ) : |
| 23 | F.obj ((S.chainComplex R).X n) ≅ (S.chainComplex (F.obj R)).X n := |
| 24 | (asIso (sigmaComparison F (fun _ : S _⦋n⦌ ↦ R))).symm |
| 25 | |
| 26 | @[reassoc] |
| 27 | theorem iota_chainFunctorXIso_inv {n : ℕ} (x : S _⦋n⦌) : |
| 28 | S.ιChainComplex (R := F.obj R) x ≫ (chainFunctorXIso F S R n).inv = |
| 29 | F.map (S.ιChainComplex (R := R) x) := |
| 30 | ι_comp_sigmaComparison F (fun _ : S _⦋n⦌ ↦ R) x |
| 31 | |
| 32 | @[reassoc] |
| 33 | theorem map_iota_chainFunctorXIso_hom {n : ℕ} (x : S _⦋n⦌) : |
| 34 | F.map (S.ιChainComplex (R := R) x) ≫ (chainFunctorXIso F S R n).hom = |
| 35 | S.ιChainComplex (R := F.obj R) x := |
| 36 | map_ι_comp_inv_sigmaComparison F (fun _ : S _⦋n⦌ ↦ R) x |
| 37 | |
| 38 | variable [F.Additive] |
| 39 | |
| 40 | /-- Applying an additive coproduct-preserving functor before or after forming simplicial |
| 41 | chains gives canonically isomorphic chain complexes, with the original alternating boundary. -/ |
| 42 | def chainFunctorIso : |
| 43 | (F.mapHomologicalComplex (ComplexShape.down ℕ)).obj (S.chainComplex R) ≅ |
| 44 | S.chainComplex (F.obj R) := |
| 45 | HomologicalComplex.Hom.isoOfComponents (chainFunctorXIso F S R) (by |
| 46 | intro i j hij |
| 47 | obtain rfl := hij |
| 48 | apply (cancel_epi (chainFunctorXIso F S R (j + 1)).inv).1 |
| 49 | apply SSet.chainComplex_hom_ext |
| 50 | intro x |
| 51 | change S.ιChainComplex x ≫ (chainFunctorXIso F S R (j + 1)).inv ≫ |
| 52 | (chainFunctorXIso F S R (j + 1)).hom ≫ (S.chainComplex (F.obj R)).d (j + 1) j = |
| 53 | S.ιChainComplex x ≫ (chainFunctorXIso F S R (j + 1)).inv ≫ |
| 54 | F.map ((S.chainComplex R).d (j + 1) j) ≫ (chainFunctorXIso F S R j).hom |
| 55 | calc |
| 56 | _ = S.ιChainComplex x ≫ (S.chainComplex (F.obj R)).d (j + 1) j := by simp |
| 57 | _ = ∑ k : Fin (j + 2), (-1) ^ k.val • S.ιChainComplex (S.δ k x) := |
| 58 | SSet.ιChainComplex_d S (F.obj R) x |
| 59 | _ = (∑ k : Fin (j + 2), (-1) ^ k.val • |
| 60 | F.map (S.ιChainComplex (R := R) (S.δ k x))) ≫ |
| 61 | (chainFunctorXIso F S R j).hom := by |
| 62 | simp only [Preadditive.sum_comp, Preadditive.zsmul_comp, |
| 63 | map_iota_chainFunctorXIso_hom] |
| 64 | _ = F.map (S.ιChainComplex (R := R) x ≫ (S.chainComplex R).d (j + 1) j) ≫ |
| 65 | (chainFunctorXIso F S R j).hom := by |
| 66 | rw [SSet.ιChainComplex_d, Functor.map_sum] |
| 67 | simp only [Functor.map_zsmul] |
| 68 | _ = _ := by rw [Functor.map_comp, ← iota_chainFunctorXIso_inv]; simp only [Category.assoc]) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.ComplexMultiplication.ChainFunctor |