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.SupportedExtension |
| 2 | |
| 3 | /-! # Relative Extension -/ |
| 4 | |
| 5 | namespace OAI.Analysis.DifferentialForms.Manifold |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Supported extension inside an open manifold domain |
| 11 | |
| 12 | For a scalar supported in `U`, a form on `U ∩ V` extends after multiplication |
| 13 | to a form on `V`. This is the relative version required for partition operators |
| 14 | on intersections of an open cover. |
| 15 | -/ |
| 16 | |
| 17 | open Set _root_.TopologicalSpace |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 22 | [IsManifold 𝓘(ℝ, E) ∞ M] {n : ℕ} |
| 23 | |
| 24 | section |
| 25 | |
| 26 | /-- Only support inside the target domain matters for relative extension. -/ |
| 27 | theorem Algebra.IsSmoothManifoldFormOn.smulFunction_on_of_tsupport_inter_subset {f : M → ℂ} |
| 28 | {form : Algebra.RawManifoldForm E M n} {W V : Set M} |
| 29 | (hform : Algebra.IsSmoothManifoldFormOn form W) (hW : IsOpen W) (hV : IsOpen V) |
| 30 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f V) |
| 31 | (hsupp : tsupport f ∩ V ⊆ W) : |
| 32 | Algebra.IsSmoothManifoldFormOn (Algebra.RawManifoldForm.smulFunction f form) V := by |
| 33 | let domains : Bool → Set M := |
| 34 | fun b => if b then W ∩ V else (tsupport f)ᶜ ∩ V |
| 35 | have hlocal : ∀ b, Algebra.IsSmoothManifoldFormOn |
| 36 | (Algebra.RawManifoldForm.smulFunction f form) (domains b) := by |
| 37 | intro b |
| 38 | cases b |
| 39 | · apply (Algebra.IsSmoothManifoldFormOn.zero (E := E) (n := n) (domains false)).congr |
| 40 | intro x hx |
| 41 | have hx' : x ∉ tsupport f := hx.1 |
| 42 | change 0 = f x • form x |
| 43 | rw [image_eq_zero_of_notMem_tsupport hx'] |
| 44 | exact (zero_smul ℂ (form x)).symm |
| 45 | · exact (hform.mono inter_subset_left).smulFunction (hf.mono inter_subset_right) |
| 46 | have hopen : ∀ b, IsOpen (domains b) := by |
| 47 | intro b |
| 48 | cases b |
| 49 | · exact (isClosed_tsupport f).isOpen_compl.inter hV |
| 50 | · exact hW.inter hV |
| 51 | have hcover : (⋃ b, domains b) = V := by |
| 52 | ext x |
| 53 | constructor |
| 54 | · intro hx |
| 55 | obtain ⟨b, hb⟩ := mem_iUnion.mp hx |
| 56 | cases b <;> exact hb.2 |
| 57 | · intro hx |
| 58 | by_cases hs : x ∈ tsupport f |
| 59 | · exact mem_iUnion.mpr ⟨true, hsupp ⟨hs, hx⟩, hx⟩ |
| 60 | · exact mem_iUnion.mpr ⟨false, hs, hx⟩ |
| 61 | rw [← hcover] |
| 62 | exact Algebra.IsSmoothManifoldFormOn.iUnion hlocal hopen |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-- Multiply on `U ∩ V` by a scalar supported in `U` and extend to `V`. -/ |
| 67 | def Open.SmoothOpenManifoldForm.supportedExtensionTo (U V : Opens M) (f : M → ℂ) |
| 68 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (V : Set M)) |
| 69 | (hsupp : tsupport f ⊆ (U : Set M)) : |
| 70 | Open.SmoothOpenManifoldForm E (U ⊓ V) n →ₗ[ℂ] Open.SmoothOpenManifoldForm E V n where |
| 71 | toFun form := Open.SmoothOpenManifoldForm.ofRaw V (Algebra.RawManifoldForm.smulFunction f form.extension) |
| 72 | (form.smooth.smulFunction_on_of_tsupport_inter_subset (U ⊓ V).isOpen V.isOpen |
| 73 | hf (fun _ hx => ⟨hsupp hx.1, hx.2⟩)) |
| 74 | map_add' form other := by |
| 75 | apply Open.SmoothOpenManifoldForm.ext |
| 76 | intro x |
| 77 | change f x • (form + other).extension x = |
| 78 | f x • form.extension x + f x • other.extension x |
| 79 | rw [Open.SmoothOpenManifoldForm.extension_add] |
| 80 | exact smul_add (f x) (form.extension x) (other.extension x) |
| 81 | map_smul' c form := by |
| 82 | apply Open.SmoothOpenManifoldForm.ext |
| 83 | intro x |
| 84 | change f x • (c • form).extension x = c • (f x • form.extension x) |
| 85 | rw [Open.SmoothOpenManifoldForm.extension_smul] |
| 86 | exact smul_comm (f x) c (form.extension x) |
| 87 | |
| 88 | @[simp] |
| 89 | theorem Open.SmoothOpenManifoldForm.supportedExtensionTo_apply (U V : Opens M) (f : M → ℂ) |
| 90 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (V : Set M)) |
| 91 | (hsupp : tsupport f ⊆ (U : Set M)) |
| 92 | (form : Open.SmoothOpenManifoldForm E (U ⊓ V) n) (x : V) : |
| 93 | Open.SmoothOpenManifoldForm.supportedExtensionTo U V f hf hsupp form x = f x • form.extension x := rfl |
| 94 | |
| 95 | /-- On the original intersection this is pointwise scalar multiplication. -/ |
| 96 | theorem Open.SmoothOpenManifoldForm.supportedExtensionTo_apply_mem (U V : Opens M) (f : M → ℂ) |
| 97 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (V : Set M)) |
| 98 | (hsupp : tsupport f ⊆ (U : Set M)) |
| 99 | (form : Open.SmoothOpenManifoldForm E (U ⊓ V) n) (x : V) (hx : (x : M) ∈ U) : |
| 100 | Open.SmoothOpenManifoldForm.supportedExtensionTo U V f hf hsupp form x = |
| 101 | f x • form ⟨x, hx, x.property⟩ := by |
| 102 | rw [Open.SmoothOpenManifoldForm.supportedExtensionTo_apply] |
| 103 | exact congrArg (fun z => f x • z) (Open.SmoothOpenManifoldForm.extension_apply form ⟨x, hx, x.property⟩) |
| 104 | |
| 105 | /-- The relative extension is zero off the scalar's topological support. -/ |
| 106 | theorem Open.SmoothOpenManifoldForm.supportedExtensionTo_eq_zero_of_notMem_tsupport (U V : Opens M) (f : M → ℂ) |
| 107 | (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (V : Set M)) |
| 108 | (hsupp : tsupport f ⊆ (U : Set M)) |
| 109 | (form : Open.SmoothOpenManifoldForm E (U ⊓ V) n) (x : V) (hx : (x : M) ∉ tsupport f) : |
| 110 | Open.SmoothOpenManifoldForm.supportedExtensionTo U V f hf hsupp form x = 0 := by |
| 111 | rw [Open.SmoothOpenManifoldForm.supportedExtensionTo_apply, image_eq_zero_of_notMem_tsupport hx] |
| 112 | exact zero_smul ℂ (form.extension x) |
| 113 | |
| 114 | /-- Extending inside an open domain commutes with restricting that domain. -/ |
| 115 | theorem Open.SmoothOpenManifoldForm.restrict_supportedExtensionTo (U : Opens M) {V W : Opens M} (h : W ≤ V) |
| 116 | (f : M → ℂ) (hf : ContMDiffOn 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f (V : Set M)) |
| 117 | (hsupp : tsupport f ⊆ (U : Set M)) |
| 118 | (form : Open.SmoothOpenManifoldForm E (U ⊓ V) n) : |
| 119 | Open.SmoothOpenManifoldForm.restrict h (Open.SmoothOpenManifoldForm.supportedExtensionTo U V f hf hsupp form) = |
| 120 | Open.SmoothOpenManifoldForm.supportedExtensionTo U W f (hf.mono h) hsupp |
| 121 | (Open.SmoothOpenManifoldForm.restrict (inf_le_inf_left U h) form) := by |
| 122 | apply Open.SmoothOpenManifoldForm.ext |
| 123 | intro x |
| 124 | rw [Open.SmoothOpenManifoldForm.restrict_apply] |
| 125 | by_cases hx : (x : M) ∈ U |
| 126 | · rw [Open.SmoothOpenManifoldForm.supportedExtensionTo_apply_mem U V f hf hsupp form ⟨x, h x.property⟩ hx, |
| 127 | Open.SmoothOpenManifoldForm.supportedExtensionTo_apply_mem U W f (hf.mono h) hsupp |
| 128 | (Open.SmoothOpenManifoldForm.restrict (inf_le_inf_left U h) form) x hx, Open.SmoothOpenManifoldForm.restrict_apply] |
| 129 | · have hnot : (x : M) ∉ tsupport f := fun hs => hx (hsupp hs) |
| 130 | rw [Open.SmoothOpenManifoldForm.supportedExtensionTo_eq_zero_of_notMem_tsupport U V f hf hsupp form |
| 131 | ⟨x, h x.property⟩ hnot, |
| 132 | Open.SmoothOpenManifoldForm.supportedExtensionTo_eq_zero_of_notMem_tsupport U W f (hf.mono h) hsupp |
| 133 | (Open.SmoothOpenManifoldForm.restrict (inf_le_inf_left U h) form) x hnot] |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.Analysis.DifferentialForms.Manifold |