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.Linear |
| 2 | |
| 3 | /-! # Character Field -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.CharacterField |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An arbitrary eigenvalue family with finite rational span lies in a finite local coefficient field. -/ |
| 10 | |
| 11 | variable {q : ℕ} [Fact q.Prime] {I : Type*} |
| 12 | |
| 13 | def finiteCoefficientFieldOfFiniteSpan (χ : I → AlgebraicClosure ℚ_[q]) |
| 14 | (S : Submodule ℚ (AlgebraicClosure ℚ_[q])) [FiniteDimensional ℚ S] |
| 15 | (hχ : ∀ i, χ i ∈ S) : Linear.FiniteHeckeCoefficientField q χ := by |
| 16 | let b := Module.finBasis ℚ S |
| 17 | let L := Linear.finiteCoefficientFieldOfFiniteFamily q (fun i => (b i : AlgebraicClosure ℚ_[q])) |
| 18 | refine ⟨L.field, L.finite, ?_⟩ |
| 19 | let U : Submodule ℚ (AlgebraicClosure ℚ_[q]) := L.field.toSubalgebra.toSubmodule.restrictScalars ℚ |
| 20 | have hb : (⊤ : Submodule ℚ S) ≤ U.comap S.subtype := by |
| 21 | rw [← b.span_eq] |
| 22 | apply Submodule.span_le.mpr |
| 23 | rintro x ⟨i, rfl⟩ |
| 24 | exact L.contains i |
| 25 | intro i |
| 26 | exact hb (show (⟨χ i, hχ i⟩ : S) ∈ (⊤ : Submodule ℚ S) from trivial) |
| 27 | |
| 28 | def finiteCoefficientFieldOfRationalCharacter |
| 29 | {H : Type*} [CommRing H] [Algebra ℚ H] |
| 30 | (χ : H →ₐ[ℚ] AlgebraicClosure ℚ) |
| 31 | [FiniteDimensional ℚ χ.toLinearMap.range] |
| 32 | (τ : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) : |
| 33 | Linear.FiniteHeckeCoefficientField q (fun h => τ (χ h)) := by |
| 34 | let f := τ.toRatAlgHom.toLinearMap |
| 35 | let S := χ.toLinearMap.range.map f |
| 36 | letI : FiniteDimensional ℚ S := Module.Finite.of_fg |
| 37 | ((Submodule.FG.of_finite (N := χ.toLinearMap.range)).map f) |
| 38 | exact finiteCoefficientFieldOfFiniteSpan (fun h => τ (χ h)) S |
| 39 | (fun h => ⟨χ h, ⟨h, rfl⟩, rfl⟩) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.CharacterField |