Open 0adfa02f-507d-46c6-aa3b-f2437a2a5873 opened 7 years ago
Boolean polynomial elements inherit from MPolynomial, but do not implement the dict
, exponents
, or _derivative
methods, so many other methods also break: coefficients
, truncate
, derivative
, polynomial
, gradient
, jacobian_ideal
, newton_polytope
, content
, map_coefficients
, sylvester_matrix
, denominator
, numerator
, weighted_degree
, nth_root
, and specialization
.
The code looking for
self.dict
is from trac [ticket:22454], that implementedis_unit
andis_nilpotent
for multivariate polynomial rings. It looks like BooleanPolynomialRings inherit that method but do not implement the dictionary.As only 0 is nilpotent in these rings it should be simple to fix.
Component: algebra
Issue created by migration from https://trac.sagemath.org/ticket/23311