Hi guys,
I know that for variables in GF(2), x2=x, and 2x=0.
How do I simplify a polynomial expression in GF(2) in the Sage interface?
For example, I should obtain
(a+b+1)2=a2+b2+1+2a+2b+2ab=a+b+1
![]() | 1 | initial version |
Hi guys,
I know that for variables in GF(2), x2=x, and 2x=0.
How do I simplify a polynomial expression in GF(2) in the Sage interface?
For example, I should obtain
(a+b+1)2=a2+b2+1+2a+2b+2ab=a+b+1
![]() | 2 | No.2 Revision |
Hi guys,
I know that for variables a variable x in GF(2), x2=x, and 2x=0.
How do I simplify a polynomial expression in GF(2) in the Sage interface?
For example, I should obtain
(a+b+1)2=a2+b2+1+2a+2b+2ab=a+b+1