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.Resolution.Blowups.Boundary.FactorExtraction |
| 2 | import Mathlib.RingTheory.Derivation.Basic |
| 3 | |
| 4 | /-! # Factor Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.FactorUniqueness.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Uniqueness of regular prime boundary factors and of the residual ideal. -/ |
| 11 | |
| 12 | variable {R : Type*} [CommRing R] |
| 13 | |
| 14 | /-- A regular principal factor can be cancelled in an inclusion of ideals. -/ |
| 15 | theorem regular_principal_mul_le_iff (c : R) (hc : IsRegular c) (I J : Ideal R) : |
| 16 | Ideal.span {c} * I ≤ Ideal.span {c} * J ↔ I ≤ J := by |
| 17 | constructor |
| 18 | · intro h |
| 19 | have he := Submodule.colon_mono h (le_refl (Ideal.span {c})) |
| 20 | rwa [ResidualCoefficientTransform.Construction.colon_principal_mul_of_regular I c hc, ResidualCoefficientTransform.Construction.colon_principal_mul_of_regular J c hc] at he |
| 21 | · exact Ideal.mul_mono le_rfl |
| 22 | |
| 23 | /-- A prime boundary factor has exactly the displayed exponent if the |
| 24 | remaining scalar and residual ideal are not divisible by that boundary. -/ |
| 25 | theorem prime_boundary_factor_exact_exponent (z m : R) (e : ℕ) (L : Ideal R) |
| 26 | (hz : IsRegular z) (hp : (Ideal.span {z}).IsPrime) |
| 27 | (hm : m ∉ Ideal.span {z}) (hL : ¬ L ≤ Ideal.span {z}) : |
| 28 | Ideal.span {z ^ e} * (Ideal.span {m} * L) ≤ Ideal.span {z} ^ e ∧ |
| 29 | ¬ Ideal.span {z ^ e} * (Ideal.span {m} * L) ≤ Ideal.span {z} ^ (e + 1) := by |
| 30 | constructor |
| 31 | · rw [Ideal.span_singleton_pow] |
| 32 | exact Ideal.mul_le_left |
| 33 | · intro h |
| 34 | rw [pow_succ, Ideal.span_singleton_pow] at h |
| 35 | have hml := (regular_principal_mul_le_iff (z ^ e) (hz.pow e) _ _).mp h |
| 36 | rcases hp.mul_le.mp hml with hm' | hL' |
| 37 | · exact hm ((Ideal.span_singleton_le_iff_mem _).mp hm') |
| 38 | · exact hL hL' |
| 39 | |
| 40 | /-- The exact exponent in an ideal-power filtration is unique. -/ |
| 41 | theorem exact_ideal_power_exponent_unique (I J : Ideal R) (a b : ℕ) |
| 42 | (ha : J ≤ I ^ a) (ha1 : ¬ J ≤ I ^ (a + 1)) |
| 43 | (hb : J ≤ I ^ b) (hb1 : ¬ J ≤ I ^ (b + 1)) : a = b := by |
| 44 | apply Nat.le_antisymm |
| 45 | · by_contra h |
| 46 | exact hb1 (ha.trans (Ideal.pow_le_pow_right (by omega))) |
| 47 | · by_contra h |
| 48 | exact ha1 (hb.trans (Ideal.pow_le_pow_right (by omega))) |
| 49 | |
| 50 | variable {ι : Type*} [DecidableEq ι] |
| 51 | |
| 52 | /-- Every exponent in a prime boundary factorization is the exact |
| 53 | order with respect to that boundary ideal. -/ |
| 54 | theorem finite_prime_boundary_factor_exact_exponent |
| 55 | (s : Finset ι) (z : ι → R) (a : ι → ℕ) (L : Ideal R) (i : ι) (hi : i ∈ s) |
| 56 | (hz : IsRegular (z i)) (hp : (Ideal.span {z i}).IsPrime) |
| 57 | (hind : ∀ j ∈ s, j ≠ i → z j ∉ Ideal.span {z i}) |
| 58 | (hL : ¬ L ≤ Ideal.span {z i}) : |
| 59 | Ideal.span {∏ j ∈ s, z j ^ a j} * L ≤ Ideal.span {z i} ^ a i ∧ |
| 60 | ¬ Ideal.span {∏ j ∈ s, z j ^ a j} * L ≤ Ideal.span {z i} ^ (a i + 1) := by |
| 61 | let P := Ideal.span {z i} |
| 62 | let : P.IsPrime := hp |
| 63 | have hm : (∏ j ∈ s.erase i, z j ^ a j) ∉ P := by |
| 64 | apply P.primeCompl.prod_mem |
| 65 | intro j hj |
| 66 | exact P.primeCompl.pow_mem (hind j (Finset.mem_of_mem_erase hj) (Finset.ne_of_mem_erase hj)) _ |
| 67 | have he : (∏ j ∈ s, z j ^ a j) = z i ^ a i * ∏ j ∈ s.erase i, z j ^ a j := |
| 68 | (Finset.mul_prod_erase s (fun j => z j ^ a j) hi).symm |
| 69 | rw [he, ← Ideal.span_singleton_mul_span_singleton, mul_assoc] |
| 70 | exact prime_boundary_factor_exact_exponent (z i) _ (a i) L hz hp hm hL |
| 71 | |
| 72 | /-- Residual primitivity makes the boundary exponents independent of the |
| 73 | order in which the factors were extracted. -/ |
| 74 | theorem finite_prime_boundary_exponents_unique |
| 75 | (s : Finset ι) (z : ι → R) (a b : ι → ℕ) (L M : Ideal R) |
| 76 | (hreg : ∀ i ∈ s, IsRegular (z i)) |
| 77 | (hprime : ∀ i ∈ s, (Ideal.span {z i}).IsPrime) |
| 78 | (hind : ∀ i ∈ s, ∀ j ∈ s, j ≠ i → z j ∉ Ideal.span {z i}) |
| 79 | (hL : ∀ i ∈ s, ¬ L ≤ Ideal.span {z i}) (hM : ∀ i ∈ s, ¬ M ≤ Ideal.span {z i}) |
| 80 | (he : Ideal.span {∏ i ∈ s, z i ^ a i} * L = Ideal.span {∏ i ∈ s, z i ^ b i} * M) : |
| 81 | ∀ i ∈ s, a i = b i := by |
| 82 | intro i hi |
| 83 | have ha := finite_prime_boundary_factor_exact_exponent s z a L i hi |
| 84 | (hreg i hi) (hprime i hi) (hind i hi) (hL i hi) |
| 85 | have hb := finite_prime_boundary_factor_exact_exponent s z b M i hi |
| 86 | (hreg i hi) (hprime i hi) (hind i hi) (hM i hi) |
| 87 | rw [← he] at hb |
| 88 | exact exact_ideal_power_exponent_unique _ _ (a i) (b i) ha.1 ha.2 hb.1 hb.2 |
| 89 | |
| 90 | omit [DecidableEq ι] in |
| 91 | /-- Once the exponents agree, regularity determines the residual ideal uniquely. -/ |
| 92 | theorem finite_regular_boundary_residual_unique |
| 93 | (s : Finset ι) (z : ι → R) (a b : ι → ℕ) (L M : Ideal R) |
| 94 | (hreg : ∀ i ∈ s, IsRegular (z i)) (hab : ∀ i ∈ s, a i = b i) |
| 95 | (he : Ideal.span {∏ i ∈ s, z i ^ a i} * L = Ideal.span {∏ i ∈ s, z i ^ b i} * M) : |
| 96 | L = M := by |
| 97 | have hprod : (∏ i ∈ s, z i ^ a i) = ∏ i ∈ s, z i ^ b i := |
| 98 | Finset.prod_congr rfl (fun i hi => congrArg (fun n => z i ^ n) (hab i hi)) |
| 99 | rw [← hprod] at he |
| 100 | have hregular : IsRegular (∏ i ∈ s, z i ^ a i) := |
| 101 | IsRegular.prod (fun i hi => (hreg i hi).pow (a i)) |
| 102 | exact le_antisymm |
| 103 | ((regular_principal_mul_le_iff _ hregular L M).mp he.le) |
| 104 | ((regular_principal_mul_le_iff _ hregular M L).mp he.ge) |
| 105 | |
| 106 | variable {k : Type*} [CommRing k] [Algebra k R] |
| 107 | |
| 108 | /-- Dual coordinate derivatives rule out divisibility of one coordinate |
| 109 | by another through the point. -/ |
| 110 | theorem transverse_coordinate_not_mem_span (D : Derivation k R R) (z w : R) |
| 111 | (hDz : D z = 0) (hDw : D w = 1) (q : Ideal R) (hq : q ≠ ⊤) (hzq : z ∈ q) : |
| 112 | w ∉ Ideal.span {z} := by |
| 113 | intro hw |
| 114 | obtain ⟨a, ha⟩ := Ideal.mem_span_singleton.mp hw |
| 115 | have hmem : D w ∈ q := by |
| 116 | rw [ha, D.leibniz, hDz, smul_zero, add_zero] |
| 117 | exact q.mul_mem_right (D a) hzq |
| 118 | rw [hDw] at hmem |
| 119 | exact hq (Ideal.eq_top_of_isUnit_mem q hmem isUnit_one) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.FactorUniqueness.Construction |