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.PrincipalFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.WeightedIso |
| 4 | |
| 5 | /-! # Principal Fraction Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFractionClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal ordinary fraction and the original supported PD residue |
| 12 | correspond in the coefficient universe of the fixed injective resolution. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 21 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 22 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | (U : X.left.affineOpens) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 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 | (PrincipalOrdinaryMap.Ordinary.target p k n X U) |
| 35 | |
| 36 | def iso : Principal.Comparison.source p k n X Y f hp U ≅ |
| 37 | target p k n X U := |
| 38 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves (T := Cᵒᵖ) L).mapHomologicalComplex (.up ℕ)).mapIso |
| 39 | (PrincipalOrdinaryMap.Ordinary.iso p k n X Y f hp U) |
| 40 | |
| 41 | variable (g : ℕ) (a : Fin g → Γ(X.left, U.val)) |
| 42 | |
| 43 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDComplex.family p k Y Q g a |
| 44 | local notation "t" => OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDComplex.topCoefficient p k Y Q g a |
| 45 | |
| 46 | def fraction (r : WittVector p k) : ((target p k n X U).X g).obj (op t) := |
| 47 | ⟨⟨PrincipalFraction.fraction p k n X Y f hp U g a r⟩⟩ |
| 48 | |
| 49 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 50 | theorem map_weightedForm (r : WittVector p k) : |
| 51 | (((iso p k n X Y f hp U).hom.f g).app (op t)) |
| 52 | ((⟨r⟩ : R) • ResidueClass.form p k n X Y f hp U g a) = |
| 53 | fraction p k n X Y f hp U g a r := |
| 54 | congrArg (fun z => ULift.up.{2,1} (ULift.up.{1,0} z)) |
| 55 | (PrincipalFraction.map_weightedForm p k n X Y f hp U g a r) |
| 56 | |
| 57 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 58 | theorem fraction_closed (r : WittVector p k) : |
| 59 | ((target p k n X U).d g (g + 1)).app (op t) |
| 60 | (fraction p k n X Y f hp U g a r) = 0 := by |
| 61 | rw [← map_weightedForm] |
| 62 | apply AugmentedOrdered.CechCoefficientTop.mapped_coefficient_closed V |
| 63 | (iso p k n X Y f hp U).hom g (by simp) g |
| 64 | erw [map_smul, ResidueClass.form_closed p k n X Y f hp U g a, smul_zero] |
| 65 | |
| 66 | def fractionClass (r : WittVector p k) := |
| 67 | AugmentedOrdered.CechLargeTop.topTotalClass V (target p k n X U) g (by simp) g |
| 68 | (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) |
| 69 | |
| 70 | abbrev inverse_class (r : WittVector p k) := |
| 71 | AugmentedCech.WeightedIso.inverse_class V (iso p k n X Y f hp U) g (by simp) g |
| 72 | (ResidueClass.form p k n X Y f hp U g a) |
| 73 | (ResidueClass.form_closed p k n X Y f hp U g a) (⟨r⟩ : R) |
| 74 | (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) |
| 75 | (map_weightedForm p k n X Y f hp U g a r) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFractionClass |