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.FiltrationTransportT |
| 2 | |
| 3 | /-! # Weak Admissibility Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.WeakAdmissibilityTransport.FiltrationTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Weak admissibility is preserved by the actual transported filtration and conjugate Frobenius. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | variable {R : Type u} [Field R] |
| 13 | {D : Type v} [AddCommGroup D] [Module R D] |
| 14 | {E : Type w} [AddCommGroup E] [Module R E] |
| 15 | |
| 16 | def conjugateEquiv (e : D ≃ₗ[R] E) (φ : D ≃ₗ[R] D) : E ≃ₗ[R] E := |
| 17 | e.symm.trans (φ.trans e) |
| 18 | |
| 19 | theorem conjugateEquiv_apply (e : D ≃ₗ[R] E) (φ : D ≃ₗ[R] D) (x : E) : |
| 20 | conjugateEquiv e φ x = e (φ (e.symm x)) := rfl |
| 21 | |
| 22 | theorem conjugateEquiv_toLinearMap (e : D ≃ₗ[R] E) (φ : D ≃ₗ[R] D) : |
| 23 | (conjugateEquiv e φ).toLinearMap = e.conj φ.toLinearMap := rfl |
| 24 | |
| 25 | theorem det_eq_of_intertwines (e : D ≃ₗ[R] E) (T : Module.End R D) (U : Module.End R E) |
| 26 | (h : ∀ x, e (T x) = U (e x)) : U.det = T.det := by |
| 27 | have he : U = e.conj T := by |
| 28 | ext y |
| 29 | obtain ⟨x, rfl⟩ := e.surjective y |
| 30 | simpa only [LinearEquiv.conj_apply_apply, LinearEquiv.symm_apply_apply] using (h x).symm |
| 31 | rw [he] |
| 32 | exact LinearMap.det_conj T e |
| 33 | |
| 34 | theorem comap_stable (e : D ≃ₗ[R] E) (φ : D ≃ₗ[R] D) (T : Submodule R E) |
| 35 | (hT : T ≤ T.comap (conjugateEquiv e φ).toLinearMap) : |
| 36 | T.comap e.toLinearMap ≤ (T.comap e.toLinearMap).comap φ.toLinearMap := by |
| 37 | intro x hx |
| 38 | have h := hT hx |
| 39 | change e (φ (e.symm (e x))) ∈ T at h |
| 40 | change e (φ x) ∈ T |
| 41 | simpa only [LinearEquiv.symm_apply_apply] using h |
| 42 | |
| 43 | theorem restrict_det_eq (e : D ≃ₗ[R] E) (φ : D ≃ₗ[R] D) (T : Submodule R E) |
| 44 | (hT : T ≤ T.comap (conjugateEquiv e φ).toLinearMap) : |
| 45 | ((conjugateEquiv e φ).toLinearMap.restrict hT).det = |
| 46 | (φ.toLinearMap.restrict (comap_stable e φ T hT)).det := by |
| 47 | let eT := e.ofSubmodule' T |
| 48 | apply det_eq_of_intertwines eT |
| 49 | intro x |
| 50 | apply Subtype.ext |
| 51 | change e (φ (x : D)) = e (φ (e.symm (e (x : D)))) |
| 52 | rw [LinearEquiv.symm_apply_apply] |
| 53 | |
| 54 | variable (q : ℕ) [Fact q.Prime] |
| 55 | {V : Type v} [AddCommGroup V] [Module ℚ_[q] V] [FiniteDimensional ℚ_[q] V] |
| 56 | {W : Type w} [AddCommGroup W] [Module ℚ_[q] W] [FiniteDimensional ℚ_[q] W] |
| 57 | |
| 58 | /-- The numerical assertion transfers through the comparison; every stable subspace is tested. -/ |
| 59 | theorem weaklyAdmissible_map (e : V ≃ₗ[ℚ_[q]] W) (F : Linear.FiniteFiltration ℚ_[q] V) |
| 60 | (φ : V ≃ₗ[ℚ_[q]] V) (h : Linear.WeaklyAdmissible q F φ) : |
| 61 | Linear.WeaklyAdmissible q (FiltrationTransportT.FiltrationTransport.map e F) (conjugateEquiv e φ) := by |
| 62 | constructor |
| 63 | · rw [FiltrationTransportT.FiltrationTransport.tH_map, conjugateEquiv_toLinearMap] |
| 64 | change F.tH = (Padic.valuation (LinearMap.det |
| 65 | (e.toLinearMap.comp (φ.toLinearMap.comp e.symm.toLinearMap))) : ℚ) |
| 66 | rw [LinearMap.det_conj] |
| 67 | exact h.1 |
| 68 | · intro T hT |
| 69 | let S := T.comap e.toLinearMap |
| 70 | have hS : S ≤ S.comap φ.toLinearMap := comap_stable e φ T hT |
| 71 | have hmap : S.map e.toLinearMap = T := Submodule.map_comap_eq_of_surjective e.surjective T |
| 72 | have hH : ((FiltrationTransportT.FiltrationTransport.map e F).restrict T).tH = (F.restrict S).tH := by |
| 73 | rw [← hmap] |
| 74 | exact FiltrationTransportT.FiltrationTransport.tH_restrict_map e F S |
| 75 | rw [hH, restrict_det_eq] |
| 76 | exact h.2 S hS |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.GeometricComparison.WeakAdmissibilityTransport.FiltrationTransport |