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.AbelianModuli.HilbertConstruction.EndomorphismOrbitPolynomial |
| 2 | |
| 3 | /-! # Commuting Difference Annihilation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CommutingDifferenceAnnihilation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Commuting finite differences which annihilate one vector combine without assuming global nilpotence. -/ |
| 10 | universe u |
| 11 | |
| 12 | theorem endomorphism_pow_apply_zero_of_le {G : Type u} [AddCommGroup G] |
| 13 | (T : AddMonoid.End G) (v : G) {r n : ℕ} (hr : (T ^ r) v = 0) (hn : r ≤ n) : |
| 14 | (T ^ n) v = 0 := by |
| 15 | obtain ⟨d, rfl⟩ := Nat.exists_eq_add_of_le hn |
| 16 | rw [Nat.add_comm r d, pow_add] |
| 17 | change (T ^ d) ((T ^ r) v) = 0 |
| 18 | rw [hr, map_zero] |
| 19 | |
| 20 | theorem commuting_endomorphism_sum_annihilates {G : Type u} [AddCommGroup G] |
| 21 | (A B : AddMonoid.End G) (hAB : Commute A B) (v : G) (r s : ℕ) |
| 22 | (hA : (A ^ r) v = 0) (hB : (B ^ s) v = 0) : |
| 23 | ((A + B) ^ (r + s)) v = 0 := by |
| 24 | let ψ : AddMonoid.End G →+ G := |
| 25 | { toFun := fun T => T v, map_zero' := rfl, map_add' := fun _ _ => rfl } |
| 26 | have hψ (T : AddMonoid.End G) : ψ T = T v := rfl |
| 27 | calc |
| 28 | _ = ψ ((A + B) ^ (r + s)) := rfl |
| 29 | _ = ∑ ij ∈ Finset.antidiagonal (r + s), |
| 30 | ψ ((r + s).choose ij.1 • (A ^ ij.1 * B ^ ij.2)) := by |
| 31 | rw [hAB.add_pow', map_sum] |
| 32 | _ = 0 := by |
| 33 | apply Finset.sum_eq_zero |
| 34 | intro ij hij |
| 35 | have hsum := Finset.mem_antidiagonal.mp hij |
| 36 | have hz : (A ^ ij.1 * B ^ ij.2) v = 0 := by |
| 37 | by_cases hi : r ≤ ij.1 |
| 38 | · rw [(hAB.pow_pow ij.1 ij.2).eq] |
| 39 | change (B ^ ij.2) ((A ^ ij.1) v) = 0 |
| 40 | rw [endomorphism_pow_apply_zero_of_le A v hA hi, map_zero] |
| 41 | · have hj : s ≤ ij.2 := by omega |
| 42 | change (A ^ ij.1) ((B ^ ij.2) v) = 0 |
| 43 | rw [endomorphism_pow_apply_zero_of_le B v hB hj, map_zero] |
| 44 | rw [map_nsmul, hψ, hz, nsmul_zero] |
| 45 | |
| 46 | theorem commuting_tensor_differences_annihilate {G : Type u} [AddCommGroup G] |
| 47 | (T U : AddMonoid.End G) (hTU : Commute T U) (v : G) (r s : ℕ) |
| 48 | (hTUv : ((T * U - 1) ^ r) v = 0) (hUv : ((U - 1) ^ s) v = 0) : |
| 49 | ((T - 1) ^ (r + s)) v = 0 := by |
| 50 | let A := T * U - 1 |
| 51 | let B := T * (U - 1) |
| 52 | have hTB : Commute T (U - 1) := hTU.sub_right (Commute.one_right T) |
| 53 | have hTA : Commute T A := |
| 54 | ((Commute.refl T).mul_right hTU).sub_right (Commute.one_right T) |
| 55 | have hUA : Commute U A := |
| 56 | (hTU.symm.mul_right (Commute.refl U)).sub_right (Commute.one_right U) |
| 57 | have hAB : Commute A B := |
| 58 | hTA.symm.mul_right (hUA.symm.sub_right (Commute.one_right A)) |
| 59 | have hBv : (B ^ s) v = 0 := by |
| 60 | rw [show B ^ s = T ^ s * (U - 1) ^ s from hTB.mul_pow s] |
| 61 | change (T ^ s) (((U - 1) ^ s) v) = 0 |
| 62 | rw [hUv, map_zero] |
| 63 | have hnegBv : ((-B) ^ s) v = 0 := by |
| 64 | rw [neg_pow] |
| 65 | change ((-1 : AddMonoid.End G) ^ s) ((B ^ s) v) = 0 |
| 66 | rw [hBv, map_zero] |
| 67 | have h := commuting_endomorphism_sum_annihilates A (-B) hAB.neg_right v r s hTUv hnegBv |
| 68 | have he : A + -B = T - 1 := by |
| 69 | dsimp [A, B] |
| 70 | rw [mul_sub, mul_one, neg_sub, add_comm, sub_add_sub_cancel] |
| 71 | rwa [he] at h |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CommutingDifferenceAnnihilation |