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.TruncatedModel.SheafGlobalData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionIntrinsicHomology |
| 3 | |
| 4 | /-! # Sheaf Global -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SheafGlobal.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original global comparison in homology after the literal |
| 11 | sheaf-complex total comparison. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | private theorem mapped_comp {A B : Type*} [Category A] [Category B] |
| 17 | (F : A ⥤ B) {X Y Z : A} {a : X ⟶ Y} {b : Y ⟶ Z} {c : X ⟶ Z} |
| 18 | (h : a ≫ b = c) : F.map a ≫ F.map b = F.map c := |
| 19 | (F.map_comp a b).symm.trans (congrArg F.map h) |
| 20 | |
| 21 | private theorem insert_factor {C : Type*} [Category C] {A B D E F : C} |
| 22 | {a : A ⟶ B} {b : B ⟶ D} {c : D ⟶ E} {d : B ⟶ E} {e : E ⟶ F} {f : A ⟶ F} |
| 23 | (h : b ≫ c = d) (hf : a ≫ d ≫ e = f) : a ≫ b ≫ c ≫ e = f := by |
| 24 | rw [← Category.assoc b c e, h] |
| 25 | exact hf |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 28 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 29 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 30 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 31 | (hp : IsPullback f Y.hom X.hom |
| 32 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 33 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 34 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 35 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 36 | |
| 37 | omit [Fintype k] [CharP k p] in |
| 38 | private theorem homology_composition |
| 39 | {K L M : CochainComplex |
| 40 | (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ} |
| 41 | {a : K ⟶ L} {b : L ⟶ M} {d : K ⟶ M} (h : a ≫ b = d) (q : ℕ) : |
| 42 | homologyMap a q ≫ homologyMap b q = homologyMap d q := by |
| 43 | rw [← homologyMap_comp, h] |
| 44 | |
| 45 | theorem homology_factor (q : ℕ) : |
| 46 | homologyMap (SheafGlobalData.Comparison.totalUnit p k n X) q ≫ homologyMap (SheafGlobalData.Comparison.totalMap p k n X Y f hp I) q = |
| 47 | homologyMap (OrdinaryGlobal.OrdinaryComparison.map p k n X Y f hp I) q := |
| 48 | homology_composition p k (SheafGlobalData.Comparison.comparison p k n X Y f hp I) q |
| 49 | |
| 50 | private theorem homology_ordinary (q : ℕ) : |
| 51 | homologyMap (OrdinaryGlobal.OrdinaryComparison.coordinates p k n X).hom q ≫ |
| 52 | homologyMap (OrdinaryGlobal.OrdinaryComparison.map p k n X Y f hp I) q ≫ |
| 53 | (ResolutionIntrinsicHomology.Intrinsic.iso p k n X Y f I q).hom = |
| 54 | (GlobalDeRham.Comparison.homologyIso p k n X Y f hp I q).hom := |
| 55 | OrdinaryGlobal.OrdinaryComparison.homology_comparison p k n X Y f hp I q |
| 56 | |
| 57 | omit [Fintype k] [CharP k p] in |
| 58 | private theorem homology_join |
| 59 | {A B C D E : ModuleCat.{2} |
| 60 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k))} |
| 61 | {a : A ⟶ B} {b : B ⟶ C} {c : C ⟶ D} {d : B ⟶ D} |
| 62 | {e : D ⟶ E} {f : A ⟶ E} |
| 63 | (h : b ≫ c = d) (hf : a ≫ d ≫ e = f) : a ≫ b ≫ c ≫ e = f := |
| 64 | insert_factor h hf |
| 65 | |
| 66 | theorem homology_comparison (q : ℕ) : |
| 67 | homologyMap (OrdinaryGlobal.OrdinaryComparison.coordinates p k n X).hom q ≫ |
| 68 | homologyMap (SheafGlobalData.Comparison.totalUnit p k n X) q ≫ |
| 69 | homologyMap (SheafGlobalData.Comparison.totalMap p k n X Y f hp I) q ≫ |
| 70 | (ResolutionIntrinsicHomology.Intrinsic.iso p k n X Y f I q).hom = |
| 71 | (GlobalDeRham.Comparison.homologyIso p k n X Y f hp I q).hom := |
| 72 | homology_join p k (homology_factor p k n X Y f hp I q) |
| 73 | (homology_ordinary p k n X Y f hp I q) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SheafGlobal.Comparison |