Hi,

If you have a polynomial f = x1*x2+x3+x4, then isn't f.subs( {x4 :
blablabla] ) what you are looking for ?


Charles

2013/2/16 Santanu Sarkar <sarkar.santanu....@gmail.com>:
> Dear all,
>  I have the following problem.
>
>
> I am working with Boolean variables. So I call the following.
>
> from sage.crypto.boolean_function import BooleanFunction
> R.<x0,x1,x2,x3,x4,x5,x6,x7,x8,x9>=BooleanPolynomialRing(10)
>
>
> Suppose during run time of my code, I get three polynomials
> x1*x2+x3+x4, x0+x5, x4+x5. Now I want to replace last polynomial
> by x4=x1*x2+x3 & x5=x0. However this replacement is not constant.
> That is next time x4 may be  replaced by x0+x1.
>
> How this is possible?
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to