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.Calculus.FDeriv.OfCompLeft |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Mul |
| 3 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 4 | |
| 5 | /-! # Translated Chart Derivative -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.TranslatedChartDerivative.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Derivatives of translations in a global chart follow from the |
| 12 | factorization of its ambient derivative into translation and tangent coordinates. -/ |
| 13 | |
| 14 | open scoped _root_.Topology |
| 15 | |
| 16 | theorem translated_chart_hasFDerivAt |
| 17 | {E A : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 18 | [NormedRing A] [NormedAlgebra ℝ A] |
| 19 | (i : E →L[ℝ] A) (hi : Function.Injective i) |
| 20 | (f : E → A) (J : E → E ≃L[ℝ] E) |
| 21 | (hf : ∀ x, HasFDerivAt f |
| 22 | ((ContinuousLinearMap.mul ℝ A (f x)).comp (i.comp (J x).toContinuousLinearMap)) x) |
| 23 | (hunit : ∀ x, IsUnit (f x)) |
| 24 | (e : E ≃ₜ E) (g : A) (he : ∀ x, f (e x) = g * f x) (x : E) : |
| 25 | HasFDerivAt e ((J (e x)).symm.toContinuousLinearMap.comp (J x).toContinuousLinearMap) x := by |
| 26 | let D : E → E →L[ℝ] A := fun y => |
| 27 | (ContinuousLinearMap.mul ℝ A (f y)).comp (i.comp (J y).toContinuousLinearMap) |
| 28 | have hinj : Function.Injective (D (e x)) := by |
| 29 | intro u v huv |
| 30 | apply (J (e x)).injective |
| 31 | apply hi |
| 32 | exact (hunit (e x)).mul_right_injective huv |
| 33 | have hemb : Topology.IsEmbedding (D (e x)) := |
| 34 | (LinearMap.isClosedEmbedding_of_injective (LinearMap.ker_eq_bot.mpr hinj)).isEmbedding |
| 35 | have hd := (ContinuousLinearMap.mul ℝ A g).hasFDerivAt.comp x (hf x) |
| 36 | have hcomp : (ContinuousLinearMap.mul ℝ A g).comp (D x) = |
| 37 | (D (e x)).comp ((J (e x)).symm.toContinuousLinearMap.comp (J x).toContinuousLinearMap) := by |
| 38 | ext y |
| 39 | change g * (f x * i (J x y)) = f (e x) * i (J (e x) ((J (e x)).symm (J x y))) |
| 40 | rw [(J (e x)).apply_symm_apply, he, mul_assoc] |
| 41 | change HasFDerivAt (fun y => g * f y) ((ContinuousLinearMap.mul ℝ A g).comp (D x)) x at hd |
| 42 | rw [hcomp] at hd |
| 43 | exact HasFDerivAt.of_comp_of_isEmbedding e.continuous.continuousAt (hf (e x)) hemb hd |
| 44 | (Filter.Eventually.of_forall he) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.ArithmeticGroups.Lattices.TranslatedChartDerivative.Construction |