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.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicRegularityAt |
| 2 | import Mathlib.Topology.Covering.Basic |
| 3 | import Mathlib.Topology.Maps.Proper.Basic |
| 4 | import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ContDiff |
| 5 | |
| 6 | /-! # Finite Branches At -/ |
| 7 | |
| 8 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.FiniteBranchesAt.Constructions.FiniteBranches |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # RiemannProjectivity: finite branches over regular values of a proper map |
| 14 | |
| 15 | Properness makes every regular fiber compact and discrete, hence finite. |
| 16 | The regular values form an open set and are evenly covered. A holomorphic |
| 17 | map with invertible derivative supplies the local inverses used here. |
| 18 | -/ |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped _root_.Topology ContDiff |
| 22 | |
| 23 | section Topology |
| 24 | |
| 25 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] |
| 26 | |
| 27 | def LocalInverseAt (f : X → Y) (x : X) : Prop := |
| 28 | ∃ e : OpenPartialHomeomorph X Y, x ∈ e.source ∧ (e : X → Y) = f |
| 29 | |
| 30 | def regularValues (f : X → Y) : Set Y := |
| 31 | {y | ∀ x, f x = y → LocalInverseAt f x} |
| 32 | |
| 33 | theorem isOpen_localInverseLocus (f : X → Y) : IsOpen {x | LocalInverseAt f x} := by |
| 34 | apply isOpen_iff_mem_nhds.mpr |
| 35 | rintro x ⟨e, hx, he⟩ |
| 36 | exact mem_of_superset (e.open_source.mem_nhds hx) (fun z hz => ⟨e, hz, he⟩) |
| 37 | |
| 38 | theorem isOpen_regularValues {f : X → Y} (hf : IsClosedMap f) : |
| 39 | IsOpen (regularValues f) := by |
| 40 | have heq : regularValues f = (f '' {x | ¬LocalInverseAt f x})ᶜ := by |
| 41 | ext y |
| 42 | simp only [regularValues, mem_ofPred_eq, mem_compl_iff, mem_image, |
| 43 | not_exists, not_and] |
| 44 | constructor |
| 45 | · exact fun h x hx hxy => hx (h x hxy) |
| 46 | · intro h x hxy |
| 47 | by_contra hx |
| 48 | exact h x hx hxy |
| 49 | rw [heq] |
| 50 | exact (hf _ (isOpen_localInverseLocus f).isClosed_compl).isOpen_compl |
| 51 | |
| 52 | theorem finite_regular_fiber [T2Space X] {f : X → Y} (hf : IsProperMap f) |
| 53 | {y : Y} (hy : y ∈ regularValues f) : (f ⁻¹' {y}).Finite := by |
| 54 | apply (hf.isCompact_preimage isCompact_singleton).finite |
| 55 | exact IsDiscrete.of_openPartialHomeomorph f subset_rfl (fun x hx => hy x hx) |
| 56 | |
| 57 | theorem evenlyCovered_regular_value [T2Space X] {f : X → Y} (hf : IsProperMap f) |
| 58 | {y : Y} (hy : y ∈ regularValues f) : IsEvenlyCovered f y (f ⁻¹' {y}) := |
| 59 | hf.isClosedMap.isEvenlyCovered_of_openPartialHomeomorph |
| 60 | (finite_regular_fiber hf hy) (fun x hx => hy x hx) |
| 61 | |
| 62 | theorem covering_regularValues [T2Space X] {f : X → Y} (hf : IsProperMap f) : |
| 63 | IsCoveringMapOn f (regularValues f) := fun _ hy => evenlyCovered_regular_value hf hy |
| 64 | |
| 65 | end Topology |
| 66 | |
| 67 | variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 68 | [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 69 | [FiniteDimensional ℂ V] [FiniteDimensional ℂ W] |
| 70 | |
| 71 | /-- The local inverse of a holomorphic map is holomorphic wherever its |
| 72 | derivative is invertible. Both directions are actual functions on open sets. -/ |
| 73 | theorem holomorphic_local_inverse {f : V → W} {U : Set V} (hU : IsOpen U) |
| 74 | (hf : DifferentiableOn ℂ f U) {x : V} (hx : x ∈ U) |
| 75 | (hd : Function.Bijective (fderiv ℂ f x)) : |
| 76 | ∃ e : OpenPartialHomeomorph V W, x ∈ e.source ∧ (e : V → W) = f ∧ |
| 77 | DifferentiableOn ℂ e.symm e.target := by |
| 78 | let : CompleteSpace V := FiniteDimensional.complete ℂ V |
| 79 | let : CompleteSpace W := FiniteDimensional.complete ℂ W |
| 80 | have hc := HolomorphicRegularityAt.Constructions.HolomorphicRegularity.contDiffAt_one_of_differentiableOn hU hf hx |
| 81 | let L : V ≃L[ℂ] W := ContinuousLinearEquiv.ofBijective (fderiv ℂ f x) |
| 82 | (LinearMap.ker_eq_bot.mpr hd.1) (LinearMap.range_eq_top.mpr hd.2) |
| 83 | have hdL : HasFDerivAt f (L : V →L[ℂ] W) x := |
| 84 | ((hf x hx).differentiableAt (hU.mem_nhds hx)).hasFDerivAt |
| 85 | let e₀ := hc.toOpenPartialHomeomorph f hdL (by norm_num) |
| 86 | let e := e₀.restrContDiff ℂ 1 (by norm_num) |
| 87 | refine ⟨e, ?_, ?_, ?_⟩ |
| 88 | · exact ⟨hc.mem_toOpenPartialHomeomorph_source hdL (by norm_num), |
| 89 | hc, hc.to_localInverse hdL (by norm_num)⟩ |
| 90 | · exact hc.toOpenPartialHomeomorph_coe hdL (by norm_num) |
| 91 | · exact (e₀.contDiffOn_restrContDiff_target ℂ (by norm_num : (1 : ℕ∞ω) ≠ ∞)).differentiableOn |
| 92 | (by norm_num) |
| 93 | |
| 94 | theorem localInverseAt_of_bijective_fderiv {f : V → W} {U : Set V} (hU : IsOpen U) |
| 95 | (hf : DifferentiableOn ℂ f U) {x : V} (hx : x ∈ U) |
| 96 | (hd : Function.Bijective (fderiv ℂ f x)) : LocalInverseAt f x := by |
| 97 | obtain ⟨e, he, hef, _⟩ := holomorphic_local_inverse hU hf hx hd |
| 98 | exact ⟨e, he, hef⟩ |
| 99 | |
| 100 | /-- At a regular value of a proper holomorphic map, all inverse branches |
| 101 | form a finite covering of a neighborhood. -/ |
| 102 | theorem finite_covering_at_regular_value {f : V → W} (hf : IsProperMap f) |
| 103 | (hd : Differentiable ℂ f) (y : W) |
| 104 | (hreg : ∀ x, f x = y → Function.Bijective (fderiv ℂ f x)) : |
| 105 | (f ⁻¹' {y}).Finite ∧ IsEvenlyCovered f y (f ⁻¹' {y}) := by |
| 106 | have hy : y ∈ regularValues f := fun x hxy => |
| 107 | localInverseAt_of_bijective_fderiv isOpen_univ hd.differentiableOn (mem_univ x) (hreg x hxy) |
| 108 | exact ⟨finite_regular_fiber hf hy, evenlyCovered_regular_value hf hy⟩ |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.FiniteBranchesAt.Constructions.FiniteBranches |