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 OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicBoundaryReindex |
| 3 | |
| 4 | /-! # Logarithmic Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicIdeal.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Boundary-tangent differential ideals relative to the fixed coefficient ring. -/ |
| 11 | |
| 12 | variable (k : Type*) {R ι : Type*} [CommRing k] [CommRing R] [Algebra k R] |
| 13 | |
| 14 | /-- Derivations over the coefficient ring preserving every boundary equation's ideal. -/ |
| 15 | def relativeLogarithmicDerivations (w : ι → R) : Submodule R (Derivation k R R) where |
| 16 | carrier := {D | ∀ i, D (w i) ∈ Ideal.span {w i}} |
| 17 | zero_mem' i := by simp |
| 18 | add_mem' hD hE i := by |
| 19 | change _ + _ ∈ Ideal.span {w i} |
| 20 | exact (Ideal.span {w i}).add_mem (hD i) (hE i) |
| 21 | smul_mem' r D hD i := by |
| 22 | change r • D (w i) ∈ Ideal.span {w i} |
| 23 | exact (Ideal.span {w i}).smul_mem r (hD i) |
| 24 | |
| 25 | def firstRelativeLogarithmicDifferentialIdeal (w : ι → R) (J : Ideal R) : Ideal R := |
| 26 | J ⊔ Ideal.span (Set.range |
| 27 | (fun t : relativeLogarithmicDerivations k w × J => t.1.val t.2.val)) |
| 28 | |
| 29 | def iteratedRelativeLogarithmicDifferentialIdeal (w : ι → R) (J : Ideal R) : ℕ → Ideal R |
| 30 | | 0 => J |
| 31 | | n + 1 => iteratedRelativeLogarithmicDifferentialIdeal w |
| 32 | (firstRelativeLogarithmicDifferentialIdeal k w J) n |
| 33 | |
| 34 | theorem le_firstRelativeLogarithmicDifferentialIdeal (w : ι → R) (J : Ideal R) : |
| 35 | J ≤ firstRelativeLogarithmicDifferentialIdeal k w J := le_sup_left |
| 36 | |
| 37 | theorem relative_logarithmic_derivation_mem_first (w : ι → R) (J : Ideal R) |
| 38 | (D : relativeLogarithmicDerivations k w) {p : R} (hp : p ∈ J) : |
| 39 | D.val p ∈ firstRelativeLogarithmicDifferentialIdeal k w J := |
| 40 | Submodule.mem_sup_right (Ideal.subset_span ⟨⟨D, ⟨p, hp⟩⟩, rfl⟩) |
| 41 | |
| 42 | theorem firstRelativeLogarithmicDifferentialIdeal_mono (w : ι → R) |
| 43 | {J L : Ideal R} (h : J ≤ L) : |
| 44 | firstRelativeLogarithmicDifferentialIdeal k w J ≤ |
| 45 | firstRelativeLogarithmicDifferentialIdeal k w L := by |
| 46 | apply sup_le |
| 47 | · exact h.trans (le_firstRelativeLogarithmicDifferentialIdeal k w L) |
| 48 | · apply Ideal.span_le.mpr |
| 49 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 50 | exact relative_logarithmic_derivation_mem_first k w L D (h p.property) |
| 51 | |
| 52 | theorem firstRelativeLogarithmicDifferentialIdeal_le_relative (w : ι → R) (J : Ideal R) : |
| 53 | firstRelativeLogarithmicDifferentialIdeal k w J ≤ DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J := by |
| 54 | apply sup_le |
| 55 | · exact DifferentialBlowup.Construction.le_firstRelativeDifferentialIdeal k J |
| 56 | · apply Ideal.span_le.mpr |
| 57 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 58 | exact DifferentialBlowup.Construction.relative_derivation_mem_first k J D.val p.property |
| 59 | |
| 60 | theorem iteratedRelativeLogarithmicDifferentialIdeal_mono (w : ι → R) (n : ℕ) |
| 61 | {J L : Ideal R} (h : J ≤ L) : |
| 62 | Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n ≤ |
| 63 | Construction.iteratedRelativeLogarithmicDifferentialIdeal k w L n := by |
| 64 | induction n generalizing J L with |
| 65 | | zero => exact h |
| 66 | | succ n ih => exact ih (firstRelativeLogarithmicDifferentialIdeal_mono k w h) |
| 67 | |
| 68 | theorem iteratedRelativeLogarithmicDifferentialIdeal_le_relative (w : ι → R) |
| 69 | (J : Ideal R) (n : ℕ) : |
| 70 | Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n ≤ |
| 71 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n := by |
| 72 | induction n generalizing J with |
| 73 | | zero => exact le_rfl |
| 74 | | succ n ih => |
| 75 | exact (ih (firstRelativeLogarithmicDifferentialIdeal k w J)).trans |
| 76 | (DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal_mono k n |
| 77 | (firstRelativeLogarithmicDifferentialIdeal_le_relative k w J)) |
| 78 | |
| 79 | theorem first_iteratedRelativeLogarithmicDifferentialIdeal (w : ι → R) (J : Ideal R) (n : ℕ) : |
| 80 | firstRelativeLogarithmicDifferentialIdeal k w |
| 81 | (Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n) = |
| 82 | Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J (n + 1) := by |
| 83 | induction n generalizing J with |
| 84 | | zero => rfl |
| 85 | | succ n ih => exact ih (firstRelativeLogarithmicDifferentialIdeal k w J) |
| 86 | |
| 87 | /-- With no boundary, the relative logarithmic ideal is exactly the intrinsic |
| 88 | relative differential ideal used for homogenization. -/ |
| 89 | theorem firstRelativeLogarithmicDifferentialIdeal_empty [IsEmpty ι] (w : ι → R) (J : Ideal R) : |
| 90 | firstRelativeLogarithmicDifferentialIdeal k w J = DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k J := by |
| 91 | apply le_antisymm (firstRelativeLogarithmicDifferentialIdeal_le_relative k w J) |
| 92 | apply sup_le (le_firstRelativeLogarithmicDifferentialIdeal k w J) |
| 93 | apply Ideal.span_le.mpr |
| 94 | rintro _ ⟨⟨D, p⟩, rfl⟩ |
| 95 | exact relative_logarithmic_derivation_mem_first k w J ⟨D, fun i => isEmptyElim i⟩ p.property |
| 96 | |
| 97 | theorem iteratedRelativeLogarithmicDifferentialIdeal_empty [IsEmpty ι] |
| 98 | (w : ι → R) (J : Ideal R) (n : ℕ) : |
| 99 | Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J n = |
| 100 | DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n := by |
| 101 | induction n generalizing J with |
| 102 | | zero => rfl |
| 103 | | succ n ih => |
| 104 | simp only [Construction.iteratedRelativeLogarithmicDifferentialIdeal, DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal] |
| 105 | rw [ih, firstRelativeLogarithmicDifferentialIdeal_empty] |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicIdeal.Construction |