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 Mathlib.RingTheory.DividedPowers.DPMorphism |
| 2 | import Mathlib.RingTheory.Derivation.Basic |
| 3 | |
| 4 | /-! # Base Derivation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.BaseDerivation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative derivations respect divided powers on a principal ideal extended from the base. -/ |
| 11 | |
| 12 | universe u v w |
| 13 | |
| 14 | variable (R : Type u) (A : Type v) [CommRing R] [CommRing A] [Algebra R A] |
| 15 | (r : R) (δR : DividedPowers (Ideal.span {r})) |
| 16 | (δA : DividedPowers (Ideal.span {algebraMap R A r})) |
| 17 | (hδ : DividedPowers.IsDPMorphism δR δA (algebraMap R A)) |
| 18 | (M : Type w) [AddCommGroup M] [Module R M] [Module A M] [IsScalarTower R A M] |
| 19 | (D : Derivation R A M) |
| 20 | |
| 21 | omit [IsScalarTower R A M] in |
| 22 | include hδ in |
| 23 | theorem base_constant (m : ℕ) : D (δA.dpow m (algebraMap R A r)) = 0 := by |
| 24 | rw [hδ.dpow_comp r (Ideal.subset_span (Set.mem_singleton r)), D.map_algebraMap] |
| 25 | |
| 26 | theorem recurrence (m : ℕ) : (m + 1 : A) * δA.dpow (m + 1) (algebraMap R A r) = |
| 27 | algebraMap R A r * δA.dpow m (algebraMap R A r) := by |
| 28 | have h := δA.mul_dpow (m := 1) (n := m) (Ideal.subset_span (Set.mem_singleton (algebraMap R A r))) |
| 29 | simpa only [δA.dpow_one (Ideal.subset_span (Set.mem_singleton (algebraMap R A r))), |
| 30 | Nat.choose_one_right, Nat.add_comm 1 m, Nat.cast_add, Nat.cast_one] using h.symm |
| 31 | |
| 32 | omit [IsScalarTower R A M] in |
| 33 | include hδ in |
| 34 | theorem compatible (m : ℕ) (x : A) (hx : x ∈ Ideal.span {algebraMap R A r}) : |
| 35 | D (δA.dpow (m + 1) x) = δA.dpow m x • D x := by |
| 36 | obtain ⟨z, rfl⟩ := Ideal.mem_span_singleton.mp hx |
| 37 | have hb : algebraMap R A r ∈ Ideal.span {algebraMap R A r} := Ideal.subset_span (Set.mem_singleton _) |
| 38 | rw [δA.dpow_mul_right hb, δA.dpow_mul_right hb, D.leibniz, |
| 39 | base_constant R A r δR δA hδ M D, smul_zero, add_zero, |
| 40 | D.leibniz, D.map_algebraMap, smul_zero, add_zero, D.leibniz_pow] |
| 41 | simp only [Nat.add_sub_cancel, ← Nat.cast_smul_eq_nsmul A, smul_smul, Nat.cast_add, Nat.cast_one] |
| 42 | congr 1 |
| 43 | calc |
| 44 | δA.dpow (m + 1) (algebraMap R A r) * ((m + 1 : A) * z ^ m) = |
| 45 | ((m + 1 : A) * δA.dpow (m + 1) (algebraMap R A r)) * z ^ m := by ring |
| 46 | _ = (δA.dpow m (algebraMap R A r) * z ^ m) * algebraMap R A r := by |
| 47 | rw [recurrence R A r δA] |
| 48 | ring |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.BaseDerivation |