AngouriMath
RationalCanonicalization
Property
Summary
A canonical form for rational functions over Q : two expressions
denoting the same quotient of polynomials become the identical tree, so equality on
that sublanguage is decided by comparing nodes rather than by searching.
denoting the same quotient of polynomials become the identical tree, so equality on
that sublanguage is decided by comparing nodes rather than by searching.
Remarks
language — zero-equivalence is undecidable once
trigonometric functions and
that is not a rational function over
at all. That refusal is the point: a form whose value is that equal trees mean equal
expressions must not quietly hand back a normalisation that merely resembles one.
in the library does, and without which
scaled so the denominator is monic in the lexicographic monomial order.
factor of positive degree comes out the answer says the factor is nonzero, as the
rest of the library already does. Gathering over a common denominator widens
nothing by itself: a sum is defined exactly where its terms are.
#934.
Canonicalization is the companion that handles the commutative
structure of expressions generally.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online