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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.KernelGraphCoordinates |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.LocalGraphChart |
| 3 | |
| 4 | /-! # Graph Chart Tangent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.GraphChartTangent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The derivative of the actual inverse graph chart is a linear |
| 11 | isomorphism from its coordinates to the defining differential's kernel. -/ |
| 12 | |
| 13 | open Filter OAI.AlgebraicGeometry.ComplexPoints.Analytic.LocalGraphChart |
| 14 | open scoped _root_.Topology ContDiff |
| 15 | |
| 16 | variable {U V W : Type*} [NormedAddCommGroup U] [NormedSpace ℂ U] |
| 17 | [NormedAddCommGroup V] [NormedSpace ℂ V] [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 18 | |
| 19 | theorem graphChart_derivative_kernel (F : (U × V) → W) |
| 20 | (e : OpenPartialHomeomorph {z | F z = 0} U) |
| 21 | (z : {z | F z = 0}) (hz : z ∈ e.source) |
| 22 | (hG : ContDiffOn ℂ ω (fun u => (e.symm u).val) e.target) |
| 23 | (hF : DifferentiableAt ℂ F z.val) : |
| 24 | ∀ u, fderiv ℂ F z.val (fderiv ℂ (fun u => (e.symm u).val) (e z) u) = 0 := by |
| 25 | let G : U → U × V := fun u => (e.symm u).val |
| 26 | have hg : DifferentiableAt ℂ G (e z) := |
| 27 | (hG.contDiffAt (e.open_target.mem_nhds (e.map_source hz))).differentiableAt (by simp) |
| 28 | have hval : G (e z) = z.val := congrArg Subtype.val (e.left_inv hz) |
| 29 | have hF' : HasFDerivAt F (fderiv ℂ F z.val) (G (e z)) := hval.symm ▸ hF.hasFDerivAt |
| 30 | have hd := hF'.comp (e z) hg.hasFDerivAt |
| 31 | have hd0 : HasFDerivAt (fun _ : U => (0 : W)) |
| 32 | ((fderiv ℂ F z.val).comp (fderiv ℂ G (e z))) (e z) := by |
| 33 | apply hd.congr_of_eventuallyEq |
| 34 | exact Filter.Eventually.of_forall (fun u => (e.symm u).property.symm) |
| 35 | have heq := hd0.unique (hasFDerivAt_const (0 : W) (e z)) |
| 36 | intro u |
| 37 | exact DFunLike.congr_fun heq u |
| 38 | |
| 39 | omit [NormedSpace ℂ W] in |
| 40 | theorem graphChart_derivative_fst (F : (U × V) → W) |
| 41 | (e : OpenPartialHomeomorph {z | F z = 0} U) |
| 42 | (z : {z | F z = 0}) (hz : z ∈ e.source) |
| 43 | (he : ∀ t, e t = t.val.1) |
| 44 | (hG : ContDiffOn ℂ ω (fun u => (e.symm u).val) e.target) : |
| 45 | ∀ u, (fderiv ℂ (fun u => (e.symm u).val) (e z) u).1 = u := by |
| 46 | let G : U → U × V := fun u => (e.symm u).val |
| 47 | have hg : DifferentiableAt ℂ G (e z) := |
| 48 | (hG.contDiffAt (e.open_target.mem_nhds (e.map_source hz))).differentiableAt (by simp) |
| 49 | have hf : (fun u => (G u).1) =ᶠ[𝓝 (e z)] (fun u => u) := by |
| 50 | filter_upwards [e.open_target.mem_nhds (e.map_source hz)] with u hu |
| 51 | exact (he (e.symm u)).symm.trans (e.right_inv hu) |
| 52 | have hd0 := (ContinuousLinearMap.fst ℂ U V).hasFDerivAt.comp (e z) hg.hasFDerivAt |
| 53 | have hd := hd0.congr_of_eventuallyEq hf.symm |
| 54 | have heq := hd.unique (hasFDerivAt_id (e z)) |
| 55 | intro u |
| 56 | exact DFunLike.congr_fun heq u |
| 57 | |
| 58 | theorem graphChart_tangent_equiv (F : (U × V) → W) |
| 59 | (e : OpenPartialHomeomorph {z | F z = 0} U) |
| 60 | (z : {z | F z = 0}) (hz : z ∈ e.source) |
| 61 | (he : ∀ t, e t = t.val.1) |
| 62 | (hG : ContDiffOn ℂ ω (fun u => (e.symm u).val) e.target) |
| 63 | (hF : DifferentiableAt ℂ F z.val) |
| 64 | (hreg : ((fderiv ℂ F z.val).comp (ContinuousLinearMap.inr ℂ U V)).IsInvertible) : |
| 65 | ∃ d : U ≃ₗ[ℂ] (fderiv ℂ F z.val).toLinearMap.ker, |
| 66 | ∀ u, (d u).val = fderiv ℂ (fun u => (e.symm u).val) (e z) u := by |
| 67 | obtain ⟨r, hr⟩ := hreg |
| 68 | have hblock (v : V) : (fderiv ℂ F z.val).toLinearMap (0, v) = r v := |
| 69 | DFunLike.congr_fun hr.symm v |
| 70 | let c := KernelGraphCoordinates.kernelFreeEquiv (fderiv ℂ F z.val).toLinearMap r.toLinearEquiv hblock |
| 71 | refine ⟨c.symm, ?_⟩ |
| 72 | intro u |
| 73 | have hw := graphChart_derivative_kernel F e z hz hG hF u |
| 74 | have hf := graphChart_derivative_fst F e z hz he hG u |
| 75 | exact congrArg Subtype.val |
| 76 | (KernelGraphCoordinates.kernelFreeEquiv_inverse_characterization (fderiv ℂ F z.val).toLinearMap r.toLinearEquiv hblock |
| 77 | u (fderiv ℂ (fun u => (e.symm u).val) (e z) u) hw hf) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.GraphChartTangent |