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 | |
| 3 | /-! # Homology Functor -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.HomologyFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original supported Čech cohomology as a functor, with direct |
| 10 | identities for an already constructed comparison homotopy. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | section |
| 14 | |
| 15 | universe u v w |
| 16 | variable {R : Type u} [CommRing R] {C : Type v} [Preorder C] [HasFiniteProducts C] |
| 17 | {ι : Type v} [LinearOrder ι] (U : ι → C) |
| 18 | [HasProducts.{v} (ModuleCat.{w} R)] |
| 19 | |
| 20 | def functor (n : ℕ) : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ ⥤ ModuleCat.{w} R := |
| 21 | (AugmentedOrdered.CechFunctor.functor U).mapHomologicalComplex (.up ℕ) ⋙ |
| 22 | HomologicalComplex₂.totalFunctor (ModuleCat.{w} R) (.up ℕ) (.up ℕ) (.up ℕ) ⋙ |
| 23 | HomologicalComplex.homologyFunctor (ModuleCat.{w} R) (.up ℕ) n |
| 24 | |
| 25 | theorem homotopy {K L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ} {a b : K ⟶ L} |
| 26 | (h : Homotopy a b) (n : ℕ) : (functor U n).map a = (functor U n).map b := |
| 27 | AugmentedOrdered.CechHomotopy.homology U h n |
| 28 | |
| 29 | theorem homotopy_comp {K L M : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ} |
| 30 | {a : K ⟶ M} {b : K ⟶ L} {c : L ⟶ M} (h : Homotopy a (b ≫ c)) (n : ℕ) : |
| 31 | (functor U n).map a = (functor U n).map b ≫ (functor U n).map c := |
| 32 | (homotopy U h n).trans ((functor U n).map_comp b c) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | namespace MappedComparisonEquality |
| 37 | |
| 38 | variable {C D : Type*} [Category C] [Category D] (F : C ⥤ D) |
| 39 | |
| 40 | theorem square {A B E A' : C} {a : A ⟶ B} {b : B ⟶ E} |
| 41 | {c : A ⟶ A'} {d : A' ⟶ E} (h : a ≫ b = c ≫ d) : |
| 42 | F.map a ≫ F.map b = F.map c ≫ F.map d := by |
| 43 | simpa only [F.map_comp] using congrArg F.map h |
| 44 | |
| 45 | theorem triple {A B E Z A' : C} {a : A ⟶ B} {b : B ⟶ E} {c : E ⟶ Z} |
| 46 | {d : A ⟶ A'} {e : A' ⟶ Z} (h : (a ≫ b) ≫ c = d ≫ e) : |
| 47 | (F.map a ≫ F.map b) ≫ F.map c = F.map d ≫ F.map e := by |
| 48 | simpa only [F.map_comp] using congrArg F.map h |
| 49 | |
| 50 | theorem factorization {A B E : C} {q : A ⟶ E} {a : A ⟶ B} {b : B ⟶ E} |
| 51 | (h : q = a ≫ b) : F.map q = F.map a ≫ F.map b := by |
| 52 | simpa only [F.map_comp] using congrArg F.map h |
| 53 | |
| 54 | end MappedComparisonEquality |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.HomologyFunctor |