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.RepresentationTheory.Theta.Geometric.TangentRealization |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Affine.Tangents |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.Pow |
| 4 | |
| 5 | /-! # Regular Tangent -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.RegularTangent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Regular functions detect every analytic tangent vector in a native |
| 12 | affine chart. Together with the actual point-derivation realization this |
| 13 | identifies analytic and algebraic tangent coordinates. -/ |
| 14 | |
| 15 | open scoped ContDiff _root_.Topology |
| 16 | |
| 17 | variable {S : Type} [CommRing S] [Algebra ℂ S] {n : ℕ} |
| 18 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (Fin n → ℂ)) |
| 19 | (he : e ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas S n) (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (hx : x ∈ e.source) |
| 20 | |
| 21 | include he hx |
| 22 | |
| 23 | theorem regularChart_tangent_zero (v : Fin n → ℂ) |
| 24 | (hv : ∀ a : S, fderiv ℂ (fun z => e.symm z a) (e x) v = 0) : v = 0 := by |
| 25 | obtain ⟨g, hg, hcoords⟩ := he.2 |
| 26 | have hd (a : S) : DifferentiableAt ℂ (fun z => e.symm z a) (e x) := |
| 27 | (he.1 a).differentiableOn (by simp) |>.differentiableAt |
| 28 | (e.open_target.mem_nhds (e.map_source hx)) |
| 29 | funext i |
| 30 | obtain ⟨a, k, hcoord⟩ := hcoords i |
| 31 | have heq : (fun z : Fin n → ℂ => z i * (e.symm z g) ^ k) =ᶠ[nhds (e x)] |
| 32 | (fun z => e.symm z a) := by |
| 33 | filter_upwards [e.open_target.mem_nhds (e.map_source hx)] with z hz |
| 34 | have hzi : z i = e.symm z a / (e.symm z g) ^ k := |
| 35 | (congrArg (fun w => w i) (e.right_inv hz)).symm.trans |
| 36 | (hcoord (e.symm z) (e.map_target hz)) |
| 37 | rw [hzi, div_mul_cancel₀ _ (pow_ne_zero k (hg _ (e.map_target hz)))] |
| 38 | have hden : (e.symm (e x) g) ^ k ≠ 0 := by rw [e.left_inv hx]; exact pow_ne_zero k (hg x hx) |
| 39 | have hder := (hasFDerivAt_apply i (e x)).mul ((hd g).hasFDerivAt.pow k) |
| 40 | have hvalue := congrArg (fun f : (Fin n → ℂ) →L[ℂ] ℂ => f v) |
| 41 | (hder.fderiv.symm.trans heq.fderiv_eq) |
| 42 | have hzero : (e.symm (e x) g) ^ k * v i = 0 := by |
| 43 | simpa [hv] using hvalue |
| 44 | exact (mul_eq_zero.mp hzero).resolve_left hden |
| 45 | |
| 46 | theorem regularChart_tangent_ext (v w : Fin n → ℂ) |
| 47 | (hv : ∀ a : S, fderiv ℂ (fun z => e.symm z a) (e x) v = |
| 48 | fderiv ℂ (fun z => e.symm z a) (e x) w) : v = w := by |
| 49 | apply sub_eq_zero.mp |
| 50 | apply regularChart_tangent_zero e he x hx |
| 51 | intro a |
| 52 | rw [map_sub, hv a, sub_self] |
| 53 | |
| 54 | variable [Algebra S ℂ] [IsScalarTower ℂ S ℂ] |
| 55 | (hscalar : ∀ a : S, algebraMap S ℂ a = x a) |
| 56 | |
| 57 | def regularChartDerivation : (Fin n → ℂ) →ₗ[ℂ] Derivation ℂ S ℂ where |
| 58 | toFun := AlgebraicGeometry.HodgeConjecture.DegreeTwo.AnalyticDerivation.Constructions.analyticChartDerivation x hscalar e hx |
| 59 | (fun a => (he.1 a).differentiableOn (by simp) |>.differentiableAt |
| 60 | (e.open_target.mem_nhds (e.map_source hx))) |
| 61 | map_add' v w := by |
| 62 | apply Derivation.ext |
| 63 | intro a |
| 64 | exact map_add (fderiv ℂ (fun z => e.symm z a) (e x)) v w |
| 65 | map_smul' c v := by |
| 66 | apply Derivation.ext |
| 67 | intro a |
| 68 | exact map_smul (fderiv ℂ (fun z => e.symm z a) (e x)) c v |
| 69 | |
| 70 | theorem regularChartDerivation_injective : |
| 71 | Function.Injective (regularChartDerivation e he x hx hscalar) := by |
| 72 | intro v w h |
| 73 | apply regularChart_tangent_ext e he x hx |
| 74 | intro a |
| 75 | exact congrArg (fun δ : Derivation ℂ S ℂ => δ a) h |
| 76 | |
| 77 | theorem regularChartDerivation_surjective [Algebra.Smooth ℂ S] : |
| 78 | Function.Surjective (regularChartDerivation e he x hx hscalar) := by |
| 79 | have hA : (inferInstance : Algebra S ℂ) = x.toRingHom.toAlgebra := |
| 80 | Algebra.algebra_ext _ _ hscalar |
| 81 | cases hA |
| 82 | let : Algebra S ℂ := x.toRingHom.toAlgebra |
| 83 | intro δ |
| 84 | obtain ⟨v, hv⟩ := TangentRealization.exists_tangent_in_regular_chart e he x hx δ |
| 85 | exact ⟨v, Derivation.ext hv⟩ |
| 86 | |
| 87 | def regularChartDerivationEquiv [Algebra.Smooth ℂ S] : |
| 88 | (Fin n → ℂ) ≃ₗ[ℂ] Derivation ℂ S ℂ := |
| 89 | LinearEquiv.ofBijective (regularChartDerivation e he x hx hscalar) |
| 90 | ⟨regularChartDerivation_injective e he x hx hscalar, |
| 91 | regularChartDerivation_surjective e he x hx hscalar⟩ |
| 92 | |
| 93 | def regularChartAffineTangentEquiv [Algebra.Smooth ℂ S] : |
| 94 | (Fin n → ℂ) ≃ Affine.Tangents.affineTangentPoints ℂ S := |
| 95 | (regularChartDerivationEquiv e he x hx hscalar).toEquiv.trans (Affine.Tangents.derivationAffineTangentEquiv ℂ S) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.RepresentationTheory.Theta.Geometric.RegularTangent |