The equivalence classes of an equivalence relation are nonempty, pairwise disjoint, and partition . To construct a transversal of a set family for them, choose the least member of each class. Its set is
Every class has a least element by the well-ordering principle for the natural numbers, and that element satisfies the displayed condition. A nonleast element fails it because a smaller equivalent element exists. Therefore meets every class in exactly one point, not merely infinitely many classes.
The complement of is semidecidable, so for a given run the finitely many semidecision procedures for , , in parallel. Accept once all have accepted. If is a least representative, all finitely many computations halt; otherwise at least one never accepts. For , the empty list of tests succeeds immediately. This proves that is semidecidable. Equivalently, enumerate inequivalent pairs and output once all pairs with have appeared, dovetailing the requirements over all . This is the semidecidable least-representative transversal of a co-computably enumerable equivalence relation. Infinitely many classes make infinite, but that hypothesis is unnecessary for the existence and semidecidability of a complete transversal.
The minimal deterministic finite automaton is unique up to an isomorphism preserving the initial state, transitions and accepting states. We use complete deterministic finite automata over the fixed alphabet; the PDF's abbreviation FDA has this meaning. State names themselves cannot be unique.
For words , introduce the Myhill-Nerode equivalence
It is an equivalence relation, and appending the same letter to equivalent words preserves it: a suffix after is the suffix after . Since is a regular language, take any recognizing deterministic finite automaton. Words reaching the same state are equivalent, since every further suffix gives the same computation. Thus has finite index.
The canonical residual automaton has one state for each class, initial state , transition , and accepting states those with . These choices are well-defined by Myhill-Nerode equivalence. Induction on the input length shows that reading reaches , so the deterministic finite automaton recognizes , and all its states are accessible states of a deterministic finite automaton. The same state can be described by the left quotient of a formal language
Two states are different precisely when some suffix distinguishes their acceptance behavior.
Every recognizing deterministic finite automaton has at least as many states as there are classes: pick a representative from each class; two different representatives cannot reach the same state. The canonical residual automaton attains this bound, and therefore is a minimal deterministic finite automaton.
For uniqueness, let be any minimal deterministic finite automaton. All its states are accessible, since removing inaccessible states leaves a complete recognizing deterministic finite automaton with fewer states. Map a state reached by to . This is well-defined because two words reaching the same state are equivalent. It is surjective because every class has a representative. Both sets have the minimal number of states, so it is a bijection. It preserves the initial state and transitions by construction, and preserves accepting states by taking the empty word as the suffix. This is the required isomorphism with the canonical residual automaton, proving
The empty word is included throughout, and empty or universal regular languages have the corresponding one-state complete deterministic finite automata.
Every countable structure in a countable first-order language has a Scott sentence whose countable models are precisely its isomorphic copies. In particular two countable structures with the same countable infinitary logic sentences are isomorphic. Countability of both structures is essential to the back-and-forth conclusion; the sentence need not exclude uncountable models.
Let be a nonempty countable structure in a countable first-order language. The countable infinitary logic permits countable logical conjunctions and logical disjunctions, but only finite strings of quantifiers and finitely many free variables in each formula. We construct a Scott formula for every finite tuple from and every countable ordinal .
At stage zero, let be the conjunction of all atomic formulas true of and the negations of all atomic formulas false of . Include atomic formulas involving arbitrary terms and constants, not just relation symbols applied directly to variables. There are only countably many such formulas. This complete atomic description ensures that matching tuples determine a partial isomorphism of structures.
At successors put
At a nonzero limit ordinal , put . All these are formulas of countable infinitary logic: each indexing set is countable, and the free variables are only the fixed finite tuple. Rename bound variables when necessary. Transfinite induction also shows .
For tuples of the same length within , define by . Induction identifies this with the usual symmetric back-and-forth method equivalence: the tuples have the same atomic description at stage zero, and at a successor every one-element extension on either side has a matching extension at the previous stage. Thus these are decreasing equivalence relations, simultaneously for every finite tuple length.
There are only countably many pairs of finite tuples in . A pair can cease to be equivalent at most once. The supremum of the first separation stages of all pairs that separate below is a countable ordinal. Choose a countable at least that supremum. No pair can first separate at , so
This justifies stabilization without assuming that all tuples stabilize at one predetermined finite stage.
Now form the following Scott sentence, where the case has no displayed variables or quantifiers:
It is a sentence of countable infinitary logic, because the family of all finite tuples is countable. The stabilization above and the truth of show .
Suppose a countable structure satisfies . Start with the empty matching tuples, and maintain . The corresponding conjunct of upgrades this to . The existential conjuncts extend the match by any specified element of . The universal-disjunction conjunct extends it by any specified element of . The atomic formula information makes a new element on one side match a new element on the other, and makes repeated elements agree with their earlier matches.
Enumerate both structures and alternate these two extension steps, including the least element not yet covered at each step. The union is a bijection preserving and reflecting every atomic formula, hence an isomorphism; for function symbols, eventually include both a tuple and the value of its function term to see explicitly that the function is preserved. For finite structures the same construction stops when both are covered. Conversely every isomorphic copy of satisfies , since isomorphisms preserve formulas of countable infinitary logic by induction on their construction. Therefore
If countable have the same sentences, satisfies this Scott sentence of and is isomorphic to . This proves Scott isomorphism theorem.
Reflexivity follows by taking the two exponents equal to , and symmetry is built into the two divisibility conditions. For transitivity, suppose , , and . Then and , with positive exponents. Thus the relation is an equivalence relation.
Its equivalence classes have a useful description by prime factorization. Let be the finite set of prime factors of , with . If , every prime factor of divides ; the reverse divisibility gives . Conversely, if , write and , with all exponents positive. Choosing and gives the required divisibilities. The empty case is exactly .
Therefore the prime-support equivalence relation is
where the radical of an integer is the product of its distinct prime factors. The class with empty support is . For every nonempty finite support , all positive exponent choices give one class, and varying just one exponent produces infinitely many different integers in it.
There are infinitely many classes because each prime number gives a different singleton support. For completeness, if there were only finitely many prime numbers , a prime factor of would differ from them all. There are infinitely many classes; the unique finite class is .
For an equivalence relation on , the equivalence class of is . A set partition is a family of nonempty, pairwise disjoint subsets whose union is .
Reflexivity ensures , so every equivalence class is nonempty and every element belongs to one. If contains , then and ; symmetry and transitivity give . If , transitivity gives , so ; interchanging gives the reverse inclusion. Thus intersecting equivalence classes are equal.
Taking the collection of distinct equivalence classes therefore produces a set partition of . Every element lies in exactly one class. If is empty, the empty family is its set partition.
Let be the reduced product by a proper filter on a set. Its underlying equivalence relation is when . Operations are interpreted coordinatewise, and a relation holds of the classes exactly when its coordinate truth set belongs to .
Evaluation of a first-order term commutes with passage to the quotient, by mathematical induction on terms. Consequently the desired equivalence holds for every atomic formula, including logical equality. For a formula and representatives , write .
For logical conjunction, . The filter on a set axioms give
Thus the induction hypothesis transfers a conjunction in both directions.
For existential quantification, first suppose . Choose a representative of a witness. Induction gives , and this set is contained in . Upward closure therefore gives .
Conversely, suppose . For each , choose a coordinate witness , and choose an arbitrary element of outside . These simultaneous choices use the axiom of choice, as does the usual product construction. Then , so that truth set belongs to . Induction gives , providing the required witness. Therefore
for every primitive positive formula. The exam's tame formulas are exactly this fragment, built using logical conjunction and existential quantification. No ultrafilter dichotomy was used.
A quotient topological space of a topological space is obtained by an equivalence relation : its points are the classes , and the canonical surjection is . The quotient topology declares a subset of the quotient open exactly when is open in . More generally a surjection onto a set specifies the same topology by this condition.
For a Hausdorff source with a non-Hausdorff quotient, use and when . Any nonempty open inverse image is a nonempty open subset of invariant under rational translations. It contains an interval , and for every real there is a rational with ; hence it contains every . Thus has the indiscrete topology.
It has distinct points, for instance the classes of and , but neither has a proper nonempty open neighbourhood. The quotient is not Hausdorff, even though is a Hausdorff space.
A binary relation on a set is a subset of its Cartesian product; means . It is an equivalence relation when it is a reflexive relation, a symmetric relation, and a transitive relation:
An equivalence relation partitions into equivalence classes: two elements belong to the same class exactly when they are related.
The first condition concerns the domains: their symmetric difference must be a finite set. The original PDF prints this condition and the agreement condition together; the converted TeX omits both. The two existing solution scopes are used here to prove the domain and value parts of the single equivalence relation assertion.
Domain agreement is a reflexive relation because , and a symmetric relation because . For the transitive relation property, membership can differ between and only if it differs between and or between and . Thus
A set union of two finite sets is finite, so the domain condition passes through a chain of related pairs. This is the domain part of equivalence of partial functions modulo finite changes.
Let . Since a principal ideal domain is an integral domain and , is a multiplicative subset avoiding zero. The stated equivalence relation and operations are precisely those of the localization of a ring .
For completeness, reflexivity and symmetry are immediate, while transitivity follows by multiplying the two cross-multiplication identities and cancelling a nonzero power of . If and , cross multiplication shows that the proposed sums and products are equivalent. Thus the operations do not depend on representatives. The usual fraction calculations then prove associativity, commutativity and distributivity, with identities and . Therefore is a well-defined commutative ring.
Symmetrization for an arbitrary real coefficient. Among graphs maximizing , choose one maximizing
For a vertex , put . This is the contribution of edges and triangles in a graph containing . If are nonadjacent, Zykov symmetrization replacing by a clone of changes by ; the opposite replacement changes it by . Maximality implies , so both changes preserve .
Let and . In the first replacement the vertex degrees in increase by one and those in decrease by one; in the opposite replacement these changes reverse. The changes to cancel when the two replacements are added. Since ,
If the two vertex neighbourhoods differ, one replacement increases , a contradiction. Thus every pair of nonadjacent vertices has the same vertex neighbourhood. Nonadjacency, with equality allowed, is an equivalence relation: if and are nonadjacent and and are nonadjacent, their identical vertex neighbourhoods forbid as well. Its classes are independent sets and every cross-class edge is present. Therefore
This edge-triangle symmetrization works for either sign of .
The exact supporting line. For , write
We prove the triangle support line between bipartite and tripartite Turan graphs by maximizing . First . For , its values are respectively . For , the exact balancing of the Turan graph gives , while and the arithmetic-geometric mean inequality gives . Hence
By edge-triangle symmetrization a maximizing graph can be taken complete multipartite graph; among such maximizers use one with the fewest nonempty parts. If there are at least four parts, let be the two smallest sizes. Then . Merging them loses edges and triangles in a graph, so the objective changes by
This contradicts the choice of the number of parts. Thus at most three parts remain.
For three part sizes , the objective is
If , merging the parts of sizes does not decrease it, again contradicting minimality. If and , transferring one vertex from the largest to the smallest part raises by and strictly increases the objective. Thus a three-part maximizer has all sizes differing by at most one, and is . A maximizer with at most two parts has objective at most , since it has no triangles in a graph and the Mantel theorem bounds its edges. Finally,
Therefore every graph satisfies . At the prescribed edge count this gives
For , the conclusion is simply the nonnegative lower bound zero. All rounding in the Turan graphs has been retained.
One edge above the bipartite threshold. Write . We prove the Triangle lower bound one edge above the Mantel threshold by induction on , allowing at least edges. For , five edges on four vertices give two triangles in a graph, and adding edges preserves this bound.
We will also use the following consequence of an inductive bound: on vertices, at least edges, for an integer , force at least triangles in a graph. Delete surplus edges first to leave exactly . Repeatedly delete an edge in a triangle in a graph until edges remain. The Mantel theorem guarantees such a triangle in a graph at every step; each deletion destroys at least one distinct triangle in a graph. Apply the inductive bound to the remaining graph.
Now take exactly edges. If every edge lies in a triangle in a graph, the edge-triangle incidence bound gives . This is at least for ; the base case was handled separately.
Otherwise choose an edge in no triangle in a graph. Its endpoints have disjoint vertex neighbourhoods, so . Deleting removes exactly edges and leaves at least edges. If , it leaves at least edges, and the strengthened inductive bound gives at least triangles in a graph already.
If , induction gives at least triangles in a graph after deletion. There must be an additional triangle in a graph containing or . Otherwise both and are independent sets; since they are disjoint and cover all vertices, would be bipartite graph, contradicting by the Mantel theorem. Hence
The bound is sharp: add one internal edge to one class of the complete bipartite graph . Its triangles in a graph are precisely that edge together with each of the vertices in the other class.
Assume and choose as in part (b). Put . Multiplying by and using gives
Similarly, multiplication by gives .
Moreover, is a unit modulo n: if a prime divided both and , the two congruences would make it divide , contrary to . Thus means precisely that two pairs differ by multiplication by a unit modulo . Reflexivity, symmetry using , and transitivity using products of units now show that is an equivalence relation.
If , the subspace topology on is
If is an equivalence relation on and is the natural projection, the quotient topology declares open exactly when is open in . For topological spaces and , the product topology on has as a basis all sets with open in and open in .
An equivalence relation is reflexive, symmetric, and transitive. Here
The relation is reflexive and symmetric, but it is not transitive. For example, take
The real parts of and are positive, whereas that of is negative. Hence this is not an equivalence relation.
States and communicate when each is accessible from the other: there exist with
This is an equivalence relation, and its equivalence classes are the communicating classes. A class is closed when no positive-probability transition leaves it.
The definition says
Equality of sets is reflexive, symmetric, and transitive, so is an equivalence relation. Its classes are indexed by all subsets of , and every subset occurs as the support of its zero-one indicator vector. The number of classes is therefore
A compact space is a topological space in which every open cover has a finite subcover. A Hausdorff space is one in which every two distinct points have disjoint open neighbourhoods. A homeomorphism is a bijection that is continuous and whose inverse is continuous.
For an equivalence relation on , let be the set of equivalence classes and let
The quotient topology declares open exactly when is open in . It follows directly from the definition that is continuous.
Suppose that the continuous map is constant on equivalence classes. The only possible factorisation is
which is well-defined by the hypothesis and satisfies . For every open ,
is open in . The definition of the quotient topology therefore makes open, so is continuous. This proves the universal property of the quotient topology.
The coefficient is nonzero exactly when every column of meets every row of in at most one entry. Permuting equal-length rows of preserves this condition, and the same holds with in place of . Therefore membership in is constant on each class of the stated equivalence relation, so is a union of equivalence classes.
Positive integers are equivalent when they have the same finite set of prime factors. Equivalently, each divides a positive power of the other. This equivalence relation is induced by the radical of an integer; its equivalence classes correspond to finite prime supports. The empty support gives the singleton , and every nonempty support gives an infinite class by varying exponents.