Down filter

Back to Generic programming

A down filter is a pair of binary predicates on a preordered set , called the element-filter and the down-set-filter. The element filter identifies a subset of , called the marked elements. The down-set filter tells whether there are any marked elements in the principal down-set of a given element.

Theory

The down-set of a subset in is the set

A subset is called a down-set if it is a down-set of some subset . A down-set is called principal if it is a down-set of a singular subset.

Files

Down filter concept

Down filter from indicators

Down-filter module

Filtering for down-sets.