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 Mathlib.LinearAlgebra.Finsupp.LSum |
| 2 | |
| 3 | /-! # Cycle Set -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Point.CycleSet.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The linear operation retaining exactly the coefficients indexed by a set. -/ |
| 10 | |
| 11 | def pointCycleSetPart {α : Type} (S : Set α) : (α →₀ ℚ) →ₗ[ℚ] (α →₀ ℚ) := by |
| 12 | classical |
| 13 | exact { toFun := Finsupp.filter (· ∈ S) |
| 14 | map_add' := fun _ _ => Finsupp.filter_add |
| 15 | map_smul' := fun _ _ => Finsupp.filter_smul } |
| 16 | |
| 17 | theorem pointCycleSetPart_apply_mem {α : Type} (S : Set α) (z : α →₀ ℚ) (x : α) (hx : x ∈ S) : |
| 18 | pointCycleSetPart S z x = z x := by |
| 19 | classical |
| 20 | exact Finsupp.filter_apply_pos (· ∈ S) z hx |
| 21 | |
| 22 | theorem pointCycleSetPart_apply_notMem {α : Type} (S : Set α) (z : α →₀ ℚ) (x : α) (hx : x ∉ S) : |
| 23 | pointCycleSetPart S z x = 0 := by |
| 24 | classical |
| 25 | exact Finsupp.filter_apply_neg (· ∈ S) z hx |
| 26 | |
| 27 | theorem pointCycleSetPart_single_mem {α : Type} (S : Set α) (x : α) (a : ℚ) (hx : x ∈ S) : |
| 28 | pointCycleSetPart S (Finsupp.single x a) = Finsupp.single x a := by |
| 29 | classical |
| 30 | exact Finsupp.filter_single_of_pos (· ∈ S) hx |
| 31 | |
| 32 | theorem pointCycleSetPart_single_notMem {α : Type} (S : Set α) (x : α) (a : ℚ) (hx : x ∉ S) : |
| 33 | pointCycleSetPart S (Finsupp.single x a) = 0 := by |
| 34 | classical |
| 35 | exact Finsupp.filter_single_of_neg (· ∈ S) hx |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Point.CycleSet.BundleCycles |