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.Relative.DifferentialBlowup |
| 2 | import Mathlib.Algebra.Module.Submodule.RestrictScalars |
| 3 | |
| 4 | /-! # Differential Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Relative.DifferentialProducts.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative differential ideals of sums and products with ideal powers. -/ |
| 11 | |
| 12 | variable (k : Type*) {R : Type*} [CommRing k] [CommRing R] [Algebra k R] |
| 13 | |
| 14 | theorem firstRelativeDifferentialIdeal_iSup {ι : Sort*} (J : ι → Ideal R) : |
| 15 | DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (⨆ i, J i) = |
| 16 | ⨆ i, DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (J i) := by |
| 17 | apply le_antisymm |
| 18 | · apply sup_le |
| 19 | · exact iSup_mono fun i => DifferentialBlowup.Construction.le_firstRelativeDifferentialIdeal k (J i) |
| 20 | · apply Ideal.span_le.mpr |
| 21 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 22 | have hD : (⨆ i, J i).restrictScalars k ≤ |
| 23 | ((⨆ i, DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (J i)).restrictScalars k).comap |
| 24 | D.toLinearMap := by |
| 25 | rw [Submodule.restrictScalars_iSup] |
| 26 | apply iSup_le |
| 27 | intro i x hx |
| 28 | exact (le_iSup (fun i => DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (J i)) i) |
| 29 | (DifferentialBlowup.Construction.relative_derivation_mem_first k (J i) D hx) |
| 30 | exact hD p.property |
| 31 | · apply iSup_le |
| 32 | intro i |
| 33 | exact DifferentialBlowup.Construction.firstRelativeDifferentialIdeal_mono k (le_iSup J i) |
| 34 | |
| 35 | theorem iteratedRelativeDifferentialIdeal_iSup {ι : Sort*} (J : ι → Ideal R) (n : ℕ) : |
| 36 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (⨆ i, J i) n = |
| 37 | ⨆ i, DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J i) n := by |
| 38 | induction n generalizing J with |
| 39 | | zero => rfl |
| 40 | | succ n ih => |
| 41 | simp only [DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal, firstRelativeDifferentialIdeal_iSup] |
| 42 | exact ih _ |
| 43 | |
| 44 | theorem firstRelativeDifferentialIdeal_sup (J L : Ideal R) : |
| 45 | DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (J ⊔ L) = |
| 46 | DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J ⊔ DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k L := by |
| 47 | apply le_antisymm |
| 48 | · apply sup_le |
| 49 | · exact sup_le_sup (DifferentialBlowup.Construction.le_firstRelativeDifferentialIdeal k J) |
| 50 | (DifferentialBlowup.Construction.le_firstRelativeDifferentialIdeal k L) |
| 51 | · apply Ideal.span_le.mpr |
| 52 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 53 | obtain ⟨x, hx, y, hy, hxy⟩ := Submodule.mem_sup.mp p.property |
| 54 | change D p.val ∈ DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J ⊔ DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k L |
| 55 | rw [← hxy, map_add] |
| 56 | exact Submodule.add_mem_sup (DifferentialBlowup.Construction.relative_derivation_mem_first k J D hx) |
| 57 | (DifferentialBlowup.Construction.relative_derivation_mem_first k L D hy) |
| 58 | · exact sup_le (DifferentialBlowup.Construction.firstRelativeDifferentialIdeal_mono k le_sup_left) |
| 59 | (DifferentialBlowup.Construction.firstRelativeDifferentialIdeal_mono k le_sup_right) |
| 60 | |
| 61 | theorem iteratedRelativeDifferentialIdeal_sup (J L : Ideal R) (n : ℕ) : |
| 62 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J ⊔ L) n = |
| 63 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n ⊔ DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k L n := by |
| 64 | induction n generalizing J L with |
| 65 | | zero => rfl |
| 66 | | succ n ih => |
| 67 | simp only [DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal, firstRelativeDifferentialIdeal_sup] |
| 68 | exact ih _ _ |
| 69 | |
| 70 | theorem iteratedRelativeDifferentialIdeal_add (J : Ideal R) (m n : ℕ) : |
| 71 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J (m + n) = |
| 72 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m) n := by |
| 73 | induction m generalizing J with |
| 74 | | zero => simp only [Nat.zero_add, DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal] |
| 75 | | succ m ih => |
| 76 | rw [Nat.succ_add] |
| 77 | exact ih (DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J) |
| 78 | |
| 79 | theorem firstRelativeDifferentialIdeal_product_power_le (J T : Ideal R) (j : ℕ) : |
| 80 | DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (J * T ^ (j + 1)) ≤ |
| 81 | DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J * T ^ (j + 1) ⊔ J * T ^ j := by |
| 82 | apply sup_le |
| 83 | · exact (Ideal.mul_mono (DifferentialBlowup.Construction.le_firstRelativeDifferentialIdeal k J) le_rfl).trans le_sup_left |
| 84 | · apply Ideal.span_le.mpr |
| 85 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 86 | change D p.val ∈ DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J * T ^ (j + 1) ⊔ J * T ^ j |
| 87 | refine Submodule.mul_induction_on p.property ?_ ?_ |
| 88 | · intro x hx y hy |
| 89 | rw [D.leibniz] |
| 90 | change x * D y + y * D x ∈ _ |
| 91 | apply Ideal.add_mem |
| 92 | · exact Submodule.mem_sup_right (Ideal.mul_mem_mul hx |
| 93 | (DifferentialOrder.Construction.derivation_mem_pow (D.restrictScalars ℤ) T j hy)) |
| 94 | · rw [mul_comm y (D x)] |
| 95 | exact Submodule.mem_sup_left (Ideal.mul_mem_mul |
| 96 | (DifferentialBlowup.Construction.relative_derivation_mem_first k J D hx) hy) |
| 97 | · intro x y hx hy |
| 98 | rw [map_add] |
| 99 | exact Ideal.add_mem _ hx hy |
| 100 | |
| 101 | /-- An ideal with `m+1` differential orders of vanishing along `T`, multiplied |
| 102 | by `T^j`, gains `j` further differential orders. -/ |
| 103 | theorem relativeDifferential_product_power_bound (J T : Ideal R) (m j : ℕ) |
| 104 | (hJ : DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J m ≤ T) : |
| 105 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J * T ^ j) (m + j) ≤ T := by |
| 106 | induction m generalizing J j with |
| 107 | | zero => |
| 108 | have hprod : J * T ^ j ≤ T ^ (j + 1) := by |
| 109 | rw [pow_succ'] |
| 110 | exact Ideal.mul_mono hJ le_rfl |
| 111 | have h := DifferentialIdealTransform.Construction.iteratedDifferentialIdeal_le_pow T (J * T ^ j) 1 j |
| 112 | (by simpa only [Nat.add_comm 1 j] using hprod) |
| 113 | have hpow : DifferentialIdealTransform.Construction.iteratedDifferentialIdeal (J * T ^ j) j ≤ T := by |
| 114 | simpa only [pow_one] using h |
| 115 | simpa only [Nat.zero_add] using |
| 116 | (DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal_le_ordinary k (J * T ^ j) j).trans hpow |
| 117 | | succ m ihm => |
| 118 | induction j with |
| 119 | | zero => simpa only [pow_zero, mul_one, Nat.add_zero] using hJ |
| 120 | | succ j ihj => |
| 121 | have hstep := DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal_mono k (m + j + 1) |
| 122 | (firstRelativeDifferentialIdeal_product_power_le k J T j) |
| 123 | rw [iteratedRelativeDifferentialIdeal_sup] at hstep |
| 124 | have hleft := ihm (DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J) (j + 1) hJ |
| 125 | have hright := ihj |
| 126 | have hbound : DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 127 | (DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (J * T ^ (j + 1))) (m + j + 1) ≤ T := |
| 128 | hstep.trans (sup_le (by simpa only [Nat.add_assoc] using hleft) |
| 129 | (by simpa only [Nat.succ_add, Nat.add_succ] using hright)) |
| 130 | rw [show m.succ + j.succ = (m + j + 1) + 1 by omega] |
| 131 | exact hbound |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.Resolution.Blowups.Relative.DifferentialProducts.Construction |