Canonical arithmetic progression dichotomy 2026-10-14
Every colouring of the positive integers, even with infinitely many colours, has an arithmetic progression of any prescribed finite length on which the colouring is constant or injective. Encode a progression by the equivalence relation of equality of its colours. This gives a finite colouring of its starting point and step. A Gallai theorem for an integer lattice copy of a suitable two-dimensional pattern makes either all indices inequivalent, or one equal-colour pair range independently over two whole progressions. In the second case, one of those progressions is monochromatic.
Canonical projection of a quotient set 2026-10-14
The canonical projection of a quotient set is the function . It is surjective: every set element of is for some . Two set elements have the same image exactly when they are related by the equivalence relation. Its fibers are precisely the equivalence classes:Here the left side is the preimage of a singleton subset of the quotient set; its members are the original set elements in the class . In the diagram, the three arrows arriving at start at , and .
A reduction relation has the Church-Rosser property when its equivalence relation generated by forward and backward steps satisfies . It is equivalent to confluence of . The Church-Rosser theorem establishes it for beta reduction.
If an equivalence relation is closed in a space's square and the quotient map is open, the quotient is Hausdorff. An inequivalent pair has an open rectangle avoiding the relation. The two factor images are open quotient neighborhoods and are disjoint, since an intersection would give equivalent representatives in that rectangle. Conversely, a Hausdorff quotient always has a closed equivalence relation by pulling back its closed diagonal.
An equivalence relation on the natural numbers is co-computably enumerable when its complement as a set of pairs is computably enumerable. Inequivalence can then be positively recognized, even when equivalence cannot be decided. This is sufficient for a semidecidable least-representative transversal.
Communicating class Created 2026-09-24 Updated 2026-10-14
In a finite, time-homogeneous Discrete-time Markov chain with row-stochastic transition matrix , write when is accessible from , meaning for some . States communicate, written , when both and . Communication is an equivalence relation, and a communicating class is an entire equivalence classThus communicating classes form a partition of the state space; a smaller mutually communicating subset is not itself a class. See Maria Cameron's Markov Chains notes, section 1.2.
The allowance of zero steps matters: , the identity matrix, makes true even for a state with no possible positive-time return. Symmetry is built into communication. For transitivity, concatenate a positive-probability path from to with one from to , and do the same in reverse. These observations prove the equivalence relation directly. One-way accessibility alone is not symmetric and does not define the classes; see Accessible state of a Markov chain.
A closed communicating class satisfies for every and . Once entered, it cannot be left. A singleton class is an absorbing state exactly when it is closed. An open communicating class has an outgoing transition; after a path leaves it, it cannot return, since that would make the visited outside states communicate with it. The internal motion of a closed class can nevertheless continue forever.
A constructed chain has three communicating classes: an open singleton, a closed alternating pair, and a closed absorbing singleton; dashed outlines group states into classes.
Details. For this constructed example, in state order , the transition matrix isThere are exactly three communicating classes: , , and . Only the first is open. The second is closed but neither of its states is an absorbing state; they alternate deterministically. Although via , the reverse accessibility fails. A direct matrix power check gives and .
Starting at , let be the first hitting time of either closed class. Staying at for steps has probability , so and . The two eventual destination classes each have probability . Hence the hitting probability of the absorbing state is only , and its unconditional expected hitting time from is infinite: on half the paths it is never hit. In particular, entering a closed class with certainty does not imply entering an absorbing state with certainty.
Classifying the state space separates two questions: which closed region will eventually be entered, and how does the Markov chain move inside that region? In this example the restriction to is an irreducible Markov chain with period two; the restriction to is a one-state irreducible Markov chain with period one. The whole Markov chain is reducible. The absorbing state example illustrates a different possibility: every closed class is a singleton, so eventual class selection is also terminal outcome selection.
Commuting equivalence relations 2026-10-14
For two equivalence relations on the same set, their composite contains each and is reflexive. It is symmetric exactly when the relations commute. It is transitive exactly when , which by inversion is also equivalent to commutation. Under these conditions the composite is the smallest equivalence relation containing both. For congruences modulo on the integers, their composite is congruence modulo .
// Target: combinatorics.bigb
Let be a compact Hausdorff space and a closed equivalence relation. The quotient space is compact and Hausdorff. Indeed, the saturation of any closed is the projection of the compact set , so is closed. Thus the quotient map is a closed map.
Two different equivalence classes are disjoint compact subsets of and have disjoint open neighbourhoods . To see the latter assertion, separate each pair of points by disjoint neighbourhoods and use compactness twice to extract finite covers. Now and are open saturated subsets containing the respective classes, and lie inside . Their quotient images are disjoint open neighbourhoods, proving the Hausdorff condition. Compactness follows from the continuous quotient map. This applies to finite gluing along closed boundary pieces when the generated equivalence relation is closed; that last condition must be checked.
Composition of commuting equivalence relations Created 2026-10-14 Updated 2026-10-31
Using the left-to-right convention for composition of relations, two equivalence relations have an equivalence-relation composite exactly when . Its inverse is . Commutation gives , proving transitivity. Every equivalence relation containing contains their two-step composite, so this is their least common extension.
// Destination: combinatorics.bigb
Congruence modulo an ideal 2026-10-14
Two elements of a commutative ring are congruent modulo an ideal if their difference lies in that ideal, equivalently if their images in the quotient ring agree. This is an equivalence relation compatible with addition and multiplication. For and , it means every coefficient difference is divisible by .
Congruence on a category 2026-10-03
A congruence on a category is an equivalence relation on each hom-set that is compatible with composition on both sides. The quotient category has the same objects and equivalence classes of morphisms, with composition induced from .
A congruence relation on a first-order structure is an equivalence relation compatible with each interpreted function and relation. Equivalent input tuples give equivalent function outputs, and an atomic relation has the same truth value on equivalent input tuples. This compatibility makes the functions and relations well-defined on the quotient set. In a Henkin term model with equality, membership of a formal equality in the maximal consistent theory gives precisely the equivalence relation used for this quotient.
Conjugacy class Created 2026-09-24 Updated 2026-10-14
For an element of a group , its conjugacy class is its orbit of a group action under the conjugation action:Thus conjugate group elements describe the same operation after a change of labels. In a symmetric group, conjugation renames the entries of every permutation cycle:For example, with and the transposition , this gives . Products use function composition of permutations, with the rightmost factor applied first. The complete six-element example is conjugacy classes of the symmetric group on three letters.
The conjugacy classes form a partition of a set of , since conjugacy is an equivalence relation. In a symmetric group, two permutations lie in the same conjugacy class precisely when they have the same cycle type: renaming preserves the lengths of permutation cycles, and matching equal-length permutation cycles constructs a renaming in the other direction. This compresses many labelled permutations into a few structural types. See McKernan, Conjugation in Sn, lemma 6.2 and proposition 6.6.
The stabilizer subgroup of under the conjugation action is its centralizer . Consequently the orbit-stabilizer theorem givesThe counting mechanism is the bijection from left cosets onto the conjugacy class: two choices of give the same result exactly when they differ on the right by an element of the centralizer. A large centralizer means many choices of labels leave the operation unchanged, hence a small conjugacy class. A conjugacy class has size one precisely when its element belongs to the center of a group. The class equation counts these orbits of a group action together.
Conjugate subgroup Created 2026-09-24 Updated 2026-10-14
For a subgroup of a group and , the conjugate subgroup is the conjugate subsetIt is a subgroup because conjugation is a group automorphism. Restricting that group automorphism gives a group isomorphism from to , so conjugate subgroups have the same group order. This describes the same operations after moving their reference configuration. Conjugacy of subgroups is an equivalence relation. [ref]
For an equilateral triangle with vertices of a polygon labeled counterclockwise, its symmetry group is the symmetric group , also the dihedral group of group order six. Let be the counterclockwise rotation through degrees, and let be the reflection fixing vertex of a polygon . Products apply the rightmost permutation first. The cyclic subgroup contains the identity element and one reflection. Relabeling a transposition by conjugation givesThus the conjugation action moves among the three subgroups , , and . Geometrically, the rotation moves the axis of the reflection to the next axis. Each reflection fixes a different vertex of a polygon, although group isomorphisms relate all three subgroups.
The normalizer tells when this change of reference leaves the subgroup unchanged. For any group and subgroup , there is a bijectionTwo choices give the same conjugate subgroup exactly when . Consequently the index of a subgroup counts the distinct conjugate subgroups, even for an infinite group. For a finite group the count is . These are cosets; they need not form a quotient group, since need not be a normal subgroup of . In the triangle example there are conjugate subgroups, while the cyclic subgroup has only one. [ref]
Connected component Created 2026-09-24 Updated 2026-10-14
A connected component of a topological space is a nonempty connected subset that is maximal under subset inclusion. If is a connected component and with a connected subset, then . Maximality means that no larger connected subset contains ; it does not mean largest cardinality among all connected subsets.
For example, the connected components of in the usual subspace topology of the real line are and . Each is a real interval, and no connected subset of the real line can meet both without containing the missing point . For the finite set in the same subspace topology, the three connected components are its singleton sets.
An intact real interval, an interval with an interior point removed, and a finite set have one, two, and three connected components in the usual subspace topology of the real line
. Details. Every point lies in exactly one connected component, constructed by taking the unionAll members contain , so their union is connected by connected union with a connected hub. The union includes every connected subset through , so it is maximal. Equivalently, defineThis is an equivalence relation: singleton sets give reflexivity, symmetry is immediate, and two connected subsets sharing the middle point have a connected union, giving transitivity. The equivalence classes are precisely the connected components. They form a partition of a set: they cover and any two are either equal or disjoint.[ref]
Chapter 3: Connected and compact spaces. Proposition 3.1.11, Definition 3.1.12 and Remark 3.1.16: maximal connected subsets and equivalence classes
Every nonempty connected subset lies within one connected component. Moreover, every connected component is closed in : closure of a connected set makes its closure connected, and maximality forces that closure to equal the original connected component. A connected component need not be open. For example, in with its usual subspace topology from the real line, all connected components are singleton sets, but is not open: every neighbourhood of in contains some .[ref]
Connected component of a category 2026-10-14
Two objects of a category lie in the same connected component if a finite zigzag of morphisms, with either orientation allowed, joins them. This is an equivalence relation; its classes give full subcategories, each a connected category. For a small category, the collection of components is a set denoted . A functor induces a function on components. Empty categories have no components.
Coset Created 2026-09-24 Updated 2026-10-14
For a subgroup of a group , a left coset is ; a right coset is . The name refers to the side on which the representative multiplies . Think of a coset as a translated copy of a subgroup: it remembers the relative differences allowed by , while moving the whole collection to another location in the group.
Two left cosets of the same subgroup are either equal or disjoint. Thus distinct left cosets form a partition of a set covering ; the same statement holds separately for right cosets. The useful membership test isThis also defines an equivalence relation: changing a representative by right multiplication with a member of leaves its left coset unchanged. These facts hold even for infinite groups. See MIT's coset notes, definitions 3.6 and 3.9.
For an explicit additive example, take the cyclic group , with modular arithmetic, and the subgroup . Adding each representative to both members gives exactlyRepresentatives repeat these three cosets, respectively. For example, , since . Every residue appears once in the displayed partition of a set. Each coset has two members, so the group order of is and its index of a subgroup is . Left and right cosets coincide here because is an abelian group.
A coset need not be a subgroup. In this example, lacks the identity element , and leaves it. In fact, the only left or right coset of that is a subgroup is itself: a subgroup must contain the identity element, and the coset containing that element is . Equal sizes come instead from the bijection , whose inverse is ; for right cosets, use and .
The nonabelian group , the symmetric group on three letters, separates the two sides. Use function composition with the rightmost permutation applied first, and let . Then but , giving the differing pairThe complete partition of a set into left cosets consists of , and ; the complete partition of a set into right cosets consists of , and . Each lists all six permutations exactly once. Both have three parts of size two, although their parts differ.
Left cosets support a group action by for every subgroup, as in the coset action. Multiplication of representatives defines a quotient group operation precisely when is a normal subgroup. Otherwise the answer can depend on the representatives: in this example, and represent the same coset , yet and differ. In the additive example, is a normal subgroup, making valid. See MIT's quotient-group notes, theorem 9.1.
Disjoint-set data structure Created 2026-10-18 Updated 2026-10-20
A disjoint-set data structure maintains a partition of a set. Its find operation returns a representative, equal for two elements exactly when they belong to the same block; its union operation merges two blocks. Kruskal's algorithm uses it to track connected components of a graph.
Start with a singleton set for every stored set element. Each disjoint-set find operation returns a disjoint-set representative; a disjoint-set union operation merges the containing blocks of a set partition. The interface does not split a block of a set partition or delete a member.[ref]
UF.java. Algorithms, 4th edition by Robert Sedgewick and others; UF.java, class documentation: initial singletons, representative equality and union interface
The partition of a set consists of nonempty disjoint blocks of a set partition covering the stored set; being in the same block of a set partition defines an equivalence relation. A disjoint-set representative names a whole block of a set partition, without requiring a list of its members.
Empirical temperature 2026-10-14
An empirical temperature labels classes of thermal equilibrium using a reproducible thermometer response. Equal labels express the zeroth law of thermodynamics comparison. A suitable continuous response and calibration let ordinary laboratory states be represented on a numerical scale; the abstract equivalence relation alone does not guarantee a useful real-valued coordinate. An injective function of the label preserves equality, so the zeroth law of thermodynamics alone fixes neither unit nor spacing. Thermometer calibration supplies a chosen response relation; thermodynamic temperature supplies the additional absolute-scale structure.
Equality test 2026-10-14
A terminating check returning whether two values match under a specified relation. Mathematical equality is one such relation; a chosen equivalence relation can instead express matching keys. Linear search only needs this check, whereas binary search also uses relative order. The cost of an equality test depends on the representation and implementation of its operands.




