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.ArithmeticGeometry.Descent.CMVariety.SmoothBaseNeighborhood |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.FiberChartProjection |
| 3 | import Mathlib.Topology.Algebra.Module.PerfectSpace |
| 4 | import Mathlib.Topology.Baire.CompleteMetrizable |
| 5 | import Mathlib.Topology.Baire.Lemmas |
| 6 | |
| 7 | /-! # Countable Neighborhood Isolation -/ |
| 8 | |
| 9 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.CountableNeighborhoodIsolation.Abelian |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | A countable neighborhood in a smooth complex scheme forces analytic |
| 15 | isolation. A positive-dimensional complex chart has no countable open |
| 16 | neighborhood, by the Baire theorem and absence of isolated points. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 20 | open scoped Classical _root_.Topology |
| 21 | |
| 22 | theorem countable_open_empty_of_perfect_baire |
| 23 | {X : Type} [TopologicalSpace X] [T1Space X] [PerfectSpace X] [BaireSpace X] |
| 24 | {U : Set X} (hU : IsOpen U) (hcount : U.Countable) : U = ∅ := by |
| 25 | have hsmall (x : X) : IsMeagre ({x} : Set X) := by |
| 26 | apply IsNowhereDense.isMeagre |
| 27 | rw [IsNowhereDense, isClosed_singleton.closure_eq, interior_singleton] |
| 28 | have hmeagre : IsMeagre U := by |
| 29 | simpa only [Set.biUnion_of_singleton] using isMeagre_biUnion hcount (fun x _ => hsmall x) |
| 30 | by_contra hne |
| 31 | exact not_isMeagre_of_isOpen hU (Set.nonempty_iff_ne_empty.mpr hne) hmeagre |
| 32 | |
| 33 | theorem isolated_of_countable_neighborhood_complex_chart |
| 34 | {X Index : Type} [TopologicalSpace X] [Fintype Index] |
| 35 | (e : OpenPartialHomeomorph X (Index → ℂ)) (x : X) (hx : x ∈ e.source) |
| 36 | {U : Set X} (hU : U ∈ 𝓝 x) (hcount : U.Countable) : IsOpen ({x} : Set X) := by |
| 37 | obtain ⟨W, hWU, hW, hxW⟩ := mem_nhds_iff.mp hU |
| 38 | have himage : IsOpen (e '' (W ∩ e.source)) := |
| 39 | e.isOpen_image_of_subset_source (hW.inter e.open_source) Set.inter_subset_right |
| 40 | have hcimage : (e '' (W ∩ e.source)).Countable := |
| 41 | (hcount.mono (Set.inter_subset_left.trans hWU)).image e |
| 42 | have hzero : Fintype.card Index = 0 := by |
| 43 | by_contra hn |
| 44 | let : Nonempty Index := Fintype.card_pos_iff.mp (Nat.pos_of_ne_zero hn) |
| 45 | let : PerfectSpace (Index → ℂ) := perfectSpace_of_module ℂ _ |
| 46 | have he := countable_open_empty_of_perfect_baire himage hcimage |
| 47 | have hm : e x ∈ e '' (W ∩ e.source) := ⟨x, ⟨hxW, hx⟩, rfl⟩ |
| 48 | rw [he] at hm |
| 49 | exact hm |
| 50 | let : IsEmpty Index := Fintype.card_eq_zero_iff.mp hzero |
| 51 | have heq : e.source = {x} := by |
| 52 | ext y |
| 53 | constructor |
| 54 | · intro hy |
| 55 | exact e.injOn hy hx (Subsingleton.elim _ _) |
| 56 | · rintro rfl |
| 57 | exact hx |
| 58 | rw [← heq] |
| 59 | exact e.open_source |
| 60 | |
| 61 | theorem native_isolated_of_countable_neighborhood |
| 62 | (S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth S.hom] (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) |
| 63 | {U : Set (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S)} (hU : U ∈ 𝓝 s) (hcount : U.Countable) : |
| 64 | IsOpen ({s} : Set (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S)) := by |
| 65 | obtain ⟨R, b, hb, y, P, hy⟩ := SmoothBaseNeighborhood.Abelian.RelativeCharts.exists_smooth_affine_base_neighborhood S s |
| 66 | let : IsOpenImmersion b.left := hb |
| 67 | obtain ⟨e, hey, _, _⟩ := AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts.exists_standardSmooth_point_chart P.presentation y |
| 68 | let a := AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart R b e |
| 69 | have hs : s ∈ a.source := ⟨y, hey, hy⟩ |
| 70 | exact isolated_of_countable_neighborhood_complex_chart a s hs hU hcount |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.ArithmeticGeometry.Descent.CMVariety.CountableNeighborhoodIsolation.Abelian |