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.Principal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDLogarithmicBoundary |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechLargeTop |
| 4 | |
| 5 | /-! # Residue Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal residue cocycle in the coefficient universe of the |
| 12 | original injective resolution. Its finite-log boundary proves independence |
| 13 | of the chosen lifts of the residual parameters. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (U : X.left.affineOpens) |
| 27 | |
| 28 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 29 | local notation "Q" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmallFrame.functor p k n X Y f hp) U |
| 30 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.source p k n X Y f hp U |
| 31 | |
| 32 | local instance coefficient_limits : HasLimitsOfSize.{0,0} (ModuleCat.{2} R) := |
| 33 | ModuleCat.hasLimitsOfSize.{0,0,2,1} |
| 34 | |
| 35 | local instance coefficient_colimits : HasColimitsOfSize.{0,0} (ModuleCat.{2} R) := |
| 36 | ModuleCat.hasColimitsOfSize.{2,1,0,0} R |
| 37 | |
| 38 | variable (g : ℕ) (a : Fin g → Γ(X.left, U.val)) |
| 39 | |
| 40 | def form : ((K).X g).obj (op (Supported.PDComplex.topCoefficient p k Y Q g a)) := |
| 41 | ⟨⟨Supported.PDComplex.logarithmicForm p k Y Q g a⟩⟩ |
| 42 | |
| 43 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 44 | theorem form_closed : ((K).d g (g + 1)).app (op (Supported.PDComplex.topCoefficient p k Y Q g a)) |
| 45 | (form p k n X Y f hp U g a) = 0 := |
| 46 | congrArg (fun z => ULift.up.{2,1} (ULift.up.{1,0} z)) |
| 47 | (Supported.PDComplex.logarithmicForm_closed p k Y Q g a) |
| 48 | |
| 49 | def residueClass := AugmentedOrdered.CechLargeTop.topTotalClass |
| 50 | (Supported.PDComplex.family p k Y Q g a) K g (by simp) g |
| 51 | (form p k n X Y f hp U g a) (form_closed p k n X Y f hp U g a) |
| 52 | |
| 53 | variable (b : Fin g → Γ(X.left, U.val)) |
| 54 | (hab : ∀ i, |
| 55 | ((SmallFrame.functor p k n X Y f hp).obj U).thickening.reduction (b i) = |
| 56 | ((SmallFrame.functor p k n X Y f hp).obj U).thickening.reduction (a i)) |
| 57 | |
| 58 | def changedForm : ((K).X g).obj (op (Supported.PDComplex.topCoefficient p k Y Q g a)) := |
| 59 | ⟨⟨Supported.PDLiftIndependence.Complex.changedLogarithmicForm p k Y Q g a b hab⟩⟩ |
| 60 | |
| 61 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 62 | theorem changedForm_closed : ((K).d g (g + 1)).app |
| 63 | (op (Supported.PDComplex.topCoefficient p k Y Q g a)) |
| 64 | (changedForm p k n X Y f hp U g a b hab) = 0 := |
| 65 | congrArg (fun z => ULift.up.{2,1} (ULift.up.{1,0} z)) |
| 66 | (Supported.PDLiftIndependence.Complex.changedLogarithmicForm_closed p k Y Q g a b hab) |
| 67 | |
| 68 | def changedResidueClass := AugmentedOrdered.CechLargeTop.topTotalClass |
| 69 | (Supported.PDComplex.family p k Y Q g a) K g (by simp) g |
| 70 | (changedForm p k n X Y f hp U g a b hab) (changedForm_closed p k n X Y f hp U g a b hab) |
| 71 | |
| 72 | omit [IsProper X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 73 | theorem changedResidueClass_eq : changedResidueClass p k n X Y f hp U g a b hab = |
| 74 | residueClass p k n X Y f hp U g a := by |
| 75 | cases g with |
| 76 | | zero => rfl |
| 77 | | succ d => |
| 78 | obtain ⟨r, hr⟩ := (Q).thickening.p_nilpotent |
| 79 | have hN := Supported.PDLogarithmicBoundary.Complex.factorial_zero_of_prime_power p k Y Q d a r hr |
| 80 | have hη := Supported.PDLogarithmicBoundary.Complex.primitiveForm_differential p k Y Q d a b hab (r * p) hN |
| 81 | apply AugmentedOrdered.CechLargeTop.topTotalClass_eq |
| 82 | (Supported.PDComplex.family p k Y Q (d + 1) a) K (d + 1) (by simp) d |
| 83 | (changedForm p k n X Y f hp U (d + 1) a b hab) |
| 84 | (form p k n X Y f hp U (d + 1) a) |
| 85 | (changedForm_closed p k n X Y f hp U (d + 1) a b hab) |
| 86 | (form_closed p k n X Y f hp U (d + 1) a) |
| 87 | ⟨⟨Supported.PDLogarithmicBoundary.Complex.primitiveForm p k Y Q d a b hab (r * p)⟩⟩ |
| 88 | exact congrArg (fun z => ULift.up.{2,1} (ULift.up.{1,0} z)) hη |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResidueClass |