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.Topology.Euclidean.CompactMapExtension |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.FinitePartition |
| 3 | |
| 4 | /-! # Relative Smooth Partition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.RelativeSmoothPartition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Smooth partitions intrinsic to an open domain |
| 12 | |
| 13 | A partition of unity on the induced manifold of an open set gives actual |
| 14 | scalar functions smooth on that domain. Local finiteness and closed-support |
| 15 | containment are stated in the open subspace, where they hold even when |
| 16 | infinitely many supports accumulate at the ambient boundary. |
| 17 | -/ |
| 18 | |
| 19 | open Set Function _root_.TopologicalSpace |
| 20 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 21 | |
| 22 | variable {ι E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | {W V : Opens E} |
| 24 | |
| 25 | /-- The ordinary zero extension of an actual smooth partition weight on the |
| 26 | induced open manifold. Smoothness is required only inside that open domain. -/ |
| 27 | def relativePartitionWeight (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) |
| 28 | (i : ι) : E → ℝ := |
| 29 | Subtype.val.extend (rho i) 0 |
| 30 | |
| 31 | @[simp] |
| 32 | theorem relativePartitionWeight_apply |
| 33 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (i : ι) (x : W) : |
| 34 | relativePartitionWeight rho i x = rho i x := |
| 35 | Subtype.val_injective.extend_apply (rho i) 0 x |
| 36 | |
| 37 | theorem relativePartitionWeight_restrict |
| 38 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (i : ι) : |
| 39 | (fun x : W => relativePartitionWeight rho i x) = rho i := |
| 40 | funext (relativePartitionWeight_apply rho i) |
| 41 | |
| 42 | /-- The extension really is zero outside its declared domain. No ambient |
| 43 | smoothness or ambient local finiteness is asserted at boundary points. -/ |
| 44 | theorem relativePartitionWeight_eq_zero_of_notMem |
| 45 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (i : ι) {x : E} (hx : x ∉ W) : |
| 46 | relativePartitionWeight rho i x = 0 := by |
| 47 | apply extend_apply' |
| 48 | rintro ⟨y, rfl⟩ |
| 49 | exact hx y.property |
| 50 | |
| 51 | /-- Manifold smoothness of the intrinsic weight is exactly the needed |
| 52 | ordinary smoothness of its zero extension on the open domain. -/ |
| 53 | theorem relativePartitionWeight_smooth |
| 54 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (i : ι) : |
| 55 | ContDiffOn ℝ ∞ (relativePartitionWeight rho i) (W : Set E) := |
| 56 | Topology.Euclidean.CompactMapExtension.Globalization.contDiffOn_subtype_extend_zero (rho i).contMDiff |
| 57 | |
| 58 | /-- Intrinsic local finiteness is preserved by the proved equality of the |
| 59 | extended weights with the original partition on its domain. -/ |
| 60 | theorem relativePartitionWeight_locallyFinite |
| 61 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) : |
| 62 | LocallyFinite (fun i => support (fun x : W => relativePartitionWeight rho i x)) := by |
| 63 | simpa only [relativePartitionWeight_restrict] using rho.locallyFinite |
| 64 | |
| 65 | /-- The topological support here is closure in the open subspace `W`. -/ |
| 66 | theorem relativePartitionWeight_tsupport |
| 67 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (i : ι) : |
| 68 | tsupport (fun x : W => relativePartitionWeight rho i x) = tsupport (rho i) := by |
| 69 | rw [relativePartitionWeight_restrict] |
| 70 | |
| 71 | theorem relativePartitionWeight_tsupport_subset |
| 72 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (cover : ι → Opens E) |
| 73 | (hsub : rho.IsSubordinate (fun i => {x : W | (x : E) ∈ cover i})) (i : ι) : |
| 74 | tsupport (fun x : W => relativePartitionWeight rho i x) ⊆ |
| 75 | {x : W | (x : E) ∈ cover i} := by |
| 76 | rw [relativePartitionWeight_tsupport] |
| 77 | exact hsub i |
| 78 | |
| 79 | /-- The actual weights add up to one at every point of the open domain. -/ |
| 80 | theorem relativePartitionWeight_finsum |
| 81 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (x : W) : |
| 82 | ∑ᶠ i, relativePartitionWeight rho i x = 1 := by |
| 83 | simpa only [relativePartitionWeight_apply] using rho.sum_eq_one (mem_univ x) |
| 84 | |
| 85 | theorem relativePartitionWeight_nonneg |
| 86 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (i : ι) (x : E) : |
| 87 | 0 ≤ relativePartitionWeight rho i x := by |
| 88 | by_cases hx : x ∈ W |
| 89 | · change 0 ≤ relativePartitionWeight rho i (⟨x, hx⟩ : W) |
| 90 | rw [relativePartitionWeight_apply] |
| 91 | exact rho.nonneg i ⟨x, hx⟩ |
| 92 | · rw [relativePartitionWeight_eq_zero_of_notMem rho i hx] |
| 93 | |
| 94 | /-- Intrinsic local finiteness restricts to any smaller open domain, exactly |
| 95 | as needed for locally finite sums on Čech intersections. -/ |
| 96 | theorem relativePartitionWeight_locallyFinite_on |
| 97 | (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ) (hVW : V ≤ W) : |
| 98 | LocallyFinite (fun i => support (fun x : V => relativePartitionWeight rho i x)) := by |
| 99 | have hinc : Continuous (fun x : V => (⟨(x : E), hVW x.property⟩ : W)) := |
| 100 | continuous_subtype_val.subtype_mk _ |
| 101 | have h := (relativePartitionWeight_locallyFinite rho).preimage_continuous hinc |
| 102 | exact h |
| 103 | |
| 104 | /-- Every open cover of an open finite-dimensional domain has a genuine |
| 105 | smooth partition of unity on that domain, subordinate in its own topology. |
| 106 | Cover members may already lie inside `W`; no ambient extension is required. -/ |
| 107 | theorem exists_relative_smooth_partition [FiniteDimensional ℝ E] |
| 108 | (W : Opens E) (cover : ι → Opens E) |
| 109 | (hcover : ∀ x : W, ∃ i, (x : E) ∈ cover i) : |
| 110 | ∃ rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) W univ, |
| 111 | rho.IsSubordinate (fun i => {x : W | (x : E) ∈ cover i}) := by |
| 112 | let : LocallyCompactSpace W := W.isOpen.locallyCompactSpace |
| 113 | apply SmoothPartitionOfUnity.exists_isSubordinate (I := 𝓘(ℝ, E)) isClosed_univ |
| 114 | · intro i |
| 115 | exact (cover i).isOpen.preimage continuous_subtype_val |
| 116 | · intro x _ |
| 117 | exact mem_iUnion.mpr (hcover x) |
| 118 | |
| 119 | /-- An unpacked version for constructions that use actual ambient scalar |
| 120 | functions smooth on `W` and support/local-finiteness data intrinsic to `W`. -/ |
| 121 | theorem exists_relative_smooth_partition_weights [FiniteDimensional ℝ E] |
| 122 | (W : Opens E) (cover : ι → Opens E) |
| 123 | (hcover : ∀ x : W, ∃ i, (x : E) ∈ cover i) : |
| 124 | ∃ weights : ι → E → ℝ, |
| 125 | (∀ i, ContDiffOn ℝ ∞ (weights i) (W : Set E)) ∧ |
| 126 | LocallyFinite (fun i => support (fun x : W => weights i x)) ∧ |
| 127 | (∀ i, tsupport (fun x : W => weights i x) ⊆ {x : W | (x : E) ∈ cover i}) ∧ |
| 128 | (∀ x : W, ∑ᶠ i, weights i x = 1) ∧ |
| 129 | (∀ i x, 0 ≤ weights i x) := by |
| 130 | obtain ⟨rho, hsub⟩ := exists_relative_smooth_partition W cover hcover |
| 131 | exact ⟨relativePartitionWeight rho, relativePartitionWeight_smooth rho, |
| 132 | relativePartitionWeight_locallyFinite rho, |
| 133 | relativePartitionWeight_tsupport_subset rho cover hsub, |
| 134 | relativePartitionWeight_finsum rho, relativePartitionWeight_nonneg rho⟩ |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicTopology.DeRham.Comparison.RelativeSmoothPartition |