Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Relational operators on intervals: bug?
Replies: 21   Last Post: Nov 17, 2012 3:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Murray Eisenberg

Posts: 2,105
Registered: 12/6/04
Re: Relational operators on intervals: bug?
Posted: Nov 13, 2012 12:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


On Nov 12, 2012, at 3:07 AM, Richard Fateman <fateman@cs.berkeley.edu> wrote:

> On 11/11/2012 12:59 PM, bertiiiiiiiiiiiiiiiiiiiiiiiiii@gmail.com wrote:
>

>> 1. Comparision of any Interval[___] to the empty interval Interval[]:
>>

>
> What makes you think that this is a notation for an empty Interval,
> whatever that is?


One way to define "interval" J mathematically in a (linearly) ordered set X such as the set of reals is to say J is a subset of X having the property that, for all a, b and c in X, if a and b are elements of J and if a < c < b, then also c is an element of J.

Using that definition, evidently the empty set _is_ an interval, as are rays in the real line. Which is fortunate, for otherwise the theorem that a subset of the reals is connected if and only if it is an interval would have to be restated with awkward restrictions.

Of course the OP's notation for the empty interval is spurious.

Here is the empty interval in Mathematica:

Interval[{1, 0}]

Indeed:

Resolve[Exists[x, IntervalMemberQ[Interval[{1, 0}], x]]]
False

---
Murray Eisenberg murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2838 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305









Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.