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

 Submitted by : (unknown) at: 2007-11-17T22:20:23-08:00 (11 years ago) Name : Axiom Version : default friCAS-20090114 Axiom-20050901 OpenAxiom-20091012 OpenAxiom-20110220 OpenAxiom-Release-141 Category : Axiom Aldor Interface Axiom Compiler Axiom Library Axiom Interpreter Axiom Documentation Axiom User Interface building Axiom from source lisp system MathAction Doyen CD Reduce Axiom on Windows Axiom on Linux Severity : critical serious normal minor wishlist Status : open closed rejected not reproducible fix proposed fixed somewhere duplicate need more info Optional subject :   Optional comment :

Equality of sets demands:

This axiom fails for the domain Set Any. For example:

axiom
X:Set Any
Type: Void
axiom
Y:Set Any
Type: Void
axiom
X:=["x"]
 (1)
Type: Set(Any)
axiom
Y:=["x"]
 (2)
Type: Set(Any)
axiom
(X=Y)::Boolean
 (3)
Type: Boolean

and

axiom
X:=[1.0]
 (4)
Type: Set(Any)
axiom
Y:=[1.0]
 (5)
Type: Set(Any)
axiom
(X=Y)::Boolean
 (6)
Type: Boolean

But notice that the following cases work:

axiom
X:=[1]
 (7)
Type: Set(Any)
axiom
Y:=[1]
 (8)
Type: Set(Any)
axiom
(X=Y)::Boolean
 (9)
Type: Boolean

axiom
Z:Set Union(String,Integer,Float)
Type: Void
axiom
W:Set Union(String,Integer,Float)
Type: Void
axiom
Z:=["x"]
 (10)
Type: Set(Union(String,Integer,Float))
axiom
W:=["x"]
 (11)
Type: Set(Union(String,Integer,Float))
axiom
(Z=W)::Boolean
 (12)
Type: Boolean

Category: Axiom Mathematics => Axiom Library

Status: open => closed

 Subject:   Be Bold !! ( 15 subscribers )