Re: [sage-support] Re: Question about polynomial rings and their fraction fields

2010-09-25 Thread Robert Bradshaw
On Sat, Sep 25, 2010 at 10:51 AM, kcrisman wrote: > >> This is the only possibility, because the "var('x')" command executed >> by default at startup did the assignment >> >> x = SR('x') >> >> and you haven't bound x to any other object. Once you execute >> >> x = b.0 >> >> [ or one of its implici

[sage-support] Re: Question about polynomial rings and their fraction fields

2010-09-25 Thread kcrisman
> This is the only possibility, because the "var('x')" command executed > by default at startup did the assignment > > x = SR('x') > > and you haven't bound x to any other object. Once you execute > > x = b.0 > > [ or one of its implicit forms like b.=PolynomialRing(ZZ,'x')] then > x is no longer

Re: [sage-support] Question about polynomial rings and their fraction fields

2010-09-25 Thread Burcin Erocal
On Fri, 24 Sep 2010 18:56:14 -0700 (PDT) kcrisman wrote: > sage: a = FractionField(PolynomialRing(ZZ, 'x')) > sage: a(1/x) > polynomial ring> > > Did I do something wrong, or is this a bug? Because of the initial > behavior, maybe I shouldn't expect to be able to do this. This is #7741: http

Re: [sage-support] Question about polynomial rings and their fraction fields

2010-09-25 Thread Robert Bradshaw
On Fri, Sep 24, 2010 at 6:56 PM, kcrisman wrote: > If I make a polynomial ring using > > sage: b = PolynomialRing(ZZ, 'x') > > I get some odd behavior.  Namely, > > sage: bool(b(x)==x) > True > sage: b(x) > x > sage: type(b(x)) > > sage: type(x) > > > This isn't really that odd, but still I don'