fmpz_poly_hensel_lift_tree_recursive
#include <flint/fmpz_poly.h>void fmpz_poly_hensel_lift_tree_recursive(slong * link, fmpz_poly_t * v, fmpz_poly_t * w, fmpz_poly_t f, slong j, slong inv, const fmpz_t p0, const fmpz_t p1)sourceLifts the subtree of the Hensel tree (link, v, w) rooted at the pair v[j], v[j + 1], whose product is , from modulus to with . The cofactors are lifted if inv is 1, and not lifted if it is 0 (for the last step); with the cofactors are lifted from the previous precision (when a lift is restarted). may be aliased with an entry of v or w, but the entries of v and w must be distinct.
At each node the two halves of the lift are fused: since , the moduli and and their Newton preinverses serve all four divisions, and when the new second factor is computed as an exact quotient modulo instead of a second lift. The arithmetic runs in gr rings chosen by the size of the modulus (nmod, mpn_mod or fmpz_mod). Small nodes use fmpz_poly_hensel_lift.
The FLINT team, “fmpz_poly_hensel_lift_tree_recursive (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/fmpz_poly_hensel_lift_tree_recursive.html (generated 2026-11-02).
@misc{flint-doc-fmpz-poly-fmpz-poly-hensel-lift-tree-recursive,
author = {{The FLINT team}},
title = {{fmpz\_poly\_hensel\_lift\_tree\_recursive (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/fmpz_poly_hensel_lift_tree_recursive.html},
note = {Generated 2026-11-02}
}