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.GeometricComparison.Bounded.OpenSectionLevel |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.PresheafExt |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InverseCoordinateHomology |
| 6 | |
| 7 | /-! # Open Section Level Global -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.OpenSectionLevelGlobal.BoundedOpenSectionLevelGlobal |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Restriction at the top open is the original global crystalline |
| 14 | cochain restriction and induces its original bounded Ext transition. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 19 | universe u |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) (n m : ℕ) (hnm : n ≤ m) |
| 22 | (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 23 | |
| 24 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I |
| 25 | local notation "Im" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f m I |
| 26 | |
| 27 | def map := ((IntegralComparison.BoundedOpen.SectionComplex.evaluation (B := B) (⊤ : Y.Opens)).mapHomologicalComplex (.up ℕ)).map |
| 28 | (OpenSectionLevel.BoundedOpenSectionLevel.complexMap f n m hnm I) |
| 29 | |
| 30 | theorem coordinates : (IntegralComparison.BoundedOpen.SectionGlobal.complexIso f m Im).hom ≫ BoundedOpenSectionLevelGlobal.map f n m hnm I = |
| 31 | IntegralComparison.BoundedLevel.FramePresheafRestriction.restriction f n m hnm I ≫ |
| 32 | (IntegralComparison.BoundedOpen.SectionGlobal.complexIso f n In).hom := by |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext i |
| 35 | apply ModuleCat.hom_ext |
| 36 | apply LinearMap.ext |
| 37 | intro x |
| 38 | rfl |
| 39 | |
| 40 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (BoundedOpenSectionLevelGlobal.map f n m hnm I) i ≫ |
| 41 | (IntegralComparison.BoundedOpen.SectionGlobal.homologyIso f n In i).hom = |
| 42 | (IntegralComparison.BoundedOpen.SectionGlobal.homologyIso f m Im i).hom ≫ |
| 43 | ModuleCat.ofHom (IntegralComparison.Bounded.CohomologyTransition.map f n m hnm i) := by |
| 44 | have h₁ := IntegralComparison.InverseCoordinateHomology.homology |
| 45 | (IntegralComparison.BoundedOpen.SectionGlobal.complexIso f m Im) (IntegralComparison.BoundedOpen.SectionGlobal.complexIso f n In) |
| 46 | (IntegralComparison.BoundedLevel.FramePresheafRestriction.restriction f n m hnm I) (BoundedOpenSectionLevelGlobal.map f n m hnm I) |
| 47 | (coordinates f n m hnm I).symm i |
| 48 | have h₂ := IntegralComparison.BoundedLevel.PresheafExt.homology f n m hnm I i |
| 49 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.OpenSectionLevelGlobal.BoundedOpenSectionLevelGlobal |