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.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.NestedCutoffExistence |
| 2 | |
| 3 | /-! # Neighborhood Test -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Compact.NeighborhoodTest |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Actual smooth real coefficient cutoffs equal one near a prescribed compact set. -/ |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped ContDiff SchwartzMap _root_.Topology |
| 15 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.NestedCutoffExistence.CM.Construction |
| 16 | |
| 17 | theorem exists_real_coefficient_cutoff {E : Type*} |
| 18 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 19 | {K U : Set E} (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) : |
| 20 | ∃ η : E → ℝ, ContDiff ℝ ∞ η ∧ HasCompactSupport η ∧ tsupport η ⊆ U ∧ |
| 21 | ∀ x ∈ K, η =ᶠ[𝓝 x] (fun _ => (1 : ℝ)) := by |
| 22 | obtain ⟨ψ, hψc, hψs, _, hψnear⟩ := ComplexMultiplication.HodgeComparison.NestedCutoffExistence.CM.Construction.exists_real_schwartz_cutoff_near_compact hK hU hKU |
| 23 | have hs : tsupport (fun z => (ψ z).re) ⊆ tsupport ψ := |
| 24 | tsupport_comp_subset (show Complex.re 0 = 0 from rfl) ψ |
| 25 | refine ⟨fun z => (ψ z).re, Complex.reCLM.contDiff.comp (ψ.smooth ⊤), |
| 26 | hψc.of_isClosed_subset (isClosed_tsupport _) hs, hs.trans hψs, ?_⟩ |
| 27 | intro x hx |
| 28 | exact (hψnear x hx).mono (fun _ hy => congrArg Complex.re hy) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | /-! Every point of an open Euclidean set has a compact real Schwartz test equal to one nearby. -/ |
| 33 | |
| 34 | open Set Filter |
| 35 | open scoped ContDiff SchwartzMap _root_.Topology |
| 36 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.NestedCutoffExistence.CM.Construction |
| 37 | |
| 38 | theorem exists_real_schwartz_test_near {E : Type*} |
| 39 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 40 | {U : Set E} (hU : IsOpen U) {x : E} (hx : x ∈ U) : |
| 41 | ∃ g : 𝓢(E, ℂ), HasCompactSupport g ∧ tsupport g ⊆ U ∧ |
| 42 | (∀ z, g z = Complex.ofReal (g z).re) ∧ g =ᶠ[𝓝 x] (fun _ => (1 : ℂ)) := by |
| 43 | obtain ⟨g, hg, hgs, hgr, hgn⟩ := ComplexMultiplication.HodgeComparison.NestedCutoffExistence.CM.Construction.exists_real_schwartz_cutoff_near_compact |
| 44 | (isCompact_singleton : IsCompact ({x} : Set E)) hU (Set.singleton_subset_iff.mpr hx) |
| 45 | exact ⟨g, hg, hgs, hgr, hgn x (Set.mem_singleton x)⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Compact.NeighborhoodTest |