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.PrincipalTopGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleDegreeCoordinates |
| 3 | |
| 4 | /-! # Principal Top Degree -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopDegree |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A principal top-form class in its original codimension degree |
| 11 | has the same native global value after the canonical single-degree |
| 12 | transport. No sign is discarded by the change of coordinates. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 19 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom |
| 22 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 23 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 24 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 25 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 26 | (g c : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 27 | |
| 28 | abbrev source := Principal.MappedSingleGlobal.sourceComplex |
| 29 | (TopCover.coefficients p k n X) (TopCover.form p k n X g) c |
| 30 | |
| 31 | variable {C : Type} [Preorder C] [HasFiniteProducts C] (F : C ⥤ X.left.Opens) |
| 32 | {ι κ ν μ ρ : Type} |
| 33 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 34 | (W : ι → C) |
| 35 | [∀ (d : ℕ) (a : Fin (d+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 36 | (B : κ → X.left.Opens) (J : ν → X.left.Opens) |
| 37 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 38 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 39 | (V : μ → X.left.Opens) (hV : iSup V = ⊤) (T : ρ → X.left.Opens) |
| 40 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 41 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 42 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 43 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 44 | (source p k n X g c) (g+c))] |
| 45 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (source p k n X g c)) (g+c))] |
| 46 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 47 | (source p k n X g g) (g+g))] |
| 48 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (source p k n X g g)) (g+g))] |
| 49 | |
| 50 | def localChange := Principal.MappedSingleDegreeCoordinates.sourceIso |
| 51 | (TopCover.coefficients p k n X) (TopCover.form p k n X g) |
| 52 | c g g F W |
| 53 | |
| 54 | def globalValue := Principal.PresheafCover.Comparison.comparison F W B J r s V T l t |
| 55 | (source p k n X g c) (g+c) ≫ |
| 56 | (Principal.MappedSingleCoordinates.globalCoordinates |
| 57 | (TopCover.coefficients p k n X) (TopCover.form p k n X g) c g V).hom ≫ |
| 58 | TopCover.globalMap p k n X Y f hp I g V hV |
| 59 | |
| 60 | theorem comparison : globalValue p k n X Y f hp I g c F W B J r s V hV T l t = |
| 61 | (localChange p k n X g c F W).hom ≫ |
| 62 | PrincipalTopGlobal.globalMap p k n X Y f hp I g F W B J r s V hV T l t := by |
| 63 | have h := congrArg (fun a => a ≫ (TopCover.originalIso p k n X g V).hom ≫ |
| 64 | TopCover.globalMap p k n X Y f hp I g V hV) |
| 65 | (Principal.MappedSingleDegreeCoordinates.comparison |
| 66 | (TopCover.coefficients p k n X) (TopCover.form p k n X g) |
| 67 | c g g F W B J r s V T l t) |
| 68 | simpa only [globalValue, localChange, PrincipalTopGlobal.globalMap, |
| 69 | Principal.MappedSingleDegreeCoordinates.targetIso, Iso.trans_hom, Iso.symm_hom, |
| 70 | Category.assoc, Iso.inv_hom_id_assoc] using h.symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopDegree |