Project

General

Profile

Bug #132

BringIn should allow reduction modulo p

Added by John Abbott about 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
CoCoA-4 function to be added
Target version:
Start date:
17 Apr 2012
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

Currently BringIn does not allow one to move from char 0 to char non-zero.

Use QQ[x];
f := x^2+1;
Use ZZ/(5)[x];
BringIn(f);  --> gives error

Moreover the error message is misleading.


Related issues

Related to CoCoA-5 - Bug #100: BringIn should map only the indets in its argNew2012-03-07

Related to CoCoA-5 - Feature #7: Automatic mapping between (some) ringsResolved2011-10-20

History

#1 Updated by Anna Maria Bigatti about 11 years ago

  • Category set to CoCoA-4 function to be added

#2 Updated by John Abbott about 10 years ago

Even worse: BringIn fails to construct the hom from ZZ/(11)[x,y,z] to ZZ/(11)[x,y,z],Lex

This is embarassing!

Ahhhh! Perhaps the problem was that I created ZZ/(11) twice, and currently they are not regarded as identical.

#3 Updated by John Abbott about 10 years ago

  • Status changed from New to In Progress

The example given in the C5 online manual fails (because it uses reduction mod p).

#4 Updated by Anna Maria Bigatti about 10 years ago

  • Target version set to CoCoA-5.1.0 Easter14

#5 Updated by John Abbott about 10 years ago

  • Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14

#6 Updated by Anna Maria Bigatti almost 10 years ago

  • Assignee set to Anna Maria Bigatti
  • % Done changed from 0 to 50

now works in some cases, e.g. the one in the description ;-)
More precisely it works if the coefficient ring (of the object to move) is a polynomial ring with coefficients in ZZ or QQ.
A bit of a workaround, but that's what BringIn is by its very own nature.
In general it is not guaranteed to work on more complicated ring structures, but in that case I would expect such a user would define a proper RINGHOM.

#7 Updated by John Abbott over 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Closing even though it only partly resolves the problems with BringIn. I'll create a new, more precise issue.

Also available in: Atom PDF