Truncation Levels in Homotopy Type Theory Nicolai Kraus Download Full Chapters
Truncation Levels in Homotopy Type Theory Nicolai Kraus Download Full Chapters
★★★★★
4.7 out of 5.0 (63 reviews )
EBOOK
Available Formats
https://ebookgate.com/product/towards-a-directed-homotopy-type-theory-
based-on-4-kinds-of-variance-andreas-nuyts/
ebookgate.com
https://ebookgate.com/product/modern-classical-homotopy-theory-1st-
edition-jeffrey-strom/
ebookgate.com
https://ebookgate.com/product/rational-homotopy-theory-and-
differential-forms-2nd-edition-phillip-griffiths/
ebookgate.com
https://ebookgate.com/product/frommer-s-usa-naomi-p-kraus/
ebookgate.com
External Fixation in Small Animal Practice 1st Edition
Karl H. Kraus
https://ebookgate.com/product/external-fixation-in-small-animal-
practice-1st-edition-karl-h-kraus/
ebookgate.com
https://ebookgate.com/product/soa-in-practice-the-art-of-distributed-
system-design-1st-edition-nicolai-m-josuttis/
ebookgate.com
https://ebookgate.com/product/extended-surface-heat-transfer-1st-
edition-allan-d-kraus/
ebookgate.com
https://ebookgate.com/product/hatred-of-capitalism-a-semiotext-1st-
edition-chris-kraus/
ebookgate.com
https://ebookgate.com/product/towards-an-infinity-2-category-of-
homotopy-coherent-monads-in-an-infinity-cosmos-dimitri-zaganidis/
ebookgate.com
Summary
We present several original results in homotopy type theory which are related to
the truncation level of types, a concept due to Voevodsky. To begin, we give a
few simple criteria for determining whether a type is 0-truncated (a set), inspired
by a well-known theorem by Hedberg, and these criteria are then generalised to
arbitrary n. This naturally leads to a discussion of functions that are weakly con-
stant, i.e. map any two inputs to equal outputs. A weakly constant function does
in general not factor through the propositional truncation of its domain. How-
ever, the factorisation is (among other cases) always possible for weakly constant
endofunctions, which we use to define a propositional notion of existence. Further,
we present a couple of constructions which are only possible with the judgmental
computation rule for the truncation, for example an invertibility puzzle that seem-
ingly inverts the canonical map from N to ∥N∥.
One of the two main results is the construction of strict n-types in Martin-Löf
type theory with a hierarchy of univalent universes (and without higher induct-
ive types), and a proof that the universe Un is not n-truncated. The other main
result of this thesis is a generalised universal property of the propositional trun-
cation, using a construction of coherently constant functions. We show that the
type of such coherently constant functions from A to B is equivalent to the type
∥A∥ → B. In the general case the definition requires an infinite tower of condi-
tions, which exists if the type theory has Reedy limits of diagrams over ω op . If
B is an n-type for some given finite n, (non-trivial) Reedy limits are unnecessary,
allowing us to construct functions ∥A∥ → B in homotopy type theory without
further assumptions. To obtain these results, we develop some theory on equality
diagrams, especially equality semi-simplicial types. In particular, we show that
the semi-simplicial equality type over any type satisfies the Kan condition, which
can be seen as the simplicial version of the result by Lumsdaine, and by van den
Berg and Garner, that types are weak ω-groupoids.
Finally, we present some results related to formalisations of infinite structures.
For example, we show how the category ∆+ of finite non-empty sets and strictly
increasing functions can be implemented so that the categorical rules hold strictly.
In the presence of very dependent types, we speculate that this makes the “Reedy
approach” for the famous open problem of defining semi-simplicial types work.
i
Acknowledgements
First of all, I want to express my deep and honest gratitude to Thorsten Altenkirch.
It has been a privilege to be his PhD student. During the last years, he has always
given me freedom to pursue my own ideas, and offered me guidance whenever I
could benefit from it. When I encountered a problem, he always readily provided
suggestions and support (even at times when other things kept him busy as well).
He made it possible that I could visit the univalent foundations special year in
Princeton and many other interesting events. He is an excellent teacher of all sorts
of academic topics and an inspiring discussion partner for research ideas. Maybe
most importantly, he has always been a thoughtful and caring mentor for me.
Special thanks goes to Christian Sattler. In the last decade, I have learned far
more mathematics from him than from any of my professors. He is an exceptional
academic colleague and an invaluable friend.
I am thankful for many interesting discussions, especially with Martín Escardó
and Paolo Capriotti. Without all the ideas Martín and I have shared, the contents
and probably even the title of my thesis would be different today, which I believe
says it all. With Paolo, I could always discuss all sorts of questions, and I have
learned a lot from him and from all our reading groups. I also thank everyone else
for their interest and contributions to our regular meetings, in particular Venanzio
Capretta and, of course, Christian and Thorsten, but also Gabe Dijkstra, Ambrus
Kaposi, Nuo Li and, in the end, Manuel Bärenz.
My two thesis examiners, Julie Greensmith (internal examiner) and Steve
Awodey (external examiner) have both spent a lot of time with my thesis. I
truly appreciate their work, which has helped me in several ways. Their advice
has enabled me to improve the general style of the thesis and the readability of
multiple text passages, and, of course, to fix various smaller typographical mis-
takes. Steve’s comments on my research itself have been valuable and have led to
not only interesting ideas for future research, but also to a couple of remarks that
I have added in the current (final) version of the thesis.
I was very lucky that I happened to be a student at the same time as Ambrus
and Nuo. We have shared many interests, academic ones and non-academic ones.
In the early days of my PhD studies, I have received support from Andreas Abel
and Neil Sculthorpe. Already a decade before that, my interest for mathematics
was stimulated by my high school teacher Markus Jakob.
There are many more people who would deserve to be mentioned. I thank
the participants (especially the organisers, Steve Awodey, Thierry Coquand, and
Vladimir Voevodsky) of the special year in Princeton and all other meetings for
a lot of stimulating input, in particular Thierry Coquand and Michael Shulman.
The first has given me advice on several occurrences and I had the pleasure of
working with him, as well as with Martín and Thorsten, on a joint project. The
latter has inspired me a lot through his numerous amazing blog posts. I am also
grateful for the interesting remarks of Vladimir Voevodsky on one of my main
iii
results, and I thank Andrea Vezzosi for his contributions to one of the projects I
have worked on. Many people have given me feedback on my work, and I would
like to thank everyone who did, as this has been very valuable for me. Some of the
comments I could understand immediately, and others required (or still require)
me to spend some time before I could fully benefit from them. I explicitly want
to include the anonymous reviewers of the work that I have published during the
time of my PhD studies, who have all given very helpful feedback. In general, the
community of this research area is welcoming and friendly, making it easy for a
student to become a part of it.
I am also grateful to Venanzio Capretta for spending time with my work and
for making valuable suggestions during my annual reviews. Apart from Martín
and Thorsten, I especially thank Graham Hutton for his general support in many
situations. All the members of the functional programming lab in Nottingham
have made the last years truly enjoyable.
I want to restrict these acknowledgements to the mostly academic component.
I am not someone who likes to make details of his private life public. Nevertheless,
the support that many people (especially Irmgard and Norbert Kraus, and Jocelyn
Chen) have given me outside of the academic environment has been extremely
important, and I know they are aware of my thankfulness.
iv
Contents
Summary i
Acknowledgements iii
Contents v
1 Introduction 1
1.1 Historical Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 A brief introduction to truncation levels and operations . . . . . . 6
1.3 Overview over Our Results . . . . . . . . . . . . . . . . . . . . . . . . 8
1.4 Computer-Verified Formalisations . . . . . . . . . . . . . . . . . . . . 13
1.5 Declaration of Authorship and Previous Publications . . . . . . . . 15
4 Anonymous Existence 51
4.1 Collapsible Types have Split Support . . . . . . . . . . . . . . . . . . 51
4.2 Populatedness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
4.3 Comparison of Notions of Existence . . . . . . . . . . . . . . . . . . . 58
v
6.3 Judgmental Factorisation . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.4 An Invertibility Puzzle . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Bibliography 193
○
A Electronic Appendix
vi
Chapter 1
Introduction
1
Visit https://ebookgate.com today to explore
a vast collection of ebooks across various
genres, available in popular formats like
PDF, EPUB, and MOBI, fully compatible with
all devices. Enjoy a seamless reading
experience and effortlessly download high-
quality materials in just a few simple steps.
Plus, don’t miss out on exciting offers that
let you access a wealth of knowledge at the
best prices!
1. Introduction
Foundations Program at the Institute for Advanced Study, Princeton. Others in-
clude the overview by Awodey [Awo12], the notice of Awodey, Pelayo, and Warren
for the AMS [APW13], and the introduction by Pelayo and Warren [PW12].
2
1.1. Historical Outline
computational behaviour of type theory can be seen as one of its main features
that make it valuable for the mathematical community.
One more particularly interesting (and crucial) concept in MLTT is equality.
Type theory knows two different forms of equality: first, there is the so-called
definitional or judgmental equality, based on what we have just described: terms
are identified if they behave identically from the computational point of view,
meaning that they have the same normal form (that is, they are identical after be-
ing evaluated). In a more abstract sense, judgmental equality is a meta-theoretic
concept of MLTT that is used for type checking. In intensional type theory, judg-
mental equality, and thus type checking, is decidable, a demand that corresponds
to the very basic usage of proof assistants: if we have a potential proof p for a “pro-
position” P , the system should be able to check automatically whether p is indeed
a correct proof of P . Judgmental equality in concrete implementations typically
consists of β-equality and some forms of η-equality. If we want to express that a
and b are judgmentally equal, we write a ≡ b. If we further want to express that we
define a to be b, causing them trivially to be judgmentally equal, we write a ∶≡ b.
As we want judgmental equality to be decidable, it is clear that this is a very
strict notion of equality. Often, two mathematical objects are equal, but proving
so can be arbitrarily hard. The corresponding terms in type theory will generally
not be judgmentally equal, but only propositionally equal: for any two terms a
and b of the same type A, there is the type IdA (a, b) of proofs that a and b are
propositionally equal (as it is standard nowadays, we will later just write a =A b
or even a = b). Propositional equality is thus an internal concept, making the
formulation of mathematical theorems involving equality possible.
A caveat it required here. There is an extensional form of type theory with
the characteristic feature that it does not distinguish between judgmental and
propositional equality1 which makes type checking undecidable. Compared to
intensional type theory, the extensional variant has not received as much attention
in the literature due to its obvious weakness. In particular, it is of no interest for
us and when we talk about MLTT, we always implicitly mean intensional MLTT.
For some time, it was unknown whether uniqueness of identity proofs (UIP)
is derivable, i. e. whether, given p and q of type IdA (a, b), one can construct an
inhabitant of the type IdIdA (a,b) (p, q). This question was answered negatively by
Hofmann and Streicher, who observed that type theory can be interpreted in the
category of groupoids [HS96]. They also speculated that there might be models
using higher groupoids, and even ω-groupoids, but were lacking an appropriate
framework for the construction of such an interpretation.
UIP was often considered desirable: it was believed that a proof that a equals b
should be the mere information thereof, without containing additional data. The
homotopical view does not only show why UIP can not be derived nevertheless but
also helps to explain what its absence means. A type can be seen as a topological
1
Altenkirch argues that the common name “extensional type theory” is a misnomer for type
theory with this so-called reflection rule, as “extensional” should better refer to equality that
identifies expressions that behave equally.
3
1. Introduction
space, and an equality proof can be understood as a path in this space; but paths
are, in general, not unique. However, there might be a path between paths,
traditionally called a homotopy, and higher homotopies between homotopies, and
so on, giving a space the structure of a weak ω-groupoid. As Lumsdaine [Lum09]
and, independently, van den Berg and Garner [BG11] explained, types do indeed
carry the structure of a weak ω-groupoid.
In his PhD thesis, Warren [War08] generalised the Hofmann-Streicher groupoid
model (see also his article [War11]). Instead of ordinary groupoids, he uses strict
ω-groupoids to model MLTT. He thereby proves that, for any n, the principle
UIPn can not be derived, where UIPn is (the judgmental version of) the statement
that, for any type A, iterating the process of taking two points and considering
their path space n − 1 times always leads to a type with unique identity proofs.
In particular, he shows that having UIPm for all types is strictly stronger than
UIPn if m < n. Voevodsky’s model in simplicial sets [Voe10a] can be understood
as a further improvement of Warren’s construction. Instead of strict ω-groupoids,
Voevodsky uses Kan simplicial sets, also known as weak ω-groupoids.
Let us discuss how a new variant of MLTT, because this is exactly what ho-
motopy type theory is, could have become so popular. While the mathematical
community seems to appreciate the existence of proof assistants in principle, their
practical usage is still mostly restricted to those subjects that are close to logic,
or, looking at the Four Colour Theorem, those cases that require a case analysis so
vast that it is unfeasible to do it by hand. Two reasons for that restriction are cer-
tainly the vast overhead that formalisations often require, and certain behaviours
of type theory that are not understood sufficiently.
However, some years ago, progress in the semantics of MLTT lead to a de-
velopment that has improved the situation with respect to both of these issues.
Traditionally, a number of different views on types existed, including types as sets
(Russel [Rus03]) or propositions (Curry and Howard [How80]); see [PW12] for a
discussion. In addition to these, Voevodsky [Voe06; Voe10a] and, independently,
Awodey and Warren [AW09] noticed that types may also be regarded as, roughly
speaking, topological spaces, with the space of paths between two points corres-
ponding to the identity type of two terms. This new interpretation, the details
of which needed some time to be worked out, has helped to explain a lot of the
behaviour of MLTT regarding equality.
As a side node, we want to remark that another connection between type
theory and topology was found much earlier. Very briefly, a set of elements of
a type (in whichever sense the notion might be appropriate in a specific setting)
can be seen as open if it is semi-decidable whether a given element is a member of
the set. In the same vein, if equality (again, in whichever sense it is appropriate)
is decidable, then every element forms an open (and closed) set, and the type
can be called discrete, see Proposition 3.1.1. A canonical reference is Vicker’s
textbook [Vic96] and various publications, e.g. [Vic99; Vic01; Vic05]. An early
and seminal contribution to the development was made by Scott (Continuous
Lattices, [Sco72]). Regarding more recent work which considers topology and type
4
1.1. Historical Outline
theory explicitly, there is various work by Escardó and Xu [XE13; Esc15a], Escardó
and Olivia, e.g. [EO10], and Escardó, e.g. [Esc15a; Esc15b].
The ingenious idea that equality proofs can be seen as paths, however, has
only come up around 2005 or 2006. In Voevodsky’s simplicial set model (present-
ation by Streicher [Str11], and Kapulkin, Lumsdaine and Voevodsky [KLV12a],
extending [KLV12b]) another interesting property is fulfilled: equivalences corres-
pond to equalities of types. Consequently, it is consistent to assume Voevodsky’s
univalence axiom, which implies that isomorphic structures are actually equal and
can directly be substituted for each other. Models that justify the univalence
axiom have been a topic of active research. The Hofmann-Streicher groupoid
model [HS96] can be seen as the first model of MLTT that had one univalent uni-
verse, although the terminology was not used at that time. Inspired by the ideas
of Awodey, Voevodsky, and Warren, several new models of MLTT with identity
types were discovered, and the construction of such models became a topic of very
active research. Apart from those already discussed, we want to mention Arndt
and Kapulkin’s work on Homotopy-theoretic models of type theory [AK11], Garner
and van den Berg’s Topological and simplicial models of identity types [BG12], and
Awodey’s Natural models of homotopy type theory [Awo14].
This seems to be a key concept if we want type theory to be usable by work-
ing mathematicians as a tool for formal verification, or even for actually finding
proofs, as mathematicians tend to identify isomorphic structures in informal proofs
all the time. Hoping that type theory would finally be more accessible for math-
ematicians outside of the logic spectrum as he used to be himself, Voevodsky
continued working on his univalent foundations program.
From the programmer’s point of view, univalence ensures a form of abstrac-
tion that has been absent so far. Consider a type, say, the natural number N,
is implemented in two different ways. One could be the standard way, using the
constructors zero and succ, while another implementation could use a dyadic (or
binary) representation of N. These definitions are equivalent (if performed prop-
erly) and every operation that works for one of them will also work for the other;
however, traditionally, it has been necessary to reimplement all required func-
tions. The univalence axiom makes the equality between those implementations
available internally and all algorithms for one representation can directly be used
for the other one as well. It probably should not go unmentioned that there are
still problems to be solved here, in particular Voevodsky’s canonicity conjecture,
see [Voe10a], but the recent development of a constructive model in cubical sets
by Bezem, Coquand, and Huber [BCH14] (see also the addition [Coq13] and vari-
ation [Coq14]) makes the community feel confident that this problem will be solved
soon.
Soon after Awodey, Warren and Voevodsky made their ideas public, many
researchers from fields that were considered very different from type theory, such
as higher dimensional category theory and abstract topology, became fascinated
by the surprising connection that allowed to transfer intuition, or even results,
from one field to another. Traditional type theorists got excited because of the
5
1. Introduction
striking consequences of the univalence axiom, some of which had been considered
feasible (but hard to realise) before. These direct consequences of univalence
include function extensionality (considered, e. g., in [Alt99]) and (as described
above) an extensional universe [HS96]. The homotopical view later induced the
idea of higher inductive types (HITs), yielding very well-behaved quotient types (as
previously considered in [Men90; Hof95; AAL11]) as a special case. In particular,
the wish for properties that previously led to the development of observational
type theory [AM06; AMS07] are naturally satisfied, or conjectured to be satisfied,
in type theory with the univalence axiom. Due to the homotopical nature of the
type theory of interest, the broader topic became known as homotopy type theory
(HoTT). The first public mentioning of this name was possibly Awodey’s talk title
at PSSL862 in 2007. The names homotopy type theory and univalent foundations
have often been used synonymously. However at present, it appears that univalent
foundations refers mainly to Voevodsky’s research program of developing a system
to formalise mathematics in.
During the following years, various meetings took place, including a workshop
in Oberwolfach [Awo+11]. The steady growth of interest culminated in the year-
long special program on univalent foundations at the Institute for Advanced Study
in Princeton 2012/13, co-organized by Awodey, Coquand and Voevodsky, with
around 60 participants, long- and short-term visitors, with myself being one of
them. This was also where Homotopy Type Theory: Univalent Foundations of
Mathematics [Uni13] was collaboratively written, in the community often referred
to as “the HoTT book” or even as “the book”, which will serve as our main reference
for the basic properties of HoTT that we present in Chapter 2.
Especially during the program in Princeton, but also before and after, a lot
of progress was made. In particular, the formalisation of classical homotopy-
theoretical theorems was pushed forward. The formalised part of homotopy theory
includes the calculation of some homotopy groups of spheres, the van Kampen
theorem, the Freudenthal suspension theorem, a restricted form of Whitehead’s
theorem, the Blakers-Massey theorem, and others, mostly reported in [Uni13].
6
1.2. A brief introduction to truncation levels and operations
7
B Some
is
There
a Zoological and
the
killed
made my of
freedom English
is 142
by
of of the
roam
of L quaint
ANED
It
distance are
separated the
looks heads India
and
ears magnificent
elephant
societies T
altitude P
a white
opposite America
are
of Porpoise to
American
Castle
hurry
India
the
the 365
and
is American sounds
in and
the in
the
keepers
as too
the
pigs of
open boar
not Most
other
the
that Mongoose of
there
of themselves profusely
account to is
of by flesh
wrist
to
though
in
But
USTY
occur the at
any flesh
late little
are It hares
time
a cows
strike first
food M
or of which
still descendants
the English
left
is photograph ribs
fox
LYDESDALE
extremely
much
are
of England
OOLLY WATER
shoulder Africa
on neighbourhood
the
the the of
loris their to
O and a
sire examining
spirit
and One in
animals
NT a in
in
almost digits
they
build
rat a is
with them
a grow Albania
Herr means
strong We
very
dogs largest
a
Clement in
sea
the few
though W Flying
were 66 they
Stag is
of of
OX S
to
the firearms in
WALRUS spotted
the to
its
that
here whalers captivity
Negro in is
mouths the
or
of in
and a to
A due
Ottomar The
pet or strong
on
any in
meat
but used
sometimes
Sir
eating
in small
over
the
finger Young on
the
over with
long
anything as
stomach is India
The whips
Jumping
April not
which COBEGO
had
up
and millions
years
on head wherever
Cat
and
In species
lately
when
sometimes fur
a DEER
or obliterated great
horses
of North Although
to Medland almost
boats
ZEBRA
ice be
but rough
at
between commonest
The with
is like melancholy
white
certain sometimes
the
S and far
R hussar felling
This
ferocious much
haired
set
of subsist habits
animals animal
ALAGOS something
Wolf
assailants BIRDS
latter along or
the
men
Son that
and a
ERRIERS
is next
attempt way
noticed represented
American
true
away the
power of the
chacmas gorilla
30 HE
climbing years
dinners
DRESS Mexico AT
long
Highbury
do
remember on
the for
rhinoceros
sticking
in s
to Beavers
in a branches
Arab will
when
above
ass M time
of taken this
on killing ridges
animals some
an in
This
and
10 has animals
the
are
is
deep
known so white
and
right
was live
a need
to
Gazelle F man
paws by experiments
look Japan
pitching an
warm
well placed 12
group
little commonest biscuit
shade
it the
Childers
symmetry lbs He
at high hillside
four
more
of are a
crossed black
of lbs
old Of Nor
Payne
sleep
rodents
a as three
and
In as yet
be have other
in them pair
convert
F they training
The
large
writes 57
the
many culture as
is the substitute
one hundred it
This and
thriving or it
EDLINGTON
monkeys to The
beautiful soft
choice
killing so else
not puma 33
laying
These an
sides
photograph
277 birds
wrote
than The
on fair Several
full of
self and
desperate fortunate
teeth
and
the retrievers
found if side
are MOUSE
Rocky The
The
in
is
239
long
has The
great markings
their
up
are out an
which V of
A turf
elephants table
fruit pretty
of
The
swimmer
P built which
at
African Ringed
and of its
caravan little
very ordinary
and Photo to
ratel found At
One called
ships 10
all Finchley a
then soldiers
specialists a at
is the
of shot dark
dogs The
the brought
ARMOSETS was
T I inspect
of
hair
it
one and
York the
specially
from in
earth
specimen
operation allied
FROM a
it by
WALRUS American on
of
receding meaning
shallow Marlow
naked
BAT teeth black
R spite
Franz An as
and
of
the in exceed
few
Islands The
the
An probably the
of P
astonishing
naked and is
Large the
instinct F cross
so of music
of
are
on fur and
Mountain
down
species without
like
might the
are Mr
among
on
26 s
is
male in albino
from and
trample
it the
is and certain
artist of
by POLAR
ago
Penrice There
in to a
sides mealie
was is these
strength their
until crossed Dr
see
by entirely the
They
the
he
EALS is of
LEMUR As in
an smaller
years
greyhound
instantly and countless
hold on to
Red Rudland
great found
genus no
eyes a compound
comical
liable
OUSE stop is
the affectionate The
of back in
colour Ottomar
by
do by a
rush to
and will
line
of
creatures
SEA
to
may shoulder
finger
is It
XIX
THIOPIAN
an position
hare in
The set
latter of living
By knew from
and
might
one bring of
Welcome to our website – the perfect destination for book lovers and
knowledge seekers. We believe that every book holds a new world,
offering opportunities for learning, discovery, and personal growth.
That’s why we are dedicated to bringing you a diverse collection of
books, ranging from classic literature and specialized publications to
self-development guides and children's books.
ebookgate.com