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.AlgebraicGeometry.Crystalline.Cohomology.PD.InverseLimitUniversal |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.SequentialModule |
| 3 | |
| 4 | /-! # Inverse Limit Exact -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.InverseLimitExact.PDInverseLimitExact |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The exact difference sequence for the original PD inverse limit |
| 12 | |
| 13 | The existing completed PD ring is the kernel of the successive difference |
| 14 | map on the product of the actual thickening rings. Surjective successive |
| 15 | transitions make this an explicit short exact sequence of Witt modules. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Opposite |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k B : Type u) [Field k] [CharP k p] |
| 23 | [CommRing B] [Algebra k B] (F : ℕᵒᵖ ⥤ Thickening.AffinePDThickening p k B) |
| 24 | |
| 25 | local notation "W" => WittVector p k |
| 26 | abbrev LevelRing (n : ℕ) : Type u := (F.obj (op n)).ring |
| 27 | |
| 28 | local notation "M" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.InverseLimitExact.PDInverseLimitExact.LevelRing p k B F |
| 29 | |
| 30 | def successive (n : ℕ) : M (n + 1) →ₗ[W] M n := |
| 31 | (InverseLimit.PDInverseLimit.transition p k B F n (n + 1) (Nat.le_succ n)).hom.toLinearMap |
| 32 | |
| 33 | theorem compatible_of_successive (x : ∀ n, M n) |
| 34 | (hx : ∀ n, successive p k B F n (x (n + 1)) = x n) : |
| 35 | ∀ n m h, (InverseLimit.PDInverseLimit.transition p k B F n m h).hom (x m) = x n := by |
| 36 | intro n m h |
| 37 | induction m, h using Nat.le_induction with |
| 38 | | base => |
| 39 | exact congrArg (fun f => f.hom (x n)) (F.map_id (op n)) |
| 40 | | succ m h ih => |
| 41 | have hc := congrArg (fun f => f.hom (x (m + 1))) |
| 42 | (F.map_comp (homOfLE (Nat.le_succ m)).op (homOfLE h).op) |
| 43 | exact hc.trans ((congrArg (InverseLimit.PDInverseLimit.transition p k B F n m h).hom (hx m)).trans ih) |
| 44 | |
| 45 | def difference : (∀ n, M n) →ₗ[W] (∀ n, M n) := |
| 46 | SequentialModule.SequentialModuleDifference.difference W M (successive p k B F) |
| 47 | |
| 48 | def inclusion : InverseLimit.PDInverseLimit.Ring p k B F →ₗ[W] (∀ n, M n) where |
| 49 | toFun x := x.val |
| 50 | map_add' _ _ := rfl |
| 51 | map_smul' _ _ := rfl |
| 52 | |
| 53 | theorem difference_inclusion : (difference p k B F).comp (inclusion p k B F) = 0 := by |
| 54 | ext x n |
| 55 | exact sub_eq_zero.mpr (x.property n (n + 1) (Nat.le_succ n)).symm |
| 56 | |
| 57 | def sequence : ShortComplex (ModuleCat.{u} W) := |
| 58 | ShortComplex.mk (ModuleCat.ofHom (inclusion p k B F)) (ModuleCat.ofHom (difference p k B F)) |
| 59 | (ModuleCat.hom_ext (difference_inclusion p k B F)) |
| 60 | |
| 61 | theorem exact : (sequence p k B F).Exact := by |
| 62 | apply (ShortComplex.moduleCat_exact_iff (sequence p k B F)).mpr |
| 63 | intro x hx |
| 64 | have hc : ∀ n, successive p k B F n (x (n + 1)) = x n := by |
| 65 | intro n |
| 66 | exact (sub_eq_zero.mp (congrFun hx n)).symm |
| 67 | exact ⟨⟨x, compatible_of_successive p k B F x hc⟩, rfl⟩ |
| 68 | |
| 69 | instance inclusion_mono : Mono (sequence p k B F).f := |
| 70 | (ModuleCat.mono_iff_injective _).mpr Subtype.val_injective |
| 71 | |
| 72 | theorem shortExact (hF : ∀ n, Function.Surjective (successive p k B F n)) : |
| 73 | (sequence p k B F).ShortExact where |
| 74 | exact := PDInverseLimitExact.exact p k B F |
| 75 | epi_g := (ModuleCat.epi_iff_surjective _).mpr |
| 76 | (SequentialModule.SequentialModuleDifference.surjective W M (successive p k B F) hF) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.InverseLimitExact.PDInverseLimitExact |