Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
1

How to find coefficient polynomials in an ideal

asked 3 years ago

anonymous user

Anonymous

updated 3 years ago

I have an ideal I generated by multivariate polynomials f,g over BooleanPolynomialRing. Suppose another polynomial h is in I. So there are two polynomials h1 and h2 such that h=h1f+h2g. How to find h1,h2?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 3 years ago

Max Alekseyev gravatar image

updated 3 years ago

h.lift(I) should do the job. See documentation for details.

Since lift is not implemented for BooleanPolynomialRing, we can workaround by considering the ideal generated by f,g and x2i+xi in GF(2)[x1,,xn]. Here is a sample code:

B.<x,y> = BooleanPolynomialRing()
I = ideal(x+1,y+1)
pol = x*y + 1
#print( pol.lift(I) )      # this is not implemented

#workaround:
F = GF(2)[B.gens()]
I2 = ideal( [F(g) for g in I.gens()] + [g^2+g for g in F.gens()] )
coefs = [B(c) for c in F(pol).lift(I2)[:len(I.gens())]]
print( coefs )
Preview: (hide)
link

Comments

This is not implemented for multivariate polynomials over BooleanPolynomialRing.

rburing gravatar imagerburing ( 3 years ago )

Then consider the ideal generated by f,g and x2i+xi of GF(2)[x1,,zn] instead. I've added a sample code.

Max Alekseyev gravatar imageMax Alekseyev ( 3 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 3 years ago

Seen: 255 times

Last updated: May 20 '21