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.LogarithmicBoundaryReindex |
| 2 | |
| 3 | /-! # Logarithmic Etale Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicEtaleMap.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Logarithmic bounds under actual étale extensions and removal of absent boundary components. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | variable {R S ι : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 16 | [Algebra.FormallyEtale R S] |
| 17 | |
| 18 | /-- Extension of a logarithmic derivation preserves the actual extended boundary ideals. -/ |
| 19 | theorem extendEtaleRingDerivation_logarithmic (w : ι → R) (D : LogarithmicDerivation.Construction.logarithmicDerivations w) : |
| 20 | Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D.val ∈ |
| 21 | LogarithmicDerivation.Construction.logarithmicDerivations (fun i => algebraMap R S (w i)) := by |
| 22 | intro i |
| 23 | obtain ⟨t, ht⟩ := Ideal.mem_span_singleton.mp (D.property i) |
| 24 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, ht, map_mul] |
| 25 | exact Ideal.mul_mem_right _ _ (Ideal.mem_span_singleton_self _) |
| 26 | |
| 27 | theorem firstLogarithmicDifferentialIdeal_map_le (w : ι → R) (J : Ideal R) : |
| 28 | (LogarithmicBoundaryReindex.Construction.firstLogarithmicDifferentialIdeal w J).map (algebraMap R S) ≤ |
| 29 | LogarithmicBoundaryReindex.Construction.firstLogarithmicDifferentialIdeal (fun i => algebraMap R S (w i)) (J.map (algebraMap R S)) := by |
| 30 | rw [Ideal.map_le_iff_le_comap] |
| 31 | apply sup_le |
| 32 | · intro p hp |
| 33 | exact LogarithmicBoundaryReindex.Construction.le_firstLogarithmicDifferentialIdeal _ _ (Ideal.mem_map_of_mem _ hp) |
| 34 | · apply Ideal.span_le.mpr |
| 35 | rintro x ⟨⟨D, p⟩, rfl⟩ |
| 36 | change algebraMap R S (D.val p.val) ∈ |
| 37 | LogarithmicBoundaryReindex.Construction.firstLogarithmicDifferentialIdeal (fun i => algebraMap R S (w i)) (J.map (algebraMap R S)) |
| 38 | rw [← Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap (S := S) D.val p.val] |
| 39 | exact LogarithmicBoundaryReindex.Construction.logarithmic_derivation_mem_first _ _ |
| 40 | ⟨Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D.val, extendEtaleRingDerivation_logarithmic w D⟩ |
| 41 | (Ideal.mem_map_of_mem _ p.property) |
| 42 | |
| 43 | theorem iteratedLogarithmicDifferentialIdeal_map_le (w : ι → R) (J : Ideal R) (n : ℕ) : |
| 44 | (LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal w J n).map (algebraMap R S) ≤ |
| 45 | LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal (fun i => algebraMap R S (w i)) |
| 46 | (J.map (algebraMap R S)) n := by |
| 47 | induction n generalizing J with |
| 48 | | zero => exact le_rfl |
| 49 | | succ n ih => |
| 50 | exact (ih (LogarithmicBoundaryReindex.Construction.firstLogarithmicDifferentialIdeal w J)).trans |
| 51 | (LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal_mono _ n (firstLogarithmicDifferentialIdeal_map_le (S := S) w J)) |
| 52 | |
| 53 | /-- Logarithmic unit-ideal bounds persist under actual formally étale maps, |
| 54 | including localization at a point or on an affine open. -/ |
| 55 | theorem logarithmic_order_bound_map (w : ι → R) (J : Ideal R) (n : ℕ) |
| 56 | (h : LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal w J n = ⊤) : |
| 57 | LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal (fun i => algebraMap R S (w i)) |
| 58 | (J.map (algebraMap R S)) n = ⊤ := by |
| 59 | have hle := iteratedLogarithmicDifferentialIdeal_map_le (S := S) w J n |
| 60 | rw [h, Ideal.map_top] at hle |
| 61 | exact top_le_iff.mp hle |
| 62 | |
| 63 | end |
| 64 | |
| 65 | variable {R σ : Type*} [CommRing R] [DecidableEq σ] |
| 66 | |
| 67 | /-- Boundary equations that are units impose no logarithmic tangency condition. -/ |
| 68 | theorem logarithmicDerivations_remove_unit_components (w : σ → R) (B C : Finset σ) |
| 69 | (hCB : C ⊆ B) (hunit : ∀ i ∈ B, i ∉ C → IsUnit (w i)) : |
| 70 | LogarithmicDerivation.Construction.logarithmicDerivations (fun i : B => w i.val) = LogarithmicDerivation.Construction.logarithmicDerivations (fun i : C => w i.val) := by |
| 71 | ext D |
| 72 | constructor |
| 73 | · intro h i |
| 74 | exact h ⟨i.val, hCB i.property⟩ |
| 75 | · intro h i |
| 76 | by_cases hi : i.val ∈ C |
| 77 | · exact h ⟨i.val, hi⟩ |
| 78 | · change D (w i.val) ∈ Ideal.span {w i.val} |
| 79 | rw [Ideal.span_singleton_eq_top.mpr (hunit i.val i.property hi)] |
| 80 | exact Submodule.mem_top |
| 81 | |
| 82 | end |
| 83 | |
| 84 | /-! A logarithmic unit-ideal bound rules out residual boundary factors, including locally. -/ |
| 85 | |
| 86 | variable {R ι : Type*} [CommRing R] |
| 87 | |
| 88 | /-- Preserving a boundary generator's principal ideal implies preserving |
| 89 | every section of that ideal. -/ |
| 90 | theorem logarithmic_derivation_preserves_boundary_ideal (w : ι → R) |
| 91 | (D : LogarithmicDerivation.Construction.logarithmicDerivations w) (i : ι) (p : R) (hp : p ∈ Ideal.span {w i}) : |
| 92 | D.val p ∈ Ideal.span {w i} := by |
| 93 | obtain ⟨t, ht⟩ := Ideal.mem_span_singleton.mp hp |
| 94 | rw [ht, D.val.leibniz] |
| 95 | change w i * D.val t + t * D.val (w i) ∈ Ideal.span {w i} |
| 96 | exact (Ideal.span {w i}).add_mem |
| 97 | ((Ideal.span {w i}).mul_mem_right _ (Ideal.mem_span_singleton_self _)) |
| 98 | ((Ideal.span {w i}).mul_mem_left t (D.property i)) |
| 99 | |
| 100 | theorem firstLogarithmicDifferentialIdeal_preserves_boundary (w : ι → R) |
| 101 | (J : Ideal R) (i : ι) (hJ : J ≤ Ideal.span {w i}) : |
| 102 | LogarithmicBoundaryReindex.Construction.firstLogarithmicDifferentialIdeal w J ≤ Ideal.span {w i} := by |
| 103 | apply sup_le hJ |
| 104 | apply Ideal.span_le.mpr |
| 105 | rintro p ⟨⟨D, q⟩, rfl⟩ |
| 106 | exact logarithmic_derivation_preserves_boundary_ideal w D i q.val (hJ q.property) |
| 107 | |
| 108 | theorem iteratedLogarithmicDifferentialIdeal_preserves_boundary (w : ι → R) |
| 109 | (J : Ideal R) (i : ι) (n : ℕ) (hJ : J ≤ Ideal.span {w i}) : |
| 110 | LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal w J n ≤ Ideal.span {w i} := by |
| 111 | induction n generalizing J with |
| 112 | | zero => exact hJ |
| 113 | | succ n ih => |
| 114 | exact ih (LogarithmicBoundaryReindex.Construction.firstLogarithmicDifferentialIdeal w J) |
| 115 | (firstLogarithmicDifferentialIdeal_preserves_boundary w J i hJ) |
| 116 | |
| 117 | /-- A logarithmic unit-ideal bound prevents divisibility by any proper boundary equation. -/ |
| 118 | theorem logarithmic_order_bound_excludes_boundary_factor (w : ι → R) (J : Ideal R) (n : ℕ) |
| 119 | (hbound : LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal w J n = ⊤) |
| 120 | (i : ι) (hi : Ideal.span {w i} ≠ ⊤) : ¬ J ≤ Ideal.span {w i} := by |
| 121 | intro hJ |
| 122 | have hle := iteratedLogarithmicDifferentialIdeal_preserves_boundary w J i n hJ |
| 123 | rw [hbound] at hle |
| 124 | exact hi (top_le_iff.mp hle) |
| 125 | |
| 126 | /-- The exclusion holds in the actual local ring at every point of a |
| 127 | boundary component. Thus the preserved logarithmic bound already prevents |
| 128 | new residual divisibility by that component. -/ |
| 129 | theorem logarithmic_order_bound_excludes_local_boundary_factor (w : ι → R) (J : Ideal R) (n : ℕ) |
| 130 | (hbound : LogarithmicBoundaryReindex.Construction.iteratedLogarithmicDifferentialIdeal w J n = ⊤) |
| 131 | (q : Ideal R) [q.IsPrime] (i : ι) (hi : w i ∈ q) : |
| 132 | ¬ J.map (algebraMap R (Localization.AtPrime q)) ≤ |
| 133 | Ideal.span {algebraMap R (Localization.AtPrime q) (w i)} := by |
| 134 | let T := Localization.AtPrime q |
| 135 | let : Algebra.FormallyEtale R T := Algebra.FormallyEtale.of_isLocalization q.primeCompl |
| 136 | have hlog := logarithmic_order_bound_map (S := T) w J n hbound |
| 137 | apply logarithmic_order_bound_excludes_boundary_factor _ _ n hlog i |
| 138 | have himem : algebraMap R T (w i) ∈ IsLocalRing.maximalIdeal T := by |
| 139 | change w i ∈ (IsLocalRing.maximalIdeal T).under R |
| 140 | rw [Localization.AtPrime.under_maximalIdeal (I := q)] |
| 141 | exact hi |
| 142 | have hle := (Ideal.span_singleton_le_iff_mem (IsLocalRing.maximalIdeal T)).mpr himem |
| 143 | intro ht |
| 144 | rw [ht] at hle |
| 145 | exact (IsLocalRing.maximalIdeal.isMaximal T).ne_top (top_le_iff.mp hle) |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicEtaleMap.Construction |