Advertisement
JoelSjogren

Untitled

Oct 30th, 2020 (edited)
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. box% sage
  2. ┌────────────────────────────────────────────────────────────────────┐
  3. │ SageMath version 9.2, Release Date: 2020-10-24 │
  4. │ Using Python 3.8.6. Type "help()" for help. │
  5. └────────────────────────────────────────────────────────────────────┘
  6. sage: R.<x0,x1,x2,s1,s2,s3> = PolynomialRing(QQ, order='lex')
  7. sage: ideal(-s1+x0+x1+x2, -s2+x0*x1+x0*x2+x1*x2, -s3+x0*x1*x2).groebner_basis()
  8. [x0 + x1 + x2 - s1, x1^2 + x1*x2 - x1*s1 + x2^2 - x2*s1 + s2, x2^3 - x2^2*s1 + x2*s2 - s3]
  9. sage:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement