Multiensemble
See also: Bag (homonymy)
A multiensemble (sometimes called bag ) is a pair where is an unspecified unit called support and a function of in the whole of the natural Entiers, called multiplicity.
A multiensemble is known as finished if the sum of the multiplicities of the elements of its support is finished.
Intuitively, such an object can be seen as a Ensemble of elements of where an element can appear several times, in fact an element will appear time. This justifies the abstract notation of the finished multiensembles: represents the multiensemble where is the function of such as , , and .
One can also see it like a commutative list , i.e. which one can permute the elements, in other words a commutative Monoïde free.
Order multiensemble
If one provided with an order >, it is possible to define an order between the multiensembles of support which one order multiensemble calls: is strictly larger than for the order multiensemble if
- and
- for all , if then it exists such as and .
Example: if one orders the letters in the alphabetical order (