author | wenzelm |
Thu, 27 Sep 2001 22:28:16 +0200 | |
changeset 11609 | 3f3d1add4d94 |
parent 10214 | 77349ed89f45 |
child 13735 | 7de9342aca7a |
permissions | -rw-r--r-- |
8924 | 1 |
(* Title: HOL/SetInterval.thy |
2 |
ID: $Id$ |
|
3 |
Author: Tobias Nipkow |
|
8957 | 4 |
Copyright 2000 TU Muenchen |
8924 | 5 |
|
6 |
lessThan, greaterThan, atLeast, atMost |
|
7 |
*) |
|
8 |
||
11609
3f3d1add4d94
eliminated theories "equalities" and "mono" (made part of "Typedef",
wenzelm
parents:
10214
diff
changeset
|
9 |
SetInterval = NatArith + |
8924 | 10 |
|
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 | 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 | 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 | 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 | 23 |
|
24 |
end |