Eta conversion 2026-10-14
Eta conversion expresses extensionality for a lambda abstraction whose fresh argument is only passed to a function. The side condition prevents removal of a genuine dependency. In a categorical model with , the inverse laws for currying and evaluation validate this conversion as well as beta reduction.
Evaluation map of an exponential object 2026-10-07
The evaluation map is the counit representing application in an exponential object. For every , composition with evaluation gives the natural bijection . Its inverse is currying. Evaluation must be a morphism in the ambient category, such as an equivariant map in a category of group actions.
Exponential in a presheaf category 2026-10-14
For categorical presheaves on a small category, restrictions in the displayed exponential object act by precomposition with . Evaluation sends at to . The currying of sends to the natural transformation whose value on is . Evaluation and currying are inverse and natural, proving the Cartesian closed category structure.
Exponential of right monoid actions 2026-10-07
Give the diagonal right monoid action. On its equivariant maps into , define . The evaluation map of an exponential object is and currying of is . Both maps are equivariant, and they are inverse under evaluation. The left multiplication in this right action is essential in a noncommutative monoid.
Extensional reflexive object 2026-10-14
An object isomorphic to its own exponential supplies mutually inverse folding and unfolding maps. Evaluation defines application, and folding after currying defines abstraction. The exponential universal property gives the beta rule, while the full isomorphism gives eta conversion. A mere retraction of the function object generally suffices for beta but not automatically eta.
Function space of complete partial orders 2026-10-14
The Scott continuous maps from to , ordered pointwise. A nonempty directed family has pointwise supremum, and the constant-bottom function is least. Joint evaluation is Scott continuous: for a directed family of pairs , directedness makes diagonal values cofinal among all . Evaluation and currying make the category of pointed complete partial orders and non-strict Scott continuous maps a Cartesian closed category.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 17 6 ii Solution Created 2026-10-03 Updated 2026-10-14
A Cartesian closed category has finite products in a category and, for all , an exponential object with a natural bijectionEquivalently the functor has a right adjoint. Its counit of an adjunction is the evaluation map of an exponential object .
For the presheaf category, define the exponential in a presheaf category byFor , its restriction sends to . Composition of these restriction maps follows from composition of the , so this is a categorical presheaf. Define evaluation map of an exponential object byFor , naturality of givesThus is a natural transformation.
Given a natural transformation , define its currying byNaturality of proves that is a natural transformation . For , the same formula proves that is natural. Evaluating at gives .
Conversely, if and , thenby naturality of . Hence the two constructions are inverse and natural in . Products are available pointwise, including the terminal singleton presheaf, so the presheaf category is Cartesian closed. The exponential uses natural transformations out of ; simply exponentiating the individual values generally does not give this object.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 24 3 Solution Created 2026-10-03 Updated 2026-10-14
For a locally small category , the covariant Yoneda lemma gives a bijectionnatural in and the functor . The inverse sends to the natural transformation whose component at maps to . Naturality of at forces this formula, proving both inverseness and uniqueness.
Write for the category of elements of . Its objects are with , and an arrow is an arrow satisfying .
Given an object of the slice category , defineAn arrow acts by the restriction of ; naturality of makes this restriction well-defined. A slice morphism restricts to a map between the corresponding fibers and thus gives a natural transformation on .
Conversely, given , setand let be projection to . The functor laws and naturality follow from those for and . On morphisms use the maps on each summand. Taking a fiber of this disjoint union recovers canonically. Taking the disjoint union of the fibers of recovers by , naturally in and in the slice object. These are inverse natural isomorphisms, provingThis is the slice of a set-valued functor category construction.
Now assume is a small category, so is small. Define a diagram in a categoryFor in , its reverse arrow acts by precomposition . There is a cocone to with component . To verify its colimit property directly, use pointwise colimits of sets. At , a colimit element has a representative , and the induced map to sends it to . This map is surjective, since is represented by . Moreover, the element-category arrow gives precisely the colimit relationThus all representatives with the same image are equal in the colimit, proving injectivity. The resulting bijections are natural in . We have proved the canonical colimit presentation of a covariant set-valued functor:
A Cartesian closed category has finite products in a category and an exponential object for each pair, representing maps from a product with . In , the terminal functor and binary products are computed pointwise. Define the exponential of covariant set-valued functors bySmallness makes this a set. If , precomposition with defines . Functoriality is immediate from associativity of composition. Its evaluation map of an exponential object isFor , naturality of shows , which is exactly the naturality equation for evaluation.
Given , define its currying at byNaturality of proves that this is a natural transformation in , and its compatibility with arrows proves that is natural. Evaluation recovers by setting . Conversely, for , its naturality impliesso currying the evaluation composite recovers . These formulas give the required natural bijection, hence is Cartesian closed.
Finally, for every the small category has a Cartesian closed functor category by the same construction. The slice equivalence above transports its terminal object, products and exponentials to . The original functor category also has pointwise finite limits. Therefore it is locally Cartesian closed. Every construction here is explicit; no adjoint functor theorem is used.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 87 3 a Solution Created 2026-10-03 Updated 2026-10-14
Here a pointed complete partial order is a partially ordered set with a least element in which every nonempty directed set has a least upper bound. Directed means that every pair of its elements has an upper bound within that set. A Scott continuous map is monotone and preserves these directed suprema. It is not required to preserve the least element; restricting to strict maps would change the categorical claim. If completeness is instead formulated only for increasing countable chains, the same arguments below work with those chains.
Order the function space of complete partial orders pointwise: means for every . Its least element is the constant function with value . For a directed family of continuous maps, define . This is well-defined and is its pointwise least upper bound. It is monotone. For any directed ,The interchange is valid because the combined family is directed, and either iterated supremum is its least upper bound. Thus is a Scott continuous map, proving that is a pointed complete partial order.
Finite products carry the product order, componentwise suprema and least element . The one-element order is a terminal object. For the exponential, use the function space with evaluation . To check joint continuity, take a directed family of pairs . ThenIndeed, directedness supplies a above the pairs indexed by both and , giving . Thus the diagonal values are cofinal in the double family, and evaluation preserves its supremum.
For a continuous , its currying is , . Each section is continuous because is; pointwise directed suprema in the coordinate show that is continuous. Conversely a continuous gives the continuous map . The two constructions are inverse, because they agree on every pair . This gives the natural bijectionwith the required evaluation map. Together with the terminal object and products, it proves cartesian closure of pointed complete partial orders with non-strict continuous maps.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 87 3 b Solution Created 2026-10-03 Updated 2026-10-14
Choose mutually inverse maps and . This is an extensional reflexive object in the Cartesian closed category. Define its application morphismFor endomorphisms , application in the underlying set is .
It is useful to define term interpretation uniformly over any context object . An environment assigns each free variable a morphism . Variables are interpreted by their assigned maps, and application is interpreted by and pairing. For lambda abstraction, lift the old environment along , interpret the new variable by , and let interpret the body. Then setTaking gives interpretations in the requested set of endomorphisms. Other context objects are needed in the recursive definition to handle bound variables correctly.
The beta reduction rule follows from and the evaluation identity for currying. Applying the interpreted abstraction to a map givesInduction on terms identifies this with interpretation of the capture-avoiding substitution of the argument for .
For eta conversion, suppose is not free in and write for the interpretation of . The body on is the uncurried form of . HenceThus beta-eta-equivalent terms have equal interpretations in . The full isomorphism, rather than just a retract of the function object, provides the inverse law used in the eta step.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 87 5 Solution Created 2026-10-03 Updated 2026-10-14
Write products of endomorphisms as composition, with the rightmost map applied first. Because is terminal, the only hom-sets that can contain multiple arrows are and . If the latter contained only the identity, any point would have , where . Then any other point would satisfy . Thus the category would be a preorder. The hypothesis therefore implies .
If the product object were , its universal property applied to arrows from would give , a singleton, which is impossible. Since there are only two objects, . Similarly, if , the exponential adjunction at would giveagain impossible. Hence as chosen objects.
Let , let be the product projections, and let be evaluation, all now endomorphisms. Pairing is , and for write for its currying. The product identities and the two inverse exponential identities giveThis is the structure of a cartesian closed monoid.
For the converse, start only from the monoid and these identities. The first three make pairing a bijection from to , inverse to . In particularas follows by applying both projections and using uniqueness. Define . The last two identities say that and are inverse bijections. These facts also derive, rather than assume, the naturality lawIndeed ; applying the inverse bijection proves the law.
Put . The law applied to gives, for every ,Taking proves . This stronger absorption identity is what makes the split object terminal.
Assume first that is nontrivial; the degenerate case is handled below. Construct the required category using the two idempotents and , as a two-object part of the Karoubi envelope. Call their objects and . A morphism from the object with idempotent to the object with idempotent is an element satisfying . Composition is monoid multiplication, and the identity on each object is its idempotent. These laws are well-defined and associative. Its hom-sets are concretelyFor example, for every , so the condition for forces . Thus is terminal, and the original monoid appears unchanged at .
Set with projections and the given pairing. The product property works for arrows from either object: for global arrows satisfying , , pairing also satisfies . The original projection identities give existence and uniqueness. Products with are the other object, with its identity and the unique terminal arrow as projections; .
For the exponential set with evaluation . For a parameter object , the given and already establish the universal property. We must additionally verify it for parameter object . An arrow is an arbitrary element of . Define its transpose byNaturality gives for every , because . In particular , so it really is an arrow .
Its uncurrying is . To see this, start from and compose with . Pairing naturality, , and the absorption property of give precisely the claimed equality. Conversely, if satisfies , then for every . ThereforeThus transpose and uncurrying are inverse for the terminal parameter object too. This verifies the full exponential property, rather than only its endomorphism instance.
The remaining exponentials are , , and , by the unit product law and terminality. Hence the constructed two-object category is cartesian closed and .
For nontrivial , the constructed is nonterminal because it has more than one endomorphism, and by the absorption identity. This is the case corresponding to the forward non-preorder hypothesis.
If has one element, all the algebraic identities still hold, but splitting alone would make the original object terminal. To satisfy the literal converse's requirement of a nonterminal object, handle this case separately: take the two-object poset category . Products are meets, , , , and , which verify the exponential adjunction on this two-element order. It is cartesian closed, is nonterminal, and its one-element endomorphism monoid is . It is a preorder, so it does not recover the forward non-preorder setting or the self-exponential equality. Thus the converse's stated endomorphism realization works also in the degenerate case, while the stronger non-preorder reconstruction uses nontrivial .
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 23 3 b Solution Created 2026-10-03 Updated 2026-10-14
A Cartesian closed category has finite categorical products and, for every , an exponential object with an evaluation morphism such that composition with evaluation gives natural bijectionsFinite categorical products in the presheaf category are pointwise; in particular its terminal object is the constant singleton categorical presheaf. For categorical presheaves defineFor , restriction sends to . Composition and identity laws follow from those of the Yoneda embedding, so this is a categorical presheaf.
Define evaluation at by . For , naturality of gives , which is the evaluation of the restricted pair. Hence evaluation is a natural transformation.
Given , its currying sends to the transformation whose component at isNaturality in follows from that of , and naturality in follows by composing with the relevant arrow. Evaluating at recovers . Conversely, if , naturality of along says that evaluating at gives . Thus currying the evaluation of recovers . These constructions are inverse and natural, proving the universal property. This is the exponential in a presheaf category, and proves the presheaf category is Cartesian closed.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 23 1 a Solution Created 2026-10-03 Updated 2026-10-07
Let have the diagonal right monoid action , and put . Define the right action on this set of equivariant maps of monoid sets byIt really stays in : . Also and , so it satisfies the right-action law. Left multiplication in the first argument is intentional; no commutativity of has been assumed.
Define the evaluation map of an exponential objectIt is equivariant, becauseFor any right -set and equivariant map , define its currying byFor fixed , this is equivariant in the diagonal variables: . The map is also equivariant, sinceIt satisfies .
Conversely, given an equivariant , set . Evaluation makes this equivariant, and currying recovers :These constructions are inverse and natural in . Therefore they establish the exponential object universal propertyThis is the exponential of right monoid actions, not the set of ordinary maps with an arbitrarily guessed action.