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.ComplexPoints.Analytic.SmoothAffineCharts |
| 2 | import Mathlib.RingTheory.Smooth.StandardSmoothCotangent |
| 3 | |
| 4 | /-! # Analytic Derivation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AnalyticDerivation.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # DegreeTwo: analytic chart tangent vectors give actual algebra derivations |
| 14 | |
| 15 | Differentiating evaluation of regular functions in a genuine affine chart |
| 16 | satisfies the algebraic Leibniz rule at the underlying complex point. |
| 17 | -/ |
| 18 | |
| 19 | open scoped ContDiff _root_.Topology |
| 20 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts |
| 21 | |
| 22 | variable {S E : Type*} [CommRing S] [Algebra ℂ S] |
| 23 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 24 | [Algebra S ℂ] [IsScalarTower ℂ S ℂ] |
| 25 | |
| 26 | variable (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) |
| 27 | (hx : ∀ a : S, algebraMap S ℂ a = x a) |
| 28 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) E) |
| 29 | (hxe : x ∈ e.source) |
| 30 | (hd : ∀ a : S, DifferentiableAt ℂ (fun z => e.symm z a) (e x)) |
| 31 | |
| 32 | /-- The derivation at an actual complex point obtained from a chart tangent |
| 33 | vector by differentiating every regular evaluation function. -/ |
| 34 | def analyticChartDerivation (v : E) : Derivation ℂ S ℂ where |
| 35 | toFun a := fderiv ℂ (fun z => e.symm z a) (e x) v |
| 36 | map_add' a b := by |
| 37 | simp only [map_add] |
| 38 | exact congrArg (fun L : E →L[ℂ] ℂ => L v) (fderiv_add (hd a) (hd b)) |
| 39 | map_smul' c a := by |
| 40 | simp only [map_smul] |
| 41 | exact congrArg (fun L : E →L[ℂ] ℂ => L v) (fderiv_const_smul (hd a) c) |
| 42 | map_one_eq_zero' := by |
| 43 | change fderiv ℂ (fun z => e.symm z (1 : S)) (e x) v = 0 |
| 44 | simp only [map_one, fderiv_const_apply, zero_apply] |
| 45 | leibniz' a b := by |
| 46 | change fderiv ℂ (fun z => e.symm z (a * b)) (e x) v = |
| 47 | a • fderiv ℂ (fun z => e.symm z b) (e x) v + |
| 48 | b • fderiv ℂ (fun z => e.symm z a) (e x) v |
| 49 | simp only [map_mul] |
| 50 | rw [fderiv_fun_mul (hd a) (hd b)] |
| 51 | simp only [add_apply, smul_apply, |
| 52 | e.left_inv hxe, Algebra.smul_def, hx] |
| 53 | rfl |
| 54 | |
| 55 | omit [IsScalarTower ℂ S ℂ] in |
| 56 | @[simp] |
| 57 | theorem analyticChartDerivation_apply (v : E) (a : S) : |
| 58 | analyticChartDerivation x hx e hxe hd v a = |
| 59 | fderiv ℂ (fun z => e.symm z a) (e x) v := rfl |
| 60 | |
| 61 | /-- A standard-smooth presentation determines a derivation by its free |
| 62 | coordinate values, through the actual basis of Kähler differentials. -/ |
| 63 | theorem derivation_eq_of_freeCoordinates |
| 64 | {ι σ : Type*} [Fintype ι] [Fintype σ] [DecidableEq ι] |
| 65 | (P : Algebra.SubmersivePresentation ℂ S ι σ) |
| 66 | (δ ε : Derivation ℂ S ℂ) |
| 67 | (h : ∀ i : ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map, δ (P.val i.val) = ε (P.val i.val)) : |
| 68 | δ = ε := by |
| 69 | have heq : δ.liftKaehlerDifferential = ε.liftKaehlerDifferential := by |
| 70 | apply P.basisKaehler.ext |
| 71 | intro i |
| 72 | simpa only [P.basisKaehler_apply, Derivation.liftKaehlerDifferential_comp_D] using h i |
| 73 | ext a |
| 74 | simpa only [Derivation.liftKaehlerDifferential_comp_D] using |
| 75 | DFunLike.congr_fun heq (KaehlerDifferential.D ℂ S a) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | /-! |
| 80 | # DegreeTwo: every algebraic tangent derivation is realized in an analytic chart |
| 81 | |
| 82 | The tangent vector consists of the derivation's values on the free chart |
| 83 | coordinates. The actual Kähler basis proves equality on every regular function. |
| 84 | -/ |
| 85 | |
| 86 | open scoped ContDiff _root_.Topology |
| 87 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts |
| 88 | |
| 89 | variable {S ι σ : Type*} [CommRing S] [Algebra ℂ S] |
| 90 | [Fintype ι] [Fintype σ] [DecidableEq ι] |
| 91 | [Algebra S ℂ] [IsScalarTower ℂ S ℂ] |
| 92 | (P : Algebra.SubmersivePresentation ℂ S ι σ) |
| 93 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (hx : ∀ a : S, algebraMap S ℂ a = x a) |
| 94 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ)) |
| 95 | (hxe : x ∈ e.source) |
| 96 | (hforward : ∀ y i, e y i = y (P.val i.val)) |
| 97 | (hd : ∀ a : S, DifferentiableAt ℂ (fun z => e.symm z a) (e x)) |
| 98 | |
| 99 | include hforward hxe in |
| 100 | omit [Fintype ι] [DecidableEq ι] [Algebra S ℂ] [IsScalarTower ℂ S ℂ] in |
| 101 | theorem chartCoordinate_fderiv (v : ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ) |
| 102 | (i : ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map) : |
| 103 | fderiv ℂ (fun z => e.symm z (P.val i.val)) (e x) v = v i := by |
| 104 | have heq : (fun z => e.symm z (P.val i.val)) =ᶠ[𝓝 (e x)] (fun z => z i) := by |
| 105 | filter_upwards [e.open_target.mem_nhds (e.map_source hxe)] with z hz |
| 106 | exact (hforward (e.symm z) i).symm.trans (congrFun (e.right_inv hz) i) |
| 107 | rw [heq.fderiv_eq, (hasFDerivAt_apply i (e x)).fderiv] |
| 108 | rfl |
| 109 | |
| 110 | include hx hxe hforward hd in |
| 111 | /-- The analytic differential evaluates on the coordinate vector of an |
| 112 | algebraic derivation to that derivation's value, for every regular function. -/ |
| 113 | theorem chart_fderiv_eq_derivation (δ : Derivation ℂ S ℂ) (a : S) : |
| 114 | fderiv ℂ (fun z => e.symm z a) (e x) |
| 115 | (fun i => δ (P.val i.val)) = δ a := by |
| 116 | let v : ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ := fun i => δ (P.val i.val) |
| 117 | have heq : analyticChartDerivation x hx e hxe hd v = δ := by |
| 118 | apply derivation_eq_of_freeCoordinates P |
| 119 | intro i |
| 120 | exact chartCoordinate_fderiv P x e hxe hforward v i |
| 121 | exact DFunLike.congr_fun heq a |
| 122 | |
| 123 | include hx in |
| 124 | /-- A standard-smooth chart realizes all point derivations simultaneously |
| 125 | by actual complex tangent vectors. -/ |
| 126 | theorem exists_standardSmooth_chart_realizing_derivations : |
| 127 | ∃ e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ), |
| 128 | x ∈ e.source ∧ |
| 129 | (∀ y i, e y i = y (P.val i.val)) ∧ |
| 130 | (∀ a : S, ContDiffOn ℂ ω (fun z => e.symm z a) e.target) ∧ |
| 131 | (∀ (δ : Derivation ℂ S ℂ) (a : S), |
| 132 | fderiv ℂ (fun z => e.symm z a) (e x) (fun i => δ (P.val i.val)) = δ a) := by |
| 133 | obtain ⟨e, hxe, hforward, hinverse⟩ := ComplexPoints.Analytic.SmoothAffineCharts.exists_standardSmooth_point_chart P x |
| 134 | refine ⟨e, hxe, hforward, hinverse, ?_⟩ |
| 135 | intro δ a |
| 136 | apply chart_fderiv_eq_derivation P x hx e hxe hforward |
| 137 | intro b |
| 138 | exact ((hinverse b).differentiableOn (by simp)).differentiableAt |
| 139 | (e.open_target.mem_nhds (e.map_source hxe)) |
| 140 | |
| 141 | end |
| 142 | |
| 143 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AnalyticDerivation.Constructions |