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.OneForms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Nilpotence |
| 3 | import Mathlib.Algebra.Ring.GeomSum |
| 4 | |
| 5 | /-! # Logarithm -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PD.Logarithm |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite integral divided-power logarithm. If a factorial vanishes |
| 12 | in the coefficient ring, its differential is the logarithmic |
| 13 | differential of `1+x`. This compares genuine PD differential forms |
| 14 | without dividing by any integer. -/ |
| 15 | |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | universe u |
| 19 | variable {R A M : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 20 | [AddCommGroup M] [Module R M] [Module A M] |
| 21 | (I : Ideal A) (δ : DividedPowers I) |
| 22 | |
| 23 | def logarithm (N : ℕ) (x : A) : A := |
| 24 | ∑ j ∈ Finset.range N, ((-1 : A) ^ j * (j.factorial : A)) * δ.dpow (j + 1) x |
| 25 | |
| 26 | variable (D : Derivation R A M) |
| 27 | |
| 28 | theorem derivative_logarithm (N : ℕ) {x : A} (hx : x ∈ I) |
| 29 | (hD : ∀ j, D (δ.dpow (j + 1) x) = δ.dpow j x • D x) : |
| 30 | D (logarithm I δ N x) = (∑ j ∈ Finset.range N, (-x) ^ j) • D x := by |
| 31 | rw [logarithm, map_sum, Finset.sum_smul] |
| 32 | apply Finset.sum_congr rfl |
| 33 | intro j _ |
| 34 | have hc : D ((-1 : A) ^ j * (j.factorial : A)) = 0 := by simp |
| 35 | rw [D.leibniz, hc, smul_zero, add_zero, hD, smul_smul] |
| 36 | congr 1 |
| 37 | rw [mul_assoc, δ.factorial_mul_dpow_eq_pow hx] |
| 38 | exact (neg_pow x j).symm |
| 39 | |
| 40 | include δ in |
| 41 | theorem geometricInverse (N : ℕ) {x : A} (hx : x ∈ I) |
| 42 | (hN : (N.factorial : A) = 0) : |
| 43 | (∑ j ∈ Finset.range N, (-x) ^ j) * (1 + x) = 1 := by |
| 44 | have hxN : x ^ N = 0 := by |
| 45 | rw [← δ.factorial_mul_dpow_eq_pow hx, hN, zero_mul] |
| 46 | have hn : (-x) ^ N = 0 := by rw [neg_pow, hxN, mul_zero] |
| 47 | simpa only [sub_neg_eq_add, hn, sub_zero] using |
| 48 | (geom_sum_mul_neg (-x) N) |
| 49 | |
| 50 | def dlog (u : Aˣ) : M := (↑u⁻¹ : A) • D (u : A) |
| 51 | |
| 52 | theorem derivative_logarithm_unit (N : ℕ) (u : Aˣ) |
| 53 | (hu : (u : A) - 1 ∈ I) (hN : (N.factorial : A) = 0) |
| 54 | (hD : ∀ j, D (δ.dpow (j + 1) ((u : A) - 1)) = |
| 55 | δ.dpow j ((u : A) - 1) • D ((u : A) - 1)) : |
| 56 | D (logarithm I δ N ((u : A) - 1)) = dlog D u := by |
| 57 | rw [derivative_logarithm I δ D N hu hD] |
| 58 | have hi := geometricInverse I δ N hu hN |
| 59 | rw [show 1 + ((u : A) - 1) = (u : A) by ring] at hi |
| 60 | have he : (∑ j ∈ Finset.range N, (-((u : A) - 1)) ^ j) = (↑u⁻¹ : A) := by |
| 61 | calc |
| 62 | _ = ((∑ j ∈ Finset.range N, (-((u : A) - 1)) ^ j) * (u : A)) * ↑u⁻¹ := by |
| 63 | rw [mul_assoc, Units.mul_inv, mul_one] |
| 64 | _ = _ := by rw [hi, one_mul] |
| 65 | rw [he, map_sub, D.map_one_eq_zero, sub_zero] |
| 66 | rfl |
| 67 | |
| 68 | theorem dlog_mul (u v : Aˣ) : dlog D (u * v) = dlog D u + dlog D v := by |
| 69 | simp only [dlog, mul_inv_rev, Units.val_mul, D.leibniz, smul_add, smul_smul] |
| 70 | rw [show (↑v⁻¹ : A) * ↑u⁻¹ * ↑u = ↑v⁻¹ by simp [mul_assoc], |
| 71 | show (↑v⁻¹ : A) * ↑u⁻¹ * ↑v = ↑u⁻¹ by |
| 72 | rw [mul_right_comm, Units.inv_mul, one_mul], add_comm] |
| 73 | |
| 74 | theorem dlog_one : dlog D (1 : Aˣ) = 0 := by simp [dlog] |
| 75 | |
| 76 | theorem dlog_inv (u : Aˣ) : dlog D u⁻¹ = -dlog D u := by |
| 77 | have h := dlog_mul D u u⁻¹ |
| 78 | rw [mul_inv_cancel, dlog_one] at h |
| 79 | exact eq_neg_of_add_eq_zero_right h.symm |
| 80 | |
| 81 | theorem dlog_sub_exact (N : ℕ) (u v : Aˣ) |
| 82 | (huv : (↑(v * u⁻¹) : A) - 1 ∈ I) (hN : (N.factorial : A) = 0) |
| 83 | (hD : ∀ j, D (δ.dpow (j + 1) ((↑(v * u⁻¹) : A) - 1)) = |
| 84 | δ.dpow j ((↑(v * u⁻¹) : A) - 1) • D ((↑(v * u⁻¹) : A) - 1)) : |
| 85 | dlog D v - dlog D u = |
| 86 | D (logarithm I δ N ((↑(v * u⁻¹) : A) - 1)) := by |
| 87 | rw [derivative_logarithm_unit I δ D N (v * u⁻¹) huv hN hD, |
| 88 | dlog_mul, dlog_inv, sub_eq_add_neg] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PD.Logarithm |