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.LogarithmicBoundary |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.OptionalBoundaryLabels |
| 3 | |
| 4 | /-! # Boundary History Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Finite.BoundaryHistoryExtension.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Extend the selected history by a cleared unit component and decrease the remaining old-label count. -/ |
| 11 | |
| 12 | universe u v t |
| 13 | |
| 14 | def extendSelectedBoundaryHistory {ι : Type v} {κ : Type t} |
| 15 | (e : κ ↪ ι) (j : ι) (hj : ∀ s, j ≠ e s) : Option κ ↪ ι where |
| 16 | toFun a := match a with | none => j | some s => e s |
| 17 | inj' a b h := by |
| 18 | cases a with |
| 19 | | none => |
| 20 | cases b with |
| 21 | | none => rfl |
| 22 | | some s => exact False.elim (hj s h) |
| 23 | | some s => |
| 24 | cases b with |
| 25 | | none => exact False.elim (hj s h.symm) |
| 26 | | some t => exact congrArg some (e.injective h) |
| 27 | |
| 28 | theorem excluded_boundary_label_optionMap {ι : Type v} {κ : Type t} |
| 29 | (e : κ ↪ ι) (j : ι) (hj : ∀ s, j ≠ e s) : |
| 30 | ∀ s : Option κ, some j ≠ Function.Embedding.optionMap e s := by |
| 31 | intro s h |
| 32 | cases s with |
| 33 | | none => cases h |
| 34 | | some s => exact hj s (Option.some.inj h) |
| 35 | |
| 36 | theorem remaining_boundary_count_option {ι : Type v} {κ : Type t} [Fintype ι] [Fintype κ] : |
| 37 | Fintype.card (Option ι) - Fintype.card (Option κ) = Fintype.card ι - Fintype.card κ := by |
| 38 | simp only [Fintype.card_option, Nat.add_sub_add_right] |
| 39 | |
| 40 | theorem remaining_boundary_count_extend_lt {ι : Type v} {κ : Type t} [Fintype ι] [Fintype κ] |
| 41 | (e : κ ↪ ι) (j : ι) (hj : ∀ s, j ≠ e s) : |
| 42 | Fintype.card ι - Fintype.card (Option κ) < Fintype.card ι - Fintype.card κ := by |
| 43 | have hcard : Fintype.card κ < Fintype.card ι := |
| 44 | Fintype.card_lt_of_injective_of_notMem e e.injective (by |
| 45 | rintro ⟨s, hs⟩ |
| 46 | exact hj s hs.symm) |
| 47 | rw [Fintype.card_option] |
| 48 | omega |
| 49 | |
| 50 | theorem relativeLogarithmicDerivations_extend_unit_history |
| 51 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 52 | {ι : Type v} {κ : Type t} (w : ι → R) (e : κ ↪ ι) (j : ι) (hj : ∀ s, j ≠ e s) |
| 53 | (hu : IsUnit (w j)) : |
| 54 | Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun s => w (extendSelectedBoundaryHistory e j hj s)) = |
| 55 | Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun s => w (e s)) := by |
| 56 | ext D |
| 57 | change (∀ s : Option κ, D (w (extendSelectedBoundaryHistory e j hj s)) ∈ |
| 58 | Ideal.span {w (extendSelectedBoundaryHistory e j hj s)}) ↔ |
| 59 | ∀ s : κ, D (w (e s)) ∈ Ideal.span {w (e s)} |
| 60 | constructor |
| 61 | · intro h s |
| 62 | exact h (some s) |
| 63 | · intro h s |
| 64 | cases s with |
| 65 | | none => |
| 66 | change D (w j) ∈ Ideal.span {w j} |
| 67 | rw [Ideal.span_singleton_eq_top.mpr hu] |
| 68 | exact Submodule.mem_top |
| 69 | | some s => exact h s |
| 70 | |
| 71 | theorem iteratedRelativeLogarithmicDifferentialIdeal_extend_unit_history |
| 72 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 73 | {ι : Type v} {κ : Type t} (w : ι → R) (e : κ ↪ ι) (j : ι) (hj : ∀ s, j ≠ e s) |
| 74 | (hu : IsUnit (w j)) (J : Ideal R) (n : ℕ) : |
| 75 | Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k (fun s => w (extendSelectedBoundaryHistory e j hj s)) J n = |
| 76 | Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k (fun s => w (e s)) J n := |
| 77 | Relative.LogarithmicBoundary.Construction.iteratedRelativeLogarithmicDifferentialIdeal_congr_derivations k _ _ |
| 78 | (relativeLogarithmicDerivations_extend_unit_history w e j hj hu) J n |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Resolution.Blowups.Finite.BoundaryHistoryExtension.Construction |