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.Data.Finsupp.Basic |
| 2 | |
| 3 | /-! # Family Reindex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.FamilyReindex.BundleCycles |
| 6 | |
| 7 | section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: summing a finite family through a support-covering embedding |
| 11 | |
| 12 | An injective finite indexing set computes the complete sum of a finitely |
| 13 | supported family when its image contains the support. This identifies |
| 14 | the intrinsic residue family with its explicit finite geometric sum. |
| 15 | -/ |
| 16 | |
| 17 | theorem finiteFamily_sum_embedding {A B M : Type*} [Fintype A] [AddCommMonoid M] |
| 18 | (i : A ↪ B) (f : B →₀ M) (hf : (f.support : Set B) ⊆ Set.range i) : |
| 19 | f.sum (fun _ m => m) = ∑ a : A, f (i a) := by |
| 20 | have h := Finsupp.mapDomain_comapDomain i i.injective f hf |
| 21 | refine (congrArg (fun q : B →₀ M => q.sum (fun _ m => m)) h).symm.trans ?_ |
| 22 | rw [Finsupp.sum_mapDomain_index (fun _ => rfl) (fun _ _ _ => rfl)] |
| 23 | exact (Finsupp.comapDomain i f i.injective.injOn).sum_fintype (fun _ m => m) (fun _ => rfl) |
| 24 | |
| 25 | end |
| 26 | |
| 27 | /-! # LineBundleCycles: reindexing a finite family through any embedding whose image contains its support -/ |
| 28 | |
| 29 | theorem finiteFamily_sum_comap {A B M : Type*} [AddCommMonoid M] |
| 30 | (i : A ↪ B) (f : B →₀ M) (hf : (f.support : Set B) ⊆ Set.range i) : |
| 31 | f.sum (fun _ m => m) = (Finsupp.comapDomain i f i.injective.injOn).sum (fun _ m => m) := by |
| 32 | have h := Finsupp.mapDomain_comapDomain i i.injective f hf |
| 33 | refine (congrArg (fun q : B →₀ M => q.sum (fun _ m => m)) h).symm.trans ?_ |
| 34 | rw [Finsupp.sum_mapDomain_index (fun _ => rfl) (fun _ _ _ => rfl)] |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.FamilyReindex.BundleCycles |