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.ArithmeticGroups.Lattices.ContractingInverseContinuity |
| 2 | import Mathlib.Topology.OpenPartialHomeomorph.Continuity |
| 3 | |
| 4 | /-! # Contracting Local Homeomorphism -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ContractingLocalHomeomorphism.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An equivariant local homeomorphism extends globally when compatible |
| 11 | invertible flows contract both its domain and its codomain. -/ |
| 12 | |
| 13 | open Filter |
| 14 | open scoped _root_.Topology |
| 15 | |
| 16 | theorem bijective_of_contracting_local_homeomorphism |
| 17 | {E F ι : Type*} [TopologicalSpace E] [TopologicalSpace F] |
| 18 | (f : E → F) (p : OpenPartialHomeomorph E F) (hp : (p : E → F) = f) |
| 19 | (x₀ : E) (hx₀ : x₀ ∈ p.source) |
| 20 | (a : ι → E ≃ₜ E) (b : ι → F ≃ₜ F) |
| 21 | (heq : ∀ t x, f (a t x) = b t (f x)) (l : Filter ι) [NeBot l] |
| 22 | (ha : ∀ x, Tendsto (fun t => a t x) l (𝓝 x₀)) |
| 23 | (hb : ∀ y, Tendsto (fun t => b t y) l (𝓝 (f x₀))) : Function.Bijective f := by |
| 24 | constructor |
| 25 | · intro x y hxy |
| 26 | obtain ⟨t, htx, hty⟩ := ((ha x).eventually (p.open_source.mem_nhds hx₀) |>.and |
| 27 | ((ha y).eventually (p.open_source.mem_nhds hx₀))).exists |
| 28 | apply (a t).injective |
| 29 | apply p.injOn htx hty |
| 30 | rw [hp, heq, heq, hxy] |
| 31 | · intro y |
| 32 | have hy₀ : f x₀ ∈ p.target := hp ▸ p.map_source hx₀ |
| 33 | obtain ⟨t, ht⟩ := ((hb y).eventually (p.open_target.mem_nhds hy₀)).exists |
| 34 | refine ⟨(a t).symm (p.symm (b t y)), ?_⟩ |
| 35 | apply (b t).injective |
| 36 | rw [← heq, (a t).apply_symm_apply, ← hp] |
| 37 | exact p.right_inv ht |
| 38 | |
| 39 | theorem exists_homeomorph_of_contracting_local_homeomorphism |
| 40 | {E F ι : Type*} [TopologicalSpace E] [TopologicalSpace F] |
| 41 | (f : E → F) (hf : Continuous f) |
| 42 | (p : OpenPartialHomeomorph E F) (hp : (p : E → F) = f) |
| 43 | (x₀ : E) (hx₀ : x₀ ∈ p.source) |
| 44 | (a : ι → E ≃ₜ E) (b : ι → F ≃ₜ F) |
| 45 | (heq : ∀ t x, f (a t x) = b t (f x)) (l : Filter ι) [NeBot l] |
| 46 | (ha : ∀ x, Tendsto (fun t => a t x) l (𝓝 x₀)) |
| 47 | (hb : ∀ y, Tendsto (fun t => b t y) l (𝓝 (f x₀))) : |
| 48 | ∃ e : E ≃ₜ F, (e : E → F) = f := by |
| 49 | let e := Equiv.ofBijective f (bijective_of_contracting_local_homeomorphism f p hp x₀ hx₀ a b heq l ha hb) |
| 50 | have he : (e : E → F) = f := rfl |
| 51 | have hlocal : ∀ᶠ y in 𝓝 (f x₀), ContinuousAt e.symm y := by |
| 52 | have hy₀ : f x₀ ∈ p.target := hp ▸ p.map_source hx₀ |
| 53 | filter_upwards [p.open_target.mem_nhds hy₀] with y hy |
| 54 | have hi : ∀ᶠ z in 𝓝 y, e.symm z = p.symm z := by |
| 55 | filter_upwards [p.open_target.mem_nhds hy] with z hz |
| 56 | apply e.injective |
| 57 | rw [e.apply_symm_apply, he, ← hp, p.right_inv hz] |
| 58 | exact (p.continuousAt_symm hy).congr_of_eventuallyEq hi |
| 59 | have hinv : Continuous e.symm := ContractingInverseContinuity.Construction.continuous_inverse_of_contracting_equivariance |
| 60 | e (fun t => a t) (fun t => (a t).symm) (fun t => b t) |
| 61 | (fun t => (a t).symm.continuous) (fun t => (b t).continuous) |
| 62 | (fun t x => (a t).symm_apply_apply x) heq l (f x₀) hb hlocal |
| 63 | exact ⟨⟨e, hf, hinv⟩, rfl⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ContractingLocalHomeomorphism.Construction |