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.SheafCohomology.Cech.ComplexUpNatCoordinates |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Basic |
| 3 | import Mathlib.Algebra.BigOperators.Group.Finset.Lemmas |
| 4 | |
| 5 | /-! # Total Biadditive Ext -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TotalBiadditiveExt |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The finite summands determine additive and biadditive maps out of |
| 12 | the actual total, even when the target has a larger universe. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v u' v' w |
| 17 | variable {R : Type u} [CommRing R] |
| 18 | (K : HomologicalComplex₂ (ModuleCat.{v} R) (.up ℕ) (.up ℕ)) [K.HasTotal (.up ℕ)] |
| 19 | |
| 20 | theorem sum_components (n : ℕ) (x : (K.total (.up ℕ)).X n) : |
| 21 | (∑ i : Fin (n+1), K.ιTotal (.up ℕ) i (n-i) n (by change (i : ℕ)+(n-i)=n; omega) |
| 22 | ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) i (n-i) n x)) = x := by |
| 23 | have h := ConcreteCategory.congr_hom (AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatCoordinates.Projective.totalUpNat_decomposition K n) x |
| 24 | simpa only [ModuleCat.hom_sum, LinearMap.sum_apply, ModuleCat.hom_comp, |
| 25 | LinearMap.comp_apply, ModuleCat.hom_id, LinearMap.id_apply] using h |
| 26 | |
| 27 | theorem additive_ext {Z : Type w} [AddCommGroup Z] (n : ℕ) |
| 28 | {f g : (K.total (.up ℕ)).X n →+ Z} |
| 29 | (h : ∀ p q (hpq : p+q=n) (x : (K.X p).X q), |
| 30 | f (K.ιTotal (.up ℕ) p q n hpq x) = g (K.ιTotal (.up ℕ) p q n hpq x)) : f = g := by |
| 31 | apply AddMonoidHom.ext |
| 32 | intro x |
| 33 | rw [← sum_components K n x, map_sum, map_sum] |
| 34 | exact Finset.sum_congr rfl (fun i _ => h i (n-i) (by omega) _) |
| 35 | |
| 36 | variable {S : Type u'} [CommRing S] |
| 37 | (L : HomologicalComplex₂ (ModuleCat.{v'} S) (.up ℕ) (.up ℕ)) [L.HasTotal (.up ℕ)] |
| 38 | |
| 39 | theorem biadditive_ext {Z : Type w} [AddCommGroup Z] (n m : ℕ) |
| 40 | {f g : (K.total (.up ℕ)).X n →+ (L.total (.up ℕ)).X m →+ Z} |
| 41 | (h : ∀ p a q b (hpa : p+a=n) (hqb : q+b=m) |
| 42 | (x : (K.X p).X a) (y : (L.X q).X b), |
| 43 | f (K.ιTotal (.up ℕ) p a n hpa x) (L.ιTotal (.up ℕ) q b m hqb y) = |
| 44 | g (K.ιTotal (.up ℕ) p a n hpa x) (L.ιTotal (.up ℕ) q b m hqb y)) : f = g := by |
| 45 | apply additive_ext K n |
| 46 | intro p a hpa x |
| 47 | exact additive_ext L m (fun q b hqb y => h p a q b hpa hqb x y) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TotalBiadditiveExt |