Documentation

LeanPool.CCDN.Plane.GridHeight

A coefficient-height witness on the bounded integer plane grid: the case n = 2 of CCDN.Height.MultivariateGridHeight.

Evaluating the nested-polynomial form of a bivariate polynomial f at (x, y) (inner variable at y, outer variable at x) agrees with evaluating f at ![x, y].

theorem CCDN.bivariate_coefficient_bound_of_integer_grid (f : Polynomial (Polynomial ℝ)) {d : ℕ} (hd : bivariateTotalDegree f ≤ d) {H : ℝ} (hH : 0 ≤ H) (heval : ∀ (x y : ℕ), x ≤ d → y ≤ d → |Polynomial.eval (↑x) (Polynomial.map (Polynomial.evalRingHom ↑y) f)| ≤ H) (i j : ℕ) :
|(f.coeff i).coeff j| ≤ (↑d + 1) ^ (2 * (d + 1)) * H

The plane case of multivariate_coefficient_bound_of_integer_grid, for nested polynomials.

theorem CCDN.exists_integer_plane_grid_height_witness (f : MvPolynomial (Fin 2) ℤ) (hf : f ≠ 0) {d : ℕ} (hd : f.totalDegree ≤ d) :
∃ (x : ℕ) (y : ℕ), x ≤ d ∧ y ≤ d ∧ (MvPolynomial.eval ![↑x, ↑y]) f ≠ 0 ∧ ∀ (m : Fin 2 →₀ ℕ), |↑(f.coeff m)| ≤ (↑d + 1) ^ (2 * (d + 1)) * |↑((MvPolynomial.eval ![↑x, ↑y]) f)|

A nonzero integer plane polynomial of total degree at most d has a nonzero value at some natural point (x, y) with x, y ≤ d, and every coefficient is bounded by (d + 1) ^ (2 * (d + 1)) times the absolute value of that value.

theorem CCDN.integer_plane_coefficient_bound_of_grid (f : MvPolynomial (Fin 2) ℤ) {d : ℕ} (hd : f.totalDegree ≤ d) {H : ℝ} (hH : 0 ≤ H) (heval : ∀ (x y : ℕ), x ≤ d → y ≤ d → |↑((MvPolynomial.eval ![↑x, ↑y]) f)| ≤ H) (m : Fin 2 →₀ ℕ) :
|↑(f.coeff m)| ≤ (↑d + 1) ^ (2 * (d + 1)) * H

The plane case of integer_multivariate_coefficient_bound_of_grid.