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.RelativeCech.Refinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.TotalProjection |
| 4 | |
| 5 | /-! # Complex Coefficient Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexCoefficientIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Refinement invertibility is unchanged by an isomorphism of the |
| 12 | actual coefficient complexes. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem square {C : Type*} [Category C] {A B D E : C} |
| 18 | (a : A ⟶ B) (b : D ⟶ E) (e : A ≅ D) (f : B ≅ E) |
| 19 | [IsIso a] (h : a ≫ f.hom = e.hom ≫ b) : IsIso b := by |
| 20 | have hb : b = e.inv ≫ a ≫ f.hom := by rw [h, Iso.inv_hom_id_assoc] |
| 21 | rw [hb] |
| 22 | infer_instance |
| 23 | |
| 24 | universe u v |
| 25 | variable {X : TopCat.{u}} {D : Type v} [Category D] [Abelian D] |
| 26 | [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 27 | {K L : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ} (e : K ≅ L) |
| 28 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 29 | (U : Opens X) (V : ι → Opens X) (W : κ → Opens X) |
| 30 | (r : FormalCoproduct.mk κ W ⟶ FormalCoproduct.mk ι V) (q : ℕ) |
| 31 | |
| 32 | def relativeIso := homologyMapIso |
| 33 | (HomologicalComplex₂.total.mapIso |
| 34 | (((RelativeCech.Total.localFunctor U V).mapHomologicalComplex (.up ℕ)).mapIso e) |
| 35 | (.up ℕ)) q |
| 36 | |
| 37 | def orderedIso := homologyMapIso ((OrderedCech.TotalProjection.ordered V).mapIso e) q |
| 38 | |
| 39 | include e in |
| 40 | theorem relative [IsIso (RelativeCech.Refinement.homology U V W r K q)] : |
| 41 | IsIso (RelativeCech.Refinement.homology U V W r L q) := |
| 42 | square _ _ (relativeIso e U V q) (relativeIso e U W q) |
| 43 | (RelativeCech.Refinement.homology_naturality U V W r e.hom q).symm |
| 44 | |
| 45 | include e in |
| 46 | theorem ordered [IsIso (homologyMap (OrderedCech.Refinement.totalMap V W r K) q)] : |
| 47 | IsIso (homologyMap (OrderedCech.Refinement.totalMap V W r L) q) := |
| 48 | square _ _ (orderedIso e V q) (orderedIso e W q) |
| 49 | (Presheaf.OrderedCover.Comparison.homology_naturality V W r e.hom q).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexCoefficientIso |