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.Algebra.Homology.DerivedCategory.Ext.Basic |
| 2 | import Mathlib.Algebra.Homology.Embedding.CochainComplex |
| 3 | import Mathlib.Algebra.Category.Grp.Zero |
| 4 | import Mathlib.CategoryTheory.ConcreteCategory.EpiMono |
| 5 | |
| 6 | /-! # Nat Extended Acyclic -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.NatExtendedAcyclic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # Extension by zero preserves termwise acyclicity and monomorphisms -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian Opposite |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false in |
| 21 | /-- The literal nonnegative embedding used by the original complexes preserves higher Ext vanishing. -/ |
| 22 | theorem natExtended_term_ext_vanish (A : C) (K : CochainComplex C ℕ) |
| 23 | (hExt : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) (i : ℤ) (q : ℕ) : |
| 24 | Subsingleton (Ext A ((K.extend ComplexShape.embeddingUpNat).X i) (q + 1)) := by |
| 25 | let H := (extFunctor.{w} (q + 1) : Cᵒᵖ ⥤ C ⥤ AddCommGrpCat.{w}).obj (op A) |
| 26 | have : H.Additive := inferInstanceAs ((extFunctorObj A (q + 1)).Additive) |
| 27 | cases i with |
| 28 | | ofNat n => |
| 29 | have : Subsingleton (H.obj (K.X n)) := hExt n q |
| 30 | let e := H.mapIso (K.extendXIso ComplexShape.embeddingUpNat (i := n) rfl) |
| 31 | exact (ConcreteCategory.bijective_of_isIso e.hom).injective.subsingleton |
| 32 | | negSucc n => |
| 33 | exact AddCommGrpCat.subsingleton_of_isZero (H.map_isZero |
| 34 | (K.isZero_extend_X ComplexShape.embeddingUpNat (Int.negSucc n) (by |
| 35 | intro i hi |
| 36 | change (i : ℤ) = Int.negSucc n at hi |
| 37 | omega))) |
| 38 | |
| 39 | set_option backward.isDefEq.respectTransparency false in |
| 40 | omit [HasExt C] in |
| 41 | /-- The actual extended inclusion is monic in every degree. -/ |
| 42 | theorem natExtended_map_f_mono {K L : CochainComplex C ℕ} (f : K ⟶ L) |
| 43 | [∀ i, Mono (f.f i)] (i : ℤ) : |
| 44 | Mono ((HomologicalComplex.extendMap f ComplexShape.embeddingUpNat).f i) := by |
| 45 | cases i with |
| 46 | | ofNat n => |
| 47 | change Mono ((HomologicalComplex.extendMap f ComplexShape.embeddingUpNat).f (n : ℤ)) |
| 48 | rw [HomologicalComplex.extendMap_f f ComplexShape.embeddingUpNat (i := n) (i' := (n : ℤ)) rfl] |
| 49 | infer_instance |
| 50 | | negSucc n => |
| 51 | exact (K.isZero_extend_X ComplexShape.embeddingUpNat (Int.negSucc n) (by |
| 52 | intro i hi |
| 53 | change (i : ℤ) = Int.negSucc n at hi |
| 54 | omega)).mono _ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.ComplexMultiplication.NatExtendedAcyclic |