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.Crystalline.Cohomology.NonemptyCechExtra |
| 2 | |
| 3 | /-! # Tuple Cech -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.TupleCech.TupleCechExact |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Positive exactness of tuple nerves with arbitrary coefficients |
| 11 | |
| 12 | The coproduct of copies of an abelian-category object over each tuple |
| 13 | nerve is exact in positive degrees. A point gives a contraction when the |
| 14 | index set is nonempty; an empty index set gives zero in every degree. |
| 15 | No covering or nonemptiness assumption is required for positive exactness. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicTopology |
| 19 | |
| 20 | universe u v w |
| 21 | |
| 22 | variable (A : Type u) [Category.{v} A] [Abelian A] [HasCoproducts.{w} A] (M : A) |
| 23 | |
| 24 | def augmented (S : Type w) : SimplicialObject.Augmented A := |
| 25 | ((SimplicialObject.Augmented.whiskering _ _).obj (sigmaConst.obj M)).obj |
| 26 | (NonemptyCechExtra.NonemptyCechNerve.augmented S) |
| 27 | |
| 28 | def complex (S : Type w) : ChainComplex A ℕ := |
| 29 | (alternatingFaceMapComplex A).obj (augmented A M S).left |
| 30 | |
| 31 | def homotopyEquiv (S : Type w) (s : S) : |
| 32 | HomotopyEquiv (complex A M S) ((ChainComplex.single₀ A).obj (augmented A M S).right) := |
| 33 | ((NonemptyCechExtra.NonemptyCechNerve.extraDegeneracy S s).map (sigmaConst.obj M)).homotopyEquiv |
| 34 | |
| 35 | theorem exactAt (S : Type w) (n : ℕ) (hn : n ≠ 0) : (complex A M S).ExactAt n := by |
| 36 | by_cases hS : Nonempty S |
| 37 | · have hz := HomologicalComplex.isZero_single_obj_X (ComplexShape.down ℕ) 0 |
| 38 | (augmented A M S).right n hn |
| 39 | have ht := HomologicalComplex.ExactAt.of_isZero hz |
| 40 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 41 | exact ht.isZero_homology.of_iso ((TupleCechExact.homotopyEquiv A M S (Classical.choice hS)).toHomologyIso n) |
| 42 | · apply HomologicalComplex.ExactAt.of_isZero |
| 43 | rw [IsZero.iff_id_eq_zero] |
| 44 | change (𝟙 (∐ (fun (_ : Fin (n + 1) → S) => M))) = 0 |
| 45 | apply Sigma.hom_ext |
| 46 | intro f |
| 47 | exact (hS ⟨f 0⟩).elim |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.TupleCech.TupleCechExact |