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.Witt.ReferenceCechHomology |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 3 | |
| 4 | /-! # Coefficient Composite -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoefficientComposite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A complete coefficient and Čech homology comparison with the original |
| 11 | module-category and total-complex instances fixed before specialization. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 16 | |
| 17 | universe uR uS vR vS s t |
| 18 | section Original |
| 19 | variable (R : Type uR) [CommRing R] (S : Type uS) [CommRing S] |
| 20 | {C : Type s} [Category.{t} C] [HasBinaryProducts C] |
| 21 | {ι : Type} (U : ι → C) |
| 22 | (F : ModuleCat.{vS} S ⥤ ModuleCat.{max uR vR} R) |
| 23 | [F.Additive] [F.PreservesHomology] |
| 24 | (Q : CochainComplex (ModuleCat.{vS} S) ℕ) |
| 25 | {K L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max uR vR} R) ℕ} |
| 26 | (e : (F.mapHomologicalComplex (.up ℕ)).obj Q ≅ |
| 27 | AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.total.{uR,vR} R U K) |
| 28 | |
| 29 | def coefficientIso (q : ℕ) := GeometricComparison.ExactHomology.ExactHomologyComparison.iso F (.up ℕ) |
| 30 | Q (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.total.{uR,vR} R U K) e q |
| 31 | |
| 32 | def composite (a : K ⟶ L) (q : ℕ) {T : ModuleCat.{max uR vR} R} |
| 33 | (b : (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.total.{uR,vR} R U L).homology q ⟶ T) := |
| 34 | (coefficientIso R S U F Q e q).hom ≫ |
| 35 | Witt.ReferenceCechHomology.Reference.originalMap |
| 36 | (K := AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.total.{uR,vR} R U K) |
| 37 | (L := AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.total.{uR,vR} R U L) |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map R (NonemptyCechNerve.nerve U) a) q ≫ b |
| 39 | end Original |
| 40 | |
| 41 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 42 | {C : Type s} [Category.{t} C] [HasBinaryProducts C] |
| 43 | {ι : Type} (U : ι → C) |
| 44 | (F : ModuleCat (WittVector p k) ⥤ |
| 45 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 46 | [F.Additive] [F.PreservesHomology] |
| 47 | (Q : CochainComplex (ModuleCat (WittVector p k)) ℕ) |
| 48 | {K L : CochainComplex (Cᵒᵖ ⥤ |
| 49 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ} |
| 50 | (e : (F.mapHomologicalComplex (.up ℕ)).obj Q ≅ |
| 51 | AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.total.{1,2} |
| 52 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) U K) |
| 53 | (a : K ⟶ L) |
| 54 | |
| 55 | omit [Fintype k] [CharP k p] in |
| 56 | theorem comparison (q : ℕ) |
| 57 | {T : ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))} |
| 58 | (b : (Witt.CechTotalMapFactorization.total p k U L).homology q ⟶ T) |
| 59 | {f : (Witt.CechTotalMapFactorization.total p k U K).homology q ⟶ T} |
| 60 | (h : f = homologyMap (Witt.CechTotalMapFactorization.map p k U a) q ≫ b) |
| 61 | (c : F.obj (Q.homology q) ⟶ (Witt.CechTotalMapFactorization.total p k U K).homology q) |
| 62 | (hc : c = (coefficientIso |
| 63 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (WittVector p k) |
| 64 | U F Q e q).hom) : |
| 65 | c ≫ f = composite |
| 66 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (WittVector p k) |
| 67 | U F Q e a q b := |
| 68 | Witt.ReferenceCechHomology.Reference.coefficient_comparison p k U a q b h c |
| 69 | (coefficientIso (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 70 | (WittVector p k) U F Q e q).hom hc |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoefficientComposite |