Skip to content

Commit e84412b

Browse files
committed
changes the definition of Dedup such that it deduplicates errors as well
1 parent 48b19ee commit e84412b

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

spec/index.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9584,14 +9584,17 @@ <h4>Aggregate Algebra</h4>
95849584
Two lists <var>L</var> and <var>L'</var> from M(Ψ) are
95859585
considered the same iff they have the same number of elements
95869586
and, for every position&nbsp;<var>k</var> within the two lists,
9587-
the element at the <var>k</var>-th position of <var>L</var> is
9588-
an RDF term, the element at the <var>k</var>-th position of
9589-
<var>L'</var> is an RDF term, and these two RDF terms are the
9590-
<a href="#func-sameTerm">same term</a> (as a consequence of
9591-
this definition, if any of the two lists, <var>L</var> or
9592-
<var>L'</var>, contains an error, then the two lists cannot
9593-
be the same list, no matter what RDF terms they contain in
9594-
other positions).</li>
9587+
any of the following two conditions is true:
9588+
<ul>
9589+
<li>either the element at the <var>k</var>-th position of
9590+
<var>L</var> is an RDF term, the element at the <var>k</var>-th
9591+
position of <var>L'</var> is also an RDF term, and these two
9592+
RDF terms are the <a href="#func-sameTerm">same term</a>;</li>
9593+
<li>or the element at the <var>k</var>-th position of <var>L</var>
9594+
is an error and the element at the <var>k</var>-th position of
9595+
<var>L'</var> is also an error.</li>
9596+
</ul>
9597+
</li>
95959598
<li>For any two lists <var>L<sub>1</sub></var> and <var>L<sub>2</sub></var> in Dedup(M(Ψ)), the relative order of their first occurrences in M(Ψ) is preserved in Dedup(M(Ψ)). That is, if <var>i<sub>1</sub></var>&nbsp;&lt;&nbsp;<var>i<sub>2</sub></var>, then <var>j<sub>1</sub></var>&nbsp;&lt;&nbsp;<var>j<sub>2</sub></var>, where
95969599
<ul>
95979600
<li><var>i<sub>1</sub></var> is the smallest natural number such that <var>L<sub>1</sub></var> is at the <var>i<sub>1</sub></var>-th position in M(Ψ),</li>

0 commit comments

Comments
 (0)