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.NumberTheory.PadicHodge.GeometricComparison.WeakAdmissibilityTransport |
| 2 | |
| 3 | /-! # Kernel Image Determinant -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.KernelImageDeterminant.FiltrationTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Determinants and Newton numbers split along the actual kernel and image of an intertwining map. -/ |
| 10 | |
| 11 | variable {K V W : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 12 | [AddCommGroup W] [Module K W] |
| 13 | |
| 14 | theorem intertwining_kernel_stable (φ : Module.End K V) (ψ : Module.End K W) (f : V →ₗ[K] W) |
| 15 | (h : ∀ x, f (φ x) = ψ (f x)) : f.ker ≤ f.ker.comap φ := by |
| 16 | intro x hx |
| 17 | change f (φ x) = 0 |
| 18 | exact (h x).trans ((congrArg ψ hx).trans ψ.map_zero) |
| 19 | |
| 20 | theorem intertwining_range_stable (φ : Module.End K V) (ψ : Module.End K W) (f : V →ₗ[K] W) |
| 21 | (h : ∀ x, f (φ x) = ψ (f x)) : f.range ≤ f.range.comap ψ := by |
| 22 | rintro y ⟨x, rfl⟩ |
| 23 | exact ⟨φ x, h x⟩ |
| 24 | |
| 25 | theorem quotient_image_intertwines (φ : Module.End K V) (ψ : Module.End K W) (f : V →ₗ[K] W) |
| 26 | (h : ∀ x, f (φ x) = ψ (f x)) (x : V ⧸ f.ker) : |
| 27 | f.quotKerEquivRange |
| 28 | (f.ker.mapQ f.ker φ (intertwining_kernel_stable φ ψ f h) x) = |
| 29 | ψ.restrict (intertwining_range_stable φ ψ f h) (f.quotKerEquivRange x) := by |
| 30 | induction x using Submodule.Quotient.induction_on with |
| 31 | | H x => exact Subtype.ext (h x) |
| 32 | |
| 33 | theorem kernel_image_det [FiniteDimensional K V] |
| 34 | (φ : Module.End K V) (ψ : Module.End K W) (f : V →ₗ[K] W) |
| 35 | (h : ∀ x, f (φ x) = ψ (f x)) : |
| 36 | φ.det = (φ.restrict (intertwining_kernel_stable φ ψ f h)).det * |
| 37 | (ψ.restrict (intertwining_range_stable φ ψ f h)).det := by |
| 38 | rw [LinearMap.det_eq_det_mul_det f.ker φ (intertwining_kernel_stable φ ψ f h)] |
| 39 | exact congrArg (fun a => (φ.restrict (intertwining_kernel_stable φ ψ f h)).det * a) |
| 40 | (WeakAdmissibilityTransport.FiltrationTransport.det_eq_of_intertwines f.quotKerEquivRange _ _ (quotient_image_intertwines φ ψ f h)).symm |
| 41 | |
| 42 | variable {q : ℕ} [Fact q.Prime] |
| 43 | {D E : Type*} [AddCommGroup D] [Module ℚ_[q] D] [FiniteDimensional ℚ_[q] D] |
| 44 | [AddCommGroup E] [Module ℚ_[q] E] |
| 45 | |
| 46 | theorem kernel_image_newton (φ : D ≃ₗ[ℚ_[q]] D) (ψ : Module.End ℚ_[q] E) (f : D →ₗ[ℚ_[q]] E) |
| 47 | (h : ∀ x, f (φ x) = ψ (f x)) : |
| 48 | (Padic.valuation φ.toLinearMap.det : ℚ) = |
| 49 | (Padic.valuation (φ.toLinearMap.restrict (intertwining_kernel_stable φ.toLinearMap ψ f h)).det : ℚ) + |
| 50 | (Padic.valuation (ψ.restrict (intertwining_range_stable φ.toLinearMap ψ f h)).det : ℚ) := by |
| 51 | have hd := kernel_image_det φ.toLinearMap ψ f h |
| 52 | have hn : (φ.toLinearMap.restrict (intertwining_kernel_stable φ.toLinearMap ψ f h)).det * |
| 53 | (ψ.restrict (intertwining_range_stable φ.toLinearMap ψ f h)).det ≠ 0 := by |
| 54 | rw [← hd] |
| 55 | exact φ.isUnit_det'.ne_zero |
| 56 | rw [hd, Padic.valuation_mul (mul_ne_zero_iff.mp hn).1 (mul_ne_zero_iff.mp hn).2, Int.cast_add] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.KernelImageDeterminant.FiltrationTransport |