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.PolynomialGerms |
| 2 | |
| 3 | /-! # Germ Polynomial Coefficients -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.GermPolynomialCoefficients.AnalyticLocal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficients, evaluation, and monicity of polynomials formed from the |
| 10 | actual holomorphic germs of a polynomial family. -/ |
| 11 | |
| 12 | open Set Filter _root_.Polynomial |
| 13 | open scoped _root_.Topology |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs |
| 16 | |
| 17 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 18 | (x : E) (P : E → ℂ[X]) (d : ℕ) {U : Set E} (hU : IsOpen U) (hx : x ∈ U) |
| 19 | (hcoeff : ∀ k : ℕ, DifferentiableOn ℂ (fun y => (P y).coeff k) U) |
| 20 | |
| 21 | theorem polynomialOfFamily_coeff (k : ℕ) : |
| 22 | (ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P d hU hx hcoeff).coeff k = |
| 23 | if k ≤ d then ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x (fun y => (P y).coeff k) hU hx (hcoeff k) else 0 := by |
| 24 | simp [ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily, finsetSum_coeff, coeff_monomial, Finset.sum_ite_eq'] |
| 25 | |
| 26 | theorem polynomialOfFamily_map_value (hd : (P x).natDegree ≤ d) : |
| 27 | (ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P d hU hx hcoeff).map (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x) = P x := by |
| 28 | ext k |
| 29 | rw [coeff_map, polynomialOfFamily_coeff] |
| 30 | split_ifs with hk |
| 31 | · rfl |
| 32 | · rw [map_zero] |
| 33 | exact (coeff_eq_zero_of_natDegree_lt (hd.trans_lt (lt_of_not_ge hk))).symm |
| 34 | |
| 35 | theorem polynomialOfFamily_monic_degree |
| 36 | (hP : ∀ y ∈ U, (P y).Monic ∧ (P y).natDegree = d) : |
| 37 | (ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P d hU hx hcoeff).Monic ∧ |
| 38 | (ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P d hU hx hcoeff).natDegree = d := by |
| 39 | let Q := ComplexGroups.HolomorphicAlgebraicity.PolynomialGerms.Constructions.Germs.polynomialOfFamily x P d hU hx hcoeff |
| 40 | have htop : Q.coeff d = 1 := by |
| 41 | rw [polynomialOfFamily_coeff, ite_eq_left le_rfl] |
| 42 | apply Subtype.ext |
| 43 | apply Germ.coe_eq.mpr |
| 44 | filter_upwards [hU.mem_nhds hx] with y hy |
| 45 | exact (hP y hy).2 ▸ (hP y hy).1.coeff_natDegree |
| 46 | have hle : Q.natDegree ≤ d := by |
| 47 | apply natDegree_le_iff_coeff_eq_zero.mpr |
| 48 | intro k hk |
| 49 | rw [polynomialOfFamily_coeff, ite_eq_right (not_le_of_gt hk)] |
| 50 | have hdeg : Q.natDegree = d := le_antisymm hle |
| 51 | (le_natDegree_of_ne_zero (by rw [htop]; exact one_ne_zero)) |
| 52 | refine ⟨?_, hdeg⟩ |
| 53 | change Q.coeff Q.natDegree = 1 |
| 54 | rw [hdeg, htop] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Comparison.Betti.GermPolynomialCoefficients.AnalyticLocal |