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.AugmentedCech.CoefficientHomologyNaturality |
| 2 | |
| 3 | /-! # Coefficient Factor -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientFactor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A genuine map out of a coefficient-changed supported complex |
| 10 | retains its original cohomology map through the canonical source iso. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u uA vA uB vB |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientHomologyNaturality.Total |
| 16 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 18 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 19 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] [HasCoproducts.{0} B] |
| 20 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] [PreservesLimitsOfSize.{u,u} G] |
| 21 | [HasFiniteBiproducts A] |
| 22 | {K L : CochainComplex (Cᵒᵖ ⥤ A) ℕ} {O : CochainComplex (Cᵒᵖ ⥤ B) ℕ} |
| 23 | (e : O ≅ CoefficientTotal.mapped G K) |
| 24 | |
| 25 | def totalFunctor : CochainComplex (Cᵒᵖ ⥤ B) ℕ ⥤ CochainComplex B ℕ := |
| 26 | (AugmentedOrdered.CechFunctor.functor U).mapHomologicalComplex (.up ℕ) ⋙ |
| 27 | HomologicalComplex₂.totalFunctor B (.up ℕ) (.up ℕ) (.up ℕ) |
| 28 | |
| 29 | def inputIso (q : ℕ) := |
| 30 | CoefficientTotal.homologyIso U G K q ≪≫ (homologyMapIso ((CoefficientFactor.totalFunctor U).mapIso e) q).symm |
| 31 | |
| 32 | variable (a : K ⟶ L) (t : O ⟶ CoefficientTotal.mapped G L) |
| 33 | (ht : t = e.hom ≫ CoefficientNaturality.Total.mappedComplexMap G a) (q : ℕ) |
| 34 | {T : A} (b : ((AugmentedOrdered.CechFunctor.bicomplex U L).total (.up ℕ)).homology q ⟶ T) |
| 35 | |
| 36 | def map := homologyMap (CoefficientNaturality.Total.totalMap U t) q ≫ (CoefficientTotal.homologyIso U G L q).inv ≫ G.map b |
| 37 | |
| 38 | include ht in |
| 39 | theorem comparison : (inputIso U G e q).hom ≫ CoefficientFactor.map U G t q b = |
| 40 | G.map (homologyMap (CoefficientNaturality.Total.totalMap U a) q ≫ b) := by |
| 41 | subst t |
| 42 | have hm : CoefficientNaturality.Total.totalMap U (e.hom ≫ CoefficientNaturality.Total.mappedComplexMap G a) = |
| 43 | CoefficientNaturality.Total.totalMap U e.hom ≫ CoefficientNaturality.Total.totalMap U (CoefficientNaturality.Total.mappedComplexMap G a) := by |
| 44 | simp only [CoefficientNaturality.Total.totalMap, CoefficientNaturality.Total.bicomplexMap, Functor.map_comp, HomologicalComplex₂.total.map_comp] |
| 45 | have h := congrArg (fun z => z ≫ (CoefficientTotal.homologyIso U G L q).inv ≫ G.map b) |
| 46 | (CoefficientHomologyNaturality.Total.homologyIso_naturality U G a q) |
| 47 | simp only [Category.assoc, Iso.hom_inv_id_assoc] at h |
| 48 | unfold inputIso CoefficientFactor.map |
| 49 | rw [hm, homologyMap_comp] |
| 50 | change ((CoefficientTotal.homologyIso U G K q).hom ≫ |
| 51 | (homologyMapIso ((CoefficientFactor.totalFunctor U).mapIso e) q).inv) ≫ |
| 52 | ((homologyMapIso ((CoefficientFactor.totalFunctor U).mapIso e) q).hom ≫ |
| 53 | homologyMap (CoefficientNaturality.Total.totalMap U (CoefficientNaturality.Total.mappedComplexMap G a)) q) ≫ |
| 54 | (CoefficientTotal.homologyIso U G L q).inv ≫ G.map b = _ |
| 55 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 56 | exact h.symm.trans (G.map_comp _ _).symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientFactor |