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.AbelianModuli.HilbertConstruction.Cochain.AcyclicSideComparison |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Ab |
| 3 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 4 | |
| 5 | /-! # Cochain Products -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.CochainProducts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Explicit products of additive cochain complexes, with their degreewise split short exact sequence and the projection comparison when the other factor is acyclic. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | universe u |
| 14 | |
| 15 | def additiveCochainProduct (C D : CochainComplex AddCommGrpCat.{u} ℕ) : |
| 16 | CochainComplex AddCommGrpCat.{u} ℕ where |
| 17 | X n := AddCommGrpCat.of (C.X n × D.X n) |
| 18 | d i j := AddCommGrpCat.ofHom ((C.d i j).hom.prodMap (D.d i j).hom) |
| 19 | shape i j hij := by |
| 20 | apply ConcreteCategory.hom_ext |
| 21 | intro x |
| 22 | apply Prod.ext |
| 23 | · exact ConcreteCategory.congr_hom (C.shape i j hij) x.1 |
| 24 | · exact ConcreteCategory.congr_hom (D.shape i j hij) x.2 |
| 25 | d_comp_d' i j k _hij _hjk := by |
| 26 | apply ConcreteCategory.hom_ext |
| 27 | intro x |
| 28 | apply Prod.ext |
| 29 | · exact ConcreteCategory.congr_hom (C.d_comp_d i j k) x.1 |
| 30 | · exact ConcreteCategory.congr_hom (D.d_comp_d i j k) x.2 |
| 31 | |
| 32 | def additiveCochainProductFst (C D : CochainComplex AddCommGrpCat.{u} ℕ) : |
| 33 | additiveCochainProduct C D ⟶ C where |
| 34 | f n := AddCommGrpCat.ofHom (AddMonoidHom.fst (C.X n) (D.X n)) |
| 35 | comm' _ _ _ := rfl |
| 36 | |
| 37 | def additiveCochainProductInr (C D : CochainComplex AddCommGrpCat.{u} ℕ) : |
| 38 | D ⟶ additiveCochainProduct C D where |
| 39 | f n := AddCommGrpCat.ofHom ((0 : D.X n →+ C.X n).prod (AddMonoidHom.id _)) |
| 40 | comm' i j _hij := by |
| 41 | apply ConcreteCategory.hom_ext |
| 42 | intro x |
| 43 | apply Prod.ext |
| 44 | · exact (C.d i j).hom.map_zero |
| 45 | · rfl |
| 46 | |
| 47 | def additiveCochainProductShortComplex (C D : CochainComplex AddCommGrpCat.{u} ℕ) : |
| 48 | ShortComplex (CochainComplex AddCommGrpCat.{u} ℕ) := |
| 49 | ShortComplex.mk (additiveCochainProductInr C D) (additiveCochainProductFst C D) (by |
| 50 | ext n x |
| 51 | rfl) |
| 52 | |
| 53 | theorem additiveCochainProduct_shortExact (C D : CochainComplex AddCommGrpCat.{u} ℕ) : |
| 54 | (additiveCochainProductShortComplex C D).ShortExact := by |
| 55 | apply HomologicalComplex.shortExact_of_degreewise_shortExact |
| 56 | intro n |
| 57 | have : Mono ((additiveCochainProductShortComplex C D).map |
| 58 | (HomologicalComplex.eval _ (.up ℕ) n)).f := |
| 59 | (AddCommGrpCat.mono_iff_injective _).mpr (fun x y h => congrArg Prod.snd h) |
| 60 | have : Epi ((additiveCochainProductShortComplex C D).map |
| 61 | (HomologicalComplex.eval _ (.up ℕ) n)).g := |
| 62 | (AddCommGrpCat.epi_iff_surjective _).mpr (fun x => ⟨(x, 0), rfl⟩) |
| 63 | refine { exact := ?_ } |
| 64 | rw [ShortComplex.ab_exact_iff] |
| 65 | rintro ⟨x, y⟩ hx |
| 66 | exact ⟨y, Prod.ext hx.symm rfl⟩ |
| 67 | |
| 68 | theorem additiveCochainProductFst_quasiIso |
| 69 | (C D : CochainComplex AddCommGrpCat.{u} ℕ) (hD : D.Acyclic) : |
| 70 | QuasiIso (additiveCochainProductFst C D) := |
| 71 | Cochain.AcyclicSideComparison.cochain_quasiIso_g_of_acyclic_first (additiveCochainProduct_shortExact C D) hD |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.CochainProducts |