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.PrincipalTopSingle |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SheafSupportedFraction |
| 3 | |
| 4 | /-! # Principal Top Fraction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopFraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal ordinary fractional top-form class passes through the |
| 11 | actual single-degree inclusion with the original diagonal sign. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | private theorem class_congr {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 20 | {R : Type v} [CommRing R] [HasProducts.{u} (ModuleCat.{w} R)] |
| 21 | (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ) (g : ℕ) (hg : Fintype.card ι=g) |
| 22 | (q : ℕ) {x y : (K.X q).obj (op (AugmentedOrdered.CechCoordinates.topObject U g hg))} |
| 23 | (hx : (K.d q (q+1)).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) x=0) |
| 24 | (hy : (K.d q (q+1)).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) y=0) |
| 25 | (h : x=y) : AugmentedOrdered.CechLargeTop.topTotalClass U K g hg q x hx = |
| 26 | AugmentedOrdered.CechLargeTop.topTotalClass U K g hg q y hy := by |
| 27 | subst y |
| 28 | rfl |
| 29 | |
| 30 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 31 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 32 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 33 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 34 | (hp : IsPullback f Y.hom X.hom |
| 35 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 36 | (U : X.left.affineOpens) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 37 | (a : Fin g → Γ(X.left,U.val)) |
| 38 | |
| 39 | abbrev family := Supported.Comparison.family p k n X U g a |
| 40 | |
| 41 | abbrev numerator (r : WittVector p k) : |
| 42 | (PrincipalTopSingle.coefficient p k n X U g).obj |
| 43 | (op (AugmentedOrdered.CechCoordinates.topObject (family p k n X U g a) g (by simp))) := |
| 44 | ULift.up.{2,1} (ULift.up.{1,0} |
| 45 | (Integral.FormSectionUnit.unit (Truncated.Witt.Ring p k n) X g |
| 46 | (PrincipalFraction.topOpen p k n X Y f hp U g a).val |
| 47 | (PrincipalFraction.fraction p k n X Y f hp U g a r))) |
| 48 | |
| 49 | abbrev ordinaryClass (r : WittVector p k) := AugmentedOrdered.CechTopClass.topClass |
| 50 | (family p k n X U g a) (PrincipalTopSingle.coefficient p k n X U g) |
| 51 | g (by simp) (numerator p k n X Y f hp U g a r) |
| 52 | |
| 53 | abbrev singleClass (r : WittVector p k) := |
| 54 | (Functor.SingleTotal.homologyIso (AugmentedOrdered.CechFunctor.functor (family p k n X U g a)) |
| 55 | (PrincipalTopSingle.coefficient p k n X U g) g g).inv |
| 56 | (ordinaryClass p k n X Y f hp U g a r) |
| 57 | |
| 58 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 59 | theorem coefficient (r : WittVector p k) : |
| 60 | Augmented.SingleDiagonalClassImage.image (family p k n X U g a) |
| 61 | (PrincipalTopSingle.coefficient p k n X U g) g (by simp) |
| 62 | (numerator p k n X Y f hp U g a r) |
| 63 | (FractionClass.Integral.target p k n X U) |
| 64 | (PrincipalTopSingle.map p k n X U g) = |
| 65 | FractionClass.Integral.fraction p k n X Y f hp U g a r := |
| 66 | PrincipalTopSingle.component p k n X U g |
| 67 | (AugmentedOrdered.CechCoordinates.topObject (family p k n X U g a) g (by simp)) |
| 68 | (Integral.FormSectionUnit.unit (Truncated.Witt.Ring p k n) X g |
| 69 | (PrincipalFraction.topOpen p k n X Y f hp U g a).val |
| 70 | (PrincipalFraction.fraction p k n X Y f hp U g a r)) |
| 71 | |
| 72 | variable (σ : Type) [LinearOrder σ] |
| 73 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 74 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 75 | [IsScalarTower (Truncated.Witt.Ring p k n) (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 76 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 77 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 78 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 79 | |
| 80 | omit [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 81 | theorem image (r : WittVector p k) : |
| 82 | homologyMap (AugmentedOrdered.CechCoefficientTop.totalMap (family p k n X U g a) |
| 83 | (PrincipalTopSingle.map p k n X U g)) (g+g) |
| 84 | (singleClass p k n X Y f hp U g a r) = |
| 85 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g • |
| 86 | FractionClass.Integral.fractionClass p k n X Y f hp U σ g a r := by |
| 87 | have h := Augmented.SingleDiagonalClassImage.map_apply (family p k n X U g a) |
| 88 | (PrincipalTopSingle.coefficient p k n X U g) g (by simp) |
| 89 | (numerator p k n X Y f hp U g a r) |
| 90 | (FractionClass.Integral.target p k n X U) |
| 91 | (PrincipalTopSingle.map p k n X U g) |
| 92 | exact h.trans (congrArg (fun x => ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g • x) |
| 93 | (class_congr (family p k n X U g a) (FractionClass.Integral.target p k n X U) |
| 94 | g (by simp) g |
| 95 | (Augmented.SingleDiagonalClassImage.image_closed (family p k n X U g a) |
| 96 | (PrincipalTopSingle.coefficient p k n X U g) g (by simp) |
| 97 | (numerator p k n X Y f hp U g a r) |
| 98 | (FractionClass.Integral.target p k n X U) |
| 99 | (PrincipalTopSingle.map p k n X U g)) |
| 100 | (FractionClass.Integral.fraction_closed p k n X Y f hp U σ g a r) |
| 101 | (coefficient p k n X Y f hp U g a r))) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalTopFraction |