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.PrincipalSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ModelSupportedIntegralSection |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechPrecompose |
| 4 | |
| 5 | /-! # Sheaf Supported Fraction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SheafSupportedFraction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine sheaf comparison sends the literal integral fraction |
| 12 | to the original bounded crystalline residue. The map is the actual |
| 13 | restricted sheaf map, with the original support-forgetting construction. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 19 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 20 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 24 | (U : X.left.affineOpens) |
| 25 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 27 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 28 | (g : ℕ) (a : Fin g → Γ(X.left, U.val)) (O : Y.left.Opens) |
| 29 | (hO : ∀ i, (Supported.Comparison.opens p k n X Y f U).obj |
| 30 | (Supported.Comparison.family p k n X U g a i) ≤ O) |
| 31 | (hcover : (Supported.Comparison.opens p k n X Y f U).obj |
| 32 | (⊤_ (PrincipalFrame.Index X.left U)) ⊓ O ≤ |
| 33 | ⨆ i, (Supported.Comparison.opens p k n X Y f U).obj |
| 34 | (Supported.Comparison.family p k n X U g a i)) |
| 35 | (hrows : ∀ q r, ((BoundedSupported.Cech.bicomplex |
| 36 | (Witt.Crystalline.wittStructureMap p k Y) n I |
| 37 | (Supported.Comparison.opens p k n X Y f U) |
| 38 | (Supported.Comparison.family p k n X U g a)).X q).ExactAt (r + 1)) |
| 39 | (hglobal : (Supported.Comparison.opens p k n X Y f U).obj |
| 40 | (⊤_ (PrincipalFrame.Index X.left U)) ⊔ O = ⊤) |
| 41 | |
| 42 | def toBounded (q : ℕ) := |
| 43 | BoundedSupported.Cech.map (Witt.Crystalline.wittStructureMap p k Y) n I |
| 44 | (Supported.Comparison.opens p k n X Y f U) |
| 45 | (Supported.Comparison.family p k n X U g a) |
| 46 | O hO hcover hrows hglobal (FractionClass.Integral.target p k n X U) |
| 47 | (PrincipalSheaf.Comparison.map p k n X Y f hp U I) q |
| 48 | |
| 49 | variable (σ : Type) [LinearOrder σ] |
| 50 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 51 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 52 | [IsScalarTower (Truncated.Witt.Ring p k n) (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 53 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 54 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 55 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 56 | |
| 57 | theorem comparison : |
| 58 | toBounded p k n X Y f hp U I g a O hO hcover hrows hglobal (g+g) = |
| 59 | SupportedFraction.Integral.toBounded p k n X Y f hp U σ I g a O |
| 60 | hO hcover hrows hglobal := by |
| 61 | let e := FractionClass.Integral.iso p k n X Y f hp U σ |
| 62 | have he : e.inv ≫ Principal.Comparison.map p k n X Y f hp U I = |
| 63 | PrincipalSheaf.Comparison.map p k n X Y f hp U I := by |
| 64 | rw [← PrincipalSheaf.Comparison.comparison p k n X Y f hp U I σ] |
| 65 | exact e.inv_hom_id_assoc _ |
| 66 | have h := BoundedSupported.CechPrecompose.comparison |
| 67 | (Witt.Crystalline.wittStructureMap p k Y) n I |
| 68 | (Supported.Comparison.opens p k n X Y f U) |
| 69 | (Supported.Comparison.family p k n X U g a) |
| 70 | O hO hcover hrows hglobal e.inv |
| 71 | (Principal.Comparison.map p k n X Y f hp U I) (g+g) |
| 72 | rw [he] at h |
| 73 | exact h |
| 74 | |
| 75 | theorem fraction (r : WittVector p k) : |
| 76 | toBounded p k n X Y f hp U I g a O hO hcover hrows hglobal (g+g) |
| 77 | (FractionClass.Integral.fractionClass p k n X Y f hp U σ g a r) = |
| 78 | (⟨r⟩ : Crystalline.ExactRestriction.Coeff (B := WittVector p k)) • |
| 79 | SupportedResidue.residue p k n X Y f hp U I g a O |
| 80 | hO hcover hrows hglobal := by |
| 81 | rw [comparison p k n X Y f hp U I g a O hO hcover hrows hglobal σ] |
| 82 | exact SupportedFraction.Integral.fraction |
| 83 | p k n X Y f hp U σ I g a O hO hcover hrows hglobal r |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SheafSupportedFraction |