[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-mail] Type of Expression Problem
From: |
Martin Rubey |
Subject: |
Re: [Axiom-mail] Type of Expression Problem |
Date: |
13 Nov 2005 12:23:00 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Hans Peter Würmli <address@hidden> writes:
> Hi
>
> What are my wrong expectations in the following interpreter session when
> using
> "typeOf" and "has"
>
> (1) -> e:=(1+n)/(n+k)
> n + 1
> (1) -----
> n + k
> Type: Fraction Polynomial Integer
> (2) -> typeOf e
> (2) Fraction Polynomial Integer
> Type: Domain
> (3) -> typeOf (e) has Fraction Polynomial Integer
> (3) false
>
> In (3) I would expect true.
Axiom is correct. "A has B" tests whether the Domain or Category A is a member
of *Category* B or satisfies the axiom B. So
Fraction Polynomial Integer has Ring
or
Field has Ring
would return true, similarly
PF 5 has commutative("*")
returns true.
Martin
- [Axiom-mail] Type of Expression Problem, Hans Peter Würmli, 2005/11/13
- Re: [Axiom-mail] Type of Expression Problem,
Martin Rubey <=
- Re: [Axiom-mail] Type of Expression Problem, Hans Peter Würmli, 2005/11/13
- Re: [Axiom-mail] Type of Expression Problem, Martin Rubey, 2005/11/13
- Re: [Axiom-mail] Type of Expression Problem, Hans Peter Würmli, 2005/11/13
- Re: [Axiom-mail] Type of Expression Problem, Martin Rubey, 2005/11/15
- Re: [Axiom-mail] Type of Expression Problem, Hans Peter Würmli, 2005/11/15
- Re: [Axiom-mail] Type of Expression Problem, Martin Rubey, 2005/11/16
- Re: [Axiom-mail] Type of Expression Problem, Hans Peter Würmli, 2005/11/16
- Re: [Axiom-mail] Type of Expression Problem, Martin Rubey, 2005/11/17
- [Axiom-mail] Axiom bibliography, Hans Peter Würmli, 2005/11/17
- Message not available
- Re: [Axiom-mail] Axiom bibliography, Hans Peter Würmli, 2005/11/18