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.Geometry.Manifold.MFDeriv.NormedSpace |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft |
| 3 | import Mathlib.Analysis.Complex.Basic |
| 4 | import Mathlib.Analysis.Normed.Operator.Banach |
| 5 | |
| 6 | /-! # Differentiable Local Lift -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.DifferentiableLocalLift |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A continuous lift through a map with an injective, continuously split |
| 13 | differential is differentiable whenever its composite is differentiable. -/ |
| 14 | |
| 15 | open scoped _root_.Manifold _root_.Topology |
| 16 | open Set |
| 17 | |
| 18 | variable {V E F M N : Type*} |
| 19 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 20 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 21 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 22 | [TopologicalSpace M] [ChartedSpace E M] |
| 23 | [TopologicalSpace N] [ChartedSpace F N] |
| 24 | |
| 25 | theorem continuousLinearMap_exists_leftInverse [CompleteSpace E] [CompleteSpace F] |
| 26 | (d : E →L[ℂ] F) (hd : Function.Bijective d) : |
| 27 | ∃ i : F →L[ℂ] E, Function.LeftInverse i d := by |
| 28 | have hinj : d.ker = ⊥ := LinearMap.ker_eq_bot.mpr hd.1 |
| 29 | have hsurj : d.range = ⊤ := |
| 30 | LinearMap.range_eq_top.mpr (show Function.Surjective d.toLinearMap from hd.2) |
| 31 | let e := ContinuousLinearEquiv.ofBijective d hinj hsurj |
| 32 | exact ⟨e.symm.toContinuousLinearMap, e.symm_apply_apply⟩ |
| 33 | |
| 34 | theorem mdifferentiableAt_localLift (f : M → N) (g : V → M) (x : V) |
| 35 | (f' : E →L[ℂ] F) (i : F →L[ℂ] E) |
| 36 | (hf : HasMFDerivAt (𝓘(ℂ, E)) (𝓘(ℂ, F)) f (g x) f') |
| 37 | (hi : Function.LeftInverse i f') (hg : ContinuousAt g x) |
| 38 | (hfg : MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, F)) (f ∘ g) x) : |
| 39 | MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, E)) g x := by |
| 40 | let G := writtenInExtChartAt (𝓘(ℂ, V)) (𝓘(ℂ, E)) x g |
| 41 | let H := writtenInExtChartAt (𝓘(ℂ, V)) (𝓘(ℂ, F)) x (f ∘ g) |
| 42 | let K := writtenInExtChartAt (𝓘(ℂ, E)) (𝓘(ℂ, F)) (g x) f |
| 43 | have hG : ContinuousAt G x := by |
| 44 | have h := (continuousAt_extChartAt (I := 𝓘(ℂ, E)) (x := g x)).comp hg |
| 45 | simpa [G, writtenInExtChartAt, chartAt_self_eq, extChartAt_self_eq] using h |
| 46 | have hH : DifferentiableAt ℂ H x := by |
| 47 | have h := hfg.differentiableWithinAt_writtenInExtChartAt |
| 48 | simpa [H, extChartAt_self_eq, chartAt_self_eq, differentiableWithinAt_univ] using h |
| 49 | have hK : HasFDerivAt K f' (G x) := by |
| 50 | have h := hf.2 |
| 51 | have h' : HasFDerivAt K f' ((extChartAt (𝓘(ℂ, E)) (g x)) (g x)) := by |
| 52 | exact h.hasFDerivAt (by simp) |
| 53 | simpa [G, writtenInExtChartAt, chartAt_self_eq, extChartAt_self_eq] using h' |
| 54 | have hcomp : K ∘ G =ᶠ[𝓝 x] H := by |
| 55 | have h := writtenInExtChartAt_comp (I := 𝓘(ℂ, V)) (I' := 𝓘(ℂ, E)) (I'' := 𝓘(ℂ, F)) |
| 56 | (g := f) hg.continuousWithinAt (s := Set.univ) |
| 57 | simpa [K, G, H, extChartAt_self_eq, chartAt_self_eq] using h.symm |
| 58 | have hdiff := hK.of_comp_of_leftInverse hG hH.hasFDerivAt hcomp hi |
| 59 | apply (mdifferentiableAt_iff g x).mpr |
| 60 | refine ⟨hg, ?_⟩ |
| 61 | simpa [G, extChartAt_self_eq, chartAt_self_eq, differentiableWithinAt_univ] using hdiff.differentiableAt |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.RepresentationTheory.Theta.Geometric.DifferentiableLocalLift |