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.Supported.SupportedRestriction |
| 2 | import Mathlib.CategoryTheory.Abelian.Projective.Resolution |
| 3 | |
| 4 | /-! # Nonpositive Projective Resolution -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NonpositiveProjectiveResolution |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A genuine nonpositive cochain resolution becomes an ordinary |
| 11 | projective resolution by the index change n ↦ -n. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 20 | |
| 21 | abbrev shape := ComplexShape.embeddingUpIntLE 0 |
| 22 | abbrev single := HomologicalComplex.single C (.up ℤ) 0 |
| 23 | |
| 24 | variable (M : C) |
| 25 | |
| 26 | instance single_supported : (NonpositiveProjectiveResolution.single.obj M).IsStrictlySupported shape where |
| 27 | isZero i hi := HomologicalComplex.isZero_single_obj_X (.up ℤ) 0 M i (by |
| 28 | intro h |
| 29 | subst i |
| 30 | exact hi 0 (by simp [shape])) |
| 31 | |
| 32 | def singleRestrictionIso : (NonpositiveProjectiveResolution.single.obj M).restriction shape ≅ (ChainComplex.single₀ C).obj M := |
| 33 | Hom.isoOfComponents (fun n => by |
| 34 | by_cases hn : n = 0 |
| 35 | · subst n |
| 36 | exact ((NonpositiveProjectiveResolution.single.obj M).restrictionXIso shape (i := 0) (i' := 0) (by simp [shape])) ≪≫ |
| 37 | singleObjXSelf (.up ℤ) 0 M ≪≫ (singleObjXSelf (.down ℕ) 0 M).symm |
| 38 | · exact (isZero_single_obj_X (.up ℤ) 0 M (shape.f n) (by |
| 39 | change (0 - (n : ℤ)) ≠ 0 |
| 40 | omega)).iso (isZero_single_obj_X (.down ℕ) 0 M n hn)) (by |
| 41 | intro i j hij |
| 42 | change _ ≫ ((ChainComplex.single₀ C).obj M).d i j = |
| 43 | (NonpositiveProjectiveResolution.single.obj M).d (shape.f i) (shape.f j) ≫ _ |
| 44 | simp only [single_obj_d, comp_zero, zero_comp]) |
| 45 | |
| 46 | variable (K : CochainComplex C ℤ) [K.IsStrictlySupported shape] |
| 47 | (ε : K ⟶ NonpositiveProjectiveResolution.single.obj M) |
| 48 | |
| 49 | def augmentation : K.restriction shape ⟶ (ChainComplex.single₀ C).obj M := |
| 50 | restrictionMap ε shape ≫ (singleRestrictionIso M).hom |
| 51 | |
| 52 | theorem augmentation_quasiIso [QuasiIso ε] : QuasiIso (augmentation M K ε) := by |
| 53 | have : QuasiIso (restrictionMap ε shape) := Supported.SupportedRestriction.quasiIso shape K ε |
| 54 | exact quasiIso_comp _ _ |
| 55 | |
| 56 | def ofComplex [∀ n : ℕ, Projective (K.X (shape.f n))] [QuasiIso ε] : ProjectiveResolution M where |
| 57 | complex := K.restriction shape |
| 58 | projective n := inferInstanceAs (Projective (K.X (shape.f n))) |
| 59 | π := augmentation M K ε |
| 60 | quasiIso := augmentation_quasiIso M K ε |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NonpositiveProjectiveResolution |