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.SmoothLocalExtension |
| 2 | import Mathlib.Geometry.Manifold.PartitionOfUnity |
| 3 | import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace |
| 4 | |
| 5 | /-! # Compact Form Extension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.CompactFormExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Smooth form extensions around a compact set |
| 13 | |
| 14 | A smooth scalar cutoff equal to one near a compact subset and zero near the |
| 15 | complement of an open domain makes the actual supported extension smooth. |
| 16 | -/ |
| 17 | |
| 18 | open Filter Set _root_.TopologicalSpace |
| 19 | open scoped _root_.Topology ContDiff _root_.Manifold |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [FiniteDimensional ℝ E] |
| 23 | |
| 24 | /-- A genuine smooth cutoff supported in an open set and equal to one on a |
| 25 | neighborhood of a compact subset. -/ |
| 26 | theorem exists_contDiff_cutoff_nhdsSet (U : Opens E) {K : Set E} |
| 27 | (hK : IsCompact K) (hKU : K ⊆ U) : |
| 28 | ∃ rho : E → ℝ, ContDiff ℝ ∞ rho ∧ tsupport rho ⊆ U ∧ |
| 29 | rho =ᶠ[𝓝ˢ K] (1 : E → ℝ) := by |
| 30 | have hdisjoint : Disjoint (U : Set E)ᶜ K := by |
| 31 | exact disjoint_left.mpr (fun _ hx hk => hx (hKU hk)) |
| 32 | obtain ⟨rho, hzero, hone, _⟩ := |
| 33 | exists_contMDiffMap_zero_one_nhds_of_isClosed (𝓘(ℝ, E)) |
| 34 | U.isOpen.isClosed_compl hK.isClosed hdisjoint (n := ⊤) |
| 35 | refine ⟨rho, rho.contMDiff.contDiff, ?_, hone⟩ |
| 36 | intro x hx |
| 37 | by_contra hnot |
| 38 | have hzeroAt : (rho : E → ℝ) =ᶠ[𝓝 x] (0 : E → ℝ) := |
| 39 | hzero.filter_mono (nhds_le_nhdsSet hnot) |
| 40 | exact (notMem_tsupport_iff_eventuallyEq.mpr hzeroAt) hx |
| 41 | |
| 42 | /-- Every smooth form on an open domain has an actual global smooth |
| 43 | extension on a neighborhood of any compact subset of that domain. -/ |
| 44 | theorem exists_smoothForm_extension_nhdsSet {U : Opens E} {n : ℕ} |
| 45 | (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U n) {K : Set E} (hK : IsCompact K) (hKU : K ⊆ U) : |
| 46 | ∃ globalForm : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n, |
| 47 | (globalForm : Analysis.DifferentialForms.Manifold.Basic.RawForm E n) =ᶠ[𝓝ˢ K] form.extension := by |
| 48 | obtain ⟨rho, hrho, hsupport, hone⟩ := exists_contDiff_cutoff_nhdsSet U hK hKU |
| 49 | refine ⟨Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.supportedGlobalExtension rho hrho hsupport form, ?_⟩ |
| 50 | filter_upwards [hone] with x hx |
| 51 | change rho x • form.extension x = form.extension x |
| 52 | change rho x = 1 at hx |
| 53 | rw [hx, one_smul] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicTopology.DeRham.Comparison.CompactFormExtension |