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 Mathlib.Analysis.Normed.Operator.BoundedLinearMaps |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.LinearAlgebra.Projection |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | |
| 6 | /-! # Period Transversality -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.PeriodTransversality.Abelian |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The transverse period chart is open for continuously varying period |
| 14 | frames. The proof uses openness of invertible continuous linear maps, |
| 15 | applied to the frame together with a fixed complementary subspace. |
| 16 | -/ |
| 17 | |
| 18 | open scoped _root_.Topology |
| 19 | |
| 20 | variable {S E F : Type*} [TopologicalSpace S] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 23 | |
| 24 | omit [FiniteDimensional ℂ E] [FiniteDimensional ℂ F] in |
| 25 | theorem isCompl_range_of_coprod_equiv (f : E →L[ℂ] F) (W : Submodule ℂ F) |
| 26 | (e : (E × W) ≃L[ℂ] F) (he : e.toContinuousLinearMap = f.coprod W.subtypeL) : |
| 27 | IsCompl f.toLinearMap.range W := by |
| 28 | have h := (Submodule.orderIsoMapComap e.toLinearEquiv).isCompl |
| 29 | (LinearMap.isCompl_range_inl_inr (R := ℂ) (M := E) (M₂ := W)) |
| 30 | change IsCompl ((LinearMap.inl ℂ E W).range.map e.toLinearEquiv.toLinearMap) |
| 31 | ((LinearMap.inr ℂ E W).range.map e.toLinearEquiv.toLinearMap) at h |
| 32 | have he' : e.toLinearEquiv.toLinearMap = f.toLinearMap.coprod W.subtype := |
| 33 | congrArg ContinuousLinearMap.toLinearMap he |
| 34 | rw [← LinearMap.range_comp, ← LinearMap.range_comp, he', LinearMap.coprod_inl, |
| 35 | LinearMap.coprod_inr, Submodule.range_subtype] at h |
| 36 | exact h |
| 37 | |
| 38 | /-- Transversality to a fixed complement persists in a neighborhood. -/ |
| 39 | theorem eventually_isCompl_range (f : S → E →L[ℂ] F) (s₀ : S) |
| 40 | (hf : ContinuousAt f s₀) (W : Submodule ℂ F) |
| 41 | (hi : Function.Injective (f s₀)) (hW : IsCompl (f s₀).toLinearMap.range W) : |
| 42 | ∀ᶠ s in 𝓝 s₀, IsCompl (f s).toLinearMap.range W := by |
| 43 | let e₁ := LinearEquiv.ofInjective (f s₀).toLinearMap hi |
| 44 | let e₂ := ((f s₀).toLinearMap.range).prodEquivOfIsCompl W hW |
| 45 | let e₀ := ((e₁.prodCongr (LinearEquiv.refl ℂ W)).trans e₂).toContinuousLinearEquiv |
| 46 | have he₀ : e₀.toContinuousLinearMap = (f s₀).coprod W.subtypeL := by |
| 47 | apply ContinuousLinearMap.ext |
| 48 | rintro ⟨x, w⟩ |
| 49 | change (f s₀) x + (w : F) = (f s₀) x + (w : F) |
| 50 | rfl |
| 51 | have hc : ContinuousAt (fun s => (f s).coprod W.subtypeL) s₀ := |
| 52 | hf.continuousLinearMapCoprod continuousAt_const |
| 53 | let : CompleteSpace (E × W) := FiniteDimensional.complete ℂ _ |
| 54 | have hn : Set.range (fun e : (E × W) ≃L[ℂ] F => e.toContinuousLinearMap) ∈ |
| 55 | 𝓝 ((f s₀).coprod W.subtypeL) := by |
| 56 | rw [← he₀] |
| 57 | exact e₀.nhds |
| 58 | filter_upwards [hc.preimage_mem_nhds hn] with s hs |
| 59 | obtain ⟨e, he⟩ := hs |
| 60 | exact isCompl_range_of_coprod_equiv (f s) W e he |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.ArithmeticGeometry.Descent.CMVariety.PeriodTransversality.Abelian |