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.AugmentedOrdered.CechTopTotal |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PD.LogarithmicHomotopyNaturality |
| 5 | |
| 6 | /-! # PD Complex -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDComplex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual supported Čech–PD complex of parameter principal opens |
| 13 | in an original affine crystalline frame. All arrows come from the |
| 14 | native principal-frame functor and original PD form presheaf. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.AlgebraicGeometry |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 20 | (X : Over (Spec (CommRingCat.of k))) (Q : AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X) |
| 21 | (g : ℕ) (a : Fin g → Q.thickening.ring) |
| 22 | |
| 23 | local notation "W" => WittVector p k |
| 24 | local notation "C" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PrincipalCoefficient.PrincipalCoefficientCategory.Object Q.thickening.ring |
| 25 | |
| 26 | def family : ULift.{u} (Fin g) → C := fun i => ⟨a i.down⟩ |
| 27 | |
| 28 | def restriction : ((AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X)ᵒᵖ ⥤ ModuleCat.{u} W) ⥤ |
| 29 | (Cᵒᵖ ⥤ ModuleCat.{u} W) := |
| 30 | (Functor.whiskeringLeft _ _ _).obj (AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.functor p k X Q).op |
| 31 | |
| 32 | instance restriction_additive : (restriction p k X Q).Additive where |
| 33 | map_add := rfl |
| 34 | |
| 35 | def localizedComplex : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} W) ℕ := |
| 36 | ((restriction p k X Q).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex p k X) |
| 37 | |
| 38 | def bicomplex : HomologicalComplex₂ (ModuleCat.{u} W) (.up ℕ) (.up ℕ) := |
| 39 | AugmentedOrdered.CechFunctor.bicomplex (family p k X Q g a) (localizedComplex p k X Q) |
| 40 | |
| 41 | def total : CochainComplex (ModuleCat.{u} W) ℕ := (bicomplex p k X Q g a).total (.up ℕ) |
| 42 | |
| 43 | def topCoefficient : C := AugmentedOrdered.CechCoordinates.topObject (family p k X Q g a) g (by simp) |
| 44 | |
| 45 | def topFrame : AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X := |
| 46 | AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.object p k X Q (topCoefficient p k X Q g a) |
| 47 | |
| 48 | def topProjection (i : Fin g) : topCoefficient p k X Q g a ⟶ family p k X Q g a ⟨i⟩ := by |
| 49 | let e := monoEquivOfFin (ULift.{u} (Fin g)) (by simp : Fintype.card (ULift.{u} (Fin g)) = g) |
| 50 | exact Pi.π (fun j : Fin g => family p k X Q g a (e j)) (e.symm ⟨i⟩) ≫ |
| 51 | eqToHom (congrArg (family p k X Q g a) (e.apply_symm_apply ⟨i⟩)) |
| 52 | |
| 53 | def coordinate (i : Fin g) : (topFrame p k X Q g a).thickening.ring := |
| 54 | (AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.projection p k X Q (topCoefficient p k X Q g a)).ambientMap (a i) |
| 55 | |
| 56 | theorem coordinate_isUnit (i : Fin g) : IsUnit (coordinate p k X Q g a i) := |
| 57 | AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.coefficient_unit p k X Q (topProjection p k X Q g a i) |
| 58 | |
| 59 | def coordinateUnit (i : Fin g) : (topFrame p k X Q g a).thickening.ringˣ := |
| 60 | (coordinate_isUnit p k X Q g a i).unit |
| 61 | |
| 62 | theorem coordinateUnit_val (i : Fin g) : |
| 63 | (coordinateUnit p k X Q g a i : (topFrame p k X Q g a).thickening.ring) = |
| 64 | coordinate p k X Q g a i := (coordinate_isUnit p k X Q g a i).unit_spec |
| 65 | |
| 66 | theorem localizedComplex_d (q : ℕ) (r : C) : |
| 67 | ((localizedComplex p k X Q).d q (q + 1)).app (op r) = |
| 68 | ModuleCat.ofHom (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential W (AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.object p k X Q r).thickening.ring |
| 69 | (RingHom.ker (AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.object p k X Q r).thickening.reduction) |
| 70 | (AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.object p k X Q r).thickening.dividedPowers q) := by |
| 71 | have hd : (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex p k X).d q (q + 1) = |
| 72 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.differentialPresheaf p k X q := by |
| 73 | dsimp only [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex] |
| 74 | rw [CochainComplex.of_d] |
| 75 | change ((restriction p k X Q).map |
| 76 | ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.presheafComplex p k X).d q (q + 1))).app (op r) = _ |
| 77 | rw [hd] |
| 78 | rfl |
| 79 | |
| 80 | def logarithmicForm : ((localizedComplex p k X Q).X g).obj (op (topCoefficient p k X Q g a)) := |
| 81 | PD.LogarithmicWedges.Forms.logarithmicWedge W (topFrame p k X Q g a).thickening.ring |
| 82 | (RingHom.ker (topFrame p k X Q g a).thickening.reduction) |
| 83 | (topFrame p k X Q g a).thickening.dividedPowers g (coordinateUnit p k X Q g a) |
| 84 | |
| 85 | theorem logarithmicForm_closed : |
| 86 | ((localizedComplex p k X Q).d g (g + 1)).app (op (topCoefficient p k X Q g a)) |
| 87 | (logarithmicForm p k X Q g a) = 0 := by |
| 88 | rw [localizedComplex_d] |
| 89 | exact PD.LogarithmicWedges.Forms.logarithmicWedge_closed _ _ _ _ g _ |
| 90 | |
| 91 | def residueCycle : Module.CochainClasses.cycles (PDComplex.total p k X Q g a) (g + g) := |
| 92 | AugmentedOrdered.CechTopTotal.topTotalCycle (family p k X Q g a) (localizedComplex p k X Q) |
| 93 | g (by simp) g (logarithmicForm p k X Q g a) (logarithmicForm_closed p k X Q g a) |
| 94 | |
| 95 | def residueClass : (PDComplex.total p k X Q g a).homology (g + g) := |
| 96 | Module.CochainClasses.classMap _ _ (residueCycle p k X Q g a) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.PDComplex |