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.IntrinsicPadic.RefinedResolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactInjective |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.AugmentedNaturality |
| 4 | |
| 5 | /-! # Injective Homotopy -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveHomotopy.IntrinsicPadicGeometricInjectiveHomotopy |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original chosen Cech-to-injective comparisons agree, up to |
| 12 | actual cochain homotopies, through the common geometric source resolution. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 18 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 19 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 20 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 21 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 22 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 25 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 27 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 28 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 29 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 30 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 31 | |
| 32 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 33 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 34 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 35 | (Over.Hom.left v) (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n |
| 36 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Sheaves.structureTransport (Over.Hom.left v) (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n |
| 37 | local notation "L" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SourceResolution.IntrinsicPadicGeometricSourceResolution.complex p u Y₁ f₁ hp₁ n |
| 38 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SourceResolution.IntrinsicPadicGeometricSourceResolution.augmentation p u Y₁ f₁ hp₁ n |
| 39 | local notation "h" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SourceResolution.IntrinsicPadicGeometricSourceResolution.augmentation_quasiIso p u Y₁ f₁ hp₁ n |
| 40 | |
| 41 | def comparison : L ⟶ I₁.cocomplex := AugmentedInjective.AugmentedInjectiveComparison.map L a h I₁ |
| 42 | |
| 43 | omit [IsSeparated Y₂.hom] in |
| 44 | theorem augmentation : a ≫ comparison p u f₁ hp₁ n I₁ = I₁.ι := |
| 45 | AugmentedInjective.AugmentedInjectiveComparison.augmentation L a h I₁ |
| 46 | |
| 47 | def sourceHomotopy : Homotopy (CechInjective.IntrinsicPadicCechInjectiveComparison.map p X₁ Y₁ f₁ hp₁ n I₁) |
| 48 | (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.sourceMap p u f₁ hp₁ n ≫ comparison p u f₁ hp₁ n I₁) := |
| 49 | CechInjective.IntrinsicPadicCechInjectiveComparison.homotopy p X₁ Y₁ f₁ hp₁ n I₁ _ |
| 50 | ((Category.assoc _ _ _).symm.trans |
| 51 | ((congrArg (fun z => z ≫ comparison p u f₁ hp₁ n I₁) |
| 52 | (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.source_augmentation p u f₁ hp₁ n)).trans |
| 53 | (augmentation p u f₁ hp₁ n I₁))) |
| 54 | |
| 55 | def targetHomotopy : Homotopy |
| 56 | (((T).mapHomologicalComplex (.up ℕ)).map (CechInjective.IntrinsicPadicCechInjectiveComparison.map p X₂ Y₂ f₂ hp₂ n I₂) ≫ |
| 57 | ExactInjective.ExactInjectivePullback.map T e I₂ I₁) |
| 58 | (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.targetMap p u v f₁ f₂ hp₁ hp₂ hsquare n ≫ comparison p u f₁ hp₁ n I₁) := |
| 59 | AugmentedNaturality.AugmentedComparisonNaturality.homotopy T e |
| 60 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X₂ Y₂ f₂ hp₂ n) |
| 61 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.augmentation p X₂ Y₂ f₂ hp₂ n) |
| 62 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.augmentation_quasiIso p X₂ Y₂ f₂ hp₂ n) |
| 63 | L a h I₂ I₁ |
| 64 | (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.targetMap p u v f₁ f₂ hp₁ hp₂ hsquare n) |
| 65 | (ExactInjective.ExactInjectivePullback.map T e I₂ I₁) |
| 66 | (RefinedResolution.IntrinsicPadicGeometricRefinedResolution.target_augmentation p u v f₁ f₂ hp₁ hp₂ hsquare n) |
| 67 | (ExactInjective.ExactInjectivePullback.augmentation_map T e I₂ I₁) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.InjectiveHomotopy.IntrinsicPadicGeometricInjectiveHomotopy |