Step 3: Separable Contraction of Irreducible Trivariate Polynomials #
Contracts an irreducible polynomial R ∈ F[Z][X][Y] in positive characteristic to a separable
polynomial S(Z, X, Y) with expand F μ S = R and produces a Bézout identity
S * A + S' * B = C Δ over F[Z][X] with explicit degree bounds on Δ.
Main results #
Cslib.Code.ProximityGap.exists_separable_contraction_and_bezout: separable contraction with Bézout certificate and weighted-degree /Z-degree bounds.
theorem Cslib.Code.ProximityGap.coeff_expand_eq_zero_of_not_dvd {R : Type u_2} [CommSemiring R] {μ : ℕ} (hμ : 0 < μ) (p : Polynomial R) {b : ℕ} (hb : ¬μ ∣ b) :
theorem Cslib.Code.ProximityGap.exists_separable_contraction_and_bezout {F : Type u_1} [Field F] {d D B_Z : ℕ} {R : Polynomial (Polynomial (Polynomial F))} (hR_irred : Irreducible R) (hR_deg : 1 ≤ R.natDegree) (hR_wd : Polynomial.Bivariate.weightedDegree d R ≤ D) (hR_degZ : degZ R ≤ B_Z) :
∃ (μ : ℕ) (S : Polynomial (Polynomial (Polynomial F))) (A_bez : Polynomial (Polynomial (Polynomial F))) (B_bez :
Polynomial (Polynomial (Polynomial F))) (Δ : Polynomial (Polynomial F)),
(μ = 1 ∨ ∃ (p : ℕ) (e : ℕ), CharP F p ∧ Nat.Prime p ∧ μ = p ^ e) ∧ 1 ≤ μ ∧ (Polynomial.expand (Polynomial (Polynomial F)) μ) S = R ∧ 1 ≤ S.natDegree ∧ μ * S.natDegree = R.natDegree ∧ μ * d ≤ D ∧ (∀ (a b : ℕ), (S.coeff b).coeff a ≠ 0 → a + μ * d * b ≤ D) ∧ degZ S ≤ B_Z ∧ Δ ≠ 0 ∧ S * A_bez + Polynomial.derivative S * B_bez = Polynomial.C Δ ∧ (S.leadingCoeff * Δ).natDegree ≤ 2 * S.natDegree * D ∧ degZ₂ (S.leadingCoeff * Δ) ≤ 2 * S.natDegree * B_Z
Step 3: Positive-characteristic-safe separable contraction R = expand (F[Z][X]) μ S directly
in F[Z][X][Y], together with the nonzero resultant Δ = Res_Y(S, S') and Bézout identity
S * A_bez + S' * B_bez = C Δ.