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 OAI.Geometry.ComplexTorus.RiemannProjectivity.ImmersionFactorAt |
| 3 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 4 | import Mathlib.Geometry.Manifold.MFDeriv.FDeriv |
| 5 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts |
| 6 | |
| 7 | /-! # Manifold Projective -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace Geometry.ComplexTorus.RiemannProjectivity.ManifoldProjective.Constructions.ManifoldImmersionFactor |
| 14 | |
| 15 | /-! # RiemannProjectivity: detecting holomorphic maps in ambient immersion coordinates -/ |
| 16 | |
| 17 | open Set Filter ChartedSpace |
| 18 | open scoped _root_.Topology _root_.Manifold |
| 19 | |
| 20 | variable {V W Z N : Type*} |
| 21 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 22 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] |
| 23 | [NormedAddCommGroup Z] [NormedSpace ℂ Z] [FiniteDimensional ℂ Z] |
| 24 | [TopologicalSpace N] [ChartedSpace W N] [IsManifold (𝓘(ℂ, W)) 1 N] |
| 25 | |
| 26 | theorem from_normedSpace {g : V → N} {f : N → Z} {x : V} {U : Set N} |
| 27 | (hU : IsOpen U) (hx : g x ∈ U) |
| 28 | (hf : MDifferentiableOn (𝓘(ℂ, W)) (𝓘(ℂ, Z)) f U) |
| 29 | (hi : Function.Injective (mfderiv (𝓘(ℂ, W)) (𝓘(ℂ, Z)) f (g x))) |
| 30 | (hg : ContinuousAt g x) (hc : DifferentiableAt ℂ (f ∘ g) x) : |
| 31 | MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, W)) g x := by |
| 32 | let e := chartAt W (g x) |
| 33 | let B := e.target ∩ e.symm ⁻¹' U |
| 34 | let F : W → Z := f ∘ e.symm |
| 35 | have he : e.MDifferentiable (𝓘(ℂ, W)) (𝓘(ℂ, W)) := mdifferentiable_chart (g x) |
| 36 | have hxe : g x ∈ e.source := mem_chart_source W (g x) |
| 37 | have hz : e (g x) ∈ B := ⟨e.map_source hxe, by simpa only [mem_preimage, e.left_inv hxe] using hx⟩ |
| 38 | have hB : IsOpen B := e.isOpen_inter_preimage_symm hU |
| 39 | have hF : DifferentiableOn ℂ F B := by |
| 40 | intro z hz |
| 41 | exact (((hf (e.symm z) hz.2).mdifferentiableAt (hU.mem_nhds hz.2)).comp z |
| 42 | (he.mdifferentiableAt_symm hz.1)).differentiableAt.differentiableWithinAt |
| 43 | have hFi : Function.Injective (fderiv ℂ F (e (g x))) := by |
| 44 | rw [← mfderiv_eq_fderiv] |
| 45 | change Function.Injective (mfderiv (𝓘(ℂ, W)) (𝓘(ℂ, Z)) (f ∘ e.symm) (e (g x))) |
| 46 | have hfe : MDifferentiableAt (𝓘(ℂ, W)) (𝓘(ℂ, Z)) f (e.symm (e (g x))) := by |
| 47 | rw [e.left_inv hxe] |
| 48 | exact (hf (g x) hx).mdifferentiableAt (hU.mem_nhds hx) |
| 49 | rw [mfderiv_comp _ hfe (he.mdifferentiableAt_symm hz.1)] |
| 50 | have hfi : Function.Injective (mfderiv (𝓘(ℂ, W)) (𝓘(ℂ, Z)) f (e.symm (e (g x)))) := by |
| 51 | rw [e.left_inv hxe] |
| 52 | exact hi |
| 53 | exact hfi.comp (he.symm.mfderiv_injective hz.1) |
| 54 | have heg : ContinuousAt (e ∘ g) x := (e.continuousAt hxe).comp hg |
| 55 | have hFeg : DifferentiableAt ℂ (F ∘ (e ∘ g)) x := by |
| 56 | apply hc.congr_of_eventuallyEq |
| 57 | filter_upwards [hg.preimage_mem_nhds (e.open_source.mem_nhds hxe)] with y hy |
| 58 | change f (e.symm (e (g y))) = f (g y) |
| 59 | rw [e.left_inv hy] |
| 60 | have hd := ImmersionFactorAt.Constructions.ImmersionFactor.differentiableAt_of_comp (g := e ∘ g) (x := x) hB hz hF hFi heg hFeg |
| 61 | apply mdifferentiableAt_iff_target.mpr |
| 62 | refine ⟨hg, ?_⟩ |
| 63 | exact hd.mdifferentiableAt |
| 64 | |
| 65 | variable {M : Type*} [TopologicalSpace M] [ChartedSpace V M] [IsManifold (𝓘(ℂ, V)) 1 M] |
| 66 | |
| 67 | theorem mdifferentiableAt_of_comp {g : M → N} {f : N → Z} {x : M} {U : Set N} |
| 68 | (hU : IsOpen U) (hx : g x ∈ U) |
| 69 | (hf : MDifferentiableOn (𝓘(ℂ, W)) (𝓘(ℂ, Z)) f U) |
| 70 | (hi : Function.Injective (mfderiv (𝓘(ℂ, W)) (𝓘(ℂ, Z)) f (g x))) |
| 71 | (hg : ContinuousAt g x) |
| 72 | (hc : MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, Z)) (f ∘ g) x) : |
| 73 | MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, W)) g x := by |
| 74 | let e := chartAt V x |
| 75 | have hxe : x ∈ e.source := mem_chart_source V x |
| 76 | have he : e.MDifferentiable (𝓘(ℂ, V)) (𝓘(ℂ, V)) := mdifferentiable_chart x |
| 77 | have hge : ContinuousAt (g ∘ e.symm) (e x) := by |
| 78 | apply ContinuousAt.comp _ (e.continuousAt_symm (e.map_source hxe)) |
| 79 | simpa only [e.left_inv hxe] using hg |
| 80 | have hce : DifferentiableAt ℂ (f ∘ (g ∘ e.symm)) (e x) := by |
| 81 | have h := hc.comp_of_eq (e x) (he.mdifferentiableAt_symm (e.map_source hxe)) (e.left_inv hxe) |
| 82 | exact h.differentiableAt |
| 83 | have hxeU : g (e.symm (e x)) ∈ U := by simpa only [e.left_inv hxe] using hx |
| 84 | have hie : Function.Injective |
| 85 | (mfderiv (𝓘(ℂ, W)) (𝓘(ℂ, Z)) f (g (e.symm (e x)))) := by |
| 86 | rw [e.left_inv hxe] |
| 87 | exact hi |
| 88 | have hd := from_normedSpace (g := g ∘ e.symm) (x := e x) hU hxeU hf hie hge hce |
| 89 | apply (mdifferentiableAt_iff_source_of_mem_source (x := x) hxe).mpr |
| 90 | exact hd.mdifferentiableWithinAt |
| 91 | |
| 92 | end Geometry.ComplexTorus.RiemannProjectivity.ManifoldProjective.Constructions.ManifoldImmersionFactor |
| 93 | |
| 94 | namespace Geometry.ComplexTorus.RiemannProjectivity.ManifoldProjective.Constructions.ProjectiveManifoldComparison |
| 95 | |
| 96 | /-! # RiemannProjectivity: a common projective immersion identifies complex manifold structures -/ |
| 97 | |
| 98 | open Set |
| 99 | open scoped _root_.Manifold |
| 100 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts |
| 101 | |
| 102 | variable {V W M N : Type*} |
| 103 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 104 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] |
| 105 | [TopologicalSpace M] [ChartedSpace V M] [IsManifold (𝓘(ℂ, V)) 1 M] |
| 106 | [TopologicalSpace N] [ChartedSpace W N] [IsManifold (𝓘(ℂ, W)) 1 N] |
| 107 | {n : ℕ} |
| 108 | |
| 109 | theorem mdifferentiable_of_common_embedding |
| 110 | (f : M → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 111 | (g : N → Projectivization ℂ (Fin (n + 1) → ℂ)) (hg : Continuous g) |
| 112 | (e : M → N) (he : Continuous e) (hcomm : ∀ x, g (e x) = f x) |
| 113 | (hf : ∀ i x, f x ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 114 | MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, Fin n → ℂ)) (fun y => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f y)) x) |
| 115 | (hd : ∀ i x, g x ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 116 | MDifferentiableAt (𝓘(ℂ, W)) (𝓘(ℂ, Fin n → ℂ)) (fun y => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g y)) x ∧ |
| 117 | Function.Injective (mfderiv (𝓘(ℂ, W)) (𝓘(ℂ, Fin n → ℂ)) |
| 118 | (fun y => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g y)) x)) : |
| 119 | MDifferentiable (𝓘(ℂ, V)) (𝓘(ℂ, W)) e := by |
| 120 | intro x |
| 121 | obtain ⟨i, hi⟩ := AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.exists_mem_projectiveFinChart_source (g (e x)) |
| 122 | have hcomp : MDifferentiableAt (𝓘(ℂ, V)) (𝓘(ℂ, Fin n → ℂ)) |
| 123 | ((fun y => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g y)) ∘ e) x := by |
| 124 | have hfun : ((fun y => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g y)) ∘ e) = |
| 125 | (fun y => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f y)) := funext (fun y => congrArg (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i) (hcomm y)) |
| 126 | rw [hfun] |
| 127 | exact hf i x (hcomm x ▸ hi) |
| 128 | exact ManifoldImmersionFactor.mdifferentiableAt_of_comp |
| 129 | ((AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).open_source.preimage hg) hi |
| 130 | (fun y hy => (hd i y hy).1.mdifferentiableWithinAt) (hd i (e x) hi).2 |
| 131 | he.continuousAt hcomp |
| 132 | |
| 133 | end Geometry.ComplexTorus.RiemannProjectivity.ManifoldProjective.Constructions.ProjectiveManifoldComparison |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI |