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.Comparison.Betti.Affine.PointDifferentialRank |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Affine.RegularDifferentialsSpan |
| 3 | |
| 4 | /-! # Chart Cotangent Realization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Affine.ChartCotangentRealization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Pointwise realization of actual Kähler differentials in a native regular chart. -/ |
| 13 | |
| 14 | open scoped ContDiff TensorProduct |
| 15 | |
| 16 | variable {A : Type} [CommRing A] [Algebra ℂ A] {n : ℕ} |
| 17 | |
| 18 | def affineChartRegularDifferential |
| 19 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 20 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (a : A) : Module.Dual ℂ (Fin n → ℂ) := |
| 21 | (fderiv ℂ (fun z => e.symm z a) (e x)).toLinearMap |
| 22 | |
| 23 | def affineChartRegularDerivation |
| 24 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 25 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) : |
| 26 | let _ : Module A (Module.Dual ℂ (Fin n → ℂ)) := |
| 27 | Module.compHom (Module.Dual ℂ (Fin n → ℂ)) x.toRingHom |
| 28 | Derivation ℂ A (Module.Dual ℂ (Fin n → ℂ)) := by |
| 29 | let : Module A (Module.Dual ℂ (Fin n → ℂ)) := |
| 30 | Module.compHom (Module.Dual ℂ (Fin n → ℂ)) x.toRingHom |
| 31 | have hd (a : A) : DifferentiableAt ℂ (fun z => e.symm z a) (e x) := |
| 32 | ((he.1 a).contDiffAt (e.open_target.mem_nhds (e.map_source hx))).differentiableAt |
| 33 | (by simp) |
| 34 | exact |
| 35 | { toFun := affineChartRegularDifferential e x |
| 36 | map_add' := fun a b => by |
| 37 | ext v |
| 38 | simp only [affineChartRegularDifferential, map_add] |
| 39 | rw [fderiv_fun_add (hd a) (hd b)] |
| 40 | rfl |
| 41 | map_smul' := fun c a => by |
| 42 | ext v |
| 43 | simp only [affineChartRegularDifferential, map_smul, smul_eq_mul] |
| 44 | rw [fderiv_fun_mul (differentiableAt_const c) (hd a)] |
| 45 | simp |
| 46 | map_one_eq_zero' := by |
| 47 | ext v |
| 48 | simp [affineChartRegularDifferential] |
| 49 | leibniz' := fun a b => by |
| 50 | apply LinearMap.ext |
| 51 | intro v |
| 52 | change fderiv ℂ (fun z => e.symm z (a * b)) (e x) v = |
| 53 | x a * fderiv ℂ (fun z => e.symm z b) (e x) v + |
| 54 | x b * fderiv ℂ (fun z => e.symm z a) (e x) v |
| 55 | simp only [map_mul] |
| 56 | rw [fderiv_fun_mul (hd a) (hd b)] |
| 57 | change e.symm (e x) a * _ + e.symm (e x) b * _ = x a * _ + x b * _ |
| 58 | rw [e.left_inv hx] |
| 59 | rfl } |
| 60 | |
| 61 | def affineChartCotangentRealization |
| 62 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 63 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) : |
| 64 | PointDifferentialRank.affinePointDifferentialFiber x →ₗ[ℂ] Module.Dual ℂ (Fin n → ℂ) := by |
| 65 | let : Algebra A ℂ := x.toRingHom.toAlgebra |
| 66 | let : Module A (Module.Dual ℂ (Fin n → ℂ)) := |
| 67 | Module.compHom (Module.Dual ℂ (Fin n → ℂ)) x.toRingHom |
| 68 | let : IsScalarTower ℂ A (Module.Dual ℂ (Fin n → ℂ)) := |
| 69 | ⟨fun c a v => by |
| 70 | change x (c • a) • v = c • (x a • v) |
| 71 | rw [map_smul, smul_assoc]⟩ |
| 72 | let : IsScalarTower A ℂ (Module.Dual ℂ (Fin n → ℂ)) := |
| 73 | ⟨fun a c v => by |
| 74 | change (x a * c) • v = x a • (c • v) |
| 75 | exact mul_smul _ _ _⟩ |
| 76 | exact (affineChartRegularDerivation e he x hx).liftKaehlerDifferential.liftBaseChange ℂ |
| 77 | |
| 78 | theorem affineChartCotangentRealization_D |
| 79 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 80 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) |
| 81 | (a : A) : |
| 82 | let _ : Algebra A ℂ := x.toRingHom.toAlgebra |
| 83 | affineChartCotangentRealization e he x hx (1 ⊗ₜ[A] KaehlerDifferential.D ℂ A a) = |
| 84 | affineChartRegularDifferential e x a := by |
| 85 | let : Module A (Module.Dual ℂ (Fin n → ℂ)) := |
| 86 | Module.compHom (Module.Dual ℂ (Fin n → ℂ)) x.toRingHom |
| 87 | let : IsScalarTower ℂ A (Module.Dual ℂ (Fin n → ℂ)) := |
| 88 | ⟨fun c a v => by |
| 89 | change x (c • a) • v = c • (x a • v) |
| 90 | rw [map_smul, smul_assoc]⟩ |
| 91 | dsimp [affineChartCotangentRealization] |
| 92 | rw [one_smul, Derivation.liftKaehlerDifferential_comp_D] |
| 93 | rfl |
| 94 | |
| 95 | theorem affineChartCotangentRealization_surjective |
| 96 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 97 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) : |
| 98 | Function.Surjective (affineChartCotangentRealization e he x hx) := by |
| 99 | let : Algebra A ℂ := x.toRingHom.toAlgebra |
| 100 | rw [← LinearMap.range_eq_top] |
| 101 | apply top_unique |
| 102 | rw [← RegularDifferentialsSpan.affineRegularChart_differentials_span e he x hx] |
| 103 | apply Submodule.span_le.mpr |
| 104 | rintro _ ⟨a, rfl⟩ |
| 105 | exact ⟨1 ⊗ₜ[A] KaehlerDifferential.D ℂ A a, |
| 106 | affineChartCotangentRealization_D e he x hx a⟩ |
| 107 | |
| 108 | theorem affineChartCotangentRealization_bijective [IsDomain A] [Algebra.Smooth ℂ A] |
| 109 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) |
| 110 | (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) |
| 111 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A)) |
| 112 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) : |
| 113 | Function.Bijective (affineChartCotangentRealization e he x hx) := by |
| 114 | let : Algebra A ℂ := x.toRingHom.toAlgebra |
| 115 | have hdim : Module.finrank ℂ (PointDifferentialRank.affinePointDifferentialFiber x) = |
| 116 | Module.finrank ℂ (Module.Dual ℂ (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ)) := by |
| 117 | simpa using PointDifferentialRank.affinePointDifferentialFiber_finrank x |
| 118 | have hs := affineChartCotangentRealization_surjective e he x hx |
| 119 | exact ⟨(LinearMap.injective_iff_surjective_of_finrank_eq_finrank hdim).mpr hs, hs⟩ |
| 120 | |
| 121 | end |
| 122 | |
| 123 | /-! The actual chart differential of an affine morphism acts on regular-function covectors by pullback. -/ |
| 124 | |
| 125 | open scoped ContDiff _root_.Topology |
| 126 | |
| 127 | open Filter |
| 128 | |
| 129 | variable {A B : Type} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 130 | {n m : ℕ} |
| 131 | |
| 132 | theorem affineChartRegularDifferential_comap |
| 133 | (h : A →ₐ[ℂ] B) |
| 134 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n → ℂ)) |
| 135 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 136 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B n) (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) |
| 137 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) (hfx : x.comp h ∈ f.source) |
| 138 | (a : A) (v : Fin n → ℂ) : |
| 139 | affineChartRegularDifferential e x (h a) v = |
| 140 | affineChartRegularDifferential f (x.comp h) a |
| 141 | (fderiv ℂ (fun z => f ((e.symm z).comp h)) (e x) v) := by |
| 142 | have heq : (fun z => e.symm z (h a)) =ᶠ[𝓝 (e x)] |
| 143 | (fun z => f.symm (f ((e.symm z).comp h)) a) := by |
| 144 | filter_upwards [ComplexPoints.Analytic.SmoothClosedImmersion.affineChartComap_neighborhood h e f x hx hfx] with z hz |
| 145 | rw [f.left_inv hz.2] |
| 146 | rfl |
| 147 | have hF := (ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap h e f he hf x hx hfx).differentiableAt (by simp) |
| 148 | have hfa : DifferentiableAt ℂ (fun w => f.symm w a) |
| 149 | (f ((e.symm (e x)).comp h)) := by |
| 150 | rw [e.left_inv hx] |
| 151 | exact ((hf.1 a).contDiffAt |
| 152 | (f.open_target.mem_nhds (f.map_source hfx))).differentiableAt (by simp) |
| 153 | have hchain := fderiv_comp (e x) hfa hF |
| 154 | simp only [Function.comp_def] at hchain |
| 155 | change fderiv ℂ (fun z => e.symm z (h a)) (e x) v = _ |
| 156 | rw [heq.fderiv_eq, hchain, ContinuousLinearMap.comp_apply, e.left_inv hx] |
| 157 | rfl |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI.AlgebraicGeometry.Comparison.Betti.Affine.ChartCotangentRealization |