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.CechRefinementQuasiIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechFunctor |
| 3 | |
| 4 | /-! # Cech Refinement Total -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechRefinementTotal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refinement of supported ordered Čech totals, with the ambient |
| 11 | section term fixed and the original full refinement on positive degrees. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 20 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 21 | (U : ι → C) (V : κ → C) |
| 22 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 23 | |
| 24 | omit [HasCoproducts D] in |
| 25 | theorem naturality {P Q : Cᵒᵖ ⥤ D} (a : P ⟶ Q) : |
| 26 | CechFunctor.complexMap U a ≫ CechRefinement.map U V r Q = |
| 27 | CechRefinement.map U V r P ≫ CechFunctor.complexMap V a := by |
| 28 | apply HomologicalComplex.hom_ext |
| 29 | intro n |
| 30 | cases n with |
| 31 | | zero => |
| 32 | change CechFunctor.objectMap U a 0 ≫ |
| 33 | (CechZero.zeroIso U Q).hom ≫ |
| 34 | (CechZero.zeroIso V Q).inv = |
| 35 | ((CechZero.zeroIso U P).hom ≫ |
| 36 | (CechZero.zeroIso V P).inv) ≫ |
| 37 | CechFunctor.objectMap V a 0 |
| 38 | apply (cancel_mono (CechZero.zeroIso V Q).hom).mp |
| 39 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 40 | dsimp only [CechFunctor.objectMap] |
| 41 | rw [← Category.assoc, CechZero.zeroIso_naturality] |
| 42 | rw [Category.assoc, CechZero.zeroIso_naturality] |
| 43 | rw [← Category.assoc (CechZero.zeroIso V P).inv, |
| 44 | Iso.inv_hom_id, Category.id_comp] |
| 45 | | succ n => |
| 46 | exact congrArg (fun f => f.f n) |
| 47 | ((OrderedCech.Refinement.transformation U V r).naturality a) |
| 48 | |
| 49 | def transformation : CechFunctor.functor U (D := D) ⟶ |
| 50 | CechFunctor.functor V (D := D) where |
| 51 | app P := CechRefinement.map U V r P |
| 52 | naturality _ _ a := CechRefinementTotal.naturality U V r a |
| 53 | |
| 54 | def bicomplexMap (K : CochainComplex (Cᵒᵖ ⥤ D) ℕ) : |
| 55 | ((CechFunctor.functor U).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 56 | ((CechFunctor.functor V).mapHomologicalComplex (.up ℕ)).obj K := |
| 57 | (NatTrans.mapHomologicalComplex (transformation U V r) (.up ℕ)).app K |
| 58 | |
| 59 | def totalMap (K : CochainComplex (Cᵒᵖ ⥤ D) ℕ) := |
| 60 | HomologicalComplex₂.total.map (bicomplexMap U V r K) (.up ℕ) |
| 61 | |
| 62 | theorem total_quasiIso {R : Type v} [Ring R] |
| 63 | (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v} R) ℕ) |
| 64 | (hK : ∀ q, QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r (K.X q))) : |
| 65 | QuasiIso (totalMap U V r K) := by |
| 66 | apply AlgebraicTopology.DeRham.Comparison.DoubleComplexMap.DoubleComplex.total_map_quasiIso_of_columns |
| 67 | intro q |
| 68 | let : QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r (K.X q)) := hK q |
| 69 | exact CechRefinementQuasiIso.quasiIso U V r (K.X q) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechRefinementTotal |