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.PolynomialFibers |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ResultantElimination |
| 3 | |
| 4 | /-! # Analytic Elimination -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.AnalyticElimination.Constructions.Elimination |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Analytic equations after eliminating a finite fiber coordinate |
| 12 | |
| 13 | Fixed-size Sylvester determinants are holomorphic functions of polynomial |
| 14 | coefficients. Finite resultant tests therefore turn the common-root locus |
| 15 | into an actual local holomorphic zero set. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Complex _root_.Polynomial |
| 19 | open scoped _root_.Topology BigOperators |
| 20 | |
| 21 | theorem differentiableOn_finset_product |
| 22 | {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 23 | (s : Finset ι) {f : ι → E → ℂ} {U : Set E} |
| 24 | (hf : ∀ i ∈ s, DifferentiableOn ℂ (f i) U) : |
| 25 | DifferentiableOn ℂ (fun y => ∏ i ∈ s, f i y) U := by |
| 26 | classical |
| 27 | induction s using Finset.induction_on with |
| 28 | | empty => simpa only [Finset.prod_empty] using (differentiableOn_const (c := (1 : ℂ)) (s := U)) |
| 29 | | @insert i s hi ih => |
| 30 | simp only [Finset.prod_insert hi] |
| 31 | exact (hf i (Finset.mem_insert_self i s)).fun_mul |
| 32 | (ih (fun j hj => hf j (Finset.mem_insert_of_mem hj))) |
| 33 | |
| 34 | theorem differentiableOn_resultant |
| 35 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 36 | {P Q : E → Polynomial ℂ} {U : Set E} |
| 37 | (hP : ∀ k : ℕ, DifferentiableOn ℂ (fun y => (P y).coeff k) U) |
| 38 | (hQ : ∀ k : ℕ, DifferentiableOn ℂ (fun y => (Q y).coeff k) U) (m n : ℕ) : |
| 39 | DifferentiableOn ℂ (fun y => (P y).resultant (Q y) m n) U := by |
| 40 | classical |
| 41 | have hm (i j : Fin (m + n)) : |
| 42 | DifferentiableOn ℂ (fun y => (P y).sylvester (Q y) m n i j) U := by |
| 43 | induction j using Fin.addCases with |
| 44 | | left j => |
| 45 | simp only [sylvester, Matrix.of_apply, Fin.addCases_left] |
| 46 | split_ifs |
| 47 | · exact hQ _ |
| 48 | · exact differentiableOn_const _ |
| 49 | | right j => |
| 50 | simp only [sylvester, Matrix.of_apply, Fin.addCases_right] |
| 51 | split_ifs |
| 52 | · exact hP _ |
| 53 | · exact differentiableOn_const _ |
| 54 | simp only [resultant, Matrix.det_apply'] |
| 55 | apply DifferentiableOn.fun_sum |
| 56 | intro σ _ |
| 57 | exact (differentiableOn_finset_product Finset.univ (fun i _ => hm (σ i) i)).const_mul _ |
| 58 | |
| 59 | theorem differentiableOn_combination_coeff |
| 60 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 61 | {m : ℕ} {Q : Fin m → E → Polynomial ℂ} {U : Set E} |
| 62 | (hQ : ∀ i k, DifferentiableOn ℂ (fun y => (Q i y).coeff k) U) (t : ℂ) (k : ℕ) : |
| 63 | DifferentiableOn ℂ (fun y => (ResultantElimination.Constructions.Elimination.combination (fun i => Q i y) t).coeff k) U := by |
| 64 | simp only [ResultantElimination.Constructions.Elimination.combination, finsetSum_coeff, coeff_smul, smul_eq_mul] |
| 65 | exact DifferentiableOn.fun_sum (fun i _ => (hQ i k).const_mul _) |
| 66 | |
| 67 | theorem holomorphicZeroSetAt_common_roots |
| 68 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 69 | {m d : ℕ} {Q : Fin (m + 1) → E → Polynomial ℂ} {U : Set E} |
| 70 | (hU : IsOpen U) {x : E} (hx : x ∈ U) |
| 71 | (hcoeff : ∀ i k, DifferentiableOn ℂ (fun y => (Q i y).coeff k) U) |
| 72 | (hdegree : ∀ i y, y ∈ U → (Q i y).natDegree ≤ d) |
| 73 | (hmonic : ∀ y ∈ U, (Q 0 y).Monic ∧ (Q 0 y).natDegree = d) : |
| 74 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt {y | ∃ z, ∀ i, (Q i y).eval z = 0} x := by |
| 75 | let f : Fin (d * (m + 1) + 1) → E → ℂ := fun k y => |
| 76 | (Q 0 y).resultant (ResultantElimination.Constructions.Elimination.combination (fun i => Q i y) (k.val : ℂ)) d d |
| 77 | refine ⟨U, hU, hx, d * (m + 1) + 1, f, ?_, ?_⟩ |
| 78 | · intro k |
| 79 | exact differentiableOn_resultant (hcoeff 0) |
| 80 | (differentiableOn_combination_coeff hcoeff (k.val : ℂ)) d d |
| 81 | · intro y hy |
| 82 | have h := ResultantElimination.Constructions.Elimination.common_root_iff_resultant_tests (Q 0 y) (hmonic y hy).1 (hmonic y hy).2 |
| 83 | (fun i => Q i y) (fun i => hdegree i y hy) |
| 84 | change (∃ z, ∀ i, (Q i y).eval z = 0) ↔ _ |
| 85 | exact (show (∃ z, ∀ i, (Q i y).eval z = 0) ↔ |
| 86 | (∃ z, (Q 0 y).eval z = 0 ∧ ∀ i, (Q i y).eval z = 0) from |
| 87 | ⟨fun ⟨z, hz⟩ => ⟨z, hz 0, hz⟩, fun ⟨z, _, hz⟩ => ⟨z, hz⟩⟩).trans h |
| 88 | |
| 89 | /-- Near a point of a finite analytic fiber, projection of a sufficiently |
| 90 | small closed disk is cut out by finitely many holomorphic equations. -/ |
| 91 | theorem holomorphic_local_projection {n : ℕ} |
| 92 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} {c : ℂ} |
| 93 | (hlocal : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, c)) |
| 94 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 95 | ∃ R : ℝ, 0 < R ∧ |
| 96 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt {y | ∃ z ∈ closedBall c R, (y, z) ∈ S} x := by |
| 97 | obtain ⟨R, d, m, U, Q, hR, hU, hx, hcoeff, hdeg, hQ, heq⟩ := |
| 98 | PolynomialFibers.Constructions.Preparation.local_projection_as_common_roots hlocal hfinite |
| 99 | refine ⟨R, hR, (holomorphicZeroSetAt_common_roots hU hx hcoeff hdeg hQ).congr ?_⟩ |
| 100 | filter_upwards [hU.mem_nhds hx] with y hy |
| 101 | exact heq y hy |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.AnalyticElimination.Constructions.Elimination |