/
codi_atomic_2d_restricted.clif
74 lines (58 loc) · 1.59 KB
/
codi_atomic_2d_restricted.clif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*******************************************************************************
* Copyright (c) University of Toronto and others. All rights reserved.
* The content of this file is licensed under the Creative Commons Attribution-
* ShareAlike 4.0 Unported license. The legal text of this license can be
* found at http://creativecommons.org/licenses/by-sa/4.0/legalcode.
*
* Contributors:
* Torsten Hahmann - initial implementation
*******************************************************************************/
(cl-text http://colore.oor.net/multidim_space_codi/codi_atomic_2d.clif
(cl-imports http://colore.oor.net/multidim_space_codi/codi_atomic_2d.clif)
(cl-comment 'all point regions are points (i.e. no sets of isolated points are entities themselves)')
(forall (x)
(if
(PointRegion x)
(Point x)
)
)
(cl-comment 'every 1D spatial region contains some point')
(forall (x)
(if
(Curve x)
(exists (y)
(and
(PointRegion y)
(Cont y x)
)
)
)
)
(cl-comment 'every 2D spatial region contains some point')
(forall (x)
(if
(ArealRegion x)
(exists (y)
(and
(PointRegion y)
(Cont y x)
)
)
)
)
(cl-comment 'every 2D spatial region is in some proper parthood relation')
(forall (x)
(if
(ArealRegion x)
(exists (y)
(and
(EqDim x y)
(or
(Cont x y)
(Cont y x)
)
)
)
)
)
)