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.RepresentationTheory.Weil.UnitarySplitting.UltraMultiplier |
| 2 | |
| 3 | /-! # Local Constancy -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.LocalConstancy |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compact locally constant functions have uniform stabilizers under |
| 10 | small linear coordinate changes and small quadratic multipliers. |
| 11 | These are properties of the actual LocalWeil functions, with no Weil-action |
| 12 | smoothness assumption. -/ |
| 13 | |
| 14 | open Filter OAI.RepresentationTheory.Weil.UnitarySplitting.UltraMultiplier.Construction |
| 15 | open scoped _root_.Topology |
| 16 | |
| 17 | theorem compact_eventually_eq |
| 18 | {P X Y : Type*} [TopologicalSpace P] [TopologicalSpace X] |
| 19 | (p₀ : P) (K : Set X) (hK : IsCompact K) |
| 20 | (f : X → Y) (hf : IsLocallyConstant f) |
| 21 | (a : P → X → X) (ha : Continuous (Function.uncurry a)) |
| 22 | (ha₀ : ∀ x, a p₀ x = x) : |
| 23 | ∀ᶠ p in 𝓝 p₀, ∀ x ∈ K, f (a p x) = f x := by |
| 24 | apply hK.eventually_forall_of_forall_eventually |
| 25 | intro x _ |
| 26 | have hleft : ∀ᶠ z : P × X in 𝓝 (p₀, x), f (a z.1 z.2) = f x := by |
| 27 | have h := (ha.tendsto (p₀, x)).eventually (hf.eventually_eq (a p₀ x)) |
| 28 | change ∀ᶠ z : P × X in 𝓝 (p₀, x), f (a z.1 z.2) = f (a p₀ x) at h |
| 29 | simpa only [ha₀] using h |
| 30 | have hright : ∀ᶠ z : P × X in 𝓝 (p₀, x), f z.2 = f x := |
| 31 | (continuous_snd.tendsto (p₀, x)).eventually (hf.eventually_eq x) |
| 32 | filter_upwards [hleft, hright] with z hz hz' |
| 33 | exact hz.trans hz'.symm |
| 34 | |
| 35 | theorem compact_locallyConstant_coordinate_stabilizer |
| 36 | {P X : Type*} [TopologicalSpace P] [TopologicalSpace X] |
| 37 | (p₀ : P) (f : X → ℂ) (hf : IsLocallyConstant f) |
| 38 | (hs : HasCompactSupport f) |
| 39 | (a b : P → X → X) |
| 40 | (ha : Continuous (Function.uncurry a)) |
| 41 | (hb : Continuous (Function.uncurry b)) |
| 42 | (ha₀ : ∀ x, a p₀ x = x) (hb₀ : ∀ x, b p₀ x = x) |
| 43 | (hba : ∀ p x, b p (a p x) = x) : |
| 44 | ∀ᶠ p in 𝓝 p₀, ∀ x, f (a p x) = f x := by |
| 45 | have h₁ := compact_eventually_eq p₀ (tsupport f) hs f hf a ha ha₀ |
| 46 | have h₂ := compact_eventually_eq p₀ (tsupport f) hs f hf b hb hb₀ |
| 47 | filter_upwards [h₁, h₂] with p hp hp' |
| 48 | intro x |
| 49 | by_cases hx : x ∈ tsupport f |
| 50 | · exact hp x hx |
| 51 | · by_cases hax : a p x ∈ tsupport f |
| 52 | · have h := hp' (a p x) hax |
| 53 | simpa only [hba] using h.symm |
| 54 | · rw [image_eq_zero_of_notMem_tsupport hx, image_eq_zero_of_notMem_tsupport hax] |
| 55 | |
| 56 | variable {k : Type} [NormedField k] [IsUltrametricDist k] {N : ℕ} |
| 57 | |
| 58 | theorem substitution_eventually_fixes (f : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat k N) : |
| 59 | ∀ᶠ A : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N in 𝓝 1, Weil.Local.FunctionsMetaplectic.Construction.substitutionOperator A f.val = f.val := by |
| 60 | obtain ⟨hf, hs⟩ := Weil.UnitarySplitting.UltraMultiplier.Construction.schwartzBruhat_ultra_iff.mp f.property |
| 61 | have h := compact_locallyConstant_coordinate_stabilizer |
| 62 | (1 : Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k N) f.val hf hs |
| 63 | (fun A x => (↑(A⁻¹) : Matrix (Fin N) (Fin N) k).mulVec x) |
| 64 | (fun A x => (↑A : Matrix (Fin N) (Fin N) k).mulVec x) |
| 65 | (by fun_prop) (by fun_prop) |
| 66 | (by intro x; simp) (by intro x; simp) |
| 67 | (by intro A x; simp [Matrix.mulVec_mulVec]) |
| 68 | filter_upwards [h] with A hA |
| 69 | exact funext hA |
| 70 | |
| 71 | theorem quadratic_eventually_fixes |
| 72 | (ψ : AddChar k ℂ) (hψ : Continuous (fun t : k => ψ t)) |
| 73 | (f : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat k N) : |
| 74 | ∀ᶠ B : Matrix (Fin N) (Fin N) k in 𝓝 0, |
| 75 | Weil.Local.FunctionsMetaplectic.Construction.quadraticOperator ψ B f.val = f.val := by |
| 76 | have hlocal := Weil.UnitarySplitting.LocalTest.Construction.additiveCharacter_locallyConstant_ultra ψ hψ |
| 77 | have hphase : ∀ᶠ B : Matrix (Fin N) (Fin N) k in 𝓝 0, |
| 78 | ∀ x ∈ tsupport f.val, ψ (Weil.Local.FunctionsMetaplectic.Construction.quadratic B x) = 1 := by |
| 79 | apply (Weil.UnitarySplitting.UltraMultiplier.Construction.schwartzBruhat_ultra_iff.mp f.property).2.eventually_forall_of_forall_eventually |
| 80 | intro x _ |
| 81 | have hc : Continuous (fun p : Matrix (Fin N) (Fin N) k × Weil.Local.FunctionsMetaplectic.Construction.Position k N => |
| 82 | Weil.Local.FunctionsMetaplectic.Construction.quadratic p.1 p.2) := by unfold Weil.Local.FunctionsMetaplectic.Construction.quadratic; fun_prop |
| 83 | have h := (hc.tendsto (0, x)).eventually (hlocal.eventually_eq (Weil.Local.FunctionsMetaplectic.Construction.quadratic 0 x)) |
| 84 | simpa [Weil.Local.FunctionsMetaplectic.Construction.quadratic] using h |
| 85 | filter_upwards [hphase] with B hB |
| 86 | funext x |
| 87 | rw [Weil.Local.FunctionsMetaplectic.Construction.quadraticOperator_apply] |
| 88 | by_cases hx : x ∈ tsupport f.val |
| 89 | · rw [hB x hx, one_mul] |
| 90 | · rw [image_eq_zero_of_notMem_tsupport hx, mul_zero] |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.RepresentationTheory.Theta.Adelic.LocalConstancy |