Skip to content

Commit

Permalink
Define equality for sets
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN authored and annevk committed Jan 10, 2025
1 parent ffebfb4 commit 2c3dbce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infra.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1728,6 +1728,9 @@ of either with <var>replacement</var> and <a for=set>remove</a> all other instan
<p class=note>This implies that an <a>ordered set</a> is both a <a for=set>subset</a> and a
<a for=set>superset</a> of itself.

<p>A [=/set=] |A| is <dfn export for=set>equal</dfn> to a [=/set=] |B|
if |A| is a [=subset=] of |B| and |A| is a [=superset=] of |B|.

<p>The <dfn export for=set>intersection</dfn> of <a>ordered sets</a> |A| and |B|, is the result
of creating a new <a>ordered set</a> |set| and, <a for=list>for each</a> |item| of |A|, if |B|
<a for=set>contains</a> |item|, <a for=set>appending</a> |item| to |set|.
Expand Down

0 comments on commit 2c3dbce

Please sign in to comment.