To save content items to your account,
please confirm that you agree to abide by our usage policies.
If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account.
Find out more about saving content to .
To save content items to your Kindle, first ensure no-reply@cambridge.org
is added to your Approved Personal Document E-mail List under your Personal Document Settings
on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part
of your Kindle email address below.
Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations.
‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi.
‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
This up-to-date introduction to type theory and homotopy type theory will be essential reading for advanced undergraduate and graduate students interested in the foundations and formalization of mathematics. The book begins with a thorough and self-contained introduction to dependent type theory. No prior knowledge of type theory is required. The second part gradually introduces the key concepts of homotopy type theory: equivalences, the fundamental theorem of identity types, truncation levels, and the univalence axiom. This prepares the reader to study a variety of subjects from a univalent point of view, including sets, groups, combinatorics, and well-founded trees. The final part introduces the idea of higher inductive type by discussing the circle and its universal cover. Each part is structured into bite-size chapters, each the length of a lecture, and over 200 exercises provide ample practice material.
We define the category of polynomial functors by introducing its morphisms, called dependent lenses or lenses for short, and we show how they model interaction protocols. We introduce several methods for working with these lenses, including visual tools such as corolla forests and polybox pictures. We explain how these lenses represent bidirectional communication between polynomials and describe how they compose. By the end of the chapter, readers will have a comprehensive understanding of how polynomial functors and their morphisms can be used to model complex interactive behaviors.
We review relevant concepts from and properties of the categories of sets and of endofunctors on the category of sets relevant to our work. We discuss representable functors on the category of sets, introducing our exponential notation for them, and we state and prove the Yoneda lemma for these with the help of an exercise. We then examine sums (or coproducts) and products of sets and functions through the language of indexed families of sets. In particular, we characterize products of sets in terms of dependent functions, generalizing functions by allowing their codomains to vary depending on their inputs. We study nested sums and products of sets, explaining how distributivity allows us to expand products of sums of sets. By lifting all of this material to endofunctors on the category of sets, and using the fact that its limits and colimits are computed pointwise, we set ourselves up to introduce polynomial functors as sums of representable functors in the next chapter. Throughout the chapter, we emphasize key categorical principles and provide detailed explanations to ensure solid comprehension of these fundamental ideas.
We examine a monoidal structure on the category of polynomial functors, defined through the operation of substituting one polynomial into another. We explain how this composition product transforms polynomials into a richer algebraic structure, enabling the modeling of more complex interactions and processes. The chapter explores the properties of this monoidal structure, how it relates to existing constructions in category theory, and its implications for understanding time evolution and dynamical behavior. We also provide examples and visual representations to clarify how substitution works in practice.
We study the structure and utility of the category formed by small categories and retrofunctors. We analyze key properties of this category, such as limits, colimits, and factorizations, and explain how these structures support various forms of composition and interaction. The chapter delves into the cofree comonoid construction, exploring how it connects to familiar concepts in category theory, and extends our understanding of state-based systems. We also discuss applications of retrofunctors and demonstrate how they can be used to model complex processes in a structured way.