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.Analysis.DifferentialForms.Manifold.OpenD |
| 2 | import Mathlib.Geometry.Manifold.PartitionOfUnity |
| 3 | |
| 4 | /-! # Partition Form Operators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.PartitionFormOperators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Actual partition-of-unity operators on open-domain differential forms |
| 12 | |
| 13 | Multiplying by a globally smooth function whose topological support lies in U |
| 14 | makes the zero extension of a form on U ∩ V smooth on V. Finite smooth |
| 15 | partitions of unity therefore give explicit complex-linear operators whose |
| 16 | sum on restricted global sections is the identity. No fine-sheaf or acyclicity |
| 17 | assertion is assumed. |
| 18 | -/ |
| 19 | |
| 20 | open Filter Set _root_.TopologicalSpace Function |
| 21 | open scoped _root_.Topology _root_.Manifold ContDiff BigOperators |
| 22 | |
| 23 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | variable {n : ℕ} {U V W : Opens E} |
| 25 | |
| 26 | /-- Evaluation of an actual open-domain form is complex-linear. -/ |
| 27 | def openFormEvaluation (x : V) : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n where |
| 28 | toFun form := form x |
| 29 | map_add' _ _ := rfl |
| 30 | map_smul' _ _ := rfl |
| 31 | |
| 32 | /-- Smoothness of the supported product is proved locally, including outside U. -/ |
| 33 | theorem supportedFormExtension_smooth (rho : E → ℝ) (hrho : ContDiff ℝ ∞ rho) |
| 34 | (hsupport : tsupport rho ⊆ U) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) n) : |
| 35 | ContDiffOn ℝ ∞ (fun x => rho x • form.extension x) (V : Set E) := by |
| 36 | intro x hxV |
| 37 | by_cases hxU : x ∈ U |
| 38 | · exact (hrho.contDiffAt.smul |
| 39 | (form.smooth.contDiffAt ((U ⊓ V).isOpen.mem_nhds ⟨hxU, hxV⟩))).contDiffWithinAt |
| 40 | · have hnot : x ∉ tsupport rho := fun hx => hxU (hsupport hx) |
| 41 | have hzero : rho =ᶠ[𝓝 x] (0 : E → ℝ) := |
| 42 | notMem_tsupport_iff_eventuallyEq.mp hnot |
| 43 | have hprod : (fun y => rho y • form.extension y) =ᶠ[𝓝 x] |
| 44 | (fun _ => (0 : Analysis.DifferentialForms.Manifold.Basic.FormValue E n)) := by |
| 45 | filter_upwards [hzero] with y hy |
| 46 | change rho y = 0 at hy |
| 47 | rw [hy] |
| 48 | exact zero_smul ℝ (form.extension y) |
| 49 | exact (contDiffAt_const.congr_of_eventuallyEq hprod).contDiffWithinAt |
| 50 | |
| 51 | /-- Multiply on U ∩ V by a supported smooth scalar and extend the result by zero to V. -/ |
| 52 | def supportedFormExtension (rho : E → ℝ) (hrho : ContDiff ℝ ∞ rho) |
| 53 | (hsupport : tsupport rho ⊆ U) : |
| 54 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n where |
| 55 | toFun form := Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ofRaw V (fun x => rho x • form.extension x) |
| 56 | (supportedFormExtension_smooth rho hrho hsupport form) |
| 57 | map_add' form other := by |
| 58 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 59 | intro x |
| 60 | change rho x • (form + other).extension x = |
| 61 | rho x • form.extension x + rho x • other.extension x |
| 62 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_add] |
| 63 | exact smul_add _ _ _ |
| 64 | map_smul' c form := by |
| 65 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 66 | intro x |
| 67 | change rho x • (c • form).extension x = c • (rho x • form.extension x) |
| 68 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_smul] |
| 69 | change rho x • (c • form.extension x) = c • (rho x • form.extension x) |
| 70 | exact smul_comm (rho x) c (form.extension x) |
| 71 | |
| 72 | @[simp] |
| 73 | theorem supportedFormExtension_apply (rho : E → ℝ) (hrho : ContDiff ℝ ∞ rho) |
| 74 | (hsupport : tsupport rho ⊆ U) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) n) (x : V) : |
| 75 | supportedFormExtension rho hrho hsupport form x = rho x • form.extension x := rfl |
| 76 | |
| 77 | /-- On the overlap the extension has the expected pointwise product value. -/ |
| 78 | theorem supportedFormExtension_apply_of_mem (rho : E → ℝ) (hrho : ContDiff ℝ ∞ rho) |
| 79 | (hsupport : tsupport rho ⊆ U) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) n) |
| 80 | (x : V) (hxU : (x : E) ∈ U) : |
| 81 | supportedFormExtension rho hrho hsupport form x = |
| 82 | rho x • form ⟨x, hxU, x.property⟩ := by |
| 83 | rw [supportedFormExtension_apply] |
| 84 | exact congrArg (fun z => rho x • z) (form.extension_apply ⟨x, hxU, x.property⟩) |
| 85 | |
| 86 | /-- Off U the supported product is zero, not an arbitrary chosen value. -/ |
| 87 | theorem supportedFormExtension_apply_of_notMem (rho : E → ℝ) (hrho : ContDiff ℝ ∞ rho) |
| 88 | (hsupport : tsupport rho ⊆ U) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) n) |
| 89 | (x : V) (hxU : (x : E) ∉ U) : |
| 90 | supportedFormExtension rho hrho hsupport form x = 0 := by |
| 91 | have hzero : rho x = 0 := image_eq_zero_of_notMem_tsupport (fun hx => hxU (hsupport hx)) |
| 92 | rw [supportedFormExtension_apply, hzero] |
| 93 | exact zero_smul ℝ (form.extension x) |
| 94 | |
| 95 | /-- Supported extension commutes with restriction of the recipient open set. -/ |
| 96 | theorem supportedFormExtension_restrict (rho : E → ℝ) (hrho : ContDiff ℝ ∞ rho) |
| 97 | (hsupport : tsupport rho ⊆ U) (hWV : W ≤ V) |
| 98 | (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) n) : |
| 99 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict hWV (supportedFormExtension rho hrho hsupport form) = |
| 100 | supportedFormExtension rho hrho hsupport |
| 101 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (inf_le_inf_left U hWV) form) := by |
| 102 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 103 | intro x |
| 104 | by_cases hxU : (x : E) ∈ U |
| 105 | · rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_apply, |
| 106 | supportedFormExtension_apply_of_mem rho hrho hsupport form _ hxU, |
| 107 | supportedFormExtension_apply_of_mem rho hrho hsupport _ _ hxU] |
| 108 | rfl |
| 109 | · rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_apply, |
| 110 | supportedFormExtension_apply_of_notMem rho hrho hsupport form _ hxU, |
| 111 | supportedFormExtension_apply_of_notMem rho hrho hsupport _ _ hxU] |
| 112 | |
| 113 | variable {ι : Type*} {s : Set E} (cover : ι → Opens E) |
| 114 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) E s) |
| 115 | (hsub : rho.IsSubordinate (fun i => (cover i : Set E))) |
| 116 | |
| 117 | /-- The explicit operator associated with one member of a smooth partition. -/ |
| 118 | def partitionFormOperator (V : Opens E) (i : ι) : |
| 119 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (cover i ⊓ V) n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n := |
| 120 | supportedFormExtension (rho i) (rho i).contMDiff.contDiff (hsub i) |
| 121 | |
| 122 | @[simp] |
| 123 | theorem partitionFormOperator_apply (V : Opens E) (i : ι) |
| 124 | (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (cover i ⊓ V) n) (x : V) : |
| 125 | partitionFormOperator cover rho hsub V i form x = rho i x • form.extension x := rfl |
| 126 | |
| 127 | /-- On a restriction of a form from V, this is multiplication by the partition function. -/ |
| 128 | theorem partitionFormOperator_restricted_apply (V : Opens E) (i : ι) |
| 129 | (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n) (x : V) : |
| 130 | partitionFormOperator cover rho hsub V i |
| 131 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict inf_le_right form) x = rho i x • form x := by |
| 132 | by_cases hxi : (x : E) ∈ cover i |
| 133 | · exact supportedFormExtension_apply_of_mem (rho i) (rho i).contMDiff.contDiff |
| 134 | (hsub i) _ x hxi |
| 135 | · have hzero : rho i x = 0 := |
| 136 | image_eq_zero_of_notMem_tsupport (fun hx => hxi (hsub i hx)) |
| 137 | rw [partitionFormOperator_apply, hzero] |
| 138 | calc |
| 139 | _ = (0 : Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := zero_smul ℝ _ |
| 140 | _ = _ := (zero_smul ℝ _).symm |
| 141 | |
| 142 | /-- The finite partition operators sum to the identity on genuine restricted forms. -/ |
| 143 | theorem sum_partitionFormOperator [Fintype ι] (V : Opens E) (hVs : (V : Set E) ⊆ s) |
| 144 | (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V n) : |
| 145 | (∑ i, partitionFormOperator cover rho hsub V i |
| 146 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict inf_le_right form)) = form := by |
| 147 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 148 | intro x |
| 149 | change openFormEvaluation x (∑ i, partitionFormOperator cover rho hsub V i |
| 150 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict inf_le_right form)) = form x |
| 151 | rw [map_sum] |
| 152 | change (∑ i, partitionFormOperator cover rho hsub V i |
| 153 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict inf_le_right form) x) = form x |
| 154 | simp only [partitionFormOperator_restricted_apply] |
| 155 | rw [← Finset.sum_smul] |
| 156 | have hsum : (∑ i, rho i x) = 1 := |
| 157 | rho.sum_finsupport' x (hVs x.property) (Finset.subset_univ _) |
| 158 | rw [hsum, one_smul] |
| 159 | |
| 160 | /-- The partitions used above exist for an actual open cover of a finite-dimensional space. -/ |
| 161 | theorem exists_subordinateSmoothPartition [FiniteDimensional ℝ E] |
| 162 | (hcover : ∀ x : E, ∃ i, x ∈ cover i) : |
| 163 | ∃ partition : SmoothPartitionOfUnity ι 𝓘(ℝ, E) E (Set.univ : Set E), |
| 164 | partition.IsSubordinate (fun i => (cover i : Set E)) := by |
| 165 | apply SmoothPartitionOfUnity.exists_isSubordinate 𝓘(ℝ, E) isClosed_univ |
| 166 | (fun i => (cover i : Set E)) (fun i => (cover i).isOpen) |
| 167 | intro x _ |
| 168 | exact Set.mem_iUnion.mpr (hcover x) |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicTopology.DeRham.Comparison.PartitionFormOperators |