src/HOL/SetInterval.thy
author wenzelm
Thu, 27 Sep 2001 22:28:16 +0200
changeset 11609 3f3d1add4d94
parent 10214 77349ed89f45
child 13735 7de9342aca7a
permissions -rw-r--r--
eliminated theories "equalities" and "mono" (made part of "Typedef", which supercedes "subset");
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8924
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
     1
(*  Title:      HOL/SetInterval.thy
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
     2
    ID:         $Id$
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
     3
    Author:     Tobias Nipkow
8957
26b6e8f43305 added parent
paulson
parents: 8924
diff changeset
     4
    Copyright   2000  TU Muenchen
8924
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
     5
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
     6
lessThan, greaterThan, atLeast, atMost
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
     7
*)
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
     8
11609
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
     9
SetInterval = NatArith + 
8924
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
    10
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
    11
constdefs
11609
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    12
  lessThan    :: "('a::ord) => 'a set"	("(1{.._'(})")
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    13
  "{..u(} == {x. x<u}"
8924
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
    14
11609
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    15
  atMost      :: "('a::ord) => 'a set"	("(1{.._})")
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    16
  "{..u} == {x. x<=u}"
8924
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
    17
11609
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    18
  greaterThan :: "('a::ord) => 'a set"	("(1{')_..})")
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    19
  "{)l..} == {x. l<x}"
8924
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
    20
11609
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    21
  atLeast     :: "('a::ord) => 'a set"	("(1{_..})")
3f3d1add4d94 eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents: 10214
diff changeset
    22
  "{l..} == {x. l<=x}"
8924
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
    23
c434283b4cfa Added SetInterval
nipkow
parents:
diff changeset
    24
end