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.AugmentedOrdered.CechHomotopy |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechForgetNaturality |
| 3 | |
| 4 | /-! # Cech Homotopy Equivalence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechHomotopyEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual HomotopyEquiv maps give explicit inverse maps on the |
| 11 | original supported Čech cohomology, including the normalization of |
| 12 | an augmentation-preserving common-refinement leg. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechForgetNaturality |
| 19 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 20 | {R : Type u} [CommRing R] {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 21 | |
| 22 | def functor (q : ℕ) : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ ⥤ ModuleCat.{u} R := |
| 23 | (AugmentedOrdered.CechFunctor.functor U).mapHomologicalComplex (.up ℕ) ⋙ |
| 24 | HomologicalComplex₂.totalFunctor (ModuleCat R) (.up ℕ) (.up ℕ) (.up ℕ) ⋙ |
| 25 | HomologicalComplex.homologyFunctor (ModuleCat R) (.up ℕ) q |
| 26 | |
| 27 | variable {K L M : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ} |
| 28 | |
| 29 | theorem homotopy {a b : K ⟶ L} (h : Homotopy a b) (q : ℕ) : |
| 30 | (functor U q).map a = (functor U q).map b := |
| 31 | AugmentedOrdered.CechHomotopy.homology U h q |
| 32 | |
| 33 | def iso (e : HomotopyEquiv K L) (q : ℕ) : (functor U q).obj K ≅ (functor U q).obj L where |
| 34 | hom := (functor U q).map e.hom |
| 35 | inv := (functor U q).map e.inv |
| 36 | hom_inv_id := by |
| 37 | rw [← CategoryTheory.Functor.map_comp, homotopy U e.homotopyHomInvId, |
| 38 | CategoryTheory.Functor.map_id] |
| 39 | inv_hom_id := by |
| 40 | rw [← CategoryTheory.Functor.map_comp, homotopy U e.homotopyInvHomId, |
| 41 | CategoryTheory.Functor.map_id] |
| 42 | |
| 43 | variable (eK : HomotopyEquiv K M) (eL : HomotopyEquiv L M) |
| 44 | (a : K ⟶ L) (ha : Homotopy (a ≫ eL.hom) eK.hom) |
| 45 | |
| 46 | def refinementIso (q : ℕ) : (functor U q).obj K ≅ (functor U q).obj L := |
| 47 | iso U eK q ≪≫ (iso U eL q).symm |
| 48 | |
| 49 | include ha in |
| 50 | theorem refinementIso_hom (q : ℕ) : (refinementIso U eK eL q).hom = (functor U q).map a := by |
| 51 | have h := homotopy U ha q |
| 52 | rw [Functor.map_comp] at h |
| 53 | apply (cancel_mono (iso U eL q).hom).mp |
| 54 | change ((iso U eK q).hom ≫ (iso U eL q).inv) ≫ (iso U eL q).hom = _ |
| 55 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 56 | exact h.symm |
| 57 | |
| 58 | @[reassoc] |
| 59 | theorem refinementIso_inv_coordinates (q : ℕ) : |
| 60 | (refinementIso U eK eL q).inv ≫ (iso U eK q).hom = (iso U eL q).hom := by |
| 61 | simp [refinementIso, Category.assoc] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechHomotopyEquivalence |