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.LogarithmicIdeal |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicEtaleMap |
| 3 | |
| 4 | /-! # Logarithmic Boundary -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicBoundary.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Reindexing, removing absent boundaries, and mapping relative logarithmic bounds. -/ |
| 13 | |
| 14 | variable (k : Type*) {R ι κ : Type*} [CommRing k] [CommRing R] [Algebra k R] |
| 15 | |
| 16 | theorem relativeLogarithmicDerivations_congr_of_logarithmic |
| 17 | (w : ι → R) (v : κ → R) (h : LogarithmicDerivation.Construction.logarithmicDerivations w = LogarithmicDerivation.Construction.logarithmicDerivations v) : |
| 18 | LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w = LogarithmicIdeal.Construction.relativeLogarithmicDerivations k v := by |
| 19 | ext D |
| 20 | change D.restrictScalars ℤ ∈ LogarithmicDerivation.Construction.logarithmicDerivations w ↔ |
| 21 | D.restrictScalars ℤ ∈ LogarithmicDerivation.Construction.logarithmicDerivations v |
| 22 | rw [h] |
| 23 | |
| 24 | theorem iteratedRelativeLogarithmicDifferentialIdeal_congr_derivations |
| 25 | (w : ι → R) (v : κ → R) |
| 26 | (h : LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w = LogarithmicIdeal.Construction.relativeLogarithmicDerivations k v) |
| 27 | (J : Ideal R) (n : ℕ) : |
| 28 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n = |
| 29 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k v J n := by |
| 30 | have hfirst (L : Ideal R) : LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w L = |
| 31 | LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k v L := by |
| 32 | unfold LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal |
| 33 | rw [h] |
| 34 | induction n generalizing J with |
| 35 | | zero => rfl |
| 36 | | succ n ih => |
| 37 | change LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w |
| 38 | (LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w J) n = _ |
| 39 | rw [hfirst] |
| 40 | exact ih (LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k v J) |
| 41 | |
| 42 | theorem relativeLogarithmicDerivations_coordinate_boundary_reindex |
| 43 | {σ : Type*} [DecidableEq σ] (x : σ → R) (B : Finset σ) (i : σ) : |
| 44 | LogarithmicIdeal.Construction.relativeLogarithmicDerivations k |
| 45 | (fun j : Option B => Option.elim j (x i) (fun a => if a.val = i then 1 else x a.val)) = |
| 46 | LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun j : (insert i B : Finset σ) => x j.val) := |
| 47 | relativeLogarithmicDerivations_congr_of_logarithmic k _ _ |
| 48 | (LogarithmicBoundaryReindex.Construction.logarithmicDerivations_coordinate_boundary_reindex x B i) |
| 49 | |
| 50 | theorem relativeLogarithmicDerivations_remove_unit_components |
| 51 | {σ : Type*} [DecidableEq σ] (w : σ → R) (B C : Finset σ) |
| 52 | (hCB : C ⊆ B) (hunit : ∀ i ∈ B, i ∉ C → IsUnit (w i)) : |
| 53 | LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun i : B => w i.val) = |
| 54 | LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun i : C => w i.val) := |
| 55 | relativeLogarithmicDerivations_congr_of_logarithmic k _ _ |
| 56 | (LogarithmicEtaleMap.Construction.logarithmicDerivations_remove_unit_components w B C hCB hunit) |
| 57 | |
| 58 | variable {S : Type*} [CommRing S] [Algebra k S] [Algebra R S] |
| 59 | [IsScalarTower k R S] [Algebra.FormallyEtale R S] |
| 60 | |
| 61 | theorem extendEtaleRingDerivation_relative_logarithmic |
| 62 | (w : ι → R) (D : LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) : |
| 63 | Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D.val ∈ |
| 64 | LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun i => algebraMap R S (w i)) := by |
| 65 | intro i |
| 66 | obtain ⟨t, ht⟩ := Ideal.mem_span_singleton.mp (D.property i) |
| 67 | rw [Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, ht, map_mul] |
| 68 | exact Ideal.mul_mem_right _ _ (Ideal.mem_span_singleton_self _) |
| 69 | |
| 70 | theorem firstRelativeLogarithmicDifferentialIdeal_map_le (w : ι → R) (J : Ideal R) : |
| 71 | (LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w J).map (algebraMap R S) ≤ |
| 72 | LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k (fun i => algebraMap R S (w i)) |
| 73 | (J.map (algebraMap R S)) := by |
| 74 | rw [Ideal.map_le_iff_le_comap] |
| 75 | apply sup_le |
| 76 | · intro p hp |
| 77 | exact LogarithmicIdeal.Construction.le_firstRelativeLogarithmicDifferentialIdeal k _ _ (Ideal.mem_map_of_mem _ hp) |
| 78 | · apply Ideal.span_le.mpr |
| 79 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 80 | change algebraMap R S (D.val p.val) ∈ |
| 81 | LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k (fun i => algebraMap R S (w i)) |
| 82 | (J.map (algebraMap R S)) |
| 83 | rw [← Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap (S := S) D.val p.val] |
| 84 | exact LogarithmicIdeal.Construction.relative_logarithmic_derivation_mem_first k _ _ |
| 85 | ⟨Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D.val, |
| 86 | extendEtaleRingDerivation_relative_logarithmic k w D⟩ (Ideal.mem_map_of_mem _ p.property) |
| 87 | |
| 88 | theorem iteratedRelativeLogarithmicDifferentialIdeal_map_le (w : ι → R) (J : Ideal R) (n : ℕ) : |
| 89 | (LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n).map (algebraMap R S) ≤ |
| 90 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k (fun i => algebraMap R S (w i)) |
| 91 | (J.map (algebraMap R S)) n := by |
| 92 | induction n generalizing J with |
| 93 | | zero => exact le_rfl |
| 94 | | succ n ih => |
| 95 | exact (ih (LogarithmicIdeal.Construction.firstRelativeLogarithmicDifferentialIdeal k w J)).trans |
| 96 | (LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal_mono k _ n |
| 97 | (firstRelativeLogarithmicDifferentialIdeal_map_le (S := S) k w J)) |
| 98 | |
| 99 | theorem relative_logarithmic_order_bound_map (w : ι → R) (J : Ideal R) (n : ℕ) |
| 100 | (h : LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n = ⊤) : |
| 101 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k (fun i => algebraMap R S (w i)) |
| 102 | (J.map (algebraMap R S)) n = ⊤ := by |
| 103 | have hle := iteratedRelativeLogarithmicDifferentialIdeal_map_le (S := S) k w J n |
| 104 | rw [h, Ideal.map_top] at hle |
| 105 | exact top_le_iff.mp hle |
| 106 | |
| 107 | end |
| 108 | |
| 109 | /-! Surjective boundary reindexing leaves all relative logarithmic differential ideals unchanged. -/ |
| 110 | |
| 111 | variable (k : Type*) {R ι κ : Type*} [CommRing k] [CommRing R] [Algebra k R] |
| 112 | |
| 113 | theorem relativeLogarithmicDerivations_surjective_reindex |
| 114 | (w : ι → R) (e : κ → ι) (he : Function.Surjective e) : |
| 115 | LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun j => w (e j)) = LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w := by |
| 116 | ext D |
| 117 | change (∀ j, D (w (e j)) ∈ Ideal.span {w (e j)}) ↔ |
| 118 | ∀ i, D (w i) ∈ Ideal.span {w i} |
| 119 | constructor |
| 120 | · intro h i |
| 121 | obtain ⟨j, rfl⟩ := he i |
| 122 | exact h j |
| 123 | · intro h j |
| 124 | exact h (e j) |
| 125 | |
| 126 | theorem iteratedRelativeLogarithmicDifferentialIdeal_surjective_reindex |
| 127 | (w : ι → R) (e : κ → ι) (he : Function.Surjective e) (J : Ideal R) (n : ℕ) : |
| 128 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k (fun j => w (e j)) J n = |
| 129 | LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n := |
| 130 | iteratedRelativeLogarithmicDifferentialIdeal_congr_derivations k _ _ |
| 131 | (relativeLogarithmicDerivations_surjective_reindex k w e he) J n |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicBoundary.Construction |