@@ -96,8 +96,8 @@ standard library package Occurrences {
9696 */
9797
9898 /* successors is transitive. */
99- feature earlierOccurrence: Occurrence[1] redefines that;
100- feature laterOccurrence: Occurrence[1] redefines self;
99+ feature earlierOccurrence: Occurrence[1] subsets that;
100+ feature laterOccurrence: Occurrence[1] subsets self;
101101 subset laterOccurrence.successors subsets earlierOccurrence.successors;
102102 }
103103
@@ -133,8 +133,8 @@ standard library package Occurrences {
133133 * And predecessors of (occurrences happening before) time enclosing occurrences
134134 * are predecessors of their timeEnclosedOccurrences.
135135 */
136- feature longerOccurrence: Occurrence[1] redefines that;
137- feature shorterOccurrence: Occurrence[1] redefines self;
136+ feature longerOccurrence: Occurrence[1] subsets that;
137+ feature shorterOccurrence: Occurrence[1] subsets self;
138138 subset longerOccurrence.predecessors subsets shorterOccurrence.predecessors;
139139 subset longerOccurrence.successors subsets shorterOccurrence.successors;
140140
@@ -150,8 +150,8 @@ standard library package Occurrences {
150150 */
151151
152152 /* timeCoincidentOccurrences occurrences happen during each other. */
153- feature thisOccurrence: Occurrence[1] redefines that;
154- feature thatOccurrence: Occurrence[1] redefines self;
153+ feature thisOccurrence: Occurrence[1] subsets that;
154+ feature thatOccurrence: Occurrence[1] subsets self;
155155 connector :HappensDuring
156156 from shorterOccurrence references thatOccurrence [1]
157157 to longerOccurrence references thisOccurrence [1];
@@ -165,8 +165,8 @@ standard library package Occurrences {
165165 */
166166
167167 /* spaceEnclosedOccurrences is transitive. */
168- feature smallerSpace: Occurrence[1] redefines that;
169- feature largerSpace: Occurrence[1] redefines self;
168+ feature smallerSpace: Occurrence[1] subsets that;
169+ feature largerSpace: Occurrence[1] subsets self;
170170 subset smallerSpace.spaceEnclosedOccurrences subsets largerSpace.spaceEnclosedOccurrences;
171171 }
172172
@@ -209,13 +209,12 @@ standard library package Occurrences {
209209 * Occurrences that have no space between some of their space slices and some space slices of this occurrence.
210210 */
211211
212- feature separateSpaceToo: Occurrence[1] redefines that;
213- feature separateSpace: Occurrence[1] redefines self;
212+ feature separateSpaceToo: Occurrence[1] subsets that;
213+ feature separateSpace: Occurrence[1] subsets self;
214214
215215 connector :MatesWith [1..*]
216216 from separateSpaceToo references separateSpaceToo.spaceSlices [0..*]
217217 to separateSpace references separateSpace.spaceSlices [0..*];
218- }
219218 }
220219
221220 feature matingOccurrences: Occurrence[1..*] subsets justOutsideOfOccurrences inverse of matingOccurrences {
@@ -224,8 +223,8 @@ standard library package Occurrences {
224223 * Occurrences that have no space between them and this one.
225224 */
226225
227- feature matingSpaceToo: Occurrence[1] redefines that;
228- feature matingSpace: Occurrence[1] redefines self;
226+ feature matingSpaceToo: Occurrence[1] subsets that;
227+ feature matingSpace: Occurrence[1] subsets self;
229228 feature matingOccurrence: Occurrence [1] {
230229 portion feature redefines spaceBoundary [1];
231230 inv { contains(unionsOf, union(matingSpaceToo, matingSpace)) }
@@ -271,8 +270,8 @@ standard library package Occurrences {
271270 * least this occurrence.
272271 */
273272
274- feature portionOccurrence: Occurrence[1] redefines that;
275- feature portionedOccurrence: Occurrence[1] redefines self;
273+ feature portionOccurrence: Occurrence[1] subsets that;
274+ feature portionedOccurrence: Occurrence[1] subsets self;
276275 binding portionOccurrence.portionOfLife[1] = portionedOccurrence.portionOfLife[1];
277276 }
278277
@@ -366,8 +365,8 @@ standard library package Occurrences {
366365 * occurrence.
367366 */
368367
369- feature spaceSliceOccurrence: Occurrence[1] redefines that;
370- feature spaceSlicedOccurrence: Occurrence[1] redefines self;
368+ feature spaceSliceOccurrence: Occurrence[1] subsets that;
369+ feature spaceSlicedOccurrence: Occurrence[1] subsets self;
371370 inv { spaceSliceOccurrence.innerSpaceDimension <= spaceSlicedOccurrence.innerSpaceDimension }
372371 }
373372
@@ -384,8 +383,8 @@ standard library package Occurrences {
384383 * Occurrences of which this occurrence is a space shot.
385384 */
386385
387- feature spaceShotOccurrence: Occurrence[1] redefines that;
388- feature spaceShottedOccurrence: Occurrence[1] redefines self;
386+ feature spaceShotOccurrence: Occurrence[1] subsets that;
387+ feature spaceShottedOccurrence: Occurrence[1] subsets self;
389388 inv { spaceShotOccurrence.innerSpaceDimension < spaceShottedOccurrence.innerSpaceDimension }
390389 }
391390
@@ -492,7 +491,7 @@ standard library package Occurrences {
492491
493492 feature redefines isClosed = true;
494493
495- feature spaceBounder: Occurrence redefines self;
494+ feature spaceBounder: Occurrence subsets self;
496495
497496 outer: Occurrence [0..1] subsets spaceSlices {
498497 feature redefines isClosed = true;
@@ -515,7 +514,7 @@ standard library package Occurrences {
515514 * An Occurrence of which this one is the space boundary.
516515 */
517516
518- feature spaceBounderOf: Occurrence redefines self;
517+ feature spaceBounderOf: Occurrence subsets self;
519518 inv { spaceBounderOf.spaceBoundary == that.that }
520519 }
521520
@@ -539,8 +538,8 @@ standard library package Occurrences {
539538 feature redefines innerSpaceOccurrences [0];
540539
541540 /* innerSpace is the spaceInterior of hOccurrence, which is formed from an inner space boundary of outerSpace. */
542- feature outerSpace: Occurrence[1] redefines that;
543- feature innerSpace: Occurrence[1] redefines self;
541+ feature outerSpace: Occurrence[1] subsets that;
542+ feature innerSpace: Occurrence[1] subsets self;
544543 feature hOccurrence: Occurrence [1];
545544 connector hbi: WithinBoth [0..1] from hOccurrence.spaceBoundary [0..1] to outerSpace.spaceBoundary.inner [0..1];
546545 connector hbo: WithinBoth [0..1] from hOccurrence.spaceBoundary [0..1] to outerSpace [0..1];
@@ -554,8 +553,8 @@ standard library package Occurrences {
554553 * Occurrences that have inner spaces that completely include this occurrence.
555554 */
556555
557- feature surroundedSpace: Occurrence[1] redefines that;
558- end feature surroundingSpace: Occurrence[1] redefines self;
556+ feature surroundedSpace: Occurrence[1] subsets that;
557+ end feature surroundingSpace: Occurrence[1] subsets self;
559558
560559 connector :InsideOf
561560 from smallerOccurrence references surroundedSpace [0..1]
@@ -893,9 +892,9 @@ standard library package Occurrences {
893892 * no space between them.
894893 */
895894
896- end feature separateSpaceToo: Occurrence[0..*] redefines separateOccurrenceToo
895+ end feature redefines separateSpaceToo: Occurrence[0..*]
897896 subsets separateSpace.justOutsideOfOccurrences;
898- end feature separateSpace: Occurrence[0..*] redefines separateOccurrence
897+ end feature redefines separateSpace: Occurrence[0..*]
899898 subsets separateSpaceToo.justOutsideOfOccurrences;
900899 }
901900
0 commit comments