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.TopCoverCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.OrderedForget |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientComposition |
| 4 | |
| 5 | /-! # Top Cover Coefficient Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TopCoverCoefficientCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The additive forgetful source coordinate followed by its actual |
| 12 | double lift equals the original native top-cover coefficient input. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem mapped_composite {C D : Type*} [Category C] [Category D] |
| 18 | (F : C ⥤ D) {A B E : C} {T : D} |
| 19 | (a : A ⟶ B) (b : B ⟶ E) (c : F.obj E ⟶ T) : |
| 20 | F.map (a ≫ b) ≫ c = F.map a ≫ F.map b ≫ c := by |
| 21 | rw [Functor.map_comp, Category.assoc] |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 24 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 25 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 26 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 27 | {ι : Type} [LinearOrder ι] (U : ι → X.left.Opens) |
| 28 | |
| 29 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TopCoverCoefficients |
| 30 | abbrev lift := AdditiveTop.Comparison.lift |
| 31 | abbrev forget := forget₂ (ModuleCat (Truncated.Witt.Ring p k n)) AddCommGrpCat |
| 32 | abbrev additiveIso := Ordered.SingleGlobalSourceCoefficients.coefficientIso |
| 33 | lift (TopCoverCoefficients.form p k n X g).presheaf U g |
| 34 | |
| 35 | omit [Fintype k] [CharP k p] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [SmoothOfRelativeDimension g X.hom] in |
| 36 | theorem comparison : |
| 37 | lift.map ((ModuleCech.CohomologyNaturality.forgetHomologyIso |
| 38 | (Truncated.Witt.Ring p k n) X U (TopCoverCoefficients.form p k n X g) g).hom ≫ |
| 39 | homologyMap (OrderedCech.Projection.map U (TopCoverCoefficients.form p k n X g).presheaf) g) ≫ |
| 40 | (additiveIso p k n X g U).hom = TopCoverCoefficients.inputMap p k n X g U := by |
| 41 | let : PreservesColimitsOfSize.{2,2} (TopCoverCoefficients.second p k) := |
| 42 | ModuleCat.forget₂PreservesColimitsOfSize.{2,1,2,2} |
| 43 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 44 | have hp := ModuleCech.OrderedForget.comparison (Truncated.Witt.Ring p k n) |
| 45 | X (TopCoverCoefficients.form p k n X g) U g |
| 46 | have h₀ := OrderedCech.CoefficientComposition.homology U |
| 47 | (forget p k n) lift (TopCoverCoefficients.module p k n X g) g |
| 48 | have h₁ := OrderedCech.CoefficientComposition.homology.{0,1,0,3,2,3,2} |
| 49 | (A := ModuleCat.{0} (Truncated.Witt.Ring p k n)) |
| 50 | (B := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 51 | (D := AddCommGrpCat.{2}) U |
| 52 | (TopCoverCoefficients.first p k n) (TopCoverCoefficients.second p k) (TopCoverCoefficients.module p k n X g) g |
| 53 | have hc : |
| 54 | lift.map (Ordered.SingleGlobalSourceCoefficients.coefficientIso |
| 55 | (forget p k n) (TopCoverCoefficients.module p k n X g) U g).hom ≫ |
| 56 | (additiveIso p k n X g U).hom = |
| 57 | (TopCoverCoefficients.second p k).map (TopCoverCoefficients.firstIso p k n X g U).hom ≫ (TopCoverCoefficients.secondIso p k n X g U).hom := |
| 58 | h₀.trans h₁.symm |
| 59 | have he := congrArg (fun t => lift.map t ≫ (additiveIso p k n X g U).hom) hp.symm |
| 60 | refine he.trans ?_ |
| 61 | exact (mapped_composite lift _ _ _).trans |
| 62 | ((congrArg (fun t => lift.map ((forget p k n).map |
| 63 | (Module.OrderedCoverCoordinates.projection (Truncated.Witt.Ring p k n) |
| 64 | X (TopCoverCoefficients.form p k n X g) U g)) ≫ t) hc).trans |
| 65 | (mapped_composite (TopCoverCoefficients.second p k) |
| 66 | ((TopCoverCoefficients.first p k n).map (Module.OrderedCoverCoordinates.projection |
| 67 | (Truncated.Witt.Ring p k n) X (TopCoverCoefficients.form p k n X g) U g)) |
| 68 | (TopCoverCoefficients.firstIso p k n X g U).hom (TopCoverCoefficients.secondIso p k n X g U).hom).symm) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TopCoverCoefficientCoordinates |