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.PolynomialProducts |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FiberCardinality |
| 3 | |
| 4 | /-! # Proper Fiber Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProperFiberPolynomial.Constructions.Cone |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # A holomorphic polynomial for a full generic proper fiber |
| 12 | |
| 13 | Multiply the extended local disk equations for the finitely many points in |
| 14 | the reference fiber. Properness ensures the disks cover all nearby fibers. |
| 15 | Their product therefore describes the full fiber off one exceptional set. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Polynomial |
| 19 | open scoped _root_.Topology |
| 20 | |
| 21 | theorem exists_generic_full_fiber_polynomial {n : ℕ} |
| 22 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} |
| 23 | (hproper : IsProperMap (fun p : S => p.val.1)) |
| 24 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) |
| 25 | (hlocal : ∀ z, (x, z) ∈ S → ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z)) : |
| 26 | ∃ (d : ℕ) (V : Set (Fin n → ℂ)) (P : (Fin n → ℂ) → ℂ[X]) |
| 27 | (c : (Fin n → ℂ) → ℂ) (M : ℝ), |
| 28 | IsOpen V ∧ x ∈ V ∧ DifferentiableOn ℂ c V ∧ (¬∀ᶠ y in 𝓝 x, c y = 0) ∧ |
| 29 | (∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) V) ∧ |
| 30 | (∀ y ∈ V, (P y).Monic ∧ (P y).natDegree = d) ∧ |
| 31 | ∀ y ∈ V, c y ≠ 0 → |
| 32 | (∀ z : ℂ, (y, z) ∈ S ↔ (P y).eval z = 0) ∧ |
| 33 | ∀ z : ℂ, (P y).eval z = 0 → ‖z‖ ≤ M := by |
| 34 | classical |
| 35 | let K := {z : ℂ | (x, z) ∈ S} |
| 36 | let : Fintype K := hfinite.fintype |
| 37 | have hprep := fun a : K => ExtendedFibers.Constructions.Preparation.extended_monic_equation_of_finite_fiber |
| 38 | (hlocal a a.property) hfinite |
| 39 | choose R d U P c hR hU hx hc hdense hcoeff hmonic hroot using hprep |
| 40 | let Z := ⋂ a : K, U a |
| 41 | have hZ : IsOpen Z := isOpen_iInter_of_finite hU |
| 42 | have hxZ : x ∈ Z := mem_iInter.mpr hx |
| 43 | have hZU (a : K) : Z ⊆ U a := iInter_subset U a |
| 44 | have hcn (a : K) : ¬∀ᶠ y in 𝓝 x, c a y = 0 := by |
| 45 | intro hz |
| 46 | obtain ⟨y, hy, hzy⟩ := |
| 47 | ((mem_closure_iff_frequently.mp (hdense a (hx a))).and_eventually hz).exists |
| 48 | exact hy.2 hzy |
| 49 | let C : (Fin n → ℂ) → ℂ := fun y => ∏ a : K, c a y |
| 50 | let Q : (Fin n → ℂ) → ℂ[X] := fun y => ∏ a : K, P a y |
| 51 | have hC : DifferentiableOn ℂ C Z := AnalyticElimination.Constructions.Elimination.differentiableOn_finset_product Finset.univ |
| 52 | (fun a _ => (hc a).mono (hZU a)) |
| 53 | have hCn : ¬∀ᶠ y in 𝓝 x, C y = 0 := PolynomialProducts.Constructions.GenericPolynomial.not_eventually_zero_prod c hZ hxZ |
| 54 | (fun a => (hc a).mono (hZU a)) hcn Finset.univ |
| 55 | obtain ⟨W, hWsub, hW, hxW⟩ := _root_.mem_nhds_iff.mp |
| 56 | (FiberCardinality.Constructions.Cone.eventually_fiber_mem_disk_union hproper R hR) |
| 57 | let V := Z ∩ W |
| 58 | let M : ℝ := ∑ a : K, (‖(a : ℂ)‖ + R a) |
| 59 | have hQa (y : Fin n → ℂ) (hy : y ∈ V) (a : K) := hmonic a y (hZU a hy.1) |
| 60 | refine ⟨∑ a : K, d a, V, Q, C, M, hZ.inter hW, ⟨hxZ, hxW⟩, |
| 61 | hC.mono inter_subset_left, hCn, ?_, ?_, ?_⟩ |
| 62 | · intro j |
| 63 | exact (PolynomialProducts.Constructions.GenericPolynomial.differentiableOn_coeff_prod P |
| 64 | (fun a i => (hcoeff a i).mono (hZU a)) Finset.univ j).mono inter_subset_left |
| 65 | · intro y hy |
| 66 | constructor |
| 67 | · exact monic_prod_of_monic _ _ (fun a _ => (hQa y hy a).1) |
| 68 | · change (∏ a : K, P a y).natDegree = _ |
| 69 | rw [natDegree_prod_of_monic _ _ (fun a _ => (hQa y hy a).1)] |
| 70 | exact Finset.sum_congr rfl (fun a _ => (hQa y hy a).2) |
| 71 | · intro y hy hCy |
| 72 | have hca (a : K) : c a y ≠ 0 := Finset.prod_ne_zero_iff.mp hCy a (Finset.mem_univ _) |
| 73 | have hroots (a : K) := hroot a y (hZU a hy.1) (hca a) |
| 74 | have heval (z : ℂ) : (Q y).eval z = 0 ↔ ∃ a : K, (P a y).eval z = 0 := by |
| 75 | simp only [Q, eval_prod, Finset.prod_eq_zero_iff, Finset.mem_univ, true_and] |
| 76 | constructor |
| 77 | · intro z |
| 78 | rw [heval] |
| 79 | constructor |
| 80 | · intro hzs |
| 81 | obtain ⟨a, ha⟩ := hWsub hy.2 z hzs |
| 82 | exact ⟨a, ((hroots a).2.2 z (ball_subset_closedBall ha)).mp hzs⟩ |
| 83 | · rintro ⟨a, ha⟩ |
| 84 | exact ((hroots a).2.2 z (ball_subset_closedBall ((hroots a).2.1 z ha))).mpr ha |
| 85 | · intro z hz |
| 86 | obtain ⟨a, ha⟩ := (heval z).mp hz |
| 87 | have hdist := mem_ball_iff_norm.mp ((hroots a).2.1 z ha) |
| 88 | have hzbound : ‖z‖ ≤ ‖(a : ℂ)‖ + R a := by |
| 89 | have hnorm := norm_le_norm_sub_add z (a : ℂ) |
| 90 | linarith |
| 91 | apply hzbound.trans |
| 92 | exact Finset.single_le_sum (fun b _ => add_nonneg (norm_nonneg _) (hR b).le) |
| 93 | (Finset.mem_univ a) |
| 94 | |
| 95 | /-- The full generic fiber has a reduced monic equation with coefficients |
| 96 | holomorphic throughout the base neighborhood. -/ |
| 97 | theorem exists_reduced_full_fiber_polynomial {n : ℕ} |
| 98 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} |
| 99 | (hproper : IsProperMap (fun p : S => p.val.1)) |
| 100 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) |
| 101 | (hlocal : ∀ z, (x, z) ∈ S → ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z)) : |
| 102 | ∃ (d : ℕ) (V : Set (Fin n → ℂ)) (P : (Fin n → ℂ) → ℂ[X]) |
| 103 | (c : (Fin n → ℂ) → ℂ), |
| 104 | IsOpen V ∧ x ∈ V ∧ DifferentiableOn ℂ c V ∧ (¬∀ᶠ y in 𝓝 x, c y = 0) ∧ |
| 105 | V ⊆ closure {y | y ∈ V ∧ c y ≠ 0} ∧ |
| 106 | (∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) V) ∧ |
| 107 | (∀ y ∈ V, (P y).Monic ∧ (P y).natDegree = d) ∧ |
| 108 | ∀ y ∈ V, c y ≠ 0 → (P y).Separable ∧ |
| 109 | ∀ z : ℂ, (y, z) ∈ S ↔ (P y).eval z = 0 := by |
| 110 | obtain ⟨d, U, P, c₀, M, hU, hxU, hc₀, hc₀n, hPcoeff, hP, hroots⟩ := |
| 111 | exists_generic_full_fiber_polynomial hproper hfinite hlocal |
| 112 | obtain ⟨k, Q, c₁, W, hW, hxW, hWU, hc₁, hc₁n, hQcoeff, hQ⟩ := |
| 113 | SquarefreeFamilies.Constructions.GenericPolynomial.exists_monic_separable_common_root_family (fun _ : Unit => P) |
| 114 | hU hxU d (fun _ => hPcoeff) (fun _ y hy => (hP y hy).2.le) |
| 115 | (fun y hy => ⟨(), (hP y hy).1.ne_zero⟩) |
| 116 | let c : (Fin n → ℂ) → ℂ := fun y => c₀ y * c₁ y |
| 117 | have hc : DifferentiableOn ℂ c W := (hc₀.mono hWU).fun_mul hc₁ |
| 118 | have hcn : ¬∀ᶠ y in 𝓝 x, c y = 0 := |
| 119 | GenericDegree.Constructions.GenericPolynomial.not_eventually_zero_mul hW hxW (hc₀.mono hWU) hc₁ hc₀n hc₁n |
| 120 | have hparts (y : Fin n → ℂ) (hy : c y ≠ 0) : c₀ y ≠ 0 ∧ c₁ y ≠ 0 := mul_ne_zero_iff.mp hy |
| 121 | have hPQ (y : Fin n → ℂ) (hy : y ∈ W) (hcy : c y ≠ 0) (z : ℂ) : |
| 122 | (P y).eval z = 0 ↔ (Q y).eval z = 0 := by |
| 123 | simpa only [forall_const] using (hQ y hy (hparts y hcy).2).2.2.2 z |
| 124 | have hcoeff : ∀ j, DifferentiableOn ℂ (fun y => (Q y).coeff j) {y | y ∈ W ∧ c y ≠ 0} := |
| 125 | fun j => (hQcoeff j).mono (fun y hy => ⟨hy.1, (hparts y hy.2).2⟩) |
| 126 | have hmonic (y : Fin n → ℂ) (hy : y ∈ W) (hcy : c y ≠ 0) : |
| 127 | (Q y).Monic ∧ (Q y).natDegree = k := |
| 128 | ⟨(hQ y hy (hparts y hcy).2).1, (hQ y hy (hparts y hcy).2).2.1⟩ |
| 129 | have hbound (j : ℕ) : ∃ C : ℝ, ∀ y ∈ W, c y ≠ 0 → ‖(Q y).coeff j‖ ≤ C := by |
| 130 | refine ⟨(k.choose j : ℝ) * (max 1 M) ^ k, ?_⟩ |
| 131 | intro y hy hcy |
| 132 | rw [← (hmonic y hy hcy).2] |
| 133 | apply MonicRoots.Constructions.RootPolynomials.norm_coeff_le_of_roots_bounded (hmonic y hy hcy).1 |
| 134 | intro z hz |
| 135 | exact (hroots y (hWU hy) (hparts y hcy).1).2 z ((hPQ y hy hcy z).mpr hz) |
| 136 | obtain ⟨V, G, hV, hxV, hVW, hdense, hGcoeff, hG, hGQ⟩ := |
| 137 | CoefficientExtension.Constructions.GenericPolynomial.exists_extended_monic_family hW hc hcoeff hmonic hbound hxW hcn |
| 138 | refine ⟨k, V, G, c, hV, hxV, hc.mono hVW, hcn, hdense, hGcoeff, hG, ?_⟩ |
| 139 | intro y hy hcy |
| 140 | rw [hGQ y hy hcy] |
| 141 | exact ⟨(hQ y (hVW hy) (hparts y hcy).2).2.2.1, |
| 142 | fun z => ((hroots y (hWU (hVW hy)) (hparts y hcy).1).1 z).trans (hPQ y (hVW hy) hcy z)⟩ |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProperFiberPolynomial.Constructions.Cone |