<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl"  href="omxsl/pmathml.xsl"?>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cd="http://www.openmath.org/OpenMathCD" xmlns:om="http://www.openmath.org/OpenMath">
<head>
<script type="text/javascript"> function divfold(_Id){
     var thisLevel = document.getElementById(_Id);
     var thisLevela = document.getElementById(_Id.concat("a"))
     if(thisLevel.style.display != "none"){ 
      thisLevel.style.display = "none";
      thisLevela.style.backgroundColor = "#CCCCCC";} 
     else{
      thisLevel.style.display = "block";
      thisLevela.style.backgroundColor = "#AAFFAA";}  
       }
     </script>
<title>multiset1</title>
<link type="text/css" href="omcd.css" rel="stylesheet"/>
</head>
<body>
<a name="top"/>
<h1>OpenMath Content Dictionary: multiset1</h1>
<dl>
<dt>
<span class="dt">Canonical URL:</span>
</dt>
<dd>
<a href="http://www.openmath.org/cd/multiset1.ocd">http://www.openmath.org/cd/multiset1.ocd</a>
</dd>
<dt>
<span class="dt">CD Base:</span>
</dt>
<dd>
<a href="http://www.openmath.org/cd">http://www.openmath.org/cd</a>
</dd>
<dt>
<span class="dt">CD File:</span>
</dt>
<dd>
<a href="multiset1.ocd">multiset1.ocd
  </a>
</dd>
<dt>
<span class="dt">CD as XML Encoded OpenMath:</span>
</dt>
<dd>
<a href="multiset1.omcd">multiset1.omcd
  </a>
</dd>
<dt>
<span class="dt">Defines:</span>
</dt>
<dd>
<a href="#cartesian_product">cartesian_product</a>, <a href="#emptyset">emptyset</a>, <a href="#in">in</a>, <a href="#intersect">intersect</a>, <a href="#multiset">multiset</a>, <a href="#notin">notin</a>, <a href="#notprsubset">notprsubset</a>, <a href="#notsubset">notsubset</a>, <a href="#prsubset">prsubset</a>, <a href="#setdiff">setdiff</a>, <a href="#size">size</a>, <a href="#subset">subset</a>, <a href="#union">union</a>
</dd>
<dt>
<span class="dt">Date:</span>
</dt>
<dd>2004-03-30</dd>
<dt>
<span class="dt">Version:</span>
</dt>
<dd>3</dd>
<dt>
<span class="dt">Review Date:</span>
</dt>
<dd>2006-03-30</dd>
<dt>
<span class="dt">Status:</span>
</dt>
<dd> official </dd>
</dl>
<hr/>

<pre>

     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.
</pre>









<p>
    This CD defines the set functions and constructors for basic
    multiset theory. It is intended to be `compatible' with the
    corresponding elements in MathML i.e. set operations acting
    on sets of type=multiset.
</p>
<pre>
Based on set1.ocd
</pre>

<hr/>
<h2>
<a name="size"> size </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol is used to denote the number of elements in a multiset. It is
either a non-negative integer, or an infinite cardinal number. The
symbol infinity may be used for an unspecified infinite cardinal.
</p>
</dd>
</dl>

<dl>
<dt>
<span class="dt">Example:</span>
</dt>
<dd>
The size of the multiset{3,3,9} = 3

<div>
<button onclick="divfold('N10033xml')" style="width:6em; background-color:#CCCCCC" id="N10033xmla">xml</button> <button onclick="divfold('N10033pref')" style="width:6em; background-color:#CCCCCC" id="N10033prefa">prefix</button> <button onclick="divfold('N10033mml')" style="width:6em; background-color:#AAFFAA" id="N10033mmla">mathml</button>
</div>
<pre style="display:none" id="N10033xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="relation1" name="eq"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="size"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="multiset"/&gt;
        &lt;OMI&gt; 3 &lt;/OMI&gt;
        &lt;OMI&gt; 3 &lt;/OMI&gt;
        &lt;OMI&gt; 9 &lt;/OMI&gt;
      &lt;/OMA&gt;
    &lt;/OMA&gt;
    &lt;OMI&gt; 3 &lt;/OMI&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10033pref">
  <a href="relation1.html#eq">eq</a>
(<a href="multiset1.html#size">size</a>
(<a href="multiset1.html#multiset">multiset</a>
( 3 ,  3 ,  9 )
)
,  3 )

</div>
<div style="display:block; margin-top: 0.5em" id="N10033mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">size</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 3 </mn>
<mo>,</mo>
<mn> 3 </mn>
<mo>,</mo>
<mn> 9 </mn>
<mo>)</mo>
</mrow>
</mrow>
<mo>)</mo>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mn> 3 </mn>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#size">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#cartesian_product">cartesian_product</a>]
    
      [Last: <a href="#notprsubset">notprsubset</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>


<hr/>
<h2>
<a name="cartesian_product"> cartesian_product </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p>
This symbol represents an n-ary construction function for constructing
the Cartesian product of multisets. It takes n multiset arguments in order to
construct their Cartesian product.
</p>
</dd>
</dl>

<dl>
<dt>
<span class="dt">Example:</span>
</dt>
<dd>
An example to show the representation of the Cartesian product of
multisets: AxBxC.
<div>
<button onclick="divfold('N10069xml')" style="width:6em; background-color:#CCCCCC" id="N10069xmla">xml</button> <button onclick="divfold('N10069pref')" style="width:6em; background-color:#CCCCCC" id="N10069prefa">prefix</button> <button onclick="divfold('N10069mml')" style="width:6em; background-color:#AAFFAA" id="N10069mmla">mathml</button>
</div>
<pre style="display:none" id="N10069xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="multiset1" name="cartesian_product"/&gt;
    &lt;OMV name="A"/&gt;
    &lt;OMV name="B"/&gt;
    &lt;OMV name="C"/&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10069pref">
  <a href="multiset1.html#cartesian_product">cartesian_product</a>
( <i>A</i>,  <i>B</i>,  <i>C</i>)

</div>
<div style="display:block; margin-top: 0.5em" id="N10069mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">×</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">×</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">C</mi>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#cartesian_product">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#emptyset">emptyset</a>]
    
      [Previous: <a href="#size">size</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="emptyset">emptyset</a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>constant</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p>
This symbol is used to represent the empty multiset, that is the multiset which
contains no members. It takes no parameters.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd> The intersection of A with the empty (multi) set is the empty
(multi) set </dd>
</dl>
<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N10091xml')" style="width:6em; background-color:#CCCCCC" id="N10091xmla">xml</button> <button onclick="divfold('N10091pref')" style="width:6em; background-color:#CCCCCC" id="N10091prefa">prefix</button> <button onclick="divfold('N10091mml')" style="width:6em; background-color:#AAFFAA" id="N10091mmla">mathml</button>
</div>
<pre style="display:none" id="N10091xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="relation1" name="eq"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="intersect"/&gt;
      &lt;OMV name="A"/&gt;
      &lt;OMS cd="multiset1" name="emptyset"/&gt;
    &lt;/OMA&gt;
    &lt;OMS cd="multiset1" name="emptyset"/&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10091pref">
  <a href="relation1.html#eq">eq</a>
(<a href="multiset1.html#intersect">intersect</a>
( <i>A</i>, <a href="multiset1.html#emptyset">emptyset</a>)
, <a href="multiset1.html#emptyset">emptyset</a>)

</div>
<div style="display:block; margin-top: 0.5em" id="N10091mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∩</mo>
<mi>∅</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mi>∅</mi>
</mrow>
</math>
</div>
</dd>
</dl>

<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd> The union of A with the empty (multi) set is A </dd>
</dl>
<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N100B6xml')" style="width:6em; background-color:#CCCCCC" id="N100B6xmla">xml</button> <button onclick="divfold('N100B6pref')" style="width:6em; background-color:#CCCCCC" id="N100B6prefa">prefix</button> <button onclick="divfold('N100B6mml')" style="width:6em; background-color:#AAFFAA" id="N100B6mmla">mathml</button>
</div>
<pre style="display:none" id="N100B6xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="relation1" name="eq"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="union"/&gt;
      &lt;OMV name="A"/&gt;
      &lt;OMS cd="multiset1" name="emptyset"/&gt;
    &lt;/OMA&gt;
    &lt;OMV name="A"/&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N100B6pref">
  <a href="relation1.html#eq">eq</a>
(<a href="multiset1.html#union">union</a>
( <i>A</i>, <a href="multiset1.html#emptyset">emptyset</a>)
,  <i>A</i>)

</div>
<div style="display:block; margin-top: 0.5em" id="N100B6mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∪</mo>
<mi>∅</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
</mrow>
</math>
</div>
</dd>
</dl>

<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#emptyset">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#multiset">multiset</a>]
    
      [Previous: <a href="#cartesian_product">cartesian_product</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="multiset"> multiset </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol represents the multiset construct. It is either an
n-ary function, in which case the multiset entries are given 
explicitly, or it works on an elements construct. There is no 
implied ordering to the elements of a multiset.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Example:</span>
</dt>
<dd>
The multiset {4, 1, 0, 1 4}
<div>
<button onclick="divfold('N100E3xml')" style="width:6em; background-color:#CCCCCC" id="N100E3xmla">xml</button> <button onclick="divfold('N100E3pref')" style="width:6em; background-color:#CCCCCC" id="N100E3prefa">prefix</button> <button onclick="divfold('N100E3mml')" style="width:6em; background-color:#AAFFAA" id="N100E3mmla">mathml</button>
</div>
<pre style="display:none" id="N100E3xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="multiset1" name="multiset"/&gt;
    &lt;OMI&gt; 4 &lt;/OMI&gt;
    &lt;OMI&gt; 1 &lt;/OMI&gt;
    &lt;OMI&gt; 0 &lt;/OMI&gt;
    &lt;OMI&gt; 1 &lt;/OMI&gt;
    &lt;OMI&gt; 4 &lt;/OMI&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N100E3pref">
  <a href="multiset1.html#multiset">multiset</a>
( 4 ,  1 ,  0 ,  1 ,  4 )

</div>
<div style="display:block; margin-top: 0.5em" id="N100E3mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 4 </mn>
<mo>,</mo>
<mn> 1 </mn>
<mo>,</mo>
<mn> 0 </mn>
<mo>,</mo>
<mn> 1 </mn>
<mo>,</mo>
<mn> 4 </mn>
<mo>)</mo>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>

<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#multiset">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#intersect">intersect</a>]
    
      [Previous: <a href="#emptyset">emptyset</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>


<hr/>
<h2>
<a name="intersect"> intersect </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol is used to denote the n-ary intersection of 
multisets. It takes multisets as arguments, and denotes the 
multiset that contains all the elements that occur in all of 
them, with multiplicity the minimum of their multiplicities 
in all multisets.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd>
  (A intersect B) is a subset of A and 
    (A intersect B) is a subset of B
</dd>
</dl>
<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N10111xml')" style="width:6em; background-color:#CCCCCC" id="N10111xmla">xml</button> <button onclick="divfold('N10111pref')" style="width:6em; background-color:#CCCCCC" id="N10111prefa">prefix</button> <button onclick="divfold('N10111mml')" style="width:6em; background-color:#AAFFAA" id="N10111mmla">mathml</button>
</div>
<pre style="display:none" id="N10111xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="logic1" name="and"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="subset"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="intersect"/&gt;
	&lt;OMV name="A"/&gt;
	&lt;OMV name="B"/&gt;
      &lt;/OMA&gt;
      &lt;OMV name="A"/&gt;
    &lt;/OMA&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="subset"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="intersect"/&gt;
	&lt;OMV name="A"/&gt;
	&lt;OMV name="B"/&gt;
      &lt;/OMA&gt;
      &lt;OMV name="B"/&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10111pref">
  <a href="logic1.html#and">and</a>
(<a href="multiset1.html#subset">subset</a>
(<a href="multiset1.html#intersect">intersect</a>
( <i>A</i>,  <i>B</i>)
,  <i>A</i>)
, <a href="multiset1.html#subset">subset</a>
(<a href="multiset1.html#intersect">intersect</a>
( <i>A</i>,  <i>B</i>)
,  <i>B</i>)
)

</div>
<div style="display:block; margin-top: 0.5em" id="N10111mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∩</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∧</mo>
<mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∩</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#intersect">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#union">union</a>]
    
      [Previous: <a href="#multiset">multiset</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="union"> union </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol is used to denote the n-ary union of multisets. It
takes multisets as arguments, and denotes the multiset that 
contains all the elements that occur in any of them, with 
multiplicity the sum of all the multiplicities in the multiset 
arguments.
</p>
</dd>
</dl>

<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd> 
  A is a subset of (A union B) and B is a subset of (A union B) 
</dd>
</dl>

<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N1015Exml')" style="width:6em; background-color:#CCCCCC" id="N1015Exmla">xml</button> <button onclick="divfold('N1015Epref')" style="width:6em; background-color:#CCCCCC" id="N1015Eprefa">prefix</button> <button onclick="divfold('N1015Emml')" style="width:6em; background-color:#AAFFAA" id="N1015Emmla">mathml</button>
</div>
<pre style="display:none" id="N1015Exml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="logic1" name="and"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="subset"/&gt;
      &lt;OMV name="A"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="union"/&gt;
	&lt;OMV name="A"/&gt;
	&lt;OMV name="B"/&gt;
      &lt;/OMA&gt;
    &lt;/OMA&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="subset"/&gt;
      &lt;OMV name="B"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="union"/&gt;
	&lt;OMV name="A"/&gt;
	&lt;OMV name="B"/&gt;
      &lt;/OMA&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N1015Epref">
  <a href="logic1.html#and">and</a>
(<a href="multiset1.html#subset">subset</a>
( <i>A</i>, <a href="multiset1.html#union">union</a>
( <i>A</i>,  <i>B</i>)
)
, <a href="multiset1.html#subset">subset</a>
( <i>B</i>, <a href="multiset1.html#union">union</a>
( <i>A</i>,  <i>B</i>)
)
)

</div>
<div style="display:block; margin-top: 0.5em" id="N1015Emml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∪</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∧</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∪</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>

<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd>
for all sets A,B and C
union(A,intersect(B,C)) = intersect(union(A,B),union(A,C))
</dd>
</dl>

<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N1019Fxml')" style="width:6em; background-color:#CCCCCC" id="N1019Fxmla">xml</button> <button onclick="divfold('N1019Fpref')" style="width:6em; background-color:#CCCCCC" id="N1019Fprefa">prefix</button> <button onclick="divfold('N1019Fmml')" style="width:6em; background-color:#AAFFAA" id="N1019Fmmla">mathml</button>
</div>
<pre style="display:none" id="N1019Fxml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMBIND&gt;
    &lt;OMS cd="quant1" name="forall"/&gt;
    &lt;OMBVAR&gt;
      &lt;OMV name="A"/&gt;
      &lt;OMV name="B"/&gt;
      &lt;OMV name="C"/&gt;
    &lt;/OMBVAR&gt;
    &lt;OMA&gt;
      &lt;OMS cd="relation1" name="eq"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="union"/&gt;
        &lt;OMV name="A"/&gt;
        &lt;OMA&gt;
          &lt;OMS cd="multiset1" name="intersect"/&gt;
          &lt;OMV name="B"/&gt;
          &lt;OMV name="C"/&gt;
        &lt;/OMA&gt;
      &lt;/OMA&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="intersect"/&gt;
        &lt;OMA&gt;
          &lt;OMS cd="multiset1" name="union"/&gt;
          &lt;OMV name="A"/&gt;
          &lt;OMV name="B"/&gt;
        &lt;/OMA&gt;
        &lt;OMA&gt;
          &lt;OMS cd="multiset1" name="union"/&gt;
          &lt;OMV name="A"/&gt;
          &lt;OMV name="C"/&gt;
        &lt;/OMA&gt;
      &lt;/OMA&gt;
    &lt;/OMA&gt;    
  &lt;/OMBIND&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N1019Fpref">
  <a href="quant1.html#forall">forall</a>
[
       <i>A</i>
       <i>B</i>
       <i>C</i>
    ] .
(<a href="relation1.html#eq">eq</a>
(<a href="multiset1.html#union">union</a>
( <i>A</i>, <a href="multiset1.html#intersect">intersect</a>
( <i>B</i>,  <i>C</i>)
)
, <a href="multiset1.html#intersect">intersect</a>
(<a href="multiset1.html#union">union</a>
( <i>A</i>,  <i>B</i>)
, <a href="multiset1.html#union">union</a>
( <i>A</i>,  <i>C</i>)
)
)
)

</div>
<div style="display:block; margin-top: 0.5em" id="N1019Fmml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∀</mo>
<mo> </mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo>,</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
<mo>,</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">C</mi>
</mrow>
<mo>.</mo>
<mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∪</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∩</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">C</mi>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">=</mo>
<mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∪</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∩</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∪</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">C</mi>
</mrow>
</mrow>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#union">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#setdiff">setdiff</a>]
    
      [Previous: <a href="#intersect">intersect</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="setdiff"> setdiff </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol is used to denote the multiset difference of two 
multisets. It takes two multisets as arguments, and denotes the 
multiset that contains all the elements that occur in the first 
multiset with strictly greater multiplicity than in the second.
The multiplicity in the result is the difference of the two.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd>
  the difference of A and B is a subset of A
</dd>
</dl>
<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N10208xml')" style="width:6em; background-color:#CCCCCC" id="N10208xmla">xml</button> <button onclick="divfold('N10208pref')" style="width:6em; background-color:#CCCCCC" id="N10208prefa">prefix</button> <button onclick="divfold('N10208mml')" style="width:6em; background-color:#AAFFAA" id="N10208mmla">mathml</button>
</div>
<pre style="display:none" id="N10208xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="multiset1" name="subset"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="setdiff"/&gt;
      &lt;OMV name="A"/&gt;
      &lt;OMV name="B"/&gt;
    &lt;/OMA&gt;
    &lt;OMV name="A"/&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10208pref">
  <a href="multiset1.html#subset">subset</a>
(<a href="multiset1.html#setdiff">setdiff</a>
( <i>A</i>,  <i>B</i>)
,  <i>A</i>)

</div>
<div style="display:block; margin-top: 0.5em" id="N10208mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∖</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#setdiff">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#subset">subset</a>]
    
      [Previous: <a href="#union">union</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="subset"> subset </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p>
This symbol has two (multiset) arguments. It is used to denote 
that the first set is a subset of the second, i.e. every element 
of the first occurs with multiplicity at least as much in the 
second.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd>
  if B is a subset of A and C is a subset of B 
    then C is a subset of A
</dd>
</dl>
<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N10235xml')" style="width:6em; background-color:#CCCCCC" id="N10235xmla">xml</button> <button onclick="divfold('N10235pref')" style="width:6em; background-color:#CCCCCC" id="N10235prefa">prefix</button> <button onclick="divfold('N10235mml')" style="width:6em; background-color:#AAFFAA" id="N10235mmla">mathml</button>
</div>
<pre style="display:none" id="N10235xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="logic1" name="implies"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="logic1" name="and"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="subset"/&gt;
        &lt;OMV name="B"/&gt;
        &lt;OMV name="A"/&gt;
      &lt;/OMA&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="subset"/&gt;
        &lt;OMV name="C"/&gt;
        &lt;OMV name="B"/&gt;
      &lt;/OMA&gt;
    &lt;/OMA&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="subset"/&gt;
      &lt;OMV name="C"/&gt;
      &lt;OMV name="A"/&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10235pref">
  <a href="logic1.html#implies">implies</a>
(<a href="logic1.html#and">and</a>
(<a href="multiset1.html#subset">subset</a>
( <i>B</i>,  <i>A</i>)
, <a href="multiset1.html#subset">subset</a>
( <i>C</i>,  <i>B</i>)
)
, <a href="multiset1.html#subset">subset</a>
( <i>C</i>,  <i>A</i>)
)

</div>
<div style="display:block; margin-top: 0.5em" id="N10235mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∧</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">C</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⇒</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">C</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#subset">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#in">in</a>]
    
      [Previous: <a href="#setdiff">setdiff</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="in"> in </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol has two arguments, an element and a multiset. It is 
used to denote that the element is in the given multiset.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Commented Mathematical property (CMP):</span>
</dt>
<dd>
  if a is in A and a is in B then a is in A intersection B
</dd>
</dl>
<dl>
<dt>
<span class="dt">Formal Mathematical property (FMP):</span>
</dt>
<dd>
<div>
<button onclick="divfold('N10280xml')" style="width:6em; background-color:#CCCCCC" id="N10280xmla">xml</button> <button onclick="divfold('N10280pref')" style="width:6em; background-color:#CCCCCC" id="N10280prefa">prefix</button> <button onclick="divfold('N10280mml')" style="width:6em; background-color:#AAFFAA" id="N10280mmla">mathml</button>
</div>
<pre style="display:none" id="N10280xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="logic1" name="implies"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="logic1" name="and"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="in"/&gt;
        &lt;OMV name="a"/&gt;
        &lt;OMV name="A"/&gt;
      &lt;/OMA&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="in"/&gt;
        &lt;OMV name="a"/&gt;
        &lt;OMV name="B"/&gt;
      &lt;/OMA&gt;
    &lt;/OMA&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="in"/&gt;
      &lt;OMV name="a"/&gt;
      &lt;OMA&gt;
        &lt;OMS cd="multiset1" name="intersect"/&gt;
        &lt;OMV name="A"/&gt;
        &lt;OMV name="B"/&gt;
      &lt;/OMA&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10280pref">
  <a href="logic1.html#implies">implies</a>
(<a href="logic1.html#and">and</a>
(<a href="multiset1.html#in">in</a>
( <i>a</i>,  <i>A</i>)
, <a href="multiset1.html#in">in</a>
( <i>a</i>,  <i>B</i>)
)
, <a href="multiset1.html#in">in</a>
( <i>a</i>, <a href="multiset1.html#intersect">intersect</a>
( <i>A</i>,  <i>B</i>)
)
)

</div>
<div style="display:block; margin-top: 0.5em" id="N10280mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">a</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∈</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∧</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">a</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∈</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⇒</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">a</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∈</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">A</mi>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∩</mo>
<mi xmlns="http://www.w3.org/1998/Math/MathML">B</mi>
</mrow>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#in">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#notin">notin</a>]
    
      [Previous: <a href="#subset">subset</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="notin"> notin </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol has two arguments, an element and a multiset. It is 
used to denote that the element is not in the given multiset.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Example:</span>
</dt>
<dd>
  4 is not in {1,1,2,3}

<div>
<button onclick="divfold('N102D3xml')" style="width:6em; background-color:#CCCCCC" id="N102D3xmla">xml</button> <button onclick="divfold('N102D3pref')" style="width:6em; background-color:#CCCCCC" id="N102D3prefa">prefix</button> <button onclick="divfold('N102D3mml')" style="width:6em; background-color:#AAFFAA" id="N102D3mmla">mathml</button>
</div>
<pre style="display:none" id="N102D3xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="multiset1" name="notin"/&gt;
    &lt;OMI&gt; 4 &lt;/OMI&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="multiset"/&gt;
      &lt;OMI&gt; 1 &lt;/OMI&gt;
      &lt;OMI&gt; 1 &lt;/OMI&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 3 &lt;/OMI&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N102D3pref">
  <a href="multiset1.html#notin">notin</a>
( 4 , <a href="multiset1.html#multiset">multiset</a>
( 1 ,  1 ,  2 ,  3 )
)

</div>
<div style="display:block; margin-top: 0.5em" id="N102D3mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mn> 4 </mn>
<mo xmlns="http://www.w3.org/1998/Math/MathML">∉</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 1 </mn>
<mo>,</mo>
<mn> 1 </mn>
<mo>,</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 3 </mn>
<mo>)</mo>
</mrow>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#notin">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#prsubset">prsubset</a>]
    
      [Previous: <a href="#in">in</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="prsubset"> prsubset </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol has two (multiset) arguments. It is used to denote 
that the first multiset is a proper subset of the second, that is 
a subset of the second multiset but not actually equal to it.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Example:</span>
</dt>
<dd>
  {2,3} is a proper subset of {2,2,3}

<div>
<button onclick="divfold('N10305xml')" style="width:6em; background-color:#CCCCCC" id="N10305xmla">xml</button> <button onclick="divfold('N10305pref')" style="width:6em; background-color:#CCCCCC" id="N10305prefa">prefix</button> <button onclick="divfold('N10305mml')" style="width:6em; background-color:#AAFFAA" id="N10305mmla">mathml</button>
</div>
<pre style="display:none" id="N10305xml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="multiset1" name="prsubset"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="multiset"/&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 3 &lt;/OMI&gt;
    &lt;/OMA&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="multiset"/&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 3 &lt;/OMI&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N10305pref">
  <a href="multiset1.html#prsubset">prsubset</a>
(<a href="multiset1.html#multiset">multiset</a>
( 2 ,  3 )
, <a href="multiset1.html#multiset">multiset</a>
( 2 ,  2 ,  3 )
)

</div>
<div style="display:block; margin-top: 0.5em" id="N10305mml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 3 </mn>
<mo>)</mo>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊂</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 3 </mn>
<mo>)</mo>
</mrow>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#prsubset">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#notsubset">notsubset</a>]
    
      [Previous: <a href="#notin">notin</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="notsubset"> notsubset </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol has two (multiset) arguments. It is used to denote 
that the first multiset is not a subset of the second.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Example:</span>
</dt>
<dd>
  {2,3,3} is not a subset of {1,2,3}

<div>
<button onclick="divfold('N1033Exml')" style="width:6em; background-color:#CCCCCC" id="N1033Exmla">xml</button> <button onclick="divfold('N1033Epref')" style="width:6em; background-color:#CCCCCC" id="N1033Eprefa">prefix</button> <button onclick="divfold('N1033Emml')" style="width:6em; background-color:#AAFFAA" id="N1033Emmla">mathml</button>
</div>
<pre style="display:none" id="N1033Exml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="multiset1" name="notsubset"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="multiset"/&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 3 &lt;/OMI&gt;
      &lt;OMI&gt; 3 &lt;/OMI&gt;
    &lt;/OMA&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="multiset"/&gt;
      &lt;OMI&gt; 1 &lt;/OMI&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 3 &lt;/OMI&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N1033Epref">
  <a href="multiset1.html#notsubset">notsubset</a>
(<a href="multiset1.html#multiset">multiset</a>
( 2 ,  3 ,  3 )
, <a href="multiset1.html#multiset">multiset</a>
( 1 ,  2 ,  3 )
)

</div>
<div style="display:block; margin-top: 0.5em" id="N1033Emml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 3 </mn>
<mo>,</mo>
<mn> 3 </mn>
<mo>)</mo>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊄</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 1 </mn>
<mo>,</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 3 </mn>
<mo>)</mo>
</mrow>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#notsubset">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [Next: <a href="#notprsubset">notprsubset</a>]
    
      [Previous: <a href="#prsubset">prsubset</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

<hr/>
<h2>
<a name="notprsubset"> notprsubset </a>
</h2>
<dl>
<dt>
<span class="dt">Role:</span>
</dt>
<dd>application</dd>
</dl>
<dl>
<dt>
<span class="dt">Description:</span>
</dt>
<dd>
<p> 
This symbol has two (multiset) arguments. It is used to denote 
that the first multiset is not a proper subset of the second. A 
proper subset of a multiset is a subset of the multiset but not 
actually equal to it.
</p>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Example:</span>
</dt>
<dd>
{1,2,1} is not a proper subset of {1,2,1}

<div>
<button onclick="divfold('N1037Axml')" style="width:6em; background-color:#CCCCCC" id="N1037Axmla">xml</button> <button onclick="divfold('N1037Apref')" style="width:6em; background-color:#CCCCCC" id="N1037Aprefa">prefix</button> <button onclick="divfold('N1037Amml')" style="width:6em; background-color:#AAFFAA" id="N1037Ammla">mathml</button>
</div>
<pre style="display:none" id="N1037Axml">&lt;OMOBJ xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd"&gt;
  &lt;OMA&gt;
    &lt;OMS cd="multiset1" name="notprsubset"/&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="multiset"/&gt;
      &lt;OMI&gt; 1 &lt;/OMI&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 1 &lt;/OMI&gt;
    &lt;/OMA&gt;
    &lt;OMA&gt;
      &lt;OMS cd="multiset1" name="multiset"/&gt;
      &lt;OMI&gt; 1 &lt;/OMI&gt;
      &lt;OMI&gt; 2 &lt;/OMI&gt;
      &lt;OMI&gt; 1 &lt;/OMI&gt;
    &lt;/OMA&gt;
  &lt;/OMA&gt;
&lt;/OMOBJ&gt;</pre>
<div style="display:none; margin-top: 0.5em" id="N1037Apref">
  <a href="multiset1.html#notprsubset">notprsubset</a>
(<a href="multiset1.html#multiset">multiset</a>
( 1 ,  2 ,  1 )
, <a href="multiset1.html#multiset">multiset</a>
( 1 ,  2 ,  1 )
)

</div>
<div style="display:block; margin-top: 0.5em" id="N1037Amml">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 1 </mn>
<mo>,</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 1 </mn>
<mo>)</mo>
</mrow>
</mrow>
<mo xmlns="http://www.w3.org/1998/Math/MathML">⊄</mo>
<mrow>
<mi xmlns="http://www.w3.org/1998/Math/MathML">multiset</mi>
<mo>⁡</mo>
<mrow>
<mo>(</mo>
<mn> 1 </mn>
<mo>,</mo>
<mn> 2 </mn>
<mo>,</mo>
<mn> 1 </mn>
<mo>)</mo>
</mrow>
</mrow>
</mrow>
</math>
</div>
</dd>
</dl>
<dl>
<dt>
<span class="dt">Signatures:</span>
</dt>
<dd>
<a href="../sts/multiset1.html#notprsubset">
      sts
      </a>
</dd>
</dl>
<p/>
<hr/>
<table width="100%">
<tr>
<td align="right">
<font size="-1">
      [First: <a href="#size">size</a>]
    
      [Previous: <a href="#notsubset">notsubset</a>]
    
[<a href="#top">Top</a>]</font>
</td>
</tr>
</table>

</body>
</html>

