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.MorphismFrameRefinementCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismPresheafNaturalityCoordinates |
| 3 | |
| 4 | /-! # Morphism Frame Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameRefinement.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refinement of the original frame-to-injective comparison, on cochains and cohomology. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | private theorem homology_square {C : Type*} [Category C] [Abelian C] |
| 16 | {K L M N : CochainComplex C ℕ} |
| 17 | {a : K ⟶ L} {b : L ⟶ N} {c : K ⟶ M} {d : M ⟶ N} |
| 18 | (h : a ≫ b = c ≫ d) (q : ℕ) : |
| 19 | HomologicalComplex.homologyMap a q ≫ HomologicalComplex.homologyMap b q = |
| 20 | HomologicalComplex.homologyMap c q ≫ HomologicalComplex.homologyMap d q := |
| 21 | (HomologicalComplex.homologyMap_comp a b q).symm.trans |
| 22 | ((congrArg (fun e => HomologicalComplex.homologyMap e q) h).trans |
| 23 | (HomologicalComplex.homologyMap_comp c d q)) |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 26 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 27 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 28 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 29 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 30 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 31 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 32 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 33 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 34 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 35 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 36 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 37 | (I₂ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 38 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 39 | (Witt.Crystalline.wittStructureMap p k Y₂) n)) |
| 40 | |
| 41 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 42 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCover.pairs p k n u |
| 43 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 44 | local notation "F₁" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source (Over.Hom.left u) |
| 45 | local notation "F₂" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target (Over.Hom.left u) |
| 46 | |
| 47 | abbrev source_cochain := |
| 48 | MorphismPresheafNaturalityCoordinates.source.{1, 2} p k n u R |
| 49 | (FrameInjective.Comparison.map p k n X₁ Y₁ f₁ hp₁ I₁) |
| 50 | (MorphismFrameInjectiveHomotopy.sourceComparison p k n u f₁ hp₁ I₁) |
| 51 | (MorphismFrameRefinementCoordinates.Comparison.source_coordinates p k n u f₁ hp₁ I₁) |
| 52 | |
| 53 | abbrev target_cochain := |
| 54 | MorphismPresheafNaturalityCoordinates.target.{1, 2} p k n u R |
| 55 | (FrameInjective.Comparison.map p k n X₂ Y₂ f₂ hp₂ I₂) |
| 56 | (MorphismFrameInjectiveHomotopy.targetComparison p k n u f₂ hp₂ I₂) |
| 57 | (MorphismFrameRefinementCoordinates.Comparison.target_coordinates p k n u f₂ hp₂ I₂) |
| 58 | |
| 59 | abbrev source (q : ℕ) := homology_square (source_cochain p k n u f₁ hp₁ I₁) q |
| 60 | |
| 61 | abbrev target (q : ℕ) := homology_square (target_cochain p k n u f₂ hp₂ I₂) q |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameRefinement.Comparison |