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.AlgebraicTopology.DeRham.Comparison.PartitionFormOperators |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.OpenLocallyFiniteSum |
| 3 | |
| 4 | /-! # Relative Partition Form Operators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.RelativePartitionFormOperators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Supported form operators relative to an arbitrary open domain |
| 12 | |
| 13 | The scalar need only be smooth on the containing open set W. Its topological |
| 14 | support is measured inside W, so weights may accumulate at the boundary of W. |
| 15 | The extension to a smaller recipient open V is proved smooth locally there. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.TopologicalSpace Function Filter Set |
| 19 | open scoped _root_.Topology ContDiff |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | variable {p : ℕ} {U V W V' : Opens E} |
| 23 | |
| 24 | omit [NormedSpace ℝ E] in |
| 25 | /-- Off its relative topological support, a weight vanishes on an ambient neighborhood. -/ |
| 26 | theorem relativeWeight_eventually_zero (f : E → ℝ) |
| 27 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 28 | (x : W) (hxU : (x : E) ∉ U) : f =ᶠ[𝓝 (x : E)] 0 := by |
| 29 | have hnot : x ∉ tsupport (fun y : W => f y) := fun hx => hxU (hsupport hx) |
| 30 | have hz : (fun y : W => f y) =ᶠ[𝓝 x] 0 := |
| 31 | notMem_tsupport_iff_eventuallyEq.mp hnot |
| 32 | exact Analysis.DifferentialForms.Manifold.OpenLocallyFiniteSum.eventually_of_eventually_onOpen x hz |
| 33 | |
| 34 | /-- Smoothness of supported zero extension only requires smoothness and support inside W. -/ |
| 35 | theorem relativeSupportedFormExtension_smooth (f : E → ℝ) |
| 36 | (hf : ContDiffOn ℝ ∞ f (W : Set E)) |
| 37 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 38 | (hVW : V ≤ W) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) p) : |
| 39 | ContDiffOn ℝ ∞ (fun x => f x • form.extension x) (V : Set E) := by |
| 40 | intro x hxV |
| 41 | by_cases hxU : x ∈ U |
| 42 | · exact ((hf.contDiffAt (W.isOpen.mem_nhds (hVW hxV))).smul |
| 43 | (form.smooth.contDiffAt ((U ⊓ V).isOpen.mem_nhds ⟨hxU, hxV⟩))).contDiffWithinAt |
| 44 | · have hz := relativeWeight_eventually_zero f hsupport ⟨x, hVW hxV⟩ hxU |
| 45 | have hprod : (fun y => f y • form.extension y) =ᶠ[𝓝 x] |
| 46 | (fun _ => (0 : Analysis.DifferentialForms.Manifold.Basic.FormValue E p)) := by |
| 47 | filter_upwards [hz] with y hy |
| 48 | change f y = 0 at hy |
| 49 | rw [hy] |
| 50 | exact zero_smul ℝ (form.extension y) |
| 51 | exact (contDiffAt_const.congr_of_eventuallyEq hprod).contDiffWithinAt |
| 52 | |
| 53 | /-- Multiply on U∩V, then extend by zero to V using support relative to W. -/ |
| 54 | def relativeSupportedFormExtension (f : E → ℝ) |
| 55 | (hf : ContDiffOn ℝ ∞ f (W : Set E)) |
| 56 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 57 | (hVW : V ≤ W) : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) p →ₗ[ℂ] Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V p where |
| 58 | toFun form := Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ofRaw V (fun x => f x • form.extension x) |
| 59 | (relativeSupportedFormExtension_smooth f hf hsupport hVW form) |
| 60 | map_add' form other := by |
| 61 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 62 | intro x |
| 63 | change f x • (form + other).extension x = f x • form.extension x + f x • other.extension x |
| 64 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_add] |
| 65 | exact smul_add _ _ _ |
| 66 | map_smul' z form := by |
| 67 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 68 | intro x |
| 69 | change f x • (z • form).extension x = z • (f x • form.extension x) |
| 70 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.extension_smul] |
| 71 | exact smul_comm (f x) z (form.extension x) |
| 72 | |
| 73 | @[simp] |
| 74 | theorem relativeSupportedFormExtension_apply (f : E → ℝ) |
| 75 | (hf : ContDiffOn ℝ ∞ f (W : Set E)) |
| 76 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 77 | (hVW : V ≤ W) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) p) (x : V) : |
| 78 | relativeSupportedFormExtension f hf hsupport hVW form x = f x • form.extension x := rfl |
| 79 | |
| 80 | theorem relativeSupportedFormExtension_apply_of_mem (f : E → ℝ) |
| 81 | (hf : ContDiffOn ℝ ∞ f (W : Set E)) |
| 82 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 83 | (hVW : V ≤ W) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) p) (x : V) (hxU : (x : E) ∈ U) : |
| 84 | relativeSupportedFormExtension f hf hsupport hVW form x = |
| 85 | f x • form ⟨x, hxU, x.property⟩ := by |
| 86 | rw [relativeSupportedFormExtension_apply] |
| 87 | exact congrArg (fun z => f x • z) (form.extension_apply ⟨x, hxU, x.property⟩) |
| 88 | |
| 89 | theorem relativeSupportedFormExtension_apply_of_notMem (f : E → ℝ) |
| 90 | (hf : ContDiffOn ℝ ∞ f (W : Set E)) |
| 91 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 92 | (hVW : V ≤ W) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) p) (x : V) (hxU : (x : E) ∉ U) : |
| 93 | relativeSupportedFormExtension f hf hsupport hVW form x = 0 := by |
| 94 | have hz : f x = 0 := |
| 95 | (relativeWeight_eventually_zero f hsupport ⟨(x : E), hVW x.property⟩ hxU).eq_of_nhds |
| 96 | rw [relativeSupportedFormExtension_apply, hz] |
| 97 | exact zero_smul ℝ (form.extension x) |
| 98 | |
| 99 | /-- Relative extension respects restriction of the recipient open set. -/ |
| 100 | theorem relativeSupportedFormExtension_restrict (f : E → ℝ) |
| 101 | (hf : ContDiffOn ℝ ∞ f (W : Set E)) |
| 102 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 103 | (hVW : V ≤ W) (hV'V : V' ≤ V) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U ⊓ V) p) : |
| 104 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict hV'V (relativeSupportedFormExtension f hf hsupport hVW form) = |
| 105 | relativeSupportedFormExtension f hf hsupport (hV'V.trans hVW) |
| 106 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (inf_le_inf_left U hV'V) form) := by |
| 107 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 108 | intro x |
| 109 | by_cases hxU : (x : E) ∈ U |
| 110 | · rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_apply, |
| 111 | relativeSupportedFormExtension_apply_of_mem f hf hsupport hVW form _ hxU, |
| 112 | relativeSupportedFormExtension_apply_of_mem f hf hsupport _ _ _ hxU] |
| 113 | rfl |
| 114 | · rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_apply, |
| 115 | relativeSupportedFormExtension_apply_of_notMem f hf hsupport hVW form _ hxU, |
| 116 | relativeSupportedFormExtension_apply_of_notMem f hf hsupport _ _ _ hxU] |
| 117 | |
| 118 | /-- For an already defined section on V, relative extension is multiplication by the weight. -/ |
| 119 | theorem relativeSupportedFormExtension_restricted_apply (f : E → ℝ) |
| 120 | (hf : ContDiffOn ℝ ∞ f (W : Set E)) |
| 121 | (hsupport : tsupport (fun x : W => f x) ⊆ {x : W | (x : E) ∈ U}) |
| 122 | (hVW : V ≤ W) (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm V p) (x : V) : |
| 123 | relativeSupportedFormExtension f hf hsupport hVW |
| 124 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict inf_le_right form) x = f x • form x := by |
| 125 | by_cases hxU : (x : E) ∈ U |
| 126 | · exact relativeSupportedFormExtension_apply_of_mem f hf hsupport hVW _ x hxU |
| 127 | · have hz : f x = 0 := |
| 128 | (relativeWeight_eventually_zero f hsupport ⟨(x : E), hVW x.property⟩ hxU).eq_of_nhds |
| 129 | rw [relativeSupportedFormExtension_apply, hz] |
| 130 | calc |
| 131 | _ = (0 : Analysis.DifferentialForms.Manifold.Basic.FormValue E p) := zero_smul ℝ _ |
| 132 | _ = _ := (zero_smul ℝ _).symm |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicTopology.DeRham.Comparison.RelativePartitionFormOperators |