Advertisement
JoelSjogren

Untitled

Mar 13th, 2021
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. box% sage
  2. ┌────────────────────────────────────────────────────────────────────┐
  3. │ SageMath version 9.2, Release Date: 2020-10-24 │
  4. │ Using Python 3.9.2. Type "help()" for help. │
  5. └────────────────────────────────────────────────────────────────────┘
  6. sage: R.<x,a,b,c,d> = PolynomialRing(QQ, order='lex')
  7. sage: G = ideal(x^2+1).groebner_basis()
  8. sage: ((a*x+b)*(c*x+d)).reduce(G)
  9. x*a*d + x*b*c - a*c + b*d
  10. sage:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement