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.NumberTheory.PadicHodge.IntegralComparison.Single.RowCycleCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTotal |
| 3 | |
| 4 | /-! # Column Cycle Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ColumnCycleCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cycle coordinates of the original one-column total comparison, |
| 11 | including the actual sign of the total flip in every bidegree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasCoproducts.{0} C] |
| 21 | (B : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) |
| 22 | |
| 23 | theorem flip_projection (c n : ℕ) : |
| 24 | (B.totalFlipIso (.up ℕ)).inv.f (n+c) ≫ |
| 25 | AbelianSingleRowTotal.projection B.flip n c (n+c) rfl = |
| 26 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) c n • |
| 27 | AbelianSingleRowTotal.projection B c n (n+c) (by omega) := by |
| 28 | apply HomologicalComplex₂.total.hom_ext |
| 29 | intro p q hpq |
| 30 | rw [← Category.assoc, B.ιTotal_totalFlipIso_f_inv] |
| 31 | by_cases hp : p = c |
| 32 | · subst p |
| 33 | have hq : q = n := by change c+q=n+c at hpq; omega |
| 34 | subst q |
| 35 | simp [AbelianSingleRowTotal.projection] |
| 36 | · simp [AbelianSingleRowTotal.projection, hp] |
| 37 | |
| 38 | variable (c : ℕ) (hB : ∀ p q, q ≠ c → IsZero ((B.flip.X p).X q)) |
| 39 | |
| 40 | def homologyIso (n : ℕ) : (B.total (.up ℕ)).homology (n+c) ≅ (B.X c).homology n := |
| 41 | (homologyMapIso (B.totalFlipIso (.up ℕ)) (n+c)).symm ≪≫ |
| 42 | AbelianSingleRowTotal.homologyIso B.flip c hB n |
| 43 | |
| 44 | def cycleProjection (n : ℕ) : (B.total (.up ℕ)).cycles (n+c) ⟶ (B.X c).cycles n := |
| 45 | cyclesMap (B.totalFlipIso (.up ℕ)).inv (n+c) ≫ |
| 46 | RowCycleCoordinates.cycleProjection B.flip c hB n |
| 47 | |
| 48 | theorem homologyπ_coordinate (n : ℕ) : |
| 49 | (B.total (.up ℕ)).homologyπ (n+c) ≫ (homologyIso B c hB n).hom = |
| 50 | cycleProjection B c hB n ≫ (B.X c).homologyπ n := by |
| 51 | dsimp only [homologyIso, Iso.trans_hom, Iso.symm_hom, homologyMapIso_inv, cycleProjection] |
| 52 | rw [← Category.assoc, homologyπ_naturality, Category.assoc, |
| 53 | RowCycleCoordinates.homologyπ_coordinate, Category.assoc] |
| 54 | rfl |
| 55 | |
| 56 | theorem cycleProjection_i (n : ℕ) : |
| 57 | cycleProjection B c hB n ≫ (B.X c).iCycles n = |
| 58 | (B.total (.up ℕ)).iCycles (n+c) ≫ |
| 59 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) c n • |
| 60 | AbelianSingleRowTotal.projection B c n (n+c) (by omega)) := by |
| 61 | dsimp only [cycleProjection] |
| 62 | erw [Category.assoc, RowCycleCoordinates.cycleProjection_i B.flip c hB n, |
| 63 | ← Category.assoc, cyclesMap_i, Category.assoc, flip_projection] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ColumnCycleCoordinates |