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.CycleClass.Thom.NormalPair.Differential |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.LinearNormalExactness |
| 3 | |
| 4 | /-! # Tangent Kernel -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions |
| 11 | |
| 12 | /-! The kernel of the actual normal differential is the actual immersion tangent space. -/ |
| 13 | |
| 14 | open scoped _root_.Manifold _root_.Topology |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {M N E F G : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℂ E] [ChartedSpace E M] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 21 | [NormedAddCommGroup G] [NormedSpace ℂ G] [ChartedSpace G N] |
| 22 | {f : M → N} {x : M} (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair E F f x) |
| 23 | |
| 24 | def ambientNormal (y : N) : F := (P.ambientChart y).2 |
| 25 | |
| 26 | omit [TopologicalSpace M] [ChartedSpace E M] in |
| 27 | theorem ambientNormal_mfderiv |
| 28 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × F)) : |
| 29 | mfderiv 𝓘(ℂ, G) 𝓘(ℂ, F) (ambientNormal P) (f x) = |
| 30 | (ContinuousLinearMap.snd ℂ E F).comp |
| 31 | (mfderiv 𝓘(ℂ, G) 𝓘(ℂ, E × F) P.ambientChart (f x)) := |
| 32 | ((ContinuousLinearMap.snd ℂ E F).hasMFDerivAt.comp (f x) |
| 33 | (hP.mdifferentiableAt P.point_mem_source).hasMFDerivAt).mfderiv |
| 34 | |
| 35 | omit [TopologicalSpace M] [ChartedSpace E M] in |
| 36 | theorem ambientNormal_submersion |
| 37 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × F)) : |
| 38 | Function.Surjective (mfderiv 𝓘(ℂ, G) 𝓘(ℂ, F) (ambientNormal P) (f x)) := by |
| 39 | rw [ambientNormal_mfderiv P hP] |
| 40 | exact (show Function.Surjective (ContinuousLinearMap.snd ℂ E F) from |
| 41 | fun z => ⟨(0, z), rfl⟩).comp (hP.mfderiv_bijective P.point_mem_source).2 |
| 42 | |
| 43 | theorem ambientNormal_comp_mfderiv_zero |
| 44 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × F)) |
| 45 | (hf : MDifferentiableAt 𝓘(ℂ, E) 𝓘(ℂ, G) f x) : |
| 46 | (mfderiv 𝓘(ℂ, G) 𝓘(ℂ, F) (ambientNormal P) (f x)).comp |
| 47 | (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) f x) = 0 := by |
| 48 | have he : (ambientNormal P ∘ f) =ᶠ[𝓝 x] (fun _ : M => (0 : F)) := by |
| 49 | filter_upwards [hf.continuousAt.preimage_mem_nhds |
| 50 | (P.isOpen_neighborhood.mem_nhds P.point_mem_neighborhood)] with y hy |
| 51 | exact (P.range_iff (f y) hy).mp ⟨y, rfl⟩ |
| 52 | have hd : MDifferentiableAt 𝓘(ℂ, G) 𝓘(ℂ, F) (ambientNormal P) (f x) := |
| 53 | (ContinuousLinearMap.snd ℂ E F).mdifferentiableAt.comp (f x) |
| 54 | (hP.mdifferentiableAt P.point_mem_source) |
| 55 | have hz := he.mfderiv_eq (I := 𝓘(ℂ, E)) (I' := 𝓘(ℂ, F)) |
| 56 | rw [mfderiv_comp x hd hf, mfderiv_const] at hz |
| 57 | exact hz |
| 58 | |
| 59 | theorem ambientNormal_ker [FiniteDimensional ℂ E] [FiniteDimensional ℂ F] |
| 60 | [FiniteDimensional ℂ G] |
| 61 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × F)) |
| 62 | (hf : MDifferentiableAt 𝓘(ℂ, E) 𝓘(ℂ, G) f x) |
| 63 | (hi : Function.Injective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) f x)) : |
| 64 | LinearMap.ker (mfderiv 𝓘(ℂ, G) 𝓘(ℂ, F) (ambientNormal P) (f x)).toLinearMap = |
| 65 | LinearMap.range (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) f x).toLinearMap := by |
| 66 | apply LinearNormalExactness.Constructions.ker_eq_range (k := ℂ) (W := E) (A := G) (V := F) |
| 67 | _ _ hi (ambientNormal_submersion P hP) |
| 68 | · exact congrArg ContinuousLinearMap.toLinearMap (ambientNormal_comp_mfderiv_zero P hP hf) |
| 69 | · have hd := (hP.mfderiv P.point_mem_source).toLinearEquiv.finrank_eq |
| 70 | change Module.finrank ℂ G = Module.finrank ℂ (E × F) at hd |
| 71 | rw [Module.finrank_prod] at hd |
| 72 | exact hd.symm |
| 73 | |
| 74 | end AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions |
| 75 | |
| 76 | namespace AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions.Map |
| 77 | |
| 78 | /-! Maps landing in the actual immersion image have zero normal differential. -/ |
| 79 | |
| 80 | open scoped _root_.Manifold _root_.Topology |
| 81 | |
| 82 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions |
| 83 | |
| 84 | variable {M L N E F G H : Type} [TopologicalSpace L] [TopologicalSpace N] |
| 85 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 86 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 87 | [NormedAddCommGroup G] [NormedSpace ℂ G] [ChartedSpace G N] |
| 88 | [NormedAddCommGroup H] [NormedSpace ℂ H] [ChartedSpace H L] |
| 89 | {f : M → N} {x : M} (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair E F f x) |
| 90 | |
| 91 | theorem normal_comp_zero_of_range (g : L → N) (y : L) |
| 92 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × F)) |
| 93 | (hg : MDifferentiableAt 𝓘(ℂ, H) 𝓘(ℂ, G) g y) |
| 94 | (hy : g y = f x) (hr : Set.range g ⊆ Set.range f) : |
| 95 | (mfderiv 𝓘(ℂ, G) 𝓘(ℂ, F) (ambientNormal P) (f x)).comp |
| 96 | (mfderiv 𝓘(ℂ, H) 𝓘(ℂ, G) g y) = 0 := by |
| 97 | have hyn : g y ∈ P.neighborhood := hy.symm ▸ P.point_mem_neighborhood |
| 98 | have he : (ambientNormal P ∘ g) =ᶠ[𝓝 y] (fun _ : L => (0 : F)) := by |
| 99 | filter_upwards [hg.continuousAt.preimage_mem_nhds |
| 100 | (P.isOpen_neighborhood.mem_nhds hyn)] with z hz |
| 101 | exact (P.range_iff (g z) hz).mp (hr ⟨z, rfl⟩) |
| 102 | have hd : MDifferentiableAt 𝓘(ℂ, G) 𝓘(ℂ, F) (ambientNormal P) (g y) := by |
| 103 | rw [hy] |
| 104 | exact (ContinuousLinearMap.snd ℂ E F).mdifferentiableAt.comp (f x) |
| 105 | (hP.mdifferentiableAt P.point_mem_source) |
| 106 | have hz := he.mfderiv_eq (I := 𝓘(ℂ, H)) (I' := 𝓘(ℂ, F)) |
| 107 | rw [mfderiv_comp y hd hg, mfderiv_const, hy] at hz |
| 108 | exact hz |
| 109 | |
| 110 | end AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions.Map |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI |