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.IsogenyQuotient.ChoiceKernel |
| 2 | |
| 3 | /-! # Pair Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IsogenyQuotient.PairLabels.CM |
| 6 | |
| 7 | /-! The ordered ordinary-reduction labels determine the native IsogenyQuotient |
| 8 | chosen/opposite labels without changing any place or its conjugate. -/ |
| 9 | |
| 10 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction |
| 11 | |
| 12 | def pairEquiv (s : ℕ) : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Fin s × Bool where |
| 13 | toFun := Sum.elim (fun v => (v, false)) (fun v => (v, true)) |
| 14 | invFun p := if p.2 then Sum.inr p.1 else Sum.inl p.1 |
| 15 | left_inv p := by cases p <;> rfl |
| 16 | right_inv p := by rcases p with ⟨v, b⟩; cases b <;> rfl |
| 17 | |
| 18 | def labels {s : ℕ} {G : Type*} (a : Fin s × Bool ≃ G) : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ G := |
| 19 | (pairEquiv s).trans a |
| 20 | |
| 21 | theorem chosen {s : ℕ} {G : Type*} (a : Fin s × Bool ≃ G) (v : Fin s) : |
| 22 | labels a (.inl v) = a (v, false) := rfl |
| 23 | |
| 24 | theorem opposite {s : ℕ} {G : Type*} (a : Fin s × Bool ≃ G) (v : Fin s) : |
| 25 | labels a (.inr v) = a (v, true) := rfl |
| 26 | |
| 27 | theorem swap {s : ℕ} {G : Type*} (a : Fin s × Bool ≃ G) (c : G → G) |
| 28 | (ha : ∀ v b, a (v, !b) = c (a (v, b))) (v : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s) : |
| 29 | labels a (Sum.swap v) = c (labels a v) := by |
| 30 | cases v with |
| 31 | | inl v => exact ha v false |
| 32 | | inr v => exact ha v true |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IsogenyQuotient.PairLabels.CM |