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.CM.PointsIntrinsicFamily |
| 2 | |
| 3 | /-! # Kernel Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Match IsogenyQuotient's disjoint-sum labels with FrobeniusKernel's chosen/opposite |
| 10 | Boolean labels, preserving the original integral coefficient projectors. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction |
| 15 | |
| 16 | def kernelPairLabels (s : ℕ) : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Fin s × Bool where |
| 17 | toFun := Sum.elim (fun v => (v, false)) (fun v => (v, true)) |
| 18 | invFun := fun v => if v.2 then Sum.inr v.1 else Sum.inl v.1 |
| 19 | left_inv v := by cases v <;> rfl |
| 20 | right_inv v := by obtain ⟨v, b⟩ := v; cases b <;> rfl |
| 21 | |
| 22 | def nativeKernelLabels {s : ℕ} {I : Type*} (labels : (Fin s × Bool) ≃ I) : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ I := |
| 23 | (kernelPairLabels s).trans labels |
| 24 | |
| 25 | @[simp] theorem nativeKernelLabels_chosen {s : ℕ} {I : Type*} |
| 26 | (labels : (Fin s × Bool) ≃ I) (v : Fin s) : |
| 27 | nativeKernelLabels labels (Sum.inl v) = labels (v, false) := rfl |
| 28 | |
| 29 | @[simp] theorem nativeKernelLabels_opposite {s : ℕ} {I : Type*} |
| 30 | (labels : (Fin s × Bool) ≃ I) (v : Fin s) : |
| 31 | nativeKernelLabels labels (Sum.inr v) = labels (v, true) := rfl |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |