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.DivisorClass.Chern.OrthantSphereEquator |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.ChainRepresentatives |
| 3 | |
| 4 | /-! # Orthant Weighted Boundary -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantWeightedBoundary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Boundary of an oriented orthant family whose internal faces cancel. -/ |
| 11 | |
| 12 | open OAI.AlgebraicTopology.Cohomology.Singular.ChainRepresentatives |
| 13 | open scoped Simplicial |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | theorem orthantWeighted_sum_zero {m : ℕ} {M : Type*} [AddCommGroup M] |
| 20 | (i : Fin m) (f : (Fin m → Bool) → M) (hf : ∀ ε, f (OrthantSphereEquator.orthantFlip i ε) = f ε) : |
| 21 | (∑ ε : Fin m → Bool, OrthantSphereEquator.orthantWeight ε • f ε) = 0 := by |
| 22 | classical |
| 23 | apply Finset.sum_ninvolution (OrthantSphereEquator.orthantFlip i) |
| 24 | · intro ε |
| 25 | rw [OrthantSphereEquator.orthantWeight_flip, hf, neg_zsmul, add_neg_cancel] |
| 26 | · intro ε _ |
| 27 | exact OrthantSphereEquator.orthantFlip_ne i ε |
| 28 | · intro ε |
| 29 | exact Finset.mem_univ _ |
| 30 | · exact OrthantSphereEquator.orthantFlip_involutive i |
| 31 | |
| 32 | theorem integer_smul_finite_sum {ι M : Type*} [Fintype ι] [AddCommGroup M] |
| 33 | (a : ℤ) (f : ι → M) : a • ∑ i, f i = ∑ i, a • f i := |
| 34 | map_sum (zsmulAddGroupHom a) f Finset.univ |
| 35 | |
| 36 | /-- Only the first face remains when all other faces are paired by |
| 37 | the explicit sign-flip involution. -/ |
| 38 | theorem orthantWeighted_boundary_first (K : SSet.{0}) (n : ℕ) |
| 39 | (s : (Fin (n + 1) → Bool) → K _⦋n + 1⦌) |
| 40 | (hs : ∀ η i, K.δ i.succ (s (OrthantSphereEquator.orthantFlip i η)) = K.δ i.succ (s η)) : |
| 41 | (AlgebraicTopology.Cohomology.Singular.ChainDual.simplicialScalarChains (R := ℤ) K).d (n + 1) n |
| 42 | (∑ η : Fin (n + 1) → Bool, OrthantSphereEquator.orthantWeight η • AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℤ) K (s η)) = |
| 43 | ∑ η : Fin (n + 1) → Bool, OrthantSphereEquator.orthantWeight η • AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℤ) K (K.δ 0 (s η)) := by |
| 44 | rw [map_sum] |
| 45 | simp only [map_zsmul, AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain_boundary] |
| 46 | simp_rw [integer_smul_finite_sum] |
| 47 | rw [Finset.sum_comm, Fin.sum_univ_succ] |
| 48 | simp only [Fin.val_zero, pow_zero, one_zsmul] |
| 49 | have hother : (∑ i : Fin (n + 1), ∑ η : Fin (n + 1) → Bool, |
| 50 | OrthantSphereEquator.orthantWeight η • (((-1 : ℤ) ^ i.succ.val) • AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℤ) K (K.δ i.succ (s η)))) = 0 := by |
| 51 | apply Finset.sum_eq_zero |
| 52 | intro i _ |
| 53 | apply orthantWeighted_sum_zero i |
| 54 | intro η |
| 55 | rw [hs] |
| 56 | rw [hother, add_zero] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.DivisorClass.Chern.OrthantWeightedBoundary |