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.FormalGeometry.Completion.IntegralQuadraticSpectrum |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ExactSequenceEigenvalues |
| 3 | import Mathlib.RingTheory.Flat.Localization |
| 4 | import Mathlib.RingTheory.Flat.Stability |
| 5 | |
| 6 | /-! # Quadratic Spectral Step -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! One step of the quadratic filtration sends an eigenvalue to its |
| 13 | kernel or bounds it using the positive definite quotient. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | variable {G : Type u} [AddCommGroup G] [Module.Finite ℤ G] |
| 19 | |
| 20 | theorem NonnegativeQuadraticMk.Construction.NonnegativeQuadratic.eigenvalue_kernel_or_norm (q : NonnegativeQuadraticMk.Construction.NonnegativeQuadratic G) |
| 21 | (f : G →+ G) (c : ℚ) (hf : ∀ g, q.value (f g) = c * q.value g) |
| 22 | (z : ℂ) (hz : Module.End.HasEigenvalue (f.toIntLinearMap.baseChange ℂ) z) : |
| 23 | Module.End.HasEigenvalue ((q.kernelSimilitude f c hf).toIntLinearMap.baseChange ℂ) z ∨ |
| 24 | ‖z‖ = Real.sqrt (c : ℝ) := by |
| 25 | let i := q.zeroKernel.subtype.toIntLinearMap |
| 26 | let p := (QuotientAddGroup.mk' q.zeroKernel).toIntLinearMap |
| 27 | have hp : Function.Surjective p := QuotientAddGroup.mk'_surjective q.zeroKernel |
| 28 | have he : Function.Exact i p := by |
| 29 | intro x |
| 30 | change (QuotientAddGroup.mk x : G ⧸ q.zeroKernel) = 0 ↔ ∃ y : q.zeroKernel, (y : G) = x |
| 31 | rw [QuotientAddGroup.eq_zero_iff] |
| 32 | exact ⟨fun hx => ⟨⟨x, hx⟩, rfl⟩, fun ⟨y, hy⟩ => hy ▸ y.property⟩ |
| 33 | have : Module.Finite ℤ (G ⧸ q.zeroKernel) := Module.Finite.of_surjective p hp |
| 34 | have : Module.Flat ℤ ℚ := IsLocalization.flat ℚ (nonZeroDivisors ℤ) |
| 35 | have : Module.Flat ℤ ℂ := Module.Flat.trans ℤ ℚ ℂ |
| 36 | have h := ExactSequenceEigenvalues.Construction.baseChange_eigenvalue_or_of_exact i p Subtype.val_injective he hp |
| 37 | (q.kernelSimilitude f c hf).toIntLinearMap f.toIntLinearMap |
| 38 | (q.quotientSimilitude f c hf).toIntLinearMap (fun _ => rfl) (fun _ => rfl) z hz |
| 39 | exact h.imp_right (q.quotientComplexEigenvalue_norm f c hf z) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.FormalGeometry.Completion |