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.AbelianScheme.TateComparison.SplitCosetComponents |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CosetNeighbors |
| 3 | |
| 4 | /-! # Lattice Coset Convolution -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LatticeCosetConvolution |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual raw convolution law transfers through the proved split |
| 11 | coset/lattice equivalence, retaining every terminal multiplicity. -/ |
| 12 | |
| 13 | section Multisets |
| 14 | variable {X Y : Type*} |
| 15 | |
| 16 | def multisetMapHom (f : X → Y) : Multiset X →+ Multiset Y where |
| 17 | toFun := Multiset.map f |
| 18 | map_zero' := rfl |
| 19 | map_add' := Multiset.map_add f |
| 20 | |
| 21 | def transportNeighbors (e : X ≃ Y) (N : X → Multiset X) (y : Y) : Multiset Y := |
| 22 | (N (e.symm y)).map e |
| 23 | |
| 24 | theorem transportNeighbors_bind (e : X ≃ Y) (N M : X → Multiset X) (y : Y) : |
| 25 | (transportNeighbors e N y).bind (transportNeighbors e M) = |
| 26 | ((N (e.symm y)).bind M).map e := by |
| 27 | simp only [transportNeighbors, Multiset.bind_map, Multiset.map_bind, |
| 28 | Equiv.symm_apply_apply] |
| 29 | |
| 30 | end Multisets |
| 31 | |
| 32 | variable (s q : ℕ) [Fact q.Prime] |
| 33 | |
| 34 | abbrev SplitLatticePoint := |
| 35 | (Fin s → Duality.RankThreeLattice ℤ_[q] ℚ_[q]) × (ℚ_[q]ˣ ⧸ SplitCosetComponents.scalarIntegralLevel q) |
| 36 | |
| 37 | def sphericalLatticeNeighbors (t : Local.LocalType s) : SplitLatticePoint s q → Multiset (SplitLatticePoint s q) := |
| 38 | transportNeighbors (SplitCosetComponents.splitCosetLatticeEquiv s q) (CosetNeighbors.sphericalCosetNeighbors s q t) |
| 39 | |
| 40 | theorem sphericalLatticeNeighbors_convolution (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 41 | (u v : Local.IntegralType s) (x : SplitLatticePoint s q) : |
| 42 | (sphericalLatticeNeighbors s q u.val x).bind (sphericalLatticeNeighbors s q v.val) = |
| 43 | (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum (fun w n => n • sphericalLatticeNeighbors s q w.val x) := by |
| 44 | rw [sphericalLatticeNeighbors, sphericalLatticeNeighbors, transportNeighbors_bind, |
| 45 | CosetNeighbors.sphericalCosetNeighbors_convolution s q hElementaryDivisors] |
| 46 | exact (map_finsuppSum (multisetMapHom (SplitCosetComponents.splitCosetLatticeEquiv s q)) _ _).trans (by |
| 47 | apply Finsupp.sum_congr |
| 48 | intro w _ |
| 49 | exact map_nsmul (multisetMapHom (SplitCosetComponents.splitCosetLatticeEquiv s q)) _ _) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LatticeCosetConvolution |