2-core of a graph Created 2026-10-14 Updated 2026-10-18
The 2-core is what remains of a finite simple graph after repeatedly removing every vertex with fewer than two surviving graph neighbours. It strips away dangling trees while keeping the part that can support itself under this local rule. Precisely, for an undirected graph , its 2-core is the unique maximum by set inclusion induced subgraph such thatThe empty vertex set is allowed: the condition is then vacuous, without needing to define the minimum degree of the empty graph. "Maximum by inclusion" means that contains every other vertex set satisfying the condition. It is stronger than merely saying that one chosen set cannot be enlarged: the 2-core simultaneously contains all possible qualifying induced subgraphs. In this particular family, every inclusion-maximal qualifying set does equal that unique maximum; the union argument in why the 2-core is unique explains why. [ref]
An O(m) Algorithm for Cores Decomposition of Networks by Vladimir Batagelj and Matjaž Zaveršnik. Batagelj and Zaveršnik, An O(m) Algorithm for Cores Decomposition of Networks, §2, definition of a core
For a complete worked example, let denote the edge and takeThe triangle in a graph has a branching tail attached at , and is an isolated vertex. In alphabetical order the initial degrees of vertices are . Deleting turns into a leaf of a graph; deleting leaves with degree of a vertex two; deleting changes no other degree of a vertex. Now delete , which makes a leaf of a graph, and finally delete . Exactly the three edges of remain: .
The complete leaf pruning for the 2-core trace: each panel recomputes the displayed degrees of vertices from the surviving induced subgraph, while the FIFO queue determines the next deletion
. Details. A forest has empty 2-core: every nonempty finite forest has an isolated vertex or a leaf of a graph, so deletion cannot stop at a nonempty remainder. In particular, an isolated edge, an isolated vertex, a path graph, and the empty graph all have empty 2-core. Every cycle graph is its own 2-core. Two disjoint triangles in a graph also form their own 2-core, so a 2-core need not be a connected graph; attaching a tree to either triangle changes neither surviving triangle.
Double inclusion proof 2026-10-31
To prove equality of two sets, show each set inclusion separately. If both inclusions hold, every element belongs to one set exactly when it belongs to the other; the axiom of extensionality gives equality. Each direction may use different hypotheses. For example, when , the condition implies ; without , that inference would be invalid.
k-core of a graph 2026-10-18
For a nonnegative integer , the k-core of a graph is the unique maximum by set inclusion induced subgraph in which every degree of a vertex is at least , allowing the empty graph. Repeatedly delete vertices whose current degree of a vertex is less than . These induced subgraphs are nested: ; the case is the 2-core. In their 2003 preprint, Vladimir Batagelj and Matjaž Zaveršnik give an algorithm for the entire core decomposition, using degree buckets and constant-time position updates. Their general bound is ; the title's form applies to connected graphs with at least two vertices, where . [ref]
Maximal clique Created 2026-10-14 Updated 2026-10-14
A maximal clique is a clique not strictly contained in another clique. This is distinct from a maximum clique, whose size equals the clique number. In a triangulated probabilistic graphical model, maximal cliques are the natural nodes of a junction tree.
Maximality is a condition on set inclusion: no outside vertex is adjacent to every member of the current clique. In the five-vertex example, is maximal because are not adjacent to , while is not adjacent to . Yet is larger. Checking every possible one-vertex extension is enough: if a larger containing clique existed, any one of its new vertices could already be added.[ref]
Graph Theory by Reinhard Diestel. §1.1, printed p. 4 of the third electronic edition (2005): maximal sets refer to inclusion
Order theory Created 2026-10-20 Updated 2026-11-05
Order theory studies binary relations describing precedence or comparison. A partial order is reflexive, antisymmetric and transitive; a total order additionally compares every pair. A partially ordered set records a set together with its chosen order.
Set inclusion gives a partial order on the subsets of . The subsets and are incomparable, while their least upper bound is their union. The usual order on the real numbers is total. Distinguishing a maximum from a merely maximal element is useful whenever incomparable alternatives occur, including dependencies, divisibility and optimization.
Write . All arguments depend only on this given satisfaction set; they do not require an additional convention for the printed notation . For a state , let . The power set is ordered by set inclusion.
Take and any . By the definition of , we have both and . By transitivity of set inclusion, , so . Since this applies to every member of ,Thus is an order-preserving function, which is the meaning of monotonicity here. This proof does not need either finiteness or the absence of terminal states.
Let be any fixed point of . Thenso and every successor of every member of belongs to . Take and an arbitrary infinite path in a transition system from . By mathematical induction, every belongs to : the base case is the choice of , and implies .
Since , the whole path in a transition system stays in . The path in a transition system was arbitrary, so . Thus , and since was arbitrary in ,Part (b) proves that itself is a fixed point. Thereforethe greatest fixed point with respect to set inclusion. In fact the same induction works for every , showing why a successor-closed set of good states certifies this universal property.
Start with every state, and repeatedly discard a state that is outside or has any successor outside the current candidate set. Use a fresh set on each iteration so that the displayed procedure computes exactly :This is fixed-point iteration , . The first step gives , because every successor is a state of . Thus . If , the order-preserving function property givesThe candidate sets therefore form a descending chain under set inclusion.
function Sat_AG(S, Post, A):
X = copy(S)
repeat:
Y = empty_set()
for s in S:
if s in A and every t in Post(s) belongs to X:
insert s into Y
if Y == X:
return X
X = YEvery fixed point is contained in every : initially , and implies . At return, , and contains every fixed point. The returned set is consequently the greatest fixed point, so by part (d).
Write . Since , necessarily . Rearranging givesAll generators of therefore belong to , proving one set inclusion. Conversely, all belong to the linear subspace , proving the other set inclusion. ThusThis linear span exchange does not require linear independence of the original vectors.
We use a double inclusion proof. First, let . If , then , since otherwise . Hence in this case . If , then , since otherwise . Hence in this case . This proves the first set inclusion.
Conversely, an element of belongs to neither nor . An element of also belongs to neither set difference. Thus every element of lies outside , proving the reverse set inclusion. Therefore
Complements are relative to the same universal set . Suppose and . Then and . If belonged to , the assumed set inclusion would imply , a contradiction. Thus and , provingThere is only one set inclusion in this conclusion; a reverse inclusion is neither needed nor generally true. The request for double inclusion applies to the equalities in (i) and (ii).
For the first set inclusion, take . Membership in the intersection gives and , while the set difference gives . Consequently .
For the reverse set inclusion, an element of belongs to both and and does not belong to . It therefore belongs to . By double inclusion proof,
We prove both set inclusions, as required by a double inclusion proof. If , then and . Thus and , so and . This proves the forward set inclusion.
If , the definition of symmetric difference puts it in exactly one of . It is therefore in their set union and outside their set intersection, giving .
Conversely, an element of lies in at least one of the two sets but not both. It consequently belongs to or to , and hence to . Both set inclusions hold.
For the first set inclusion, take . Then but . Since membership in is already known, failure to lie in that relative complement forces . Hence .
Conversely, if , then and its membership in excludes it from . Therefore . The two inclusions prove the stated equality with the set intersection.
We prove both set inclusions. If , then and . Since , the latter condition forces , giving . Conversely, if , then and , so . By set extensionality, the two sets are equal. This is a double inclusion proof; the implication involving the set difference uses membership in explicitly.
The probability axioms first give : apply countable additivity to and use normalization and nonnegativity. If , then is a disjoint union of events. Finite additivity, as a special case of countable additivity, givesThus a probability measure is monotone with respect to set inclusion. The difference event is measurable because the events belong to a sigma-algebra.
For the first set inclusion, take . By the definitions of set intersection and set difference, , and . Consequently and , so .
For the reverse set inclusion, take . Membership in the first set difference gives and , while membership in the second gives and . Thus and , proving . The two inclusions establish the required equality.
Put , avoiding any dependence on whether the convention includes among the natural numbers. Under set inclusion, the results are
| Family | Maximum | Least upper bound in |
|---|---|---|
| None | None | |
| None |
The set union of all three-element subsets of is . An upper bound for under set inclusion would have to contain this entire infinite set, whereas members of are finite. Thus has no upper bound and hence no maximum or least upper bound.
For , every member is a subset of the finite set , and itself belongs to , making it both maximum and least upper bound. The union of the three-element subsets of is again , so is the least upper bound of . It is not a member of that family, and no three-element member contains all the others, so there is no maximum.
Proper filter Created 2026-10-31 Updated 2026-11-05
A proper filter on a set is a nonempty family of subsets of , closed under finite intersections and upward closed under set inclusion, with . Thus , and disjoint sets cannot both belong to it. The improper family of all subsets is excluded because it contains the empty set. An ultrafilter is a maximal proper filter.
