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.PrincipalResidue.ResidueRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FractionClass |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback |
| 4 | |
| 5 | /-! # Residue Fraction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueFraction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The restricted original scalar residue has exactly the numerator, |
| 12 | reciprocal product, and differential parameters of the native integral |
| 13 | fraction. A Witt lift carries the arbitrary original scalar unchanged. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped BigOperators |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.ResidueRestriction |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 23 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 25 | (hp : IsPullback f Y.hom X.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (Z : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 28 | (π : X ⟶ Z) (U : Z.left.Opens) (hU : IsAffineOpen U) |
| 29 | (V : X.left.affineOpens) (hVU : V.val ≤ π.left ⁻¹ᵁ U) |
| 30 | (g : ℕ) (t : Fin g → Γ(Z.left,U)) |
| 31 | |
| 32 | local instance ambientAlgebra : Algebra (Truncated.Witt.Ring p k n) Γ(Z.left,U) := |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (Truncated.Witt.Ring p k n) Z U |
| 34 | local instance sourceAlgebra (W : X.left.Opens) : Algebra (Truncated.Witt.Ring p k n) Γ(X.left,W) := |
| 35 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (Truncated.Witt.Ring p k n) X W |
| 36 | |
| 37 | abbrev localParameters := PrincipalResidue.ResidueRestriction.parameters π.left U V.val hVU t |
| 38 | abbrev topOpen := PrincipalFraction.topOpen p k n X Y f hp V g |
| 39 | (localParameters p k n X Z π U V hVU g t) |
| 40 | |
| 41 | abbrev coefficient (r : WittVector p k) := |
| 42 | PrincipalResidue.ResidueRestriction.coefficientMap π.left U V.val V.property hVU t |
| 43 | (PrincipalResidue.SymbolCoordinates.coefficient U hU t (Truncated.Witt.Ring p k n) |
| 44 | (Truncated.Witt.quotient p k n r)) |
| 45 | |
| 46 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 47 | theorem coefficient_eq (r : WittVector p k) : |
| 48 | coefficient p k n X Z π U hU V hVU g t r = |
| 49 | algebraMap (Truncated.Witt.Ring p k n) Γ(X.left,(topOpen p k n X Y f hp Z π U V hVU g t).val) |
| 50 | (Truncated.Witt.quotient p k n r) * |
| 51 | (↑((∏ j, PrincipalFraction.coordinateUnit p k n X Y f hp V g |
| 52 | (localParameters p k n X Z π U V hVU g t) j)⁻¹) : |
| 53 | Γ(X.left,(topOpen p k n X Y f hp Z π U V hVU g t).val)) := by |
| 54 | let units := PrincipalFraction.coordinateUnit p k n X Y f hp V g |
| 55 | (localParameters p k n X Z π U V hVU g t) |
| 56 | have hu (j : Fin g) : (units j : Γ(X.left,(topOpen p k n X Y f hp Z π U V hVU g t).val)) = |
| 57 | X.left.presheaf.map (Principal.SectionPresheaf.inclusion V.val |
| 58 | (PrincipalResidue.SymbolCoordinates.top V.val (localParameters p k n X Z π U V hVU g t))).op |
| 59 | (localParameters p k n X Z π U V hVU g t j) := |
| 60 | PrincipalFraction.coordinateUnit_val p k n X Y f hp V g |
| 61 | (localParameters p k n X Z π U V hVU g t) j |
| 62 | have h := PrincipalResidue.ResidueRestriction.coefficient π.left U hU V.val V.property hVU t |
| 63 | (Truncated.Witt.Ring p k n) units hu (Truncated.Witt.quotient p k n r) |
| 64 | have hb := (AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback.DeRhamPullback.sectionPullbackLE π U V.val hVU).commutes |
| 65 | (Truncated.Witt.quotient p k n r) |
| 66 | have hr := (((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras (Truncated.Witt.Ring p k n) X).map |
| 67 | (Principal.SectionPresheaf.inclusion V.val (PrincipalResidue.SymbolCoordinates.top V.val |
| 68 | (localParameters p k n X Z π U V hVU g t))).op).hom).commutes |
| 69 | (Truncated.Witt.quotient p k n r) |
| 70 | have hbase := (congrArg (fun a => X.left.presheaf.map |
| 71 | (Principal.SectionPresheaf.inclusion V.val (PrincipalResidue.SymbolCoordinates.top V.val |
| 72 | (localParameters p k n X Z π U V hVU g t))).op a) hb).trans hr |
| 73 | exact h.trans (congrArg (fun a => a * (↑((∏ j, units j)⁻¹) : |
| 74 | Γ(X.left,(topOpen p k n X Y f hp Z π U V hVU g t).val))) hbase) |
| 75 | |
| 76 | abbrev ordinarySymbol (r : WittVector p k) := |
| 77 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol (Truncated.Witt.Ring p k n) |
| 78 | Γ(X.left,(topOpen p k n X Y f hp Z π U V hVU g t).val) |
| 79 | (coefficient p k n X Z π U hU V hVU g t r) |
| 80 | (fun j => X.left.presheaf.map |
| 81 | (Principal.SectionPresheaf.inclusion V.val (PrincipalResidue.SymbolCoordinates.top V.val |
| 82 | (localParameters p k n X Z π U V hVU g t))).op |
| 83 | (localParameters p k n X Z π U V hVU g t j)) |
| 84 | |
| 85 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 86 | theorem ordinarySymbol_eq (r : WittVector p k) : |
| 87 | ordinarySymbol p k n X Y f hp Z π U hU V hVU g t r = |
| 88 | PrincipalFraction.fraction p k n X Y f hp V g |
| 89 | (localParameters p k n X Z π U V hVU g t) r := by |
| 90 | dsimp only [ordinarySymbol] |
| 91 | rw [coefficient_eq p k n X Y f hp Z π U hU V hVU g t r] |
| 92 | change AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol _ _ _ _ = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol _ _ _ _ |
| 93 | congr 1 |
| 94 | funext j |
| 95 | exact (PrincipalFraction.coordinateUnit_val p k n X Y f hp V g |
| 96 | (localParameters p k n X Z π U V hVU g t) j).symm |
| 97 | |
| 98 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 99 | theorem integralSymbol_eq (r : WittVector p k) : |
| 100 | ULift.up.{2,1} (ULift.up.{1,0} |
| 101 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso (Truncated.Witt.Ring p k n) X |
| 102 | (topOpen p k n X Y f hp Z π U V hVU g t).val g).hom |
| 103 | (Integral.FormSectionUnit.unit (Truncated.Witt.Ring p k n) X g |
| 104 | (topOpen p k n X Y f hp Z π U V hVU g t).val |
| 105 | (ordinarySymbol p k n X Y f hp Z π U hU V hVU g t r)))) = |
| 106 | FractionClass.Integral.fraction p k n X Y f hp V g |
| 107 | (localParameters p k n X Z π U V hVU g t) r := by |
| 108 | rw [ordinarySymbol_eq] |
| 109 | rfl |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueFraction |