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.MorphismNewFrameHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TypedCechMapCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.TotalMapFactorization |
| 4 | |
| 5 | /-! # Morphism New Frame Data -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismNewFrameData.RawCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original common-source frame comparison expressed through |
| 12 | its literal presheaf-total map, with the map equality transported first. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem replace_first {C : Type*} [Category C] {A B T : C} |
| 18 | (b : B ⟶ T) {f : A ⟶ T} {a a' : A ⟶ B} |
| 19 | (h : f = a ≫ b) (ha : a = a') : f = a' ≫ b := |
| 20 | h.trans (congrArg (fun x => x ≫ b) ha) |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 23 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 24 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 25 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 26 | {Y₁ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] |
| 27 | (f₁ : Y₁.left ⟶ X₁.left) |
| 28 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 29 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 30 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 31 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 32 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 33 | |
| 34 | abbrev named_map := |
| 35 | TypedCechMapCoordinates.MorphismNew.comparison p k n u f₁ hp₁ I₁ |
| 36 | |
| 37 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 38 | |
| 39 | abbrev named_homology (q : ℕ) := |
| 40 | congrArg |
| 41 | (fun (a : MorphismFrameTypedMaps.Homology.sourceFrameNew p k n u f₁ hp₁ ⟶ |
| 42 | MorphismFrameTypedMaps.Homology.sourceInjectiveNew p k n u f₁ I₁) => |
| 43 | homologyMap a q) |
| 44 | (named_map p k n u f₁ hp₁ I₁) |
| 45 | |
| 46 | abbrev named_first (q : ℕ) := replace_first |
| 47 | (MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ q) |
| 48 | (MorphismNewFrameHomology.Raw.reverse p k n u f₁ hp₁ I₁ q).symm |
| 49 | (named_homology p k n u f₁ hp₁ I₁ q) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismNewFrameData.RawCoordinates |