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.Analysis.Complex.CauchyIntegral |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Prod |
| 3 | |
| 4 | /-! # Zero Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus.Constructions.Cone |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Local holomorphic equations for graphs and their pullbacks |
| 12 | |
| 13 | These local equations use complex differentiability on open sets, the notion |
| 14 | available from the holomorphy hypothesis in HolomorphicAlgebraicity. Their construction requires |
| 15 | no multivariable power-series theorem. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped _root_.Topology |
| 20 | |
| 21 | /-- Local equations expressed using complex differentiability on an open |
| 22 | neighborhood. This does not assume multivariate power-series expansions. -/ |
| 23 | def HolomorphicZeroSetAt {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 24 | (S : Set E) (x : E) : Prop := |
| 25 | ∃ U : Set E, IsOpen U ∧ x ∈ U ∧ |
| 26 | ∃ (m : ℕ) (f : Fin m → E → ℂ), (∀ i, DifferentiableOn ℂ (f i) U) ∧ |
| 27 | ∀ z ∈ U, z ∈ S ↔ ∀ i, f i z = 0 |
| 28 | |
| 29 | /-- A local equality of subsets transfers their holomorphic equations. -/ |
| 30 | theorem HolomorphicZeroSetAt.congr |
| 31 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 32 | {S T : Set E} {x : E} (hlocal : HolomorphicZeroSetAt S x) |
| 33 | (heq : ∀ᶠ z in 𝓝 x, z ∈ T ↔ z ∈ S) : HolomorphicZeroSetAt T x := by |
| 34 | obtain ⟨U, hU, hxU, m, f, hf, heqs⟩ := hlocal |
| 35 | obtain ⟨V, hVsub, hV, hxV⟩ := mem_nhds_iff.mp heq |
| 36 | refine ⟨U ∩ V, hU.inter hV, ⟨hxU, hxV⟩, m, f, |
| 37 | (fun i => (hf i).mono inter_subset_left), fun z hz => ?_⟩ |
| 38 | exact (hVsub hz.2).trans (heqs z hz.1) |
| 39 | |
| 40 | /-- Pulling back finitely many local holomorphic equations keeps them |
| 41 | holomorphic on a suitable open neighborhood. -/ |
| 42 | theorem HolomorphicZeroSetAt.preimage |
| 43 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 44 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 45 | {S : Set F} {g : E → F} {U : Set E} {x : E} |
| 46 | (hlocal : HolomorphicZeroSetAt S (g x)) |
| 47 | (hU : IsOpen U) (hx : x ∈ U) (hg : DifferentiableOn ℂ g U) : |
| 48 | HolomorphicZeroSetAt (g ⁻¹' S) x := by |
| 49 | obtain ⟨V, hV, hxV, m, f, hf, heq⟩ := hlocal |
| 50 | refine ⟨U ∩ g ⁻¹' V, hg.continuousOn.isOpen_inter_preimage hU hV, |
| 51 | ⟨hx, hxV⟩, m, (fun i z => f i (g z)), (fun i => ?_), ?_⟩ |
| 52 | · exact (hf i).comp (hg.mono inter_subset_left) (fun z hz => hz.2) |
| 53 | · intro z hz |
| 54 | exact heq (g z) hz.2 |
| 55 | |
| 56 | /-- The graph of a holomorphic map to a coordinate space has explicit local |
| 57 | equations: the difference of its target coordinates and the map's values. -/ |
| 58 | theorem holomorphicZeroSetAt_graph |
| 59 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 60 | {m : ℕ} {f : E → (Fin m → ℂ)} {U : Set E} |
| 61 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) {x : E} (hx : x ∈ U) : |
| 62 | HolomorphicZeroSetAt {p : E × (Fin m → ℂ) | p.2 = f p.1} (x, f x) := by |
| 63 | have hfst : Differentiable ℂ (Prod.fst : E × (Fin m → ℂ) → E) := differentiable_fst |
| 64 | have hsnd : Differentiable ℂ (Prod.snd : E × (Fin m → ℂ) → (Fin m → ℂ)) := |
| 65 | differentiable_snd |
| 66 | have heval (i : Fin m) : Differentiable ℂ (fun z : Fin m → ℂ => z i) := |
| 67 | differentiable_apply i |
| 68 | refine ⟨Prod.fst ⁻¹' U, hU.preimage continuous_fst, hx, m, |
| 69 | (fun i p => p.2 i - f p.1 i), (fun i => ?_), ?_⟩ |
| 70 | · apply DifferentiableOn.sub |
| 71 | · exact ((heval i).comp hsnd).differentiableOn |
| 72 | · exact (heval i).comp_differentiableOn |
| 73 | (hf.comp hfst.differentiableOn (mapsTo_preimage Prod.fst U)) |
| 74 | · intro p _ |
| 75 | simp only [mem_ofPred_eq, sub_eq_zero] |
| 76 | exact funext_iff |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus.Constructions.Cone |