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.RepresentationTheory.Theta.Geometric.Holomorphic.MapEqualityLocus |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.AnalyticCountableSelection |
| 3 | |
| 4 | /-! # Manifold Selection -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Holomorphic.ManifoldSelection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Holomorphic uniqueness and countable selection for maps into actual |
| 13 | complex manifolds, including native scheme manifolds. -/ |
| 14 | |
| 15 | open Set Filter |
| 16 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 17 | |
| 18 | variable {E M : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] {d : ℕ} |
| 19 | [TopologicalSpace M] [T2Space M] [ChartedSpace (Fin d → ℂ) M] |
| 20 | [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] |
| 21 | {U : Set E} (hU : IsOpen U) (hc : IsPreconnected U) |
| 22 | {f g : E → M} |
| 23 | (hf : MDifferentiableOn (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) f U) |
| 24 | (hg : MDifferentiableOn (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) g U) |
| 25 | |
| 26 | include hU hc hf hg in |
| 27 | theorem holomorphic_manifold_identity {x : E} (hx : x ∈ U) (hfg : f =ᶠ[𝓝 x] g) : |
| 28 | Set.EqOn f g U := by |
| 29 | apply ConnectedAnalyticLocus.connected_local_equations_eq_on hc |
| 30 | (fun y hy => MapEqualityLocus.holomorphic_map_equality_local_equations hU hf hg hy) |
| 31 | exact ⟨x, hx, mem_interior_iff_mem_nhds.mpr hfg⟩ |
| 32 | |
| 33 | include hU hc hf in |
| 34 | theorem holomorphic_manifold_countable_selection [BaireSpace E] |
| 35 | {I : Type*} [Countable I] (hne : U.Nonempty) {g : I → E → M} |
| 36 | (hg : ∀ i, MDifferentiableOn (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) (g i) U) |
| 37 | (hcover : ∀ x ∈ U, ∃ i, f x = g i x) : ∃ i, Set.EqOn f (g i) U := by |
| 38 | let : BaireSpace U := hU.baireSpace |
| 39 | let : Nonempty U := hne.to_subtype |
| 40 | let Z : I → Set U := fun i => {x | f x.val = g i x.val} |
| 41 | have hZ (i : I) : IsClosed (Z i) := |
| 42 | isClosed_eq (continuousOn_iff_continuous_domRestrict.mp hf.continuousOn) |
| 43 | (continuousOn_iff_continuous_domRestrict.mp (hg i).continuousOn) |
| 44 | have hZU : ⋃ i, Z i = Set.univ := by |
| 45 | ext x |
| 46 | simp only [Set.mem_iUnion, Set.mem_univ, iff_true] |
| 47 | exact hcover x.val x.property |
| 48 | obtain ⟨i, x, hx⟩ := nonempty_interior_of_iUnion_of_closed hZ hZU |
| 49 | refine ⟨i, holomorphic_manifold_identity hU hc hf (hg i) x.property ?_⟩ |
| 50 | have hV : IsOpen ((Subtype.val : U → E) '' interior (Z i)) := hU.isOpenMap_subtype_val _ isOpen_interior |
| 51 | have hxV : x.val ∈ ((Subtype.val : U → E) '' interior (Z i)) := ⟨x, hx, rfl⟩ |
| 52 | filter_upwards [hV.mem_nhds hxV] with y hy |
| 53 | obtain ⟨z, hz, rfl⟩ := hy |
| 54 | exact (show z ∈ Z i from interior_subset hz) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | /-! Countable holomorphic selection on the actual open ball subtype, |
| 59 | without requiring ambient extensions in its interface. -/ |
| 60 | |
| 61 | open Set |
| 62 | open scoped Classical _root_.Manifold ContDiff |
| 63 | |
| 64 | variable {E M : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [BaireSpace E] |
| 65 | {d : ℕ} [TopologicalSpace M] [T2Space M] [ChartedSpace (Fin d → ℂ) M] |
| 66 | [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] |
| 67 | (U : TopologicalSpace.Opens E) [Nonempty U] |
| 68 | |
| 69 | private def openMapExtension (f : U → M) (x : E) : M := |
| 70 | if h : x ∈ U then f ⟨x, h⟩ else f (Classical.choice inferInstance) |
| 71 | |
| 72 | omit [NormedSpace ℂ E] [BaireSpace E] [TopologicalSpace M] [T2Space M] in |
| 73 | private theorem openMapExtension_value (f : U → M) (x : U) : |
| 74 | openMapExtension U f x.val = f x := by |
| 75 | simp only [openMapExtension, dite_eq_left x.property] |
| 76 | |
| 77 | omit [IsManifold (𝓘(ℂ, Fin d → ℂ)) 1 M] [BaireSpace E] [T2Space M] in |
| 78 | private theorem openMapExtension_holomorphic (f : U → M) |
| 79 | (hf : ContMDiff (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) 1 f) : |
| 80 | MDifferentiableOn (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) (openMapExtension U f) U := by |
| 81 | have H : ContMDiff (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) 1 |
| 82 | (fun x : U => openMapExtension U f x.val) := by |
| 83 | simpa only [openMapExtension_value] using hf |
| 84 | intro x hx |
| 85 | have h := (contMDiffAt_subtype_iff.mp (H ⟨x, hx⟩)).mdifferentiableAt one_ne_zero |
| 86 | exact h.mdifferentiableWithinAt |
| 87 | |
| 88 | theorem open_holomorphic_countable_selection (hc : IsPreconnected (U : Set E)) |
| 89 | {I : Type*} [Countable I] (f : U → M) (g : I → U → M) |
| 90 | (hf : ContMDiff (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) 1 f) |
| 91 | (hg : ∀ i, ContMDiff (𝓘(ℂ, E)) (𝓘(ℂ, Fin d → ℂ)) 1 (g i)) |
| 92 | (hcover : ∀ x, ∃ i, f x = g i x) : ∃ i, f = g i := by |
| 93 | obtain ⟨i, hi⟩ := holomorphic_manifold_countable_selection U.isOpen hc |
| 94 | (openMapExtension_holomorphic U f hf) |
| 95 | (show (U : Set E).Nonempty from ⟨(Classical.choice inferInstance : U).val, |
| 96 | (Classical.choice inferInstance : U).property⟩) |
| 97 | (fun i => openMapExtension_holomorphic U (g i) (hg i)) |
| 98 | (fun x hx => by |
| 99 | obtain ⟨i, hi⟩ := hcover ⟨x, hx⟩ |
| 100 | exact ⟨i, (openMapExtension_value U f ⟨x, hx⟩).trans |
| 101 | (hi.trans (openMapExtension_value U (g i) ⟨x, hx⟩).symm)⟩) |
| 102 | refine ⟨i, funext fun x => ?_⟩ |
| 103 | simpa only [openMapExtension_value] using hi x.property |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.RepresentationTheory.Theta.Geometric.Holomorphic.ManifoldSelection |