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.ArithmeticGeometry.Descent.CMVariety.LocalPeriod |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.Analysis.Normed.Operator.BoundedLinearMaps |
| 4 | |
| 5 | /-! # Continuous Period Basis -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Continue a central real basis consisting of periods. Openness of linear |
| 13 | isomorphisms gives actual nearby real coordinate isomorphisms; their |
| 14 | basis vectors remain genuine periods and vary continuously at the center. |
| 15 | This does not yet assert that they generate the entire integral lattice. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Classical _root_.Topology |
| 20 | |
| 21 | variable {P V X Index : Type} [TopologicalSpace P] |
| 22 | [NormedAddCommGroup V] [NormedSpace ℝ V] [TopologicalSpace X] [Fintype Index] |
| 23 | {G : P → Type} [∀ p, Group (G p)] |
| 24 | {exponential : ∀ p, V → G p} {embed : ∀ p, G p → X} {p₀ : P} |
| 25 | |
| 26 | theorem LocalPeriod.Abelian.LocalPeriodFamily.exists_continuous_real_period_basis |
| 27 | (H : LocalPeriod.Abelian.LocalPeriodFamily G exponential embed p₀) |
| 28 | (e₀ : (Index → ℝ) ≃L[ℝ] V) |
| 29 | (hperiod : ∀ i, exponential p₀ (e₀ (Pi.single i 1)) = 1) : |
| 30 | ∃ e : P → (Index → ℝ) ≃L[ℝ] V, |
| 31 | e p₀ = e₀ ∧ ContinuousAt (fun p => (e p).toContinuousLinearMap) p₀ ∧ |
| 32 | ∀ᶠ p in 𝓝 p₀, ∀ i, exponential p (e p (Pi.single i 1)) = 1 := by |
| 33 | choose period hcont hcenter hker using fun i => H.continuation _ (hperiod i) |
| 34 | let frames := ContinuousLinearEquiv.piRing (𝕜 := ℝ) (E := V) Index |
| 35 | let f : P → (Index → ℝ) →L[ℝ] V := fun p => frames.symm (fun i => period i p) |
| 36 | have hf : ContinuousAt f p₀ := |
| 37 | frames.symm.continuous.continuousAt.comp (continuousAt_pi.mpr hcont) |
| 38 | have hf₀ : f p₀ = e₀.toContinuousLinearMap := by |
| 39 | apply frames.injective |
| 40 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 41 | funext i |
| 42 | exact hcenter i |
| 43 | let invertible : Set ((Index → ℝ) →L[ℝ] V) := |
| 44 | Set.range (fun e : (Index → ℝ) ≃L[ℝ] V => e.toContinuousLinearMap) |
| 45 | have hinv : ∀ᶠ p in 𝓝 p₀, f p ∈ invertible := by |
| 46 | apply hf.preimage_mem_nhds |
| 47 | rw [hf₀] |
| 48 | exact e₀.nhds |
| 49 | have hex (p : P) : ∃ e : (Index → ℝ) ≃L[ℝ] V, |
| 50 | f p ∈ invertible → e.toContinuousLinearMap = f p := by |
| 51 | by_cases hp : f p ∈ invertible |
| 52 | · obtain ⟨e, he⟩ := hp |
| 53 | exact ⟨e, fun _ => he⟩ |
| 54 | · exact ⟨e₀, fun h => (hp h).elim⟩ |
| 55 | choose e he using hex |
| 56 | have hevent : (fun p => (e p).toContinuousLinearMap) =ᶠ[𝓝 p₀] f := |
| 57 | hinv.mono (fun p hp => he p hp) |
| 58 | have he₀ : e p₀ = e₀ := by |
| 59 | ext v |
| 60 | exact congrArg (fun L : (Index → ℝ) →L[ℝ] V => L v) |
| 61 | ((hevent.self_of_nhds).trans hf₀) |
| 62 | refine ⟨e, he₀, hf.congr_of_eventuallyEq hevent, ?_⟩ |
| 63 | have hperiods : ∀ᶠ p in 𝓝 p₀, ∀ i, exponential p (period i p) = 1 := |
| 64 | eventually_all.mpr hker |
| 65 | filter_upwards [hevent, hperiods] with p hp hpk |
| 66 | intro i |
| 67 | have hi : e p (Pi.single i 1) = period i p := by |
| 68 | have h := congrArg (fun L => frames L i) hp |
| 69 | change e p (Pi.single i 1) = frames (frames.symm (fun j => period j p)) i at h |
| 70 | rw [ContinuousLinearEquiv.apply_symm_apply] at h |
| 71 | exact h |
| 72 | rw [hi] |
| 73 | exact hpk i |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.ArithmeticGeometry.Descent.CMVariety |