login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : (unknown) at: 2007-11-17T21:53:40-08:00 (10 months ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

Does any one know why the direct product D of two (or more) copies of a monoid R is not implemented as a monoid in Axiom? The scalar multiplication is implemented coordinatewise, the identity element is defined, but the monoid product between elements of D is not, and the domain is not declared as a monoid. On the other hand, if R is a ring, then the direct product is a ring. See vector.spad.

axiom
NNI has Monoid
LatexWiki Image(1)
Type: Boolean
axiom
NNI2:= DirectProduct(2,NNI)
LatexWiki Image(2)
Type: Domain
axiom
NNI2 has Monoid
LatexWiki Image(3)
Type: Boolean
axiom
a:NNI2:=directProduct([3,5])
LatexWiki Image(4)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
3*a
LatexWiki Image(5)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
b:NNI2:= 1
LatexWiki Image(6)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
1*a
LatexWiki Image(7)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
b*a
LatexWiki Image(8)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
c:NNI2:=directProduct([1,1])
LatexWiki Image(9)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
c*a
LatexWiki Image(10)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
d:NNI2:=directProduct([1,2])
LatexWiki Image(11)
Type: DirectProduct?(2,NonNegativeInteger)
axiom
d*a

There are 34 exposed and 23 unexposed library operations named * having 2 argument(s) but none was determined to be applicable. Use HyperDoc Browse, or issue )display op * to learn more about the available operations. Perhaps package-calling the operation or using coercions on the arguments will allow you to apply the operation.

Cannot find a definition or applicable library operation named * with argument type(s) DirectProduct(2,NonNegativeInteger) DirectProduct(2,NonNegativeInteger)

Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need. DirectProduct(2, INT) has Ring

LatexWiki Image(12)
Type: Boolean

Note how smart the Interpreter is to recognize that c is really a scalar.

Proposed patch in vector.spad

DirectProductCategory

LatexWiki Image

DirectProduct

LatexWiki Image

property change --Bill Page, Thu, 10 Mar 2005 22:50:03 -0600 reply

Bill, what is this property change ? What do you think if we change its status to fix proposed ?

status change --Bill Page, Mon, 03 Apr 2006 15:07:17 -0500 reply
I do not recall the change I made last year, but I agree to the status change

property change --greg, Mon, 03 Apr 2006 17:16:39 -0500 reply
Status: open => fix proposed

Fixed in OpenAxiom

Fixed in FriCAS

Status: fix proposed => fixed somewhere




subject:
  ( 7 subscribers )  
Please rate this page: