OpenAxiom displays
(3) -> V1=V2
LISP output:
(UNPRINTABLE . UNPRINTABLE)
Type: Equation Domain
(4) -> %::Boolean
Internal Error
The function = with signature (%,%) -> Boolean is missing from
domain Domain
and is missing equality. axiom V1:=DirectProduct(3+4,Integer)
Type: Domain
axiom V2:=DirectProduct(7,Integer)
Type: Domain
axiom V1=V2 Type: Equation Domain
axiom %::Boolean ... --Bill Page, Tue, 17 Jun 2008 14:34:47 -0700 reply Axiom Version: => /usr/local/lib/open-axiom/x86_64-unknown-linux/1.2.0-2008-05-25
Putting Domain in SetCategory is one possible solution to this problem:
spad )abbrev domain DOMAIN Domain
++ Author: Gabriel Dos Reis
++ Date Create: October 18, 2007.
++ Modified: Bill Page
++ Date Last Updated: June 17, 2008.
++ Basic Operations: coerce, reify
++ Related Constructors: Type, Syntax, OutputForm
++ Also See: Type, ConstructorCall
Domain(): Public == Private where
Public ==> SetCategory with
reify: % -> ConstructorCall
++ reify(d) returns the abstract syntax for the domain `x'.
spad Compiling OpenAxiom source code from file
/var/zope2/var/LatexWiki/6570934237940921533-25px002.spad using
Spad compiler.
DOMAIN abbreviates domain Domain
processing macro definition Public ==> -- the constructor category
processing macro definition Private ==> -- the constructor capsule
------------------------------------------------------------------------
initializing NRLIB DOMAIN for Domain
compiling into NRLIB DOMAIN
Adding $ modemaps
Adding OutputForm modemaps
compiling exported coerce : % -> OutputForm
DOMAIN;coerce;$Of;1 is replaced by outputDomainConstructor axiom (V1=V2)@Boolean
Type: Boolean
axiom (Complex Integer = Complex Float)@Boolean
Type: Boolean
axiom V1=V2
Type: Equation Domain
axiom %::Boolean
Type: Boolean
Status: open => closed
|