The covariant form of the Yoneda lemma says that for a locally small category , a functor and an object , there is a bijection, natural in and ,
Explicitly its two directions are
For , functoriality gives , so is a natural transformation. Conversely, naturality of at gives . This proves that the displayed maps are inverses.
Naturality in follows because postcomposition by sends to . For , precomposition of transformations by sends to . This also verifies naturality in the representing object.
A functor is a representable functor if some object admits a natural isomorphism . Here the representable is covariant.
For the identity functor on the Category of sets, choose the singleton . The evaluation maps
are bijections with inverse . For , evaluation of is , proving naturality. Hence the identity functor on sets is represented by a singleton.
Suppose is a left adjoint to . The adjunction gives bijections, natural in ,
The second map is evaluation at the singleton element, as in part (a). Thus is represented by . This argument uses the one-point set as a generator of the particular set-valued adjunction; it does not claim that every arbitrary right adjoint is representable.
Let be a representable functor, and let be the categorical limit of a small diagram . A morphism is uniquely equivalent to a family satisfying for every .
Such compatible families are exactly the elements of the categorical limit of the set-valued diagram . Consequently the canonical comparison
is a bijection. Transporting it through the representing natural isomorphism proves that preserves every small limit that exists in . This proves that covariant representables preserve limits. For an empty diagram this says that maps into a terminal object form a singleton.
Choose a representing object and a natural isomorphism . Using the assumed small coproducts in a category, define
For a function , define by . The coproduct in a category uniqueness clause proves preservation of identities and composition, so this is a functor.
Restriction to the coproduct summands, followed by , gives
These bijections are natural in by the definition of , and natural in by naturality of . They establish , the left adjoint to a covariant representable functor. The empty set is sent to the empty coproduct.
Write and . The characterization concerns an adjunction with the specified unit and counit of an adjunction and . Its triangle identities for an adjunction are
Assume these identities. Define the hom-set maps
Naturality of and makes these maps natural in both objects. Naturality and the triangle identities for an adjunction give
Thus they are inverse bijections and define .
Conversely, from the natural hom-set bijections of an adjunction, define and . Naturality gives the same formulas for and above. Applying to and to gives the two triangle identities for an adjunction. Therefore these identities are exactly the compatibility conditions on the specified unit and counit. If the printed equivalence were read as mere existence of some adjunction, independently of the supplied transformations, its only-if direction would be false: on the category of abelian groups, are adjoint, but choosing both transformations to be zero does not satisfy either triangle on a nonzero object.
Put . This is a natural transformation . Only the -triangle is assumed. Naturality gives two useful absorption identities:
For the second equality in the last line use naturality of at , and then the assumed -triangle. Naturality of at and of at now gives
Hence is an idempotent in the functor category: this is the one-triangle adjunction idempotent.
For the splitting of an idempotent morphism, suppose this idempotent morphism splits as natural transformations and , with and . Define
The first absorption identity gives
For the other triangle, naturality of at and of at gives
Thus the triangle identities for an adjunction prove .
Conversely, suppose , with unit and counit . The unit has target , as its type requires. Define
These are natural transformations. Transposition under gives . Independently, naturality of at and the assumed -triangle give
The transpose of is therefore , the transpose of . Injectivity of the hom-set bijection implies . Naturality of at gives
Consequently has a left adjoint if and only if splits. This is the criterion for splitting a one-triangle adjunction idempotent. The argument gives both the explicit splitting and the new unit and counit, without assuming the other triangle for .
For , the comma category has objects with and . A morphism is satisfying . Identities and composition are those of , and functoriality of verifies the condition under composition.
The Freyd general adjoint functor theorem states: if is a locally small category with all small categorical limits, and is locally small, then has a left adjoint if and only if it preserves small limits and satisfies the solution-set condition. The latter means that for each there is a set-indexed family such that every equals for some and some .
For necessity, use the standard result that a right adjoint preserves categorical limits. If , the singleton family containing the unit of an adjunction is a solution set, since transposition gives for a unique .
For sufficiency, use the following standard limit fact: if is complete and preserves limits, the projection creates small limits. Indeed, a compatible family induces a unique arrow into , and this makes the underlying limit a limit in the comma category. The comma category is locally small because each of its hom-sets is a subset of a hom-set of . Its solution family is a weakly initial set.
We prove the remaining initial-object lemma for complete categories with a weakly initial set. In any locally small category with all small limits and a weakly initial set , form . It is weakly initial: for any , some exists and may be composed with the projection . The empty family cannot be weakly initial in a nonempty complete category, which has a terminal object.
The set is small. Form a simultaneous equalizer of every endomorphism of and ; thus
This equalizer exists by completeness, for example as the equalizer of two maps . The object is still weakly initial, since it maps to .
Given , take their equalizer . Weak initiality of gives . Since is an endomorphism of , we have , and cancellation of the monomorphism gives . Thus is a split epimorphism as well as a monomorphism, so it is an isomorphism. From follows . There is at least one map by weak initiality, so is initial.
Apply this lemma to every and choose its initial object . For , initiality gives the unique satisfying . Uniqueness proves the functor laws. The same initiality gives natural bijections
Hence , completing the theorem without invoking another adjoint functor theorem.
A forcing collapses a cardinal over if it forces that the ground ordinal is no longer a cardinal: in the extension there is a bijection from some smaller ordinal onto . Equivalently there is a surjection onto from an ordinal whose ground cardinality is smaller. Forcing preserves the ordinal itself; collapse changes cardinality, not the identity of the ordinal. If the assertion is about one particular generic extension, the witnessing collapse is interpreted there; a forcing-wide assertion means it is forced by the weakest condition.
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.
Yes. There is a computable isomorphism, obtained by an effective back-and-forth construction. Decidability of the two orders makes the usual existence argument into an algorithm.
Maintain a finite order-preserving partial isomorphism of structures from to , starting with the empty map. At a forth step, take the least ordinary natural number outside its domain. Look at the finitely many mapped elements below and above in . Their images impose an open interval in : it lies above all the lower images and below all the upper images, with a missing bound interpreted as an unbounded side.
This interval contains a fresh element. If both bounds exist they are ordered correctly by the induction hypothesis; density supplies an element strictly between them. If there is just one bound, the absence of endpoints supplies an element beyond it; if there are no bounds, choose any element. Density and the absence of endpoints moreover give infinitely many points in every such open interval, so finitely many already used images can always be avoided.
Enumerate in the ordinary presentation order, test whether is unused and satisfies every required inequality, and choose the first successful candidate. All tests are decidable, and the existence argument proves termination. Extend by .
At a back step, take the least natural number outside the range, interchange the roles of and , and carry out exactly the same search for a fresh preimage. Alternate forth and back steps. Every stage is an effective terminating finite computation, and every stage remains an order-preserving partial isomorphism of structures.
Let . The least-unused scheduling puts every element of into the domain and every element of into the range. For example, after forth steps, all ordinary presentation numbers at most have been included, since each step removes the least missing one. Thus is a bijection preserving and reflecting the orders. To compute , simulate the construction until appears in its domain; this terminates. The corresponding range search computes its inverse. Hence
The searches use the decidable presentations, rather than a possibly ineffective choice of points in an abstract dense linear order without endpoints.
A countable set means here a finite set or a countably infinite set, equivalently a set admitting an injection into . This convention includes the empty set. An infinite set is countably infinite precisely when it can be put in bijection with .
Choose an injection . For each , its fiber under the surjection is nonempty, so define
Two distinct fibers cannot contain the same label , because is an injection and has a single value. Thus is an injection, proving that is a countable set. Taking the least label avoids any need for a separate choice of one element from each fiber. If is empty, surjectivity makes empty as well.
For the unheaded enumeration request, list pairs of positive natural numbers by their sum. An explicit Cantor pairing function is
For , the positive integers give the consecutive labels . These blocks are disjoint, consecutive and cover . Consequently is a bijection from to , so is countable.
For each element of the product set , let count its representations as with . The ratio equality is equivalent to . Swapping the two coordinates is a bijection between the ratio-equality quadruples and the equal-product quadruples. Therefore the multiplicative energy satisfies
The Cauchy-Schwarz inequality gives the energy lower bound:
For the upper bound, place the Cartesian product in the strictly positive quadrant. For every occupied Euclidean ray from the origin let be its points and . The slope is , so
Take to be the natural logarithm and put , using the non-triviality assumption . Partition the possible occupancies into classes: for , and for the last class. This last closed endpoint ensures that the partition works even when the top endpoint is attained. Within each class the ratio of any two occupancies is at most .
Fix one class and order its occupied Euclidean rays by increasing slope, with occupancies . Write , the cardinality of . If , then , since adding any fixed element gives an injection of into its sumset , and similarly for .
If , the sums contain exactly different points, by injectivity of sums on two distinct rays. Indeed, the two direction vectors are linearly independent, so the coefficients of a sum uniquely recover its two summands. Positivity puts every sum strictly inside the open planar sector between those two Euclidean rays. The sectors between successive selected Euclidean rays are disjoint, even if there are additional unselected rays between them. All these sums belong to , and hence
For neighbouring occupancies their ratio lies between and , so
Summing covers every at least once, and gives . The same bound holds for empty or singleton classes by the preceding observations. Adding over the classes proves the multiplicative energy sumset bound . Combining both bounds yields the sum-product conclusion:
If instead is interpreted as base two, use the same occupancy classes with in place of ; proves that convention as well. Positivity is essential to the sector argument.
For a locally small category , an object , and a categorical presheaf , the Yoneda lemma gives the natural bijection
Its two maps are explicitly
For , the equation proves naturality of . Evaluating it at the identity morphism gives . Conversely, naturality of at gives
so . Evaluation at the identity and transport of an element along a morphism are mutually inverse.
The bijection is natural in both variables: a natural transformation sends to , matching ; and gives
For completeness, the covariant Yoneda lemma for is , with and inverse .
For the categorical presheaf , its category of elements has objects with . A morphism is a morphism satisfying . Composition in a category is inherited from : if also , then . The identity morphisms are inherited as well. The forgetful functor sends to and to .
A universal element is a pair for which each is uniquely of the form for . Thus is a terminal object of the category of elements, with the variance appropriate to a categorical presheaf.
Given a universal element, define
The defining uniqueness makes each map a bijection; gives naturality for . Hence is a natural isomorphism and is a representable presheaf. Conversely, from a natural isomorphism , take . The Yoneda lemma gives ; its bijectivity makes a universal element. Therefore the two descriptions coincide:
Conversely, assume that every hom-set functor preserves existing categorical limits. For a categorical limit cone in , a categorical cone determines an element of . The assumed bijection
gives one and only one such for every and every categorical cone. That is the universal property of the image cone itself. Therefore the hom-set tests detect limit preservation:
This proof works for all diagram sizes for which the relevant categorical limits and compatible-family sets are under consideration.
Suppose . As a functor on the opposite category, a representable presheaf preserves every existing categorical limit: a colimit in is defined by the bijection between morphisms from its vertex into and compatible families of morphisms from its diagram objects into . This remains valid for a possibly large diagram in a category whenever that colimit exists and the compatible-family collection is the corresponding set.
The category of elements has a terminal object , where is the image of under the representation. For each let be its unique morphism to . These form a cocone for the forgetful functor . Any competing cocone satisfies
The component at uniquely determines the mediating morphism. Thus the representing object is the colimit of the elements projection: