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.Polynomial.StandardEtaleLift |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing |
| 4 | |
| 5 | /-! # Standard Etale Lift -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.StandardEtaleLift |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual standard étale chart over a finite Witt ring is the |
| 12 | prescribed quotient of a smooth flat Witt algebra. Its original |
| 13 | special-fiber reduction has kernel generated by the prime. -/ |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) (σ : Type v) [Finite σ] (A : Type u) [CommRing A] |
| 19 | [Algebra (Witt.Ring p k n) A] |
| 20 | [Algebra (MvPolynomial σ (Witt.Ring p k n)) A] |
| 21 | [IsScalarTower (Witt.Ring p k n) |
| 22 | (MvPolynomial σ (Witt.Ring p k n)) A] |
| 23 | (P : StandardEtalePresentation (MvPolynomial σ (Witt.Ring p k n)) A) |
| 24 | |
| 25 | local notation "W" => WittVector p k |
| 26 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 27 | |
| 28 | abbrev Ring := Polynomial.StandardEtaleLift.Ring W S Ideal.Quotient.mk_surjective σ A P |
| 29 | |
| 30 | def reduction : Ring p k n σ A P →+* A := |
| 31 | Polynomial.StandardEtaleLift.reduction W S Ideal.Quotient.mk_surjective σ A P |
| 32 | |
| 33 | omit [Fintype k] [CharP k p] in |
| 34 | omit [Finite σ] [Algebra S A] [IsScalarTower S (MvPolynomial σ S) A] in |
| 35 | theorem reduction_surjective : Function.Surjective (reduction p k n σ A P) := |
| 36 | Polynomial.StandardEtaleLift.reduction_surjective W S Ideal.Quotient.mk_surjective σ A P |
| 37 | |
| 38 | omit [Fintype k] [CharP k p] in |
| 39 | omit [Finite σ] in |
| 40 | theorem reduction_base (w : W) : |
| 41 | reduction p k n σ A P (algebraMap W (Ring p k n σ A P) w) = |
| 42 | algebraMap S A (Witt.quotient p k n w) := |
| 43 | Polynomial.StandardEtaleLift.reduction_base W S Ideal.Quotient.mk_surjective σ A P w |
| 44 | |
| 45 | omit [Fintype k] [CharP k p] in |
| 46 | omit [Finite σ] [Algebra S A] [IsScalarTower S (MvPolynomial σ S) A] in |
| 47 | theorem reduction_kernel : RingHom.ker (reduction p k n σ A P) = |
| 48 | (Ideal.span {(p : Ring p k n σ A P)}) ^ (n + 1) := by |
| 49 | rw [reduction, Polynomial.StandardEtaleLift.reduction_kernel] |
| 50 | change (RingHom.ker (Ideal.Quotient.mk ((Ideal.span {(p : W)}) ^ (n + 1)))).map |
| 51 | (algebraMap W (Ring p k n σ A P)) = _ |
| 52 | rw [Ideal.mk_ker, Ideal.map_pow, Ideal.map_span, Set.image_singleton, map_natCast] |
| 53 | |
| 54 | def quotientEquiv : SmoothWitt.FrameRing.Ring p (Ring p k n σ A P) n ≃+* A := |
| 55 | (Ideal.quotEquivOfEq (reduction_kernel p k n σ A P).symm).trans |
| 56 | (RingHom.quotientKerEquivOfSurjective (reduction_surjective p k n σ A P)) |
| 57 | |
| 58 | omit [Fintype k] [CharP k p] in |
| 59 | omit [Finite σ] [Algebra S A] [IsScalarTower S (MvPolynomial σ S) A] in |
| 60 | theorem quotientEquiv_mk (a : Ring p k n σ A P) : |
| 61 | quotientEquiv p k n σ A P (Ideal.Quotient.mk ((Ideal.span {(p : Ring p k n σ A P)}) ^ (n + 1)) a) = |
| 62 | reduction p k n σ A P a := by |
| 63 | change (RingHom.quotientKerEquivOfSurjective (reduction_surjective p k n σ A P)) |
| 64 | ((Ideal.quotEquivOfEq (reduction_kernel p k n σ A P).symm) (Ideal.Quotient.mk _ a)) = _ |
| 65 | rw [Ideal.quotEquivOfEq_mk] |
| 66 | rfl |
| 67 | |
| 68 | variable (C : Type u) [CommRing C] [Algebra k C] (ρ : A →+* C) |
| 69 | (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 70 | (hbase : ∀ w : WittVector p k, |
| 71 | ρ (algebraMap (Witt.Ring p k n) A (Witt.quotient p k n w)) = |
| 72 | algebraMap k C (WittVector.constantCoeff w)) |
| 73 | |
| 74 | def residue : Ring p k n σ A P →+* C := ρ.comp (reduction p k n σ A P) |
| 75 | |
| 76 | omit [Fintype k] [CharP k p] [Algebra k C] in |
| 77 | include hρ in |
| 78 | omit [Finite σ] [Algebra S A] [IsScalarTower S (MvPolynomial σ S) A] in |
| 79 | theorem residue_surjective : Function.Surjective (residue p k n σ A P C ρ) := |
| 80 | hρ.comp (reduction_surjective p k n σ A P) |
| 81 | |
| 82 | omit [Fintype k] [CharP k p] [Algebra k C] in |
| 83 | include hker in |
| 84 | omit [Finite σ] [Algebra S A] [IsScalarTower S (MvPolynomial σ S) A] in |
| 85 | theorem residue_kernel : RingHom.ker (residue p k n σ A P C ρ) = |
| 86 | Ideal.span {(p : Ring p k n σ A P)} := by |
| 87 | have hm : (Ideal.span {(p : Ring p k n σ A P)}).map (reduction p k n σ A P) = |
| 88 | Ideal.span {(p : A)} := by |
| 89 | rw [Ideal.map_span, Set.image_singleton, map_natCast] |
| 90 | change (RingHom.ker ρ).comap (reduction p k n σ A P) = _ |
| 91 | rw [hker, ← hm, Ideal.comap_map_of_surjective _ (reduction_surjective p k n σ A P), |
| 92 | ← RingHom.ker_eq_comap_bot, reduction_kernel] |
| 93 | exact sup_eq_left.mpr (Ideal.pow_le_self (Nat.succ_ne_zero n)) |
| 94 | |
| 95 | omit [Fintype k] [CharP k p] in |
| 96 | include hbase in |
| 97 | omit [Finite σ] in |
| 98 | theorem residue_base (w : W) : |
| 99 | residue p k n σ A P C ρ (algebraMap W (Ring p k n σ A P) w) = |
| 100 | algebraMap k C (WittVector.constantCoeff w) := by |
| 101 | change ρ (reduction p k n σ A P (algebraMap W (Ring p k n σ A P) w)) = _ |
| 102 | rw [reduction_base] |
| 103 | exact hbase w |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.StandardEtaleLift |