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.Normal.SliceDifferential |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Product.SliceDifferential |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.TransverseProjectionLinear |
| 5 | |
| 6 | /-! # Slice Equations -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.CycleClass.Thom.Projection.SliceEquations.Constructions.NormalDerivative |
| 13 | |
| 14 | /-! Normal equations restrict invertibly to an actual slice of a sheet with injective projection. -/ |
| 15 | |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions.Map OAI.AlgebraicGeometry.CycleClass.Thom.Normal.SliceDifferential.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normal.SliceAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SliceDifferential.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable {M L N E G W : Type} [TopologicalSpace L] [TopologicalSpace N] |
| 25 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 26 | [NormedAddCommGroup G] [NormedSpace ℂ G] [FiniteDimensional ℂ G] [ChartedSpace G N] |
| 27 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] [ChartedSpace W L] |
| 28 | {c d : ℕ} {f : M → N} {x : M} {i : L → N × (Fin d → ℂ)} {y : L} |
| 29 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair E (Fin c → ℂ) f x) |
| 30 | (Q : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair W (Fin (c + d) → ℂ) i y) |
| 31 | |
| 32 | local instance (priority := low) : ChartedSpace (G × (Fin d → ℂ)) (N × (Fin d → ℂ)) := |
| 33 | prodChartedSpace G N (Fin d → ℂ) (Fin d → ℂ) |
| 34 | |
| 35 | theorem normal_slice_linear_injective |
| 36 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × (Fin c → ℂ))) |
| 37 | (hPi : ContMDiffOn 𝓘(ℂ, E × (Fin c → ℂ)) 𝓘(ℂ, G) ω |
| 38 | P.ambientChart.symm P.ambientChart.target) |
| 39 | (hQ : Q.ambientChart.MDifferentiable 𝓘(ℂ, G × (Fin d → ℂ)) |
| 40 | 𝓘(ℂ, W × (Fin (c + d) → ℂ))) |
| 41 | (hi : MDifferentiableAt 𝓘(ℂ, W) 𝓘(ℂ, G × (Fin d → ℂ)) i y) |
| 42 | (hxy : (i y).1 = f x) (hr : Set.range (Prod.fst ∘ i) ⊆ Set.range f) |
| 43 | (hip : Function.Injective (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G) (Prod.fst ∘ i) y)) : |
| 44 | Function.Injective |
| 45 | ((mfderiv 𝓘(ℂ, G × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) |
| 46 | (NormalPair.TangentKernel.Constructions.ambientNormal Q) (i y)).comp |
| 47 | ((mfderiv 𝓘(ℂ, Fin c → ℂ) 𝓘(ℂ, G) (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) |
| 48 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P)).prodMap (ContinuousLinearMap.id ℂ (Fin d → ℂ)))) := by |
| 49 | have hproj := Product.SliceDifferential.Constructions.projection_mfderiv i y hi |
| 50 | have hip' : Function.Injective ((ContinuousLinearMap.fst ℂ G (Fin d → ℂ)).comp |
| 51 | (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G × (Fin d → ℂ)) i y)) := hproj ▸ hip |
| 52 | have hii : Function.Injective (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G × (Fin d → ℂ)) i y) := by |
| 53 | intro a b hab |
| 54 | apply hip' |
| 55 | exact congrArg (ContinuousLinearMap.fst ℂ G (Fin d → ℂ)) hab |
| 56 | have hpd : MDifferentiableAt 𝓘(ℂ, W) 𝓘(ℂ, G) (Prod.fst ∘ i) y := by |
| 57 | rw [modelWithCornersSelf_prod] at hi |
| 58 | exact hi.fst |
| 59 | have hz := NormalPair.TangentKernel.Constructions.Map.normal_comp_zero_of_range P (Prod.fst ∘ i) y hP hpd hxy hr |
| 60 | rw [hproj] at hz |
| 61 | exact TransverseProjectionLinear.Constructions.normal_slice_injective |
| 62 | (k := ℂ) (A := G) (F := Fin d → ℂ) (U := Fin c → ℂ) (W := W) |
| 63 | (V := Fin (c + d) → ℂ) |
| 64 | (mfderiv 𝓘(ℂ, G) 𝓘(ℂ, Fin c → ℂ) (NormalPair.TangentKernel.Constructions.ambientNormal P) (f x)).toLinearMap |
| 65 | (mfderiv 𝓘(ℂ, Fin c → ℂ) 𝓘(ℂ, G) (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) |
| 66 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P)).toLinearMap |
| 67 | (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G × (Fin d → ℂ)) i y).toLinearMap |
| 68 | (mfderiv 𝓘(ℂ, G × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) |
| 69 | (NormalPair.TangentKernel.Constructions.ambientNormal Q) (i y)).toLinearMap |
| 70 | (congrArg ContinuousLinearMap.toLinearMap (Normal.SliceDifferential.Constructions.normalSlice_mfderiv_rightInverse P hP hPi)) |
| 71 | (NormalPair.TangentKernel.Constructions.ambientNormal_ker Q hQ hi hii) |
| 72 | (congrArg ContinuousLinearMap.toLinearMap hz) hip' |
| 73 | |
| 74 | theorem normal_slice_linear_bijective |
| 75 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × (Fin c → ℂ))) |
| 76 | (hPi : ContMDiffOn 𝓘(ℂ, E × (Fin c → ℂ)) 𝓘(ℂ, G) ω |
| 77 | P.ambientChart.symm P.ambientChart.target) |
| 78 | (hQ : Q.ambientChart.MDifferentiable 𝓘(ℂ, G × (Fin d → ℂ)) |
| 79 | 𝓘(ℂ, W × (Fin (c + d) → ℂ))) |
| 80 | (hi : MDifferentiableAt 𝓘(ℂ, W) 𝓘(ℂ, G × (Fin d → ℂ)) i y) |
| 81 | (hxy : (i y).1 = f x) (hr : Set.range (Prod.fst ∘ i) ⊆ Set.range f) |
| 82 | (hip : Function.Injective (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G) (Prod.fst ∘ i) y)) : |
| 83 | Function.Bijective |
| 84 | ((mfderiv 𝓘(ℂ, G × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) |
| 85 | (NormalPair.TangentKernel.Constructions.ambientNormal Q) (i y)).comp |
| 86 | ((mfderiv 𝓘(ℂ, Fin c → ℂ) 𝓘(ℂ, G) (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) |
| 87 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P)).prodMap (ContinuousLinearMap.id ℂ (Fin d → ℂ)))) := by |
| 88 | have h := normal_slice_linear_injective P Q hP hPi hQ hi hxy hr hip |
| 89 | refine ⟨h, ?_⟩ |
| 90 | exact (LinearMap.injective_iff_surjective_of_finrank_eq_finrank |
| 91 | (K := ℂ) (V := (Fin c → ℂ) × (Fin d → ℂ)) (V₂ := Fin (c + d) → ℂ) |
| 92 | (by simp only [Module.finrank_prod, Module.finrank_fin_fun]) |
| 93 | (f := ((mfderiv 𝓘(ℂ, G × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) |
| 94 | (NormalPair.TangentKernel.Constructions.ambientNormal Q) (i y)).comp |
| 95 | ((mfderiv 𝓘(ℂ, Fin c → ℂ) 𝓘(ℂ, G) (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) |
| 96 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P)).prodMap (ContinuousLinearMap.id ℂ (Fin d → ℂ)))).toLinearMap)).mp h |
| 97 | |
| 98 | end AlgebraicGeometry.CycleClass.Thom.Projection.SliceEquations.Constructions.NormalDerivative |
| 99 | |
| 100 | namespace AlgebraicGeometry.CycleClass.Thom.Projection.SliceEquations.Constructions |
| 101 | |
| 102 | /-! The actual normal equations on a projection slice are holomorphic and have invertible differential. -/ |
| 103 | |
| 104 | open scoped _root_.Manifold ContDiff |
| 105 | |
| 106 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.TangentKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.SliceDifferential.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.SliceAnalytic.Constructions |
| 107 | open OAI.AlgebraicGeometry.CycleClass.Thom.Product.SliceDifferential.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Projection.SliceEquations.Constructions.NormalDerivative |
| 108 | |
| 109 | set_option backward.isDefEq.respectTransparency false |
| 110 | set_option backward.isDefEq.respectTransparency.types false |
| 111 | |
| 112 | variable {M L N E G W : Type} [TopologicalSpace L] [TopologicalSpace N] |
| 113 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 114 | [NormedAddCommGroup G] [NormedSpace ℂ G] [FiniteDimensional ℂ G] [ChartedSpace G N] |
| 115 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] [ChartedSpace W L] |
| 116 | {c d : ℕ} {f : M → N} {x : M} {i : L → N × (Fin d → ℂ)} {y : L} |
| 117 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair E (Fin c → ℂ) f x) |
| 118 | (Q : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair W (Fin (c + d) → ℂ) i y) |
| 119 | |
| 120 | local instance (priority := low) : ChartedSpace (G × (Fin d → ℂ)) (N × (Fin d → ℂ)) := |
| 121 | prodChartedSpace G N (Fin d → ℂ) (Fin d → ℂ) |
| 122 | local instance (priority := low) : ChartedSpace ((Fin c → ℂ) × (Fin d → ℂ)) |
| 123 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOpen P × (Fin d → ℂ)) := |
| 124 | prodChartedSpace (Fin c → ℂ) (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOpen P) (Fin d → ℂ) (Fin d → ℂ) |
| 125 | |
| 126 | def sliceEquations : HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOpen P × (Fin d → ℂ) → (Fin (c + d) → ℂ) := |
| 127 | NormalPair.TangentKernel.Constructions.ambientNormal Q ∘ Prod.map (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) (id : (Fin d → ℂ) → (Fin d → ℂ)) |
| 128 | |
| 129 | omit [NormedSpace ℂ E] [NormedSpace ℂ G] [FiniteDimensional ℂ G] [ChartedSpace G N] |
| 130 | [NormedSpace ℂ W] [FiniteDimensional ℂ W] [ChartedSpace W L] [TopologicalSpace L] in |
| 131 | theorem sliceProduct_image (hxy : (i y).1 = f x) : |
| 132 | Prod.map (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) (id : (Fin d → ℂ) → (Fin d → ℂ)) |
| 133 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2) = i y := |
| 134 | Prod.ext ((Normal.SliceDifferential.Constructions.normalSliceAmbient_origin P).trans hxy.symm) rfl |
| 135 | |
| 136 | omit [NormedSpace ℂ E] [NormedSpace ℂ G] [FiniteDimensional ℂ G] [ChartedSpace G N] |
| 137 | [NormedSpace ℂ W] [FiniteDimensional ℂ W] [ChartedSpace W L] [TopologicalSpace L] in |
| 138 | theorem sliceEquations_zero (hxy : (i y).1 = f x) : |
| 139 | sliceEquations P Q (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2) = 0 := by |
| 140 | change NormalPair.TangentKernel.Constructions.ambientNormal Q (Prod.map (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) id |
| 141 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2)) = 0 |
| 142 | rw [sliceProduct_image P hxy] |
| 143 | exact congrArg Prod.snd Q.point_coordinates |
| 144 | |
| 145 | omit [TopologicalSpace L] [FiniteDimensional ℂ G] [FiniteDimensional ℂ W] [ChartedSpace W L] in |
| 146 | theorem sliceEquations_analyticAt |
| 147 | (hPi : ContMDiffOn 𝓘(ℂ, E × (Fin c → ℂ)) 𝓘(ℂ, G) ω |
| 148 | P.ambientChart.symm P.ambientChart.target) |
| 149 | (hQa : ContMDiffOn 𝓘(ℂ, G × (Fin d → ℂ)) 𝓘(ℂ, W × (Fin (c + d) → ℂ)) ω |
| 150 | Q.ambientChart Q.ambientChart.source) |
| 151 | (hxy : (i y).1 = f x) : |
| 152 | ContMDiffAt 𝓘(ℂ, (Fin c → ℂ) × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) ω |
| 153 | (sliceEquations P Q) (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2) := by |
| 154 | have hs : ContMDiff 𝓘(ℂ, (Fin c → ℂ) × (Fin d → ℂ)) 𝓘(ℂ, G × (Fin d → ℂ)) ω |
| 155 | (Prod.map (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) (id : (Fin d → ℂ) → (Fin d → ℂ))) := by |
| 156 | rw [modelWithCornersSelf_prod, modelWithCornersSelf_prod] |
| 157 | exact (Normal.SliceAnalytic.Constructions.normalSliceAmbient_analytic P hPi).prodMap contMDiff_id |
| 158 | have hq := (hQa (i y) Q.point_mem_source).contMDiffAt |
| 159 | (Q.ambientChart.open_source.mem_nhds Q.point_mem_source) |
| 160 | have hn : ContMDiffAt 𝓘(ℂ, G × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) ω |
| 161 | (NormalPair.TangentKernel.Constructions.ambientNormal Q) (Prod.map (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) id (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2)) := by |
| 162 | rw [sliceProduct_image P hxy] |
| 163 | exact (ContinuousLinearMap.snd ℂ W (Fin (c + d) → ℂ)).contMDiff.contMDiffAt.comp (i y) hq |
| 164 | exact hn.comp (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2) (hs _) |
| 165 | |
| 166 | theorem sliceEquations_mfderiv_bijective |
| 167 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × (Fin c → ℂ))) |
| 168 | (hPi : ContMDiffOn 𝓘(ℂ, E × (Fin c → ℂ)) 𝓘(ℂ, G) ω |
| 169 | P.ambientChart.symm P.ambientChart.target) |
| 170 | (hQ : Q.ambientChart.MDifferentiable 𝓘(ℂ, G × (Fin d → ℂ)) |
| 171 | 𝓘(ℂ, W × (Fin (c + d) → ℂ))) |
| 172 | (hi : MDifferentiableAt 𝓘(ℂ, W) 𝓘(ℂ, G × (Fin d → ℂ)) i y) |
| 173 | (hxy : (i y).1 = f x) (hr : Set.range (Prod.fst ∘ i) ⊆ Set.range f) |
| 174 | (hip : Function.Injective (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G) (Prod.fst ∘ i) y)) : |
| 175 | Function.Bijective (mfderiv 𝓘(ℂ, (Fin c → ℂ) × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) |
| 176 | (sliceEquations P Q) (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2)) := by |
| 177 | have hs := (Normal.SliceAnalytic.Constructions.normalSliceAmbient_analytic P hPi).mdifferentiable (show (ω : ℕ∞ω) ≠ 0 by simp) |
| 178 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P) |
| 179 | have hn : MDifferentiableAt 𝓘(ℂ, G × (Fin d → ℂ)) 𝓘(ℂ, Fin (c + d) → ℂ) |
| 180 | (NormalPair.TangentKernel.Constructions.ambientNormal Q) (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P), (i y).2) := by |
| 181 | change MDifferentiableAt _ _ _ (Prod.map (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) id |
| 182 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2)) |
| 183 | rw [sliceProduct_image P hxy] |
| 184 | exact (ContinuousLinearMap.snd ℂ W (Fin (c + d) → ℂ)).mdifferentiableAt.comp (i y) |
| 185 | (hQ.mdifferentiableAt Q.point_mem_source) |
| 186 | have hd := Product.SliceDifferential.Constructions.product_slice_comp_mfderiv (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) (NormalPair.TangentKernel.Constructions.ambientNormal Q) |
| 187 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P) (i y).2 hs hn |
| 188 | change mfderiv _ _ (sliceEquations P Q) _ = _ at hd |
| 189 | change mfderiv _ _ (sliceEquations P Q) _ = |
| 190 | (mfderiv _ _ (NormalPair.TangentKernel.Constructions.ambientNormal Q) (Prod.map (Normal.SliceAnalytic.Constructions.normalSliceAmbientMap P) id |
| 191 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairNormalOrigin P, (i y).2))).comp _ at hd |
| 192 | rw [sliceProduct_image P hxy] at hd |
| 193 | rw [hd] |
| 194 | exact NormalDerivative.normal_slice_linear_bijective P Q hP hPi hQ hi hxy hr hip |
| 195 | |
| 196 | end AlgebraicGeometry.CycleClass.Thom.Projection.SliceEquations.Constructions |
| 197 | |
| 198 | end |
| 199 | |
| 200 | end OAI |