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.Global.FrobeniusGeometry |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 3 | |
| 4 | /-! # Witt Frobenius Geometry -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.WittFrobeniusGeometry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Absolute Frobenius over the Witt-vector base |
| 12 | |
| 13 | The actual p-power Frobenius on a characteristic-p scheme lies over Witt |
| 14 | Frobenius. Both Witt Frobenius and its inverse preserve the canonical |
| 15 | divided powers, supplying the base automorphism for crystalline pullback. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Global.FrobeniusGeometry OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 23 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] |
| 26 | variable (k : Type u) [Field k] [CharP k p] [PerfectRing k p] |
| 27 | |
| 28 | local notation "W" => WittVector p k |
| 29 | local notation "φ" => WittVector.frobeniusEquiv p k |
| 30 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 31 | |
| 32 | theorem inverse_mem (x : W) (hx : x ∈ Ideal.span {(p : W)}) : |
| 33 | (φ).symm x ∈ Ideal.span {(p : W)} := by |
| 34 | obtain ⟨y, rfl⟩ := Ideal.mem_span_singleton.mp hx |
| 35 | rw [map_mul, map_natCast] |
| 36 | exact Ideal.mem_span_singleton.mpr (dvd_mul_right _ _) |
| 37 | |
| 38 | theorem inverse_isDPMorphism : DividedPowers.IsDPMorphism γ γ (φ).symm.toRingHom where |
| 39 | ideal_comp := Ideal.map_le_iff_le_comap.mpr (fun x hx => inverse_mem p k x hx) |
| 40 | dpow_comp {n} x hx := by |
| 41 | apply (φ).injective |
| 42 | change φ ((γ).dpow n ((φ).symm x)) = φ ((φ).symm ((γ).dpow n x)) |
| 43 | rw [AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.frobenius_dpow p k n _ (inverse_mem p k x hx), (φ).apply_symm_apply, |
| 44 | (φ).apply_symm_apply] |
| 45 | |
| 46 | omit [PerfectRing k p] in |
| 47 | theorem absoluteFrobenius_spec : |
| 48 | AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p (Fact.out : p.Prime) (Spec (CommRingCat.of k)) |
| 49 | (IntegralComparison.Global.FrobeniusGeometry.spec_prime_zero p k) = Spec.map (CommRingCat.ofHom (frobenius k p)) := by |
| 50 | apply IntegralComparison.Global.FrobeniusGeometry.hom_ext_appTop |
| 51 | apply (CategoryTheory.cancel_mono (Scheme.ΓSpecIso (CommRingCat.of k)).hom).mp |
| 52 | rw [Scheme.ΓSpecIso_naturality] |
| 53 | apply CommRingCat.hom_ext |
| 54 | apply RingHom.ext |
| 55 | intro s |
| 56 | change (Scheme.ΓSpecIso (CommRingCat.of k)).hom.hom (s ^ p) = |
| 57 | ((Scheme.ΓSpecIso (CommRingCat.of k)).hom.hom s) ^ p |
| 58 | exact map_pow _ s p |
| 59 | |
| 60 | def schemeFrobenius (X : Over (Spec (CommRingCat.of k))) : X.left ⟶ X.left := |
| 61 | AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p (Fact.out : p.Prime) X.left (IntegralComparison.Global.FrobeniusGeometry.scheme_prime_zero p k X.hom) |
| 62 | |
| 63 | theorem schemeFrobenius_over (X : Over (Spec (CommRingCat.of k))) : |
| 64 | schemeFrobenius p k X ≫ IntegralComparison.Witt.Crystalline.wittStructureMap p k X = |
| 65 | IntegralComparison.Witt.Crystalline.wittStructureMap p k X ≫ Spec.map (CommRingCat.ofHom (φ).toRingHom) := by |
| 66 | have hn := AlgebraicGeometry.Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius_naturality p (Fact.out : p.Prime) |
| 67 | (IntegralComparison.Global.FrobeniusGeometry.scheme_prime_zero p k X.hom) (IntegralComparison.Global.FrobeniusGeometry.spec_prime_zero p k) X.hom |
| 68 | change schemeFrobenius p k X ≫ X.hom = _ at hn |
| 69 | rw [absoluteFrobenius_spec p k] at hn |
| 70 | change schemeFrobenius p k X ≫ (X.hom ≫ Spec.map |
| 71 | (CommRingCat.ofHom (WittVector.constantCoeff : W →+* k))) = |
| 72 | (X.hom ≫ Spec.map (CommRingCat.ofHom (WittVector.constantCoeff : W →+* k))) ≫ _ |
| 73 | rw [← Category.assoc, hn, Category.assoc, Category.assoc, ← Spec.map_comp, ← Spec.map_comp] |
| 74 | congr 2 |
| 75 | apply CommRingCat.hom_ext |
| 76 | apply RingHom.ext |
| 77 | intro w |
| 78 | exact (WittVector.coeff_frobenius_charP p w 0).symm |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.WittFrobeniusGeometry |