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.HodgeConjecture.CMExtraction.Intrinsic.MinusculeParameters |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution |
| 4 | |
| 5 | /-! # Neighbor Operators -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NeighborOperators |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original integral ordinary-neighbor operators are exactly the |
| 12 | central powers times the native minuscule operators, with raw coefficients. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM |
| 17 | |
| 18 | theorem native_neighbor_representative {s q : ℕ} [Fact q.Prime] |
| 19 | (active : Fin s) (side : Fin s → Bool) (i : Fin 3) : |
| 20 | AbelianScheme.TateComparison.HeckeKernel.representative s q (HeckeCycles.Neighbor.Types.CM.integralType active side i).val = |
| 21 | AbelianScheme.CentralAction.CentralRepresentatives.Construction.centralRepresentative s q (AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents active side) 1 ^ (i.val + 1) * |
| 22 | AbelianScheme.TateComparison.HeckeKernel.representative s q (MinusculeParameters.activeMinusculeType active ⟨i.val + 1, by omega⟩) := by |
| 23 | apply Prod.ext |
| 24 | · funext v |
| 25 | change AbelianScheme.TateComparison.CentralConvolution.diagonalHom (fun k => AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ ((Isogenies.NeighborCounting.HeckeExponents.neighborExponents active side i v k : ℕ) : ℤ)) = |
| 26 | Matrix.GeneralLinearGroup.scalar (Fin 3) (AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents active side v) ^ |
| 27 | (i.val + 1) * AbelianScheme.TateComparison.CentralConvolution.diagonalHom |
| 28 | (fun k => AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ (if v = active ∧ k.val < i.val + 1 then (1 : ℤ) else 0)) |
| 29 | have he : Matrix.GeneralLinearGroup.scalar (Fin 3) (AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents active side v) = |
| 30 | AbelianScheme.TateComparison.CentralConvolution.diagonalHom (fun _ => AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents active side v) := by |
| 31 | apply Units.ext |
| 32 | rfl |
| 33 | rw [he, ← map_pow, ← map_mul] |
| 34 | congr 1 |
| 35 | funext k |
| 36 | by_cases hv : v = active |
| 37 | · simp [Isogenies.NeighborCounting.HeckeExponents.neighborExponents, Isogenies.NeighborCounting.HeckeExponents.activeExponents, Isogenies.NeighborCounting.HeckeExponents.neighborLevel, AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents, hv] |
| 38 | · cases hs : side v with |
| 39 | | false => simp [Isogenies.NeighborCounting.HeckeExponents.neighborExponents, AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents, hv, hs] |
| 40 | | true => |
| 41 | simp [Isogenies.NeighborCounting.HeckeExponents.neighborExponents, Isogenies.NeighborCounting.HeckeExponents.neighborLevel, AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents, hv, hs] |
| 42 | norm_cast |
| 43 | · change AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ ((Isogenies.NeighborCounting.HeckeExponents.neighborLevel i : ℕ) : ℤ) = |
| 44 | (AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ (1 : ℤ)) ^ (i.val + 1) * AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ (0 : ℤ) |
| 45 | rw [zpow_one, zpow_zero, mul_one, ← zpow_natCast] |
| 46 | rfl |
| 47 | |
| 48 | theorem native_neighbor_raw_basis {s q : ℕ} [Fact q.Prime] |
| 49 | (basis : AbelianScheme.TateComparison.Local.LocalType s → AbelianScheme.TateComparison.HeckeKernel.Hecke s q) |
| 50 | (hbasis : ∀ t, AbelianScheme.TateComparison.HeckeKernel.IsRawDoubleCoset (AbelianScheme.TateComparison.HeckeKernel.integralLevel s q) (AbelianScheme.TateComparison.HeckeKernel.representative s q t) (basis t)) |
| 51 | (active : Fin s) (side : Fin s → Bool) (i : Fin 3) : |
| 52 | AbelianScheme.CentralAction.CentralRepresentatives.Construction.C0 s q active side ^ (i.val + 1) * |
| 53 | basis (MinusculeParameters.activeMinusculeType active ⟨i.val + 1, by omega⟩) = |
| 54 | basis (HeckeCycles.Neighbor.Types.CM.integralType active side i).val := by |
| 55 | apply AbelianScheme.TateComparison.HeckeKernel.rawDoubleCoset_unique (AbelianScheme.TateComparison.HeckeKernel.integralLevel s q) |
| 56 | (g := AbelianScheme.TateComparison.HeckeKernel.representative s q (HeckeCycles.Neighbor.Types.CM.integralType active side i).val) |
| 57 | · rw [native_neighbor_representative] |
| 58 | exact AbelianScheme.TateComparison.CentralConvolution.central_pow_mul_isRaw (AbelianScheme.TateComparison.HeckeKernel.integralLevel s q) |
| 59 | (AbelianScheme.CentralAction.CentralRepresentatives.Construction.centralRepresentative s q (AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents active side) 1) |
| 60 | (AbelianScheme.CentralAction.CentralRepresentatives.Construction.centralRepresentative_commutes s q (AbelianScheme.CentralAction.CentralRepresentatives.Construction.c0Exponents active side) 1) |
| 61 | (hbasis _) (i.val + 1) |
| 62 | · exact hbasis _ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NeighborOperators |