Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12331
| From | Richard Fateman <fateman@cs.berkeley.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Relational operators on intervals: bug? |
| Date | 2012-11-14 06:33 +0000 |
| Message-ID | <k7vdut$s04$1@smc.vnet.net> (permalink) |
| References | <k7p3j3$ca3$1@smc.vnet.net> <20121112080708.39931690E@smc.vnet.net> <k7skt2$ku3$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On 11/12/2012 9:13 PM, Murray Eisenberg wrote:
>
> Here is the empty interval in Mathematica:
>
> Interval[{1, 0}]
>
> Indeed:
>
> Resolve[Exists[x, IntervalMemberQ[Interval[{1, 0}], x]]]
> False
>
Apparently this doesn't mean what you think it does. It gives the same
answer for Interval[{0,1}].
Note that
IntervalMemberQ[ Interval[{1, 0}], 1/2] is TRUE.
IntervalIntersection[Interval[{0, 1}], Interval[{1, 0}]]
is Interval[{0,1}].
That is, the endpoints, in Mathematica, are re-ordered. This is, in
my opinion, a bug.
Using your reasoning, there are an infinite number of ways of writing
an Interval with no "insides" -- why choose {1,0}? A rather complete
calculus of interval including EXTERIOR intervals has been defined,
one in which {1,0} is the equivalent of the union of the (open)
intervals {-Infinity,0} and {1,Infinity}. A canonical representative
for an empty set would be useful in such a scheme.
The Mathematica implementation of Intervals seems to have a number
of design issues. I've commented on some of them, previously.
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Relational operators on intervals: bug? bertiiiiiiiiiiiiiiiiiiiiiiiiii@gmail.com - 2012-11-11 20:59 +0000
Re: Relational operators on intervals: bug? Richard Fateman <fateman@cs.berkeley.edu> - 2012-11-12 08:12 +0000
Re: Relational operators on intervals: bug? Murray Eisenberg <murray@math.umass.edu> - 2012-11-13 05:13 +0000
Re: Relational operators on intervals: bug? Richard Fateman <fateman@cs.berkeley.edu> - 2012-11-14 06:33 +0000
Re: Relational operators on intervals: bug? Andrzej Kozlowski <akozlowski@gmail.com> - 2012-11-15 09:04 +0000
Re: Relational operators on intervals: bug? Murray Eisenberg <murray@math.umass.edu> - 2012-11-15 09:07 +0000
Re: Relational operators on intervals: bug? Murray Eisenberg <murray@math.umass.edu> - 2012-11-15 09:07 +0000
Re: Relational operators on intervals: bug? Andrzej Kozlowski <akozlowski@gmail.com> - 2012-11-15 09:07 +0000
Re: Relational operators on intervals: bug? Andrzej Kozlowski <akozlowski@gmail.com> - 2012-11-16 07:14 +0000
Re: Relational operators on intervals: bug? Murray Eisenberg <murray@math.umass.edu> - 2012-11-16 07:14 +0000
Re: Relational operators on intervals: bug? Andrzej Kozlowski <akozlowski@gmail.com> - 2012-11-16 07:14 +0000
Re: Relational operators on intervals: bug? Andrzej Kozlowski <akozlowski@gmail.com> - 2012-11-17 08:49 +0000
Re: Relational operators on intervals: bug? Richard Fateman <fateman@cs.berkeley.edu> - 2012-11-17 08:51 +0000
Re: Relational operators on intervals: bug? Bob Hanlon <hanlonr357@gmail.com> - 2012-11-13 05:13 +0000
Re: Relational operators on intervals: bug? Richard Fateman <fateman@eecs.berkeley.edu> - 2012-11-13 05:13 +0000
csiph-web