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 Mathlib.Geometry.Manifold.PartitionOfUnity |
| 2 | import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace |
| 3 | |
| 4 | /-! # Parameter Cutoff -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.ParameterCutoff.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth cutoffs inside an open parameter domain and global extensions |
| 11 | that agree with an entire family near a prescribed closed parameter set. -/ |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 15 | |
| 16 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] |
| 17 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 18 | |
| 19 | omit [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] in |
| 20 | theorem exists_parameterCutoff_near_closed {S K : Set P} |
| 21 | (hS : IsOpen S) (hK : IsClosed K) (hKS : K ⊆ S) : |
| 22 | ∃ χ : P → ℂ, ContDiff ℝ ∞ χ ∧ tsupport χ ⊆ S ∧ |
| 23 | (∀ᶠ p in 𝓝ˢ K, χ p = 1) := by |
| 24 | have hd : Disjoint Sᶜ K := disjoint_left.mpr fun _ hp hk => hp (hKS hk) |
| 25 | obtain ⟨f, hzero, hone, _⟩ := exists_contMDiffMap_zero_one_nhds_of_isClosed |
| 26 | 𝓘(ℝ, P) hS.isClosed_compl hK hd (n := ⊤) |
| 27 | refine ⟨fun p => (f p : ℂ), Complex.ofRealCLM.contDiff.comp f.contMDiff.contDiff, ?_, ?_⟩ |
| 28 | · intro p hp |
| 29 | by_contra hpS |
| 30 | have hz : (fun y => (f y : ℂ)) =ᶠ[𝓝 p] 0 := by |
| 31 | filter_upwards [hzero.filter_mono (nhds_le_nhdsSet hpS)] with y hy |
| 32 | simp only [hy, Complex.ofReal_zero, Pi.zero_apply] |
| 33 | exact (notMem_tsupport_iff_eventuallyEq.mpr hz) hp |
| 34 | · filter_upwards [hone] with p hp |
| 35 | simp only [hp, Complex.ofReal_one] |
| 36 | |
| 37 | omit [FiniteDimensional ℝ P] in |
| 38 | theorem parameterCutoff_mul_smooth {S : Set P} (hS : IsOpen S) |
| 39 | {χ : P → ℂ} (hχ : ContDiff ℝ ∞ χ) (hsupp : tsupport χ ⊆ S) |
| 40 | {g : P × ℂ → F} (hg : ContDiffOn ℝ ∞ g (S ×ˢ univ)) : |
| 41 | ContDiff ℝ ∞ (fun q : P × ℂ => χ q.1 • g q) := by |
| 42 | rw [contDiff_iff_contDiffAt] |
| 43 | intro q |
| 44 | by_cases hp : q.1 ∈ S |
| 45 | · exact (hχ.contDiffAt.comp q contDiffAt_fst).smul |
| 46 | (hg.contDiffAt ((hS.prod isOpen_univ).mem_nhds ⟨hp, mem_univ _⟩)) |
| 47 | · have hzero : χ =ᶠ[𝓝 q.1] 0 := |
| 48 | notMem_tsupport_iff_eventuallyEq.mp (fun h => hp (hsupp h)) |
| 49 | apply (contDiffAt_const (c := (0 : F))).congr_of_eventuallyEq |
| 50 | filter_upwards [hzero.comp_tendsto continuousAt_fst] with y hy |
| 51 | rw [show χ y.1 = 0 from hy, zero_smul] |
| 52 | |
| 53 | omit [FiniteDimensional ℝ P] [NormedSpace ℝ P] [NormedSpace ℝ F] [IsScalarTower ℝ ℂ F] in |
| 54 | theorem parameterCutoff_mul_holomorphic {S : Set P} {U : Set ℂ} |
| 55 | {χ : P → ℂ} (hsupp : tsupport χ ⊆ S) {g : P × ℂ → F} |
| 56 | (hhol : ∀ p ∈ S, DifferentiableOn ℂ (fun z => g (p, z)) U) (p : P) : |
| 57 | DifferentiableOn ℂ (fun z => χ p • g (p, z)) U := by |
| 58 | by_cases hp : p ∈ S |
| 59 | · exact (hhol p hp).const_smul (χ p) |
| 60 | · have hzero : χ p = 0 := image_eq_zero_of_notMem_tsupport (fun h => hp (hsupp h)) |
| 61 | simpa only [hzero, zero_smul] using |
| 62 | (differentiableOn_const (c := (0 : F)) (𝕜 := ℂ) (s := U)) |
| 63 | |
| 64 | theorem exists_global_smooth_family_extension {S K : Set P} (hS : IsOpen S) |
| 65 | (hK : IsClosed K) (hKS : K ⊆ S) {g : P × ℂ → F} |
| 66 | (hg : ContDiffOn ℝ ∞ g (S ×ˢ univ)) {U : Set ℂ} |
| 67 | (hhol : ∀ p ∈ S, DifferentiableOn ℂ (fun z => g (p, z)) U) : |
| 68 | ∃ G : P × ℂ → F, ContDiff ℝ ∞ G ∧ |
| 69 | (∀ p, DifferentiableOn ℂ (fun z => G (p, z)) U) ∧ |
| 70 | (∀ᶠ p in 𝓝ˢ K, ∀ z, G (p, z) = g (p, z)) := by |
| 71 | obtain ⟨χ, hχ, hsupp, hone⟩ := exists_parameterCutoff_near_closed hS hK hKS |
| 72 | refine ⟨fun q => χ q.1 • g q, parameterCutoff_mul_smooth hS hχ hsupp hg, |
| 73 | parameterCutoff_mul_holomorphic hsupp hhol, ?_⟩ |
| 74 | filter_upwards [hone] with p hp |
| 75 | intro z |
| 76 | simp only [hp, one_smul] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.ParameterCutoff.Dolbeault |