Skip to content

More capable method valuation for polynomials #19172

Open
@bgrenet

Description

@bgrenet

This ticket aims at improving the method valuation for polynomials in two ways:

  1. The method valuation for dense polynomials can be called in the following ways:

    • Without argument, return the largest power of the variable that divides the input polynomial.
    • With a polynomial (with the same parent) as argument, return the largest power of this polynomial which divides the input polynomial.

    I propose to allow another possible argument: If the argument is an element of the base ring of the parent, it returns the minimum of the valuations of the coefficients. This is consistent with PARI.

  2. The method valuation for sparse polynomials is much less capable than the method for dense polynomials. I propose to have the same behaviors in both cases.

Depends on #19171

Component: commutative algebra

Keywords: polynomial

Work Issues: Rebase

Author: Bruno Grenet

Branch/Commit: u/roed/t19172_valuation @ aa040dc

Issue created by migration from https://trac.sagemath.org/ticket/19172

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions