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.MaximalRank |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.GenericDegree |
| 3 | |
| 4 | /-! # Finite Pullback -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FinitePullback.Constructions.FiniteRank |
| 11 | |
| 12 | /-! |
| 13 | # Nonzero holomorphic germs pull back along finite maps of equal dimension |
| 14 | |
| 15 | If a pullback vanished on a neighborhood, a regular point of the finite map |
| 16 | would map a smaller neighborhood onto an open subset of the zero set. The |
| 17 | identity principle excludes this for a nonzero holomorphic germ. |
| 18 | -/ |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped _root_.Topology |
| 22 | |
| 23 | theorem nonzero_germ_comp_of_finite_fibers |
| 24 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 25 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 26 | (hdim : Module.finrank ℂ E = Module.finrank ℂ F) |
| 27 | {f : E → F} {U : Set E} (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) |
| 28 | (hfinite : ∀ v : F, {y | y ∈ U ∧ f y = v}.Finite) |
| 29 | {g : F → ℂ} {V : Set F} (hV : IsOpen V) (hg : DifferentiableOn ℂ g V) |
| 30 | {x : E} (hx : x ∈ U) (hfx : f x ∈ V) (hgn : ¬∀ᶠ y in 𝓝 (f x), g y = 0) : |
| 31 | ¬∀ᶠ y in 𝓝 x, g (f y) = 0 := by |
| 32 | intro hzero |
| 33 | obtain ⟨W, hW, hfxW, _, hdense⟩ := |
| 34 | GenericDegree.Constructions.GenericPolynomial.exists_dense_nonzero_neighborhood hV hfx hg hgn |
| 35 | have hnear : ∀ᶠ y in 𝓝 x, y ∈ U ∧ f y ∈ W ∧ g (f y) = 0 := by |
| 36 | filter_upwards [hU.mem_nhds hx, |
| 37 | (hf.differentiableAt (hU.mem_nhds hx)).continuousAt.eventually (hW.mem_nhds hfxW), |
| 38 | hzero] with y hy hyW hyzero |
| 39 | exact ⟨hy, hyW, hyzero⟩ |
| 40 | obtain ⟨U₀, hU₀sub, hU₀, hxU₀⟩ := mem_nhds_iff.mp hnear |
| 41 | have hU₀U : U₀ ⊆ U := fun y hy => (hU₀sub hy).1 |
| 42 | obtain ⟨y, hy, hyD⟩ := MaximalRank.Constructions.FiniteRank.exists_injective_fderiv_of_finite_fibers hU₀ ⟨x, hxU₀⟩ |
| 43 | (hf.mono hU₀U) (fun v => (hfinite v).subset (fun _ hy => ⟨hU₀U hy.1, hy.2⟩)) |
| 44 | have hbij : Function.Bijective (fderiv ℂ f y) := |
| 45 | ⟨hyD, (LinearMap.injective_iff_surjective_of_finrank_eq_finrank hdim).mp hyD⟩ |
| 46 | let e := (LinearEquiv.ofBijective (fderiv ℂ f y).toLinearMap hbij).toContinuousLinearEquiv |
| 47 | obtain ⟨q, hyq, hqf, _, _⟩ := HolomorphicRegularity.Constructions.Regularity.exists_holomorphic_localInverse hU₀ (hf.mono hU₀U) hy e rfl |
| 48 | let O := q '' (q.source ∩ U₀) |
| 49 | have hO : IsOpen O := q.isOpen_image_source_inter hU₀ |
| 50 | have hfyO : f y ∈ O := ⟨y, ⟨hyq, hy⟩, congrFun hqf y⟩ |
| 51 | have hfyW : f y ∈ W := (hU₀sub hy).2.1 |
| 52 | obtain ⟨z, hz, hzO⟩ := ((mem_closure_iff_frequently.mp (hdense hfyW)).and_eventually |
| 53 | (hO.mem_nhds hfyO)).exists |
| 54 | obtain ⟨w, hw, hwz⟩ := hzO |
| 55 | have hfwz : f w = z := (congrFun hqf w).symm.trans hwz |
| 56 | exact hz.2 (hfwz ▸ (hU₀sub hw.2).2.2) |
| 57 | |
| 58 | end AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FinitePullback.Constructions.FiniteRank |
| 59 | |
| 60 | namespace AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FinitePullback.Constructions.Cone |
| 61 | |
| 62 | /-! |
| 63 | # Extending generic vanishing through finite holomorphic parametrizations |
| 64 | |
| 65 | For an equal-dimensional finite holomorphic map, a nonzero exceptional |
| 66 | equation cannot pull back to the zero germ. Continuity therefore extends |
| 67 | vanishing from the generic fibers to every point in a local parametrization. |
| 68 | -/ |
| 69 | |
| 70 | open Set Filter |
| 71 | open scoped _root_.Topology |
| 72 | |
| 73 | theorem eq_zero_of_generic_finite_parametrization |
| 74 | {E A F : Type*} |
| 75 | [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 76 | [NormedAddCommGroup A] [NormedSpace ℂ A] |
| 77 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 78 | (hdim : Module.finrank ℂ E = Module.finrank ℂ F) |
| 79 | {S : Set A} (L : A →L[ℂ] F) |
| 80 | (hfinite : ∀ v : F, {p | p ∈ S ∧ L p = v}.Finite) |
| 81 | {U : Set E} (hU : IsOpen U) {φ : E → A} (hφ : DifferentiableOn ℂ φ U) |
| 82 | (hmaps : MapsTo φ U S) (hinj : InjOn φ U) |
| 83 | {V : Set F} (hV : IsOpen V) {c : F → ℂ} (hc : DifferentiableOn ℂ c V) |
| 84 | {x : E} (hx : x ∈ U) (hLx : L (φ x) ∈ V) |
| 85 | (hcn : ¬∀ᶠ y in 𝓝 (L (φ x)), c y = 0) |
| 86 | {q : A → ℂ} (hq : ContinuousAt q (φ x)) |
| 87 | (hzero : ∀ p ∈ S, L p ∈ V → c (L p) ≠ 0 → q p = 0) : q (φ x) = 0 := by |
| 88 | have hcomp : DifferentiableOn ℂ (fun y => L (φ y)) U := |
| 89 | L.differentiable.comp_differentiableOn hφ |
| 90 | have hfib (v : F) : {y | y ∈ U ∧ L (φ y) = v}.Finite := |
| 91 | Set.Finite.of_injOn (f := φ) (s := {y | y ∈ U ∧ L (φ y) = v}) |
| 92 | (t := {p | p ∈ S ∧ L p = v}) (fun y hy => ⟨hmaps hy.1, hy.2⟩) |
| 93 | (hinj.mono (fun _ hy => hy.1)) (hfinite v) |
| 94 | have hnonzero := FiniteRank.nonzero_germ_comp_of_finite_fibers |
| 95 | hdim hU hcomp hfib hV hc hx hLx hcn |
| 96 | by_contra hn |
| 97 | have hnearQ : ∀ᶠ y in 𝓝 x, q (φ y) ≠ 0 := |
| 98 | (hq.comp (hφ.differentiableAt (hU.mem_nhds hx)).continuousAt).eventually |
| 99 | (isOpen_compl_singleton.mem_nhds hn) |
| 100 | have hnearV : ∀ᶠ y in 𝓝 x, L (φ y) ∈ V := |
| 101 | (hcomp.differentiableAt (hU.mem_nhds hx)).continuousAt.eventually (hV.mem_nhds hLx) |
| 102 | apply hnonzero |
| 103 | filter_upwards [hU.mem_nhds hx, hnearQ, hnearV] with y hy hyq hyV |
| 104 | by_contra hcy |
| 105 | exact hyq (hzero (φ y) (hmaps hy) hyV hcy) |
| 106 | |
| 107 | theorem eq_zero_of_generic_finite_local_parametrizations |
| 108 | {E A F : Type*} |
| 109 | [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 110 | [NormedAddCommGroup A] [NormedSpace ℂ A] |
| 111 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 112 | (hdim : Module.finrank ℂ E = Module.finrank ℂ F) |
| 113 | {S : Set A} (L : A →L[ℂ] F) |
| 114 | (hfinite : ∀ v : F, {p | p ∈ S ∧ L p = v}.Finite) |
| 115 | (hparam : ∀ p ∈ S, p ≠ 0 → ∃ (O : Set A) (U : Set E) (φ : E → A), |
| 116 | IsOpen O ∧ p ∈ O ∧ IsOpen U ∧ DifferentiableOn ℂ φ U ∧ |
| 117 | S ∩ O ⊆ φ '' U ∧ MapsTo φ U S ∧ InjOn φ U) |
| 118 | {p : A} (hp : p ∈ S) (hp0 : p ≠ 0) |
| 119 | {V : Set F} (hV : IsOpen V) {c : F → ℂ} (hc : DifferentiableOn ℂ c V) |
| 120 | (hLp : L p ∈ V) (hcn : ¬∀ᶠ y in 𝓝 (L p), c y = 0) |
| 121 | {q : A → ℂ} (hq : ContinuousAt q p) |
| 122 | (hzero : ∀ v ∈ S, L v ∈ V → c (L v) ≠ 0 → q v = 0) : q p = 0 := by |
| 123 | obtain ⟨O, U, φ, _, hpO, hU, hφ, hsub, hmaps, hinj⟩ := hparam p hp hp0 |
| 124 | obtain ⟨x, hx, rfl⟩ := hsub ⟨hp, hpO⟩ |
| 125 | exact eq_zero_of_generic_finite_parametrization hdim L hfinite hU hφ hmaps hinj |
| 126 | hV hc hx hLp hcn hq hzero |
| 127 | |
| 128 | end AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FinitePullback.Constructions.Cone |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI |