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.CechRefinementTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.TotalQuasiIso |
| 3 | |
| 4 | /-! # Augmented Cech Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.AugmentedCechRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original augmented ordered refinement is a quasi-isomorphism |
| 11 | with additive-group coefficients whenever its full nonempty refinement is. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 18 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 19 | (U : ι → C) (V : κ → C) |
| 20 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 21 | (P : Cᵒᵖ ⥤ AddCommGrpCat.{u}) |
| 22 | |
| 23 | private abbrev integral := (forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u}).inv |
| 24 | |
| 25 | local instance : integral.{u}.Additive := by |
| 26 | let : (forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u}).asEquivalence.functor.Additive := by |
| 27 | change (forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u}).Additive |
| 28 | infer_instance |
| 29 | exact (forget₂ (ModuleCat.{u} ℤ) AddCommGrpCat.{u}).asEquivalence.inverse_additive |
| 30 | |
| 31 | def tailIso : Cochain.TailQuasiIso.tail |
| 32 | ((integral.{u}.mapHomologicalComplex (.up ℕ)).obj |
| 33 | (AugmentedOrdered.Cech.complex U P)) ≅ |
| 34 | (integral.{u}.mapHomologicalComplex (.up ℕ)).obj |
| 35 | (OrderedCech.Projection.complex U P) := |
| 36 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 37 | intro i j h |
| 38 | obtain rfl : i + 1 = j := h |
| 39 | change integral.{u}.map ((OrderedCech.Projection.complex U P).d i (i + 1)) ≫ 𝟙 _ = |
| 40 | 𝟙 _ ≫ integral.{u}.map ((AugmentedOrdered.Cech.complex U P).d (i + 1) (i + 1 + 1)) |
| 41 | simp only [Category.comp_id, Category.id_comp] |
| 42 | congr 1 |
| 43 | simp only [AugmentedOrdered.Cech.complex, |
| 44 | OrderedCech.Projection.complex, CochainComplex.of_d, |
| 45 | OrderedCech.Projection.differential]) |
| 46 | |
| 47 | theorem tail_map : Cochain.TailQuasiIso.map |
| 48 | ((integral.{u}.mapHomologicalComplex (.up ℕ)).map |
| 49 | (AugmentedOrdered.CechRefinement.map U V r P)) = |
| 50 | (tailIso U P).hom ≫ |
| 51 | (integral.{u}.mapHomologicalComplex (.up ℕ)).map |
| 52 | (OrderedCech.Refinement.map U V r P) ≫ (tailIso V P).inv := by |
| 53 | apply HomologicalComplex.hom_ext |
| 54 | intro n |
| 55 | change integral.{u}.map ((AugmentedOrdered.CechRefinement.map U V r P).f (n + 1)) = |
| 56 | 𝟙 _ ≫ integral.{u}.map ((OrderedCech.Refinement.map U V r P).f n) ≫ 𝟙 _ |
| 57 | rw [Category.id_comp, Category.comp_id, AugmentedOrdered.CechRefinement.map_f_succ] |
| 58 | |
| 59 | theorem quasiIso [QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r P)] : |
| 60 | QuasiIso (AugmentedOrdered.CechRefinement.map U V r P) := by |
| 61 | let : IsIso ((AugmentedOrdered.CechRefinement.map U V r P).f 0) := by |
| 62 | rw [AugmentedOrdered.CechRefinement.map_f_zero] |
| 63 | infer_instance |
| 64 | let : QuasiIso (OrderedCech.Refinement.map U V r P) := |
| 65 | OrderedCech.Refinement.quasiIso U V r P |
| 66 | have h : QuasiIso ((integral.{u}.mapHomologicalComplex (.up ℕ)).map |
| 67 | (AugmentedOrdered.CechRefinement.map U V r P)) := by |
| 68 | let : IsIso (((integral.{u}.mapHomologicalComplex (.up ℕ)).map |
| 69 | (AugmentedOrdered.CechRefinement.map U V r P)).f 0) := by |
| 70 | change IsIso (integral.{u}.map ((AugmentedOrdered.CechRefinement.map U V r P).f 0)) |
| 71 | infer_instance |
| 72 | apply Cochain.TailQuasiIso.quasiIso |
| 73 | rw [tail_map] |
| 74 | infer_instance |
| 75 | exact (HomologicalComplex.quasiIso_map_iff_of_preservesHomology _ integral.{u}).mp h |
| 76 | |
| 77 | theorem total_quasiIso (K : CochainComplex (Cᵒᵖ ⥤ AddCommGrpCat.{u}) ℕ) |
| 78 | (hK : ∀ q, QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r (K.X q))) : |
| 79 | QuasiIso (AugmentedOrdered.CechRefinementTotal.totalMap U V r K) := by |
| 80 | apply TotalQuasiIso.quasiIso |
| 81 | intro q |
| 82 | let := hK q |
| 83 | exact quasiIso U V r (K.X q) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.AugmentedCechRefinement |