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.PrincipalFractionClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSheafIso |
| 3 | |
| 4 | /-! # Fraction Class -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FractionClass.Integral |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual integral sheaf-form fraction represents the weighted |
| 11 | original supported crystalline residue under the canonical comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 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 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 27 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 28 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X.left U |
| 29 | local notation "Q" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame.functor p k n X Y f hp) U |
| 30 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.coefficients p k |
| 31 | |
| 32 | def target : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{2} R) ℕ := |
| 33 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves (T := Cᵒᵖ) L).mapHomologicalComplex (.up ℕ)).obj |
| 34 | (PrincipalSheafIso.target p k n X U) |
| 35 | |
| 36 | variable (σ : Type) [LinearOrder σ] |
| 37 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 38 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 39 | [IsScalarTower (Truncated.Witt.Ring p k n) (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 40 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 41 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) |
| 42 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring (Truncated.Witt.Ring p k n) X U.val)] |
| 43 | |
| 44 | def iso : Principal.Comparison.source p k n X Y f hp U ≅ target p k n X U := |
| 45 | PrincipalFractionClass.iso p k n X Y f hp U ≪≫ |
| 46 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves (T := Cᵒᵖ) L).mapHomologicalComplex (.up ℕ)).mapIso |
| 47 | (PrincipalSheafIso.iso p k n X U σ) |
| 48 | |
| 49 | variable (g : ℕ) (a : Fin g → Γ(X.left, U.val)) |
| 50 | |
| 51 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDComplex.family p k Y Q g a |
| 52 | local notation "t" => OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDComplex.topCoefficient p k Y Q g a |
| 53 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFraction.topOpen p k n X Y f hp U g a |
| 54 | |
| 55 | def fraction (r : WittVector p k) : ((target p k n X U).X g).obj (op t) := |
| 56 | ⟨⟨(Integral.IntrinsicFormNormalization.Intrinsic.iso S X (O).val g).hom |
| 57 | (Integral.FormSectionUnit.unit S X g (O).val |
| 58 | (PrincipalFraction.fraction p k n X Y f hp U g a r))⟩⟩ |
| 59 | |
| 60 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 61 | theorem map_weightedForm (r : WittVector p k) : |
| 62 | (((iso p k n X Y f hp U σ).hom.f g).app (op t)) |
| 63 | ((⟨r⟩ : R) • ResidueClass.form p k n X Y f hp U g a) = |
| 64 | fraction p k n X Y f hp U g a r := by |
| 65 | change (((((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves (T := Cᵒᵖ) L).mapHomologicalComplex (.up ℕ)).map |
| 66 | (PrincipalSheafIso.iso p k n X U σ).hom).f g).app (op t)) |
| 67 | ((((PrincipalFractionClass.iso p k n X Y f hp U).hom.f g).app (op t)) |
| 68 | ((⟨r⟩ : R) • ResidueClass.form p k n X Y f hp U g a)) = _ |
| 69 | erw [PrincipalFractionClass.map_weightedForm p k n X Y f hp U g a r] |
| 70 | exact congrArg (fun z => ULift.up.{2,1} (ULift.up.{1,0} z)) |
| 71 | (PrincipalSheafIso.integral_unit p k n X U σ g t |
| 72 | (PrincipalFraction.fraction p k n X Y f hp U g a r)) |
| 73 | |
| 74 | include σ in |
| 75 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 76 | theorem fraction_closed (r : WittVector p k) : |
| 77 | ((target p k n X U).d g (g + 1)).app (op t) |
| 78 | (fraction p k n X Y f hp U g a r) = 0 := by |
| 79 | rw [← map_weightedForm p k n X Y f hp U σ g a r] |
| 80 | apply AugmentedOrdered.CechCoefficientTop.mapped_coefficient_closed V |
| 81 | (iso p k n X Y f hp U σ).hom g (by simp) g |
| 82 | erw [map_smul, ResidueClass.form_closed p k n X Y f hp U g a, smul_zero] |
| 83 | |
| 84 | def fractionClass (r : WittVector p k) := |
| 85 | AugmentedOrdered.CechLargeTop.topTotalClass V (target p k n X U) g (by simp) g |
| 86 | (fraction p k n X Y f hp U g a r) (fraction_closed p k n X Y f hp U σ g a r) |
| 87 | |
| 88 | abbrev inverse_class (r : WittVector p k) := |
| 89 | AugmentedCech.WeightedIso.inverse_class V (iso p k n X Y f hp U σ) g (by simp) g |
| 90 | (ResidueClass.form p k n X Y f hp U g a) |
| 91 | (ResidueClass.form_closed p k n X Y f hp U g a) (⟨r⟩ : R) |
| 92 | (fraction p k n X Y f hp U g a r) (fraction_closed p k n X Y f hp U σ g a r) |
| 93 | (map_weightedForm p k n X Y f hp U σ g a r) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FractionClass.Integral |