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.Laurent.SectorTo |
| 2 | import Mathlib.Algebra.BigOperators.Group.Finset.Powerset |
| 3 | import Mathlib.Analysis.Calculus.IteratedDeriv.Lemmas |
| 4 | |
| 5 | /-! # Sector Sum -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Laurent.SectorSum.Dolbeault |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Finite sector sums and their holomorphic coordinate regrouping. -/ |
| 14 | |
| 15 | open _root_.TopologicalSpace Set |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 19 | |
| 20 | def laurentSectorSum (s : Finset ι) (A : Finset ι → (ι → ℂ) → ℂ) (x : ι → ℂ) : ℂ := |
| 21 | ∑ J ∈ s.powerset, A J (SectorTo.Dolbeault.laurentInverseCoordinates J x) |
| 22 | |
| 23 | theorem laurentSectorSum_differentiableOn (s : Finset ι) (A : Finset ι → (ι → ℂ) → ℂ) |
| 24 | (hA : ∀ J ∈ s.powerset, Differentiable ℂ (A J)) : |
| 25 | DifferentiableOn ℂ (laurentSectorSum s A) (SectorTo.Dolbeault.laurentCoordinateDomain s) := by |
| 26 | apply DifferentiableOn.fun_sum |
| 27 | intro J hJ |
| 28 | exact (hA J hJ).differentiableOn.comp |
| 29 | (SectorTo.Dolbeault.laurentInverseCoordinates_differentiableOn s J (Finset.mem_powerset.mp hJ)) |
| 30 | (fun _ _ => Set.mem_univ _) |
| 31 | |
| 32 | omit [Fintype ι] in |
| 33 | theorem laurentSectorSum_insert (s : Finset ι) (i : ι) (hi : i ∉ s) |
| 34 | (A : Finset ι → (ι → ℂ) → ℂ) (x : ι → ℂ) : |
| 35 | laurentSectorSum (insert i s) A x = laurentSectorSum s A x + |
| 36 | laurentSectorSum s (fun J => A (insert i J)) (Function.update x i (x i)⁻¹) := by |
| 37 | unfold laurentSectorSum |
| 38 | rw [Finset.sum_powerset_insert hi] |
| 39 | apply congrArg (_ + ·) |
| 40 | apply Finset.sum_congr rfl |
| 41 | intro J hJ |
| 42 | have hiJ : i ∉ J := fun hj => hi (Finset.mem_powerset.mp hJ hj) |
| 43 | rw [SectorTo.Dolbeault.laurentInverseCoordinates_insert J i hiJ] |
| 44 | |
| 45 | omit [Fintype ι] in |
| 46 | theorem laurentSectorSum_vanishes (s : Finset ι) (i : ι) (hi : i ∉ s) |
| 47 | (A : Finset ι → (ι → ℂ) → ℂ) |
| 48 | (hA : ∀ J ∈ s.powerset, ∀ x : ι → ℂ, x i = 0 → A J x = 0) |
| 49 | (x : ι → ℂ) (hx : x i = 0) : laurentSectorSum s A x = 0 := by |
| 50 | apply Finset.sum_eq_zero |
| 51 | intro J hJ |
| 52 | apply hA J hJ |
| 53 | have hiJ : i ∉ J := fun hj => hi (Finset.mem_powerset.mp hJ hj) |
| 54 | simpa only [SectorTo.Dolbeault.laurentInverseCoordinates, ite_eq_right hiJ] using hx |
| 55 | |
| 56 | end |
| 57 | |
| 58 | section |
| 59 | |
| 60 | /-! The actual linear assembly map from normalized entire sector coefficients. -/ |
| 61 | |
| 62 | open _root_.TopologicalSpace Set |
| 63 | open scoped BigOperators |
| 64 | |
| 65 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 66 | |
| 67 | def laurentEntireFunction (a : Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) (x : ι → ℂ) : ℂ := |
| 68 | a.val ⟨x, trivial⟩ |
| 69 | |
| 70 | omit [DecidableEq ι] in |
| 71 | theorem laurentEntireFunction_differentiable (a : Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) : |
| 72 | Differentiable ℂ (laurentEntireFunction a) := by |
| 73 | have he : FiberVanishing.Dolbeault.holomorphicFunctionExtension ⊤ a = laurentEntireFunction a := |
| 74 | funext (fun x => Holomorphic.CoefficientMem.openCoefficientExtension_apply ⊤ a.val ⟨x, trivial⟩) |
| 75 | rw [← he] |
| 76 | exact differentiableOn_univ.mp (FiberVanishing.Dolbeault.holomorphicFunctionExtension_differentiable ⊤ a) |
| 77 | |
| 78 | def laurentSectorSectionFamilies (s : Finset ι) : |
| 79 | Submodule ℂ (Finset ι → Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) where |
| 80 | carrier := {A | (∀ J, A J ∈ SectorTo.Dolbeault.laurentSectorCoefficients J) ∧ (∀ J, ¬J ⊆ s → A J = 0)} |
| 81 | zero_mem' := ⟨fun J => (SectorTo.Dolbeault.laurentSectorCoefficients J).zero_mem, fun _ _ => rfl⟩ |
| 82 | add_mem' := by |
| 83 | intro A B hA hB |
| 84 | refine ⟨fun J => (SectorTo.Dolbeault.laurentSectorCoefficients J).add_mem (hA.1 J) (hB.1 J), ?_⟩ |
| 85 | intro J hJ |
| 86 | change A J + B J = 0 |
| 87 | rw [hA.2 J hJ, hB.2 J hJ, add_zero] |
| 88 | smul_mem' := by |
| 89 | intro c A hA |
| 90 | refine ⟨fun J => (SectorTo.Dolbeault.laurentSectorCoefficients J).smul_mem c (hA.1 J), ?_⟩ |
| 91 | intro J hJ |
| 92 | change c • A J = 0 |
| 93 | rw [hA.2 J hJ, smul_zero] |
| 94 | |
| 95 | def laurentSectorAssembly (s : Finset ι) (A : laurentSectorSectionFamilies s) : |
| 96 | Holomorphic.FunctionPure.holomorphicFunctions (SectorTo.Dolbeault.laurentCoordinateDomain s) := |
| 97 | PolynomialHolomorphicSections.AnalyticLocal.functionSectionOfDifferentiable _ |
| 98 | (laurentSectorSum s (fun J => laurentEntireFunction (A.val J))) |
| 99 | (laurentSectorSum_differentiableOn s _ (fun J _ => laurentEntireFunction_differentiable (A.val J))) |
| 100 | |
| 101 | theorem laurentSectorAssembly_apply (s : Finset ι) (A : laurentSectorSectionFamilies s) |
| 102 | (x : SectorTo.Dolbeault.laurentCoordinateDomain s) : |
| 103 | (laurentSectorAssembly s A).val x = |
| 104 | ∑ J ∈ s.powerset, (A.val J).val ⟨SectorTo.Dolbeault.laurentInverseCoordinates J x.val, trivial⟩ := rfl |
| 105 | |
| 106 | def laurentSectorAssemblyMap (s : Finset ι) : |
| 107 | laurentSectorSectionFamilies s →ₗ[ℂ] Holomorphic.FunctionPure.holomorphicFunctions (SectorTo.Dolbeault.laurentCoordinateDomain s) where |
| 108 | toFun := laurentSectorAssembly s |
| 109 | map_add' A B := by |
| 110 | apply Subtype.ext |
| 111 | funext x |
| 112 | change (∑ J ∈ s.powerset, |
| 113 | ((A.val J).val ⟨SectorTo.Dolbeault.laurentInverseCoordinates J x.val, trivial⟩ + |
| 114 | (B.val J).val ⟨SectorTo.Dolbeault.laurentInverseCoordinates J x.val, trivial⟩)) = _ |
| 115 | exact Finset.sum_add_distrib |
| 116 | map_smul' c A := by |
| 117 | apply Subtype.ext |
| 118 | funext x |
| 119 | change (∑ J ∈ s.powerset, c • (A.val J).val ⟨SectorTo.Dolbeault.laurentInverseCoordinates J x.val, trivial⟩) = _ |
| 120 | exact Finset.smul_sum.symm |
| 121 | |
| 122 | end |
| 123 | |
| 124 | /-! A smooth homogeneous function is determined by one diagonal iterated derivative. -/ |
| 125 | |
| 126 | open _root_.TopologicalSpace |
| 127 | open scoped ContDiff |
| 128 | |
| 129 | theorem continuous_homogeneous_radial {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 130 | (f : E → ℂ) (hf : Continuous f) (n : ℕ) |
| 131 | (hscale : ∀ c : ℂ, c ≠ 0 → ∀ x, f (c • x) = c ^ n * f x) (x : E) : |
| 132 | (fun c : ℂ => f (c • x)) = fun c => c ^ n * f x := by |
| 133 | apply Continuous.ext_on (dense_compl_singleton (0 : ℂ)) |
| 134 | (hf.comp (continuous_id.smul continuous_const)) |
| 135 | ((continuous_id.pow n).mul continuous_const) |
| 136 | intro c hc |
| 137 | exact hscale c hc x |
| 138 | |
| 139 | theorem homogeneousFunction_diagonalDeriv {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 140 | (f : E → ℂ) (hf : ContDiff ℂ ∞ f) (n : ℕ) |
| 141 | (hscale : ∀ c : ℂ, c ≠ 0 → ∀ x, f (c • x) = c ^ n * f x) (x : E) : |
| 142 | iteratedFDeriv ℂ n f 0 (fun _ => x) = (n.factorial : ℂ) * f x := by |
| 143 | let L : ℂ →L[ℂ] E := (ContinuousLinearMap.id ℂ ℂ).smulRight x |
| 144 | have hcomp := L.iteratedFDeriv_comp_right hf 0 (i := n) (WithTop.coe_le_coe.mpr le_top) |
| 145 | have he : iteratedDeriv n (fun c : ℂ => f (c • x)) 0 = |
| 146 | iteratedFDeriv ℂ n f 0 (fun _ => x) := by |
| 147 | change iteratedDeriv n (f ∘ L) 0 = _ |
| 148 | rw [iteratedDeriv_eq_iteratedFDeriv, hcomp] |
| 149 | simp only [ContinuousMultilinearMap.compContinuousLinearMap_apply, |
| 150 | L, ContinuousLinearMap.smulRight_apply, ContinuousLinearMap.id_apply, zero_smul, one_smul] |
| 151 | have h := congrArg (fun g : ℂ → ℂ => iteratedDeriv n g 0) |
| 152 | (continuous_homogeneous_radial f hf.continuous n hscale x) |
| 153 | rw [he, iteratedDeriv_mul_const_field, iteratedDeriv_pow, Nat.descFactorial_self, |
| 154 | Nat.sub_self, pow_zero, mul_one] at h |
| 155 | exact h |
| 156 | |
| 157 | theorem laurentEntireFunction_contDiff {ι : Type} [Fintype ι] |
| 158 | (a : Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) : |
| 159 | ContDiff ℂ ∞ (laurentEntireFunction a) := by |
| 160 | have ha : ContDiffOn ℂ ∞ (Holomorphic.CoefficientMem.openCoefficientExtension ⊤ a.val) Set.univ := a.property |
| 161 | have he : Holomorphic.CoefficientMem.openCoefficientExtension ⊤ a.val = laurentEntireFunction a := |
| 162 | funext (fun x => Holomorphic.CoefficientMem.openCoefficientExtension_apply ⊤ a.val ⟨x, trivial⟩) |
| 163 | exact he ▸ contDiffOn_univ.mp ha |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.AlgebraicGeometry.Comparison.Betti.Laurent.SectorSum.Dolbeault |