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.CategoryTheory.Abelian.Projective.Resolution |
| 2 | |
| 3 | /-! # Projective Resolution -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ProjectiveResolution |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An exact augmented chain complex of projectives gives a projective |
| 10 | resolution with its specified, literal degree-zero augmentation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 19 | (K : ChainComplex C ℕ) (Q : C) (ε : K.X 0 ⟶ Q) (w : K.d 1 0 ≫ ε = 0) |
| 20 | |
| 21 | def augmentation : K ⟶ (ChainComplex.single₀ C).obj Q := |
| 22 | (ChainComplex.toSingle₀Equiv K Q).symm ⟨ε, w⟩ |
| 23 | |
| 24 | @[simp] |
| 25 | theorem augmentation_f_zero : (augmentation K Q ε w).f 0 = ε := |
| 26 | ChainComplex.toSingle₀Equiv_symm_apply_f_zero _ _ |
| 27 | |
| 28 | variable (hK : ∀ n, K.ExactAt (n + 1)) (hε : (ShortComplex.mk (K.d 1 0) ε w).Exact) [Epi ε] |
| 29 | |
| 30 | include hK hε in |
| 31 | theorem quasiIso : QuasiIso (augmentation K Q ε w) := by |
| 32 | constructor |
| 33 | intro n |
| 34 | cases n with |
| 35 | | zero => |
| 36 | rw [ChainComplex.quasiIsoAt₀_iff, ShortComplex.quasiIso_iff_of_zeros'] |
| 37 | · refine (ShortComplex.exact_and_epi_g_iff_of_iso ?_).2 ⟨hε, inferInstance⟩ |
| 38 | exact ShortComplex.isoMk (Iso.refl _) (Iso.refl _) (Iso.refl _) (by simp) |
| 39 | (by |
| 40 | simp only [Iso.refl_hom, Category.id_comp, Category.comp_id] |
| 41 | change ε = (augmentation K Q ε w).f 0 |
| 42 | exact (augmentation_f_zero K Q ε w).symm) |
| 43 | · change K.d 0 0 = 0 |
| 44 | exact K.shape _ _ (by decide) |
| 45 | all_goals rfl |
| 46 | | succ n => |
| 47 | rw [quasiIsoAt_iff_exactAt'] |
| 48 | · exact hK n |
| 49 | · exact ChainComplex.exactAt_succ_single_obj Q n |
| 50 | |
| 51 | variable [∀ n, Projective (K.X n)] |
| 52 | |
| 53 | def resolution : ProjectiveResolution Q where |
| 54 | complex := K |
| 55 | projective n := inferInstanceAs (Projective (K.X n)) |
| 56 | π := augmentation K Q ε w |
| 57 | quasiIso := Augmented.ProjectiveResolution.quasiIso K Q ε w hK hε |
| 58 | |
| 59 | @[simp] |
| 60 | theorem resolution_π_f_zero : (resolution K Q ε w hK hε).π.f 0 = ε := |
| 61 | augmentation_f_zero K Q ε w |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ProjectiveResolution |