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.WeakAdmissibility.FilteredRepresentations |
| 2 | |
| 3 | /-! # Linear -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Linear |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Linear constructions for GeometricComparison. The filtration and numerical conditions |
| 10 | are defined independently of comparison or geometric admissibility. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | abbrev FiniteFiltration := WeakAdmissibility.FilteredRepresentations.Construction.FiniteFiltration |
| 17 | |
| 18 | /-- The numerical definition over the split base field, with v_q(q) = 1. |
| 19 | Every Frobenius-stable rational subspace is tested. -/ |
| 20 | def WeaklyAdmissible (q : ℕ) [Fact q.Prime] |
| 21 | {D : Type u} [AddCommGroup D] [Module ℚ_[q] D] |
| 22 | [FiniteDimensional ℚ_[q] D] |
| 23 | (Fil : FiniteFiltration ℚ_[q] D) (φ : D ≃ₗ[ℚ_[q]] D) : Prop := |
| 24 | Fil.tH = (Padic.valuation (LinearMap.det φ.toLinearMap) : ℚ) ∧ |
| 25 | ∀ (S : Submodule ℚ_[q] D) (hS : S ≤ S.comap φ.toLinearMap), |
| 26 | (Fil.restrict S).tH ≤ |
| 27 | (Padic.valuation (LinearMap.det (φ.toLinearMap.restrict hS)) : ℚ) |
| 28 | |
| 29 | /-- Simultaneous generalized eigenspace; no semisimplicity is imposed. -/ |
| 30 | def generalizedHeckeSummand {L : Type u} [Field L] |
| 31 | {D : Type v} [AddCommGroup D] [Module L D] |
| 32 | {I : Type w} (T : I → Module.End L D) (χ : I → L) : Submodule L D := |
| 33 | ⨅ i, (T i).maxGenEigenspace (χ i) |
| 34 | |
| 35 | theorem mem_generalizedHeckeSummand {L : Type u} [Field L] |
| 36 | {D : Type v} [AddCommGroup D] [Module L D] |
| 37 | {I : Type w} (T : I → Module.End L D) (χ : I → L) (x : D) : |
| 38 | x ∈ generalizedHeckeSummand T χ ↔ |
| 39 | ∀ i, x ∈ (T i).maxGenEigenspace (χ i) := by |
| 40 | simp only [generalizedHeckeSummand, Submodule.mem_iInf] |
| 41 | |
| 42 | /-- A finite field of coefficients inside the specified algebraic closure. |
| 43 | The only conditions are field finiteness and containment of eigenvalues. -/ |
| 44 | structure FiniteHeckeCoefficientField (q : ℕ) [Fact q.Prime] |
| 45 | {I : Type u} (χ : I → AlgebraicClosure ℚ_[q]) where |
| 46 | field : IntermediateField ℚ_[q] (AlgebraicClosure ℚ_[q]) |
| 47 | finite : FiniteDimensional ℚ_[q] field |
| 48 | contains : ∀ i, χ i ∈ field |
| 49 | |
| 50 | attribute [instance] FiniteHeckeCoefficientField.finite |
| 51 | |
| 52 | namespace FiniteHeckeCoefficientField |
| 53 | |
| 54 | variable {q : ℕ} [Fact q.Prime] {I : Type u} |
| 55 | {χ : I → AlgebraicClosure ℚ_[q]} (L : FiniteHeckeCoefficientField q χ) |
| 56 | |
| 57 | def character (i : I) : L.field := ⟨χ i, L.contains i⟩ |
| 58 | |
| 59 | @[simp] theorem character_coe (i : I) : |
| 60 | (L.character i : AlgebraicClosure ℚ_[q]) = χ i := rfl |
| 61 | |
| 62 | end FiniteHeckeCoefficientField |
| 63 | |
| 64 | /-- A finite list of algebraic local eigenvalues has a canonical finite |
| 65 | coefficient field: the field they generate over ℚ_q. -/ |
| 66 | def finiteCoefficientFieldOfFiniteFamily (q : ℕ) [Fact q.Prime] |
| 67 | {I : Type u} [Finite I] (χ : I → AlgebraicClosure ℚ_[q]) : |
| 68 | FiniteHeckeCoefficientField q χ where |
| 69 | field := IntermediateField.adjoin ℚ_[q] (Set.range χ) |
| 70 | finite := IntermediateField.finiteDimensional_adjoin (fun x _ => |
| 71 | Algebra.IsIntegral.isIntegral x) |
| 72 | contains i := IntermediateField.subset_adjoin ℚ_[q] (Set.range χ) (Set.mem_range_self i) |
| 73 | |
| 74 | variable {K : Type u} [Field K] (L : Type v) [Field L] [Algebra K L] |
| 75 | {D : Type w} [AddCommGroup D] [Module K D] |
| 76 | |
| 77 | /-- Scalar extension carries the original Frobenius and the identity on L. -/ |
| 78 | def coefficientFrobenius (φ : Module.End K D) : |
| 79 | Module.End L (L ⊗[K] D) := φ.baseChange L |
| 80 | |
| 81 | @[simp] theorem coefficientFrobenius_tmul (φ : Module.End K D) (a : L) (x : D) : |
| 82 | coefficientFrobenius L φ (a ⊗ₜ[K] x) = a ⊗ₜ[K] φ x := rfl |
| 83 | |
| 84 | /-- Filtration subspaces are extended by the canonical tensor map. -/ |
| 85 | def coefficientFiltration (Fil : ℤ → Submodule K D) (i : ℤ) : |
| 86 | Submodule L (L ⊗[K] D) := (Fil i).baseChange L |
| 87 | |
| 88 | /-- Extend the given finite filtration without selecting a basis. -/ |
| 89 | def finiteCoefficientFiltration (Fil : FiniteFiltration K D) : |
| 90 | FiniteFiltration L (L ⊗[K] D) where |
| 91 | step i := (Fil.step i).baseChange L |
| 92 | antitone_step _ _ hij := Submodule.baseChange_mono L (Fil.antitone_step hij) |
| 93 | eventually_top := by |
| 94 | obtain ⟨i, hi⟩ := Fil.eventually_top |
| 95 | exact ⟨i, by simp [hi]⟩ |
| 96 | eventually_bot := by |
| 97 | obtain ⟨i, hi⟩ := Fil.eventually_bot |
| 98 | exact ⟨i, by simp [hi]⟩ |
| 99 | |
| 100 | /-- Restrict the scalars of a finite filtration, retaining the same subsets. -/ |
| 101 | def restrictScalarFiltration {V : Type*} [AddCommGroup V] [Module L V] |
| 102 | [Module K V] [IsScalarTower K L V] (Fil : FiniteFiltration L V) : |
| 103 | FiniteFiltration K V where |
| 104 | step i := (Fil.step i).restrictScalars K |
| 105 | antitone_step _ _ hij := Submodule.restrictScalars_mono K (Fil.antitone_step hij) |
| 106 | eventually_top := by |
| 107 | obtain ⟨i, hi⟩ := Fil.eventually_top |
| 108 | exact ⟨i, by simp [hi]⟩ |
| 109 | eventually_bot := by |
| 110 | obtain ⟨i, hi⟩ := Fil.eventually_bot |
| 111 | exact ⟨i, by simp [hi]⟩ |
| 112 | |
| 113 | /-- The filtration used for weak admissibility of a coefficient summand. -/ |
| 114 | def coefficientSummandFiltration (Fil : FiniteFiltration K D) |
| 115 | (S : Submodule L (L ⊗[K] D)) : FiniteFiltration K S := |
| 116 | restrictScalarFiltration L ((finiteCoefficientFiltration L Fil).restrict S) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Linear |