A set function assigns a value to each set in a specified family of sets. In finite optimization the usual form is , a real-valued function on the power set of a ground set .
For a finite set , the rule is a set function counting selected elements; instead totals their weights. A measure is also a set function, but its domain of a function is a specified collection of measurable sets, and its values can include infinity. The intended family and codomain are therefore part of the definition.
Let be a nonempty finite set with real weights . For nonempty subsets put and choose . This defines a monotone set function and a submodular set function on the full power set.
To check diminishing returns, for the marginal increment is . If , then , so . Choosing the value of the empty set no larger than every weight makes this calculation valid even for .
For weights and , adding the weight- element to a weight- selection increases by ; adding it to a selection already containing weight increases by zero.
The marginal increment measures how much a set function changes when one new element is added. Usually is required; if , the displayed difference is zero. The marginal increments of a modular set function depend only on . The marginal increments of a submodular set function can only decrease as the input subset grows without acquiring .
On a finite ground set, a modular set function is a set function satisfying the displayed equality for every pair of subsets. Equivalently,
To prove this representation, apply the equality to disjoint and : . Add these fixed marginal increments along any ordering of . Conversely, the contributions of each element and of the constant cancel in the displayed identity. Thus a modular set function need not be a normalised set function; its normalised instances are precisely the real-valued set functions with finite additivity on a finite power set. Adding or subtracting a modular set function preserves submodularity.
A set function on the power set of a ground set is symmetric when complementary subsets have equal values. A hypergraph cut function has this property because swapping the two sides changes no crossing hyperedge. If a symmetric set function is also a monotone set function, it is constant: .
A real-valued set function is monotone in the nondecreasing convention when
For a finite ground set , this is equivalent to every marginal increment being nonnegative. Necessity follows by comparing and . Conversely, enumerate the finitely many elements of and add them one at a time; summing their nonnegative increments gives . A normalised set function with this property is a nonnegative function.
The finiteness condition in that converse matters. On , define for finite and for infinite . Adding one element never changes whether is finite, so all marginal increments are zero. Yet , so the set function is not monotone. Single-element tests alone cannot compare sets differing in infinitely many elements.
A set function is normalised when its value at the empty set is zero. Subtracting the constant normalises any real-valued set function and preserves submodularity and the monotone set function property.
A real-valued set function on an algebra of sets is finitely additive when
for disjoint members of the algebra. Taking both sets empty gives , and induction extends the identity to every finite disjoint union.
On the full power set of a finite set , every subset is a disjoint union of singletons, so
Thus arbitrary signed weights on the points describe exactly these finitely additive set functions. Summing the pointwise indicator function identity for the inclusion-exclusion principle against those weights gives the corresponding identity for .
The full-power-set qualification matters: on the smaller algebra , the value does not specify or , because the singletons are outside the domain. One must not apply the singleton formula to undefined values.
A set function is supermodular when
Equivalently, is a submodular set function. On a finite ground set, this means increasing marginal increments: if and , then .
For example, has increment , which increases with the cardinality of . In a convex cooperative game, supermodularity expresses increasing gains from joining larger coalitions; the corresponding marginal allocations lie in the core of a cooperative game.
A set function is submodular when
for every . For finite , this is equivalent to diminishing returns:
The marginal increment of an element can only decrease as the surrounding set grows.[ref]
For necessity, apply the defining inequality to and . Conversely, enumerate and compare adding its elements to with adding them to . Summing the marginal inequalities gives .
A coverage function is an example: counts the covered objects in a finite universe. An added contributes only objects not already covered, so its gain decreases with . Entropy submodularity is another fundamental example.
For a set function with , sort the coordinates of as , and put . The Lovász extension is
Ties do not affect the result, because equal-coordinate terms telescope. At an indicator vector it gives , so it extends a discrete objective to a piecewise linear function on a vector space.
For when and zero otherwise, . More generally, the extension is a convex function exactly when is a submodular set function. This equivalence is what makes the construction useful: a diminishing-returns condition on subsets becomes a geometric property on real vectors.[ref]
A coverage function assigns a value to the union of objects covered by a selection. Let index sets in a finite universe . The unweighted version is
A weighted coverage function gives each a nonnegative weight and sums those weights over the same set union. Its value is zero on the empty selection and cannot decrease when more sets are selected.[ref]
The submodular set function property follows from an explicit marginal calculation:
If , the objects still uncovered after form a subset of those uncovered after . Nonnegative weights therefore make the gain no larger after : precisely the diminishing returns property.
For an original example, take , and weights . Then , and . The second set adds only three after the first, because their shared object is counted once. This models the value of distinct coverage, rather than the sum of overlapping collection sizes.
A weighted coverage function assigns nonnegative weights to members of a finite universe , lets each choice cover a subset , and values a selection by
An item covered twice is counted only once. If , and the weights are , then , and .
Its marginal gain of a set function is the total weight of newly covered items. As the selected set grows, fewer uncovered items remain, so the marginal gain of a set function can only decrease. This proves that a weighted coverage function is a monotone submodular set function. Nonnegative weights are essential to this argument. The construction models selecting sensors or experiments whose observations overlap.[ref]
Every real-valued submodular set function on a finite ground set is the sum of a normalised set function that is nonnegative, monotone and submodular, and a modular set function . A useful explicit choice is
Proof. The formula makes a modular set function, so is a submodular set function. It is a normalised set function because . For , diminishing returns gives , hence . Thus is a monotone set function, and starting at zero makes it a nonnegative function. The decomposition separates all potentially negative terminal marginal increments into the simple additive term. A constant term in is necessary unless is already a normalised set function.
Suppose is a normalised set function and a submodular set function, and cover every element of exactly times, counting repetitions in the indexed collection. Then the displayed inequality holds. Neither the monotone set function property nor the nonnegative function property is required.
Proof. Fix an ordering of and write for its successive marginal increments. The chain lower bound for a submodular set function gives . Summing counts each exactly times, and . Exact coverage matters because the may be negative. For a monotone set function, the same argument also allows each element to occur at least times.
Let be a normalised set function that is a submodular set function, and order a finite subset . Set and . Then the displayed inequality holds for every , with equality for . The right side is a modular set function lying below on the power set of and touching it at the top.
Proof. Reveal the elements of in the chosen order. Immediately before adding , the conditioning set is . By diminishing returns, its marginal increment is at least . Sum and use . The same telescoping sum gives equality at . The individual increments need not be nonnegative.
For a real-valued set function on a finite ground set, the displayed marginal increment comparison is equivalent to submodularity. The interpretation is that an additional item contributes no more after more items have already been chosen. This concerns relative increments, which may be negative; it does not assert the monotone set function property.
Proof. Applying the defining inequality for a submodular set function to and gives the comparison immediately. Conversely, list and compare adding these elements, in the same order, first to and then to . At every step the first conditioning set is contained in the second, so the first marginal increment is at least the second. The telescoping sums give
which rearranges to submodularity.

Articles by others on the same topic (2)

The term "set function" can refer to different concepts depending on the context, particularly in mathematics, computer science, and programming. Here are a few interpretations: 1. **Mathematical Set Function**: In mathematics, particularly in set theory and measure theory, a set function is a function defined on a collection of sets (often a σ-algebra) that assigns a value (typically a number) to each set.
Set function by Ciro Santilli 40 Updated 2025-07-16
This section is about functions that operates on arbitrary sets.