-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathThreeDgeo2.ocd
More file actions
290 lines (237 loc) · 7.93 KB
/
ThreeDgeo2.ocd
File metadata and controls
290 lines (237 loc) · 7.93 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<CD xmlns="http://www.openmath.org/OpenMathCD">
<CDComment>
This document is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The copyright holder grants you permission to redistribute this
document freely as a verbatim copy. Furthermore, the copyright
holder permits you to develop any derived work from this document
provided that the following conditions are met.
a) The derived work acknowledges the fact that it is derived from
this document, and maintains a prominent reference in the
work to the original source.
b) The fact that the derived work is not the original OpenMath
document is stated prominently in the derived work. Moreover if
both this document and the derived work are Content Dictionaries
then the derived work must include a different CDName element,
chosen so that it cannot be confused with any works adopted by
the OpenMath Society. In particular, if there is a Content
Dictionary Group whose name is, for example, `math' containing
Content Dictionaries named `math1', `math2' etc., then you should
not name a derived Content Dictionary `mathN' where N is an integer.
However you are free to name it `private_mathN' or some such. This
is because the names `mathN' may be used by the OpenMath Society
for future extensions.
c) The derived work is distributed under terms that allow the
compilation of derived works, but keep paragraphs a) and b)
intact. The simplest way to do this is to distribute the derived
work under the OpenMath license, but this is not a requirement.
If you have questions about this license please contact the OpenMath
society at http://www.openmath.org.
</CDComment>
<CDName>ThreeDgeo2</CDName>
<CDURL>http://nash.sip.ucm.es/LAD-3D/3DgeoCDs/ThreeDgeo2.ocd</CDURL>
<CDReviewDate>2017-12-31</CDReviewDate>
<CDStatus>experimental</CDStatus>
<CDDate>2008-01-21</CDDate>
<CDVersion>0</CDVersion>
<CDRevision>3</CDRevision>
<CDComment>
Author: Jesús Escribano
</CDComment>
<Description>
This CD defines symbols for 3-dimensional Euclidean geometry
</Description>
<CDDefinition>
<Name>incident</Name>
<Description>
The symbol represents the logical incidence function which is a
binary function taking arguments representing geometric objects like points and lines and returning a boolean value.
It is true if and only if the first argument is incident to the second.
</Description>
<Example>
That a point A is incident to a line l is given by:
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="incident"/>
<OMV name="A"/>
<OMV name="l"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>is_midpoint</Name>
<Description> The statement that one point is the midpoint of two others.
</Description>
<Example>
This example states that C is the midpoint of A and B.
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="is_midpoint"/>
<OMV name="C"/>
<OMV name="A"/>
<OMV name="B"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>circle_center</Name>
<Description>
The statement that a circle in 3-dimensional Euclidean space has a given point as center.
Takes the circle as first argument and the point as second argument.
</Description>
<Example>
The circle c with center at A and passing through the point B is given by:
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo1" name="circle"/>
<OMV name="c"/>
<OMA>
<OMS cd="ThreeDgeo2" name="circle_center"/>
<OMV name="c"/>
<OMV name="A"/>
</OMA>
<OMA>
<OMS cd="ThreeDgeo2" name="incident"/>
<OMV name="B"/>
<OMV name="c"/>
</OMA>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>sphere_center</Name>
<Description>
The statement that a sphere in 3-dimensional Euclidean space has a given point as center.
Takes the sphere as first argument and the point as second argument.
</Description>
<Example>
The sphere s with center at A and passing through the point B is given by:
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo1" name="sphere"/>
<OMV name="s"/>
<OMA>
<OMS cd="ThreeDgeo2" name="sphere_center"/>
<OMV name="s"/>
<OMV name="A"/>
</OMA>
<OMA>
<OMS cd="ThreeDgeo2" name="incident"/>
<OMV name="B"/>
<OMV name="s"/>
</OMA>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>perpendicular</Name>
<Description>
The symbol represents a binary boolean function with input two lines or segments.
Its value is true whenever the first argument is perpendicular to the second.
</Description>
<Example>
This example states that the lines l and m are perpendicular.
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="perpendicular"/>
<OMV name="l"/>
<OMV name="m"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>line_parallel</Name>
<Description>
The symbol represents a binary boolean function with input two lines or segments.
Its value is true whenever the first argument is parallel to the second.
</Description>
<Example>
This example states that the lines l and m are parallel.
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="line_parallel"/>
<OMV name="l"/>
<OMV name="m"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>plane_parallel</Name>
<Description>
The symbol represents a binary boolean function with input two planes.
Its value is true whenever the first argument is parallel to the second.
</Description>
<Example>
This example states that the planes m and n are parallel.
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="plane_parallel"/>
<OMV name="m"/>
<OMV name="n"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>normal</Name>
<Description>
The symbol represents a binary boolean function with a line as first argument and a plane as second argument.
Its value is true whenever the first argument is normal to the second.
</Description>
<Example>
This example states that the line l is normal to the plane p.
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="normal"/>
<OMV name="l"/>
<OMV name="p"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>are_on_line</Name>
<Description>
The symbol is a boolean n-ary function. Its arguments should be points.
When applied to a sequence of points in 3-dimensional Euclidean space, its evaluated to true if and only if there is a line on which all arguments lie.
</Description>
<Example>
This example states that the points A, B, C, and D are collinear.
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="are_on_line"/>
<OMV name="A"/>
<OMV name="B"/>
<OMV name="C"/>
<OMV name="D"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
<CDDefinition>
<Name>are_on_plane</Name>
<Description>
The symbol is a boolean n-ary function. Its arguments should be points.
When applied to a sequence of points in 3-dimensional Euclidean space, its evaluated to true if and only if there is a plane on which all arguments lie.
</Description>
<Example>
This example states that the points A, B, C, and D are coplanar.
<OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0">
<OMA>
<OMS cd="ThreeDgeo2" name="are_on_plane"/>
<OMV name="A"/>
<OMV name="B"/>
<OMV name="C"/>
<OMV name="D"/>
</OMA>
</OMOBJ>
</Example>
</CDDefinition>
</CD>