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.Open |
| 2 | import Mathlib.Geometry.Manifold.ContMDiff.Atlas |
| 3 | |
| 4 | /-! # Function Multiplication -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Multiplication of manifold forms by smooth functions |
| 12 | |
| 13 | The scalar action here is pointwise on the actual tangent covector spaces. |
| 14 | Its chart formula proves smoothness from mathlib's `ContMDiffOn` condition, |
| 15 | and the local action commutes with restriction of open domains. |
| 16 | -/ |
| 17 | |
| 18 | open Set _root_.TopologicalSpace |
| 19 | open scoped _root_.Manifold ContDiff |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] {n : ℕ} |
| 23 | |
| 24 | section |
| 25 | |
| 26 | /-- Multiply each actual tangent covector by the value of a complex function. -/ |
| 27 | def Algebra.RawManifoldForm.smulFunction (f : M → ℂ) (form : Algebra.RawManifoldForm E M n) : |
| 28 | Algebra.RawManifoldForm E M n := fun x => f x • form x |
| 29 | |
| 30 | @[simp] |
| 31 | theorem Algebra.RawManifoldForm.smulFunction_apply (f : M → ℂ) (form : Algebra.RawManifoldForm E M n) (x : M) : |
| 32 | Algebra.RawManifoldForm.smulFunction f form x = f x • form x := rfl |
| 33 | |
| 34 | /-- In a chart the scalar is just the function composed with the inverse chart. -/ |
| 35 | theorem Algebra.RawManifoldForm.inChart_smulFunction (f : M → ℂ) (form : Algebra.RawManifoldForm E M n) |
| 36 | (e : OpenPartialHomeomorph M E) : |
| 37 | (Algebra.RawManifoldForm.smulFunction f form).inChart e = |
| 38 | fun y => f (e.symm y) • form.inChart e y := by |
| 39 | funext y |
| 40 | ext v |
| 41 | rfl |
| 42 | |
| 43 | /-- The nonzero locus of a product is contained in the two nonzero loci. -/ |
| 44 | theorem Algebra.RawManifoldForm.nonzero_smulFunction_subset (f : M → ℂ) (form : Algebra.RawManifoldForm E M n) : |
| 45 | {x | Algebra.RawManifoldForm.smulFunction f form x ≠ 0} ⊆ |
| 46 | Function.support f ∩ {x | form x ≠ 0} := by |
| 47 | intro x hx |
| 48 | constructor |
| 49 | · intro h |
| 50 | apply hx |
| 51 | change f x • form x = 0 |
| 52 | change f x = 0 at h |
| 53 | rw [h] |
| 54 | exact zero_smul ℂ (form x) |
| 55 | · intro h |
| 56 | apply hx |
| 57 | change f x • form x = 0 |
| 58 | rw [h] |
| 59 | exact smul_zero (A := TangentSpace 𝓘(ℝ, E) x [⋀^Fin n]→L[ℝ] ℂ) (f x) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | variable [IsManifold 𝓘(ℝ, E) ∞ M] |
| 64 | |
| 65 | section |
| 66 | |
| 67 | /-- Smooth scalar multiplication preserves the actual chartwise form condition. -/ |
| 68 | theorem Algebra.IsSmoothManifoldFormOn.smulFunction {f : M → ℂ} {form : Algebra.RawManifoldForm E M n} {U : Set M} |
| 69 | (hform : Algebra.IsSmoothManifoldFormOn form U) |
| 70 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f U) : |
| 71 | Algebra.IsSmoothManifoldFormOn (Algebra.RawManifoldForm.smulFunction f form) U := by |
| 72 | intro e he |
| 73 | rw [Algebra.RawManifoldForm.inChart_smulFunction] |
| 74 | have heSmooth : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, E) ∞ e.symm e.target := |
| 75 | contMDiffOn_symm_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas he) |
| 76 | have hfChart : ContDiffOn ℝ ∞ (f ∘ e.symm) (Algebra.manifoldFormChartDomain e U) := |
| 77 | (hf.comp (heSmooth.mono inter_subset_left) (fun _ hy => hy.2)).contDiffOn |
| 78 | exact hfChart.smul (hform e he) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | section |
| 83 | |
| 84 | /-- A smooth scalar function acts complex-linearly on smooth manifold forms. -/ |
| 85 | def Algebra.SmoothManifoldForm.smulByFunction (f : M → ℂ) (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) : |
| 86 | Algebra.SmoothManifoldForm E M n →ₗ[ℂ] Algebra.SmoothManifoldForm E M n where |
| 87 | toFun form := Algebra.SmoothManifoldForm.ofSmooth (Algebra.RawManifoldForm.smulFunction f form) |
| 88 | (form.smooth.smulFunction hf.contMDiffOn) |
| 89 | map_add' form other := by |
| 90 | apply Algebra.SmoothManifoldForm.ext |
| 91 | intro x |
| 92 | exact smul_add (f x) (form x) (other x) |
| 93 | map_smul' c form := by |
| 94 | apply Algebra.SmoothManifoldForm.ext |
| 95 | intro x |
| 96 | exact smul_comm (f x) c (form x) |
| 97 | |
| 98 | @[simp] |
| 99 | theorem Algebra.SmoothManifoldForm.smulByFunction_apply (f : M → ℂ) (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) |
| 100 | (form : Algebra.SmoothManifoldForm E M n) (x : M) : |
| 101 | Algebra.SmoothManifoldForm.smulByFunction f hf form x = f x • form x := rfl |
| 102 | |
| 103 | end |
| 104 | |
| 105 | variable {U V : Opens M} |
| 106 | |
| 107 | /-- A function smooth on the open domain acts on its genuine local forms. -/ |
| 108 | def Open.SmoothOpenManifoldForm.smulByFunction (f : M → ℂ) |
| 109 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (U : Set M)) : |
| 110 | Open.SmoothOpenManifoldForm E U n →ₗ[ℂ] Open.SmoothOpenManifoldForm E U n where |
| 111 | toFun form := Open.SmoothOpenManifoldForm.ofRaw U (Algebra.RawManifoldForm.smulFunction f form.extension) |
| 112 | (form.smooth.smulFunction hf) |
| 113 | map_add' form other := by |
| 114 | apply Open.SmoothOpenManifoldForm.ext |
| 115 | intro x |
| 116 | change f x • (form + other).extension x = |
| 117 | f x • form.extension x + f x • other.extension x |
| 118 | rw [Open.SmoothOpenManifoldForm.extension_add] |
| 119 | exact smul_add (f x) (form.extension x) (other.extension x) |
| 120 | map_smul' c form := by |
| 121 | apply Open.SmoothOpenManifoldForm.ext |
| 122 | intro x |
| 123 | change f x • (c • form).extension x = c • (f x • form.extension x) |
| 124 | rw [Open.SmoothOpenManifoldForm.extension_smul] |
| 125 | exact smul_comm (f x) c (form.extension x) |
| 126 | |
| 127 | @[simp] |
| 128 | theorem Open.SmoothOpenManifoldForm.smulByFunction_apply (f : M → ℂ) |
| 129 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (U : Set M)) |
| 130 | (form : Open.SmoothOpenManifoldForm E U n) (x : U) : |
| 131 | Open.SmoothOpenManifoldForm.smulByFunction f hf form x = f x • form x := by |
| 132 | change f x • form.extension x = f x • form x |
| 133 | rw [Open.SmoothOpenManifoldForm.extension_apply] |
| 134 | |
| 135 | /-- Pointwise scalar multiplication is compatible with restriction of forms. -/ |
| 136 | theorem Open.SmoothOpenManifoldForm.restrict_smulByFunction (h : V ≤ U) (f : M → ℂ) |
| 137 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (U : Set M)) |
| 138 | (form : Open.SmoothOpenManifoldForm E U n) : |
| 139 | Open.SmoothOpenManifoldForm.restrict h (Open.SmoothOpenManifoldForm.smulByFunction f hf form) = |
| 140 | Open.SmoothOpenManifoldForm.smulByFunction f (hf.mono h) (Open.SmoothOpenManifoldForm.restrict h form) := by |
| 141 | apply Open.SmoothOpenManifoldForm.ext |
| 142 | intro x |
| 143 | simp only [Open.SmoothOpenManifoldForm.restrict_apply, Open.SmoothOpenManifoldForm.smulByFunction_apply] |
| 144 | |
| 145 | /-- The local action agrees with the restriction of the global one. -/ |
| 146 | theorem Open.SmoothOpenManifoldForm.onOpen_smulByFunction (U : Opens M) (f : M → ℂ) |
| 147 | (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) (form : Algebra.SmoothManifoldForm E M n) : |
| 148 | Algebra.SmoothManifoldForm.onOpen U (Algebra.SmoothManifoldForm.smulByFunction f hf form) = |
| 149 | Open.SmoothOpenManifoldForm.smulByFunction f hf.contMDiffOn (Algebra.SmoothManifoldForm.onOpen U form) := by |
| 150 | apply Open.SmoothOpenManifoldForm.ext |
| 151 | intro x |
| 152 | simp only [Algebra.SmoothManifoldForm.onOpen_apply, Algebra.SmoothManifoldForm.smulByFunction_apply, |
| 153 | Open.SmoothOpenManifoldForm.smulByFunction_apply] |
| 154 | |
| 155 | end |
| 156 | |
| 157 | end OAI.Analysis.DifferentialForms.Manifold |