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.ComplexGroups.HolomorphicAlgebraicity.AnalyticElimination |
| 2 | import Mathlib.Topology.Maps.Proper.Basic |
| 3 | |
| 4 | /-! # Proper Analytic Image -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Proper projection of an analytic set with finite fibers |
| 12 | |
| 13 | Finitely many local disk projections cover the fiber. Properness makes this |
| 14 | cover valid over a neighborhood in the base, and finite unions preserve |
| 15 | local holomorphic equations. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Complex |
| 19 | open scoped _root_.Topology BigOperators |
| 20 | |
| 21 | theorem ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt.finite_iUnion |
| 22 | {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [Fintype ι] |
| 23 | {S : ι → Set E} {x : E} (hlocal : ∀ i, ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (S i) x) : |
| 24 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (⋃ i, S i) x := by |
| 25 | classical |
| 26 | choose U hU hx m f hf heq using hlocal |
| 27 | let V := ⋂ i, U i |
| 28 | have hV : IsOpen V := isOpen_iInter_of_finite hU |
| 29 | have hxV : x ∈ V := mem_iInter.mpr hx |
| 30 | let I := (i : ι) → Fin (m i) |
| 31 | let e : I ≃ Fin (Fintype.card I) := Fintype.equivFin I |
| 32 | let g : Fin (Fintype.card I) → E → ℂ := fun k y => ∏ i, f i (e.symm k i) y |
| 33 | refine ⟨V, hV, hxV, Fintype.card I, g, ?_, ?_⟩ |
| 34 | · intro k |
| 35 | exact AnalyticElimination.Constructions.Elimination.differentiableOn_finset_product Finset.univ |
| 36 | (fun i _ => (hf i (e.symm k i)).mono (iInter_subset U i)) |
| 37 | · intro y hy |
| 38 | constructor |
| 39 | · intro h k |
| 40 | obtain ⟨i, hi⟩ := mem_iUnion.mp h |
| 41 | have hfi := (heq i y (mem_iInter.mp hy i)).mp hi |
| 42 | exact Finset.prod_eq_zero_iff.mpr ⟨i, Finset.mem_univ _, hfi (e.symm k i)⟩ |
| 43 | · intro h |
| 44 | by_contra hyS |
| 45 | have hn : ∀ i, ∃ j : Fin (m i), f i j y ≠ 0 := by |
| 46 | intro i |
| 47 | have hi : y ∉ S i := fun hi => hyS (mem_iUnion.mpr ⟨i, hi⟩) |
| 48 | simpa only [not_forall] using (not_congr (heq i y (mem_iInter.mp hy i))).mp hi |
| 49 | choose j hj using hn |
| 50 | have hz := h (e j) |
| 51 | change (∏ i, f i (e.symm (e j) i) y) = 0 at hz |
| 52 | rw [e.symm_apply_apply] at hz |
| 53 | exact (Finset.prod_ne_zero_iff.mpr (fun i _ => hj i)) hz |
| 54 | |
| 55 | /-- Properness and finiteness globalize the local elimination theorem. |
| 56 | Only points of the fiber over `x` require local analytic equations here. -/ |
| 57 | theorem ProperAnalyticImage.Constructions.Cone.holomorphicZeroSetAt_proper_projection {n : ℕ} |
| 58 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} |
| 59 | (hproper : IsProperMap (fun p : S => p.val.1)) |
| 60 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) |
| 61 | (hlocal : ∀ z, (x, z) ∈ S → ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z)) : |
| 62 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt {y | ∃ z, (y, z) ∈ S} x := by |
| 63 | classical |
| 64 | let K := {z : ℂ | (x, z) ∈ S} |
| 65 | let : Fintype K := hfinite.fintype |
| 66 | have hdisks : ∀ a : K, ∃ R : ℝ, 0 < R ∧ |
| 67 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt {y | ∃ z ∈ closedBall (a : ℂ) R, (y, z) ∈ S} x := |
| 68 | fun a => AnalyticElimination.Constructions.Elimination.holomorphic_local_projection (hlocal a a.property) hfinite |
| 69 | choose R hR hanalytic using hdisks |
| 70 | let A : K → Set (Fin n → ℂ) := fun a => {y | ∃ z ∈ closedBall (a : ℂ) (R a), (y, z) ∈ S} |
| 71 | have hA : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (⋃ a, A a) x := ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt.finite_iUnion hanalytic |
| 72 | let O : Set ((Fin n → ℂ) × ℂ) := ⋃ a : K, Prod.snd ⁻¹' ball (a : ℂ) (R a) |
| 73 | have hO : IsOpen O := isOpen_iUnion (fun a => isOpen_ball.preimage continuous_snd) |
| 74 | let D : Set S := Subtype.val ⁻¹' Oᶜ |
| 75 | have hD : IsClosed D := hO.isClosed_compl.preimage continuous_subtype_val |
| 76 | have hclosed : IsClosed ((fun p : S => p.val.1) '' D) := hproper.isClosedMap D hD |
| 77 | have hxnot : x ∉ (fun p : S => p.val.1) '' D := by |
| 78 | rintro ⟨⟨⟨y, z⟩, hyz⟩, hpD, hpx⟩ |
| 79 | dsimp only at hpx |
| 80 | subst y |
| 81 | have hzK : z ∈ K := hyz |
| 82 | apply hpD |
| 83 | exact mem_iUnion.mpr ⟨⟨z, hzK⟩, mem_ball_self (hR ⟨z, hzK⟩)⟩ |
| 84 | apply hA.congr |
| 85 | filter_upwards [hclosed.isOpen_compl.mem_nhds hxnot] with y hy |
| 86 | constructor |
| 87 | · rintro ⟨z, hyz⟩ |
| 88 | have hyo : (y, z) ∈ O := by |
| 89 | by_contra hnot |
| 90 | exact hy ⟨⟨(y, z), hyz⟩, hnot, rfl⟩ |
| 91 | obtain ⟨a, ha⟩ := mem_iUnion.mp hyo |
| 92 | exact mem_iUnion.mpr ⟨a, z, ball_subset_closedBall ha, hyz⟩ |
| 93 | · intro h |
| 94 | obtain ⟨a, z, _, hzs⟩ := mem_iUnion.mp h |
| 95 | exact ⟨z, hzs⟩ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity |