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.LocallyFiniteSum |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.OpenD |
| 3 | |
| 4 | /-! # Open Locally Finite Sum -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Locally finite sums on open domains |
| 12 | |
| 13 | Local finiteness is required only inside the open domain. No condition is |
| 14 | imposed at its boundary. Neighborhoods transport along the open inclusion, so |
| 15 | the sums are smooth and exterior differentiation commutes with them. |
| 16 | -/ |
| 17 | |
| 18 | open Function Set Filter _root_.TopologicalSpace |
| 19 | open scoped _root_.Topology ContDiff |
| 20 | |
| 21 | variable {ι E F : Type*} [NormedAddCommGroup E] {U V : Opens E} |
| 22 | |
| 23 | /-- A property holding near a point in an open subtype also holds in an ambient |
| 24 | neighborhood. -/ |
| 25 | theorem OpenLocallyFiniteSum.eventually_of_eventually_onOpen {P : E → Prop} (x : U) |
| 26 | (h : ∀ᶠ y : U in 𝓝 x, P y) : ∀ᶠ y in 𝓝 (x : E), P y := by |
| 27 | rw [← U.isOpenEmbedding'.map_nhds_eq x] |
| 28 | exact h |
| 29 | |
| 30 | variable [NormedAddCommGroup F] |
| 31 | |
| 32 | /-- Local finiteness on an open domain gives a finite support on an actual |
| 33 | ambient neighborhood of each point in that domain. -/ |
| 34 | theorem OpenLocallyFiniteSum.exists_finset_support_onOpen {f : ι → E → F} |
| 35 | (hlf : LocallyFinite (fun i => support (fun y : U => f i y))) (x : U) : |
| 36 | ∃ s : Finset ι, ∀ᶠ y in 𝓝 (x : E), support (fun i => f i y) ⊆ s := by |
| 37 | obtain ⟨s, hs⟩ := hlf.exists_finset_support x |
| 38 | exact ⟨s, OpenLocallyFiniteSum.eventually_of_eventually_onOpen x hs⟩ |
| 39 | |
| 40 | variable [NormedSpace ℝ E] [NormedSpace ℝ F] |
| 41 | |
| 42 | theorem OpenLocallyFiniteSum.contDiffOn_finsum_of_locallyFinite_onOpen {r : WithTop ℕ∞} {f : ι → E → F} |
| 43 | (hf : ∀ i, ContDiffOn ℝ r (f i) (U : Set E)) |
| 44 | (hlf : LocallyFinite (fun i => support (fun y : U => f i y))) : |
| 45 | ContDiffOn ℝ r (fun y => ∑ᶠ i, f i y) (U : Set E) := by |
| 46 | intro x hx |
| 47 | obtain ⟨s, hs⟩ := OpenLocallyFiniteSum.exists_finset_support_onOpen hlf ⟨x, hx⟩ |
| 48 | exact (LocallyFiniteSum.contDiffAt_finsum_of_eventually_support_subset |
| 49 | (fun i => (hf i).contDiffAt (U.isOpen.mem_nhds hx)) hs).contDiffWithinAt |
| 50 | |
| 51 | variable {n : ℕ} |
| 52 | |
| 53 | /-- Pointwise sum of forms whose supports are locally finite within the domain. -/ |
| 54 | def OpenD.SmoothOpenForm.locallyFiniteSum (form : ι → OpenD.SmoothOpenForm U n) |
| 55 | (hlf : LocallyFinite (fun i => support (form i : U → Basic.FormValue E n))) : |
| 56 | OpenD.SmoothOpenForm U n := |
| 57 | OpenD.SmoothOpenForm.ofRaw U (fun x => ∑ᶠ i, (form i).extension x) |
| 58 | (OpenLocallyFiniteSum.contDiffOn_finsum_of_locallyFinite_onOpen (fun i => (form i).smooth) |
| 59 | (by simpa only [OpenD.SmoothOpenForm.extension_apply] using hlf)) |
| 60 | |
| 61 | @[simp] theorem OpenD.SmoothOpenForm.locallyFiniteSum_apply (form : ι → OpenD.SmoothOpenForm U n) |
| 62 | (hlf : LocallyFinite (fun i => support (form i : U → Basic.FormValue E n))) (x : U) : |
| 63 | OpenD.SmoothOpenForm.locallyFiniteSum form hlf x = ∑ᶠ i, form i x := by |
| 64 | change (∑ᶠ i, (form i).extension x) = ∑ᶠ i, form i x |
| 65 | exact finsum_congr fun i => (form i).extension_apply x |
| 66 | |
| 67 | theorem OpenD.SmoothOpenForm.extension_locallyFiniteSum_eventuallyEq (form : ι → OpenD.SmoothOpenForm U n) |
| 68 | (hlf : LocallyFinite (fun i => support (form i : U → Basic.FormValue E n))) (x : U) : |
| 69 | (OpenD.SmoothOpenForm.locallyFiniteSum form hlf).extension =ᶠ[𝓝 (x : E)] |
| 70 | (fun y => ∑ᶠ i, (form i).extension y) := |
| 71 | OpenD.SmoothOpenForm.extension_ofRaw_eventuallyEq _ _ x |
| 72 | |
| 73 | /-- The open-domain derivative has support inside the relative topological |
| 74 | support of the original form. -/ |
| 75 | theorem OpenD.SmoothOpenForm.support_d_subset_tsupport (form : OpenD.SmoothOpenForm U n) : |
| 76 | support (OpenD.SmoothOpenForm.d form : U → Basic.FormValue E (n + 1)) ⊆ tsupport (form : U → Basic.FormValue E n) := by |
| 77 | intro x hx |
| 78 | by_contra hnot |
| 79 | have hz : (form : U → Basic.FormValue E n) =ᶠ[𝓝 x] (0 : U → Basic.FormValue E n) := |
| 80 | notMem_tsupport_iff_eventuallyEq.mp hnot |
| 81 | have hraw : form.extension =ᶠ[𝓝 (x : E)] (fun _ => (0 : Basic.FormValue E n)) := by |
| 82 | apply OpenLocallyFiniteSum.eventually_of_eventually_onOpen x |
| 83 | filter_upwards [hz] with y hy |
| 84 | simpa only [OpenD.SmoothOpenForm.extension_apply, Pi.zero_apply] using hy |
| 85 | apply hx |
| 86 | change extDeriv form.extension (x : E) = 0 |
| 87 | rw [hraw.extDeriv_eq] |
| 88 | change (ContinuousAlternatingMap.alternatizeUncurryFinCLM ℝ E ℂ) |
| 89 | (fderiv ℝ (fun _ : E => (0 : Basic.FormValue E n)) (x : E)) = 0 |
| 90 | rw [fderiv_const_apply, map_zero] |
| 91 | |
| 92 | theorem OpenD.SmoothOpenForm.locallyFinite_d (form : ι → OpenD.SmoothOpenForm U n) |
| 93 | (hlf : LocallyFinite (fun i => support (form i : U → Basic.FormValue E n))) : |
| 94 | LocallyFinite (fun i => support (OpenD.SmoothOpenForm.d (form i) : U → Basic.FormValue E (n + 1))) := |
| 95 | hlf.closure.subset fun i => OpenD.SmoothOpenForm.support_d_subset_tsupport (form i) |
| 96 | |
| 97 | /-- Exterior differentiation commutes with sums locally finite on the open |
| 98 | domain, including families accumulating at its boundary. -/ |
| 99 | theorem OpenD.SmoothOpenForm.d_locallyFiniteSum (form : ι → OpenD.SmoothOpenForm U n) |
| 100 | (hlf : LocallyFinite (fun i => support (form i : U → Basic.FormValue E n))) : |
| 101 | OpenD.SmoothOpenForm.d (OpenD.SmoothOpenForm.locallyFiniteSum form hlf) = |
| 102 | OpenD.SmoothOpenForm.locallyFiniteSum (fun i => OpenD.SmoothOpenForm.d (form i)) (OpenD.SmoothOpenForm.locallyFinite_d form hlf) := by |
| 103 | apply OpenD.SmoothOpenForm.ext |
| 104 | intro x |
| 105 | rw [OpenD.SmoothOpenForm.locallyFiniteSum_apply, OpenD.SmoothOpenForm.d_apply, |
| 106 | (OpenD.SmoothOpenForm.extension_locallyFiniteSum_eventuallyEq form hlf x).extDeriv_eq] |
| 107 | have hlf' : LocallyFinite (fun i => support (fun y : U => (form i).extension y)) := by |
| 108 | simpa only [OpenD.SmoothOpenForm.extension_apply] using hlf |
| 109 | obtain ⟨s, hs⟩ := OpenLocallyFiniteSum.exists_finset_support_onOpen hlf' x |
| 110 | exact LocallyFiniteSum.extDeriv_finsum_of_eventually_support_subset |
| 111 | (fun i => ((form i).smooth.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt |
| 112 | (by simp)) hs |
| 113 | |
| 114 | /-- Restriction preserves local finiteness of the family of supports. -/ |
| 115 | theorem OpenD.SmoothOpenForm.locallyFinite_restrict (h : V ≤ U) (form : ι → OpenD.SmoothOpenForm U n) |
| 116 | (hlf : LocallyFinite (fun i => support (form i : U → Basic.FormValue E n))) : |
| 117 | LocallyFinite (fun i => support (OpenD.SmoothOpenForm.restrict h (form i) : V → Basic.FormValue E n)) := by |
| 118 | exact hlf.preimage_continuous (continuous_inclusion h) |
| 119 | |
| 120 | /-- Summation commutes with restriction to any smaller open domain. -/ |
| 121 | theorem OpenD.SmoothOpenForm.restrict_locallyFiniteSum (h : V ≤ U) (form : ι → OpenD.SmoothOpenForm U n) |
| 122 | (hlf : LocallyFinite (fun i => support (form i : U → Basic.FormValue E n))) : |
| 123 | OpenD.SmoothOpenForm.restrict h (OpenD.SmoothOpenForm.locallyFiniteSum form hlf) = |
| 124 | OpenD.SmoothOpenForm.locallyFiniteSum (fun i => OpenD.SmoothOpenForm.restrict h (form i)) (OpenD.SmoothOpenForm.locallyFinite_restrict h form hlf) := by |
| 125 | apply OpenD.SmoothOpenForm.ext |
| 126 | intro x |
| 127 | simp only [OpenD.SmoothOpenForm.restrict_apply, OpenD.SmoothOpenForm.locallyFiniteSum_apply] |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.Analysis.DifferentialForms.Manifold |