Opened 10 years ago

Last modified 6 years ago

#11983 new defect

unnecessary parentheses for coefficients (finite field) in multivariate polynomial

Reported by: dkrenn Owned by: was
Priority: minor Milestone: sage-6.4
Component: user interface Keywords: parentheses, multivariate polynomial, finite field
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

We have

sage: F.<a>=GF(9)
sage: R.<x,y>=F[]
sage: a*x+1
(a)*x + 1

There, clearly the parentheses around a are unnecessary. In the univariate case, the phenomenon does not appear:

sage: S.<s>=F[]
sage: a*s+1
a*s + 1

The reason is that this should return True:

sage: F._repr_option('element_is_atomic')
False

Change History (10)

comment:1 Changed 10 years ago by dkrenn

  • Priority changed from major to minor

comment:2 Changed 10 years ago by dkrenn

  • Component changed from algebra to user interface
  • Owner changed from AlexGhitza to was

comment:3 Changed 10 years ago by jdemeyer

  • Milestone sage-4.7.3 deleted

Milestone sage-4.7.3 deleted

comment:4 Changed 10 years ago by dkrenn

  • Milestone set to sage-4.8

comment:5 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:6 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:7 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:8 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:9 Changed 7 years ago by jdemeyer

  • Description modified (diff)

comment:10 Changed 6 years ago by dkrenn

Still there in 6.6

Note: See TracTickets for help on using tickets.