The Lumenary · Research pathways
Homotopy type theory
Name: ______________________
Date: ______________________
You will learn to
- Explain identity types and their reading as path spaces, and derive transport, the action of functions on paths and the groupoid laws by path induction
- Define equivalences of types, state the univalence axiom, and prove that it is incompatible with uniqueness of identity proofs for the universe
- Define the circle as a higher inductive type and outline the encode–decode proof that its loop space is equivalent to
- Describe the models of homotopy type theory and separate established results from open questions
- Use Lean to see precisely where an ordinary proof assistant departs from homotopy type theory
- 1.
In the homotopy interpretation, what is the identity type ?
- A.The space of paths in from to
- B.A truth value: true if and are equal, false otherwise
- C.The set
- D.The set of isomorphisms between and , by definition
- 2.
Assume univalence. How many elements does the identity type have (it is a set, so count elements up to paths)?
- 3.
Let for a fixed . For and , what is ?
- A.
- B.
- C., since transport is just substitution
- D.
- 4.
A student argues: 'Let . By path induction we may assume is , so every loop equals .' What is wrong?
- A.Path induction applies only to families over paths with a free endpoint, ; here both endpoints are fixed at
- B.Nothing: this is a valid proof of uniqueness of identity proofs
- C.The argument forgot to use symmetry of equality
- D.Path induction requires function extensionality
- 5.
Which Lean statement expresses that univalence fails in Lean, for the type
Bool?- A.
¬ Function.Surjective (idtoeqv : Paths Bool Bool → (Bool ≃ Bool)) - B.
¬ Nonempty (Paths Bool Bool) - C.
Function.Injective (idtoeqv : Paths Bool Bool → (Bool ≃ Bool)) - D.
¬ (Bool ≃ Bool)
- A.
- 6.
In the encode–decode proof that , where is the univalence axiom used?
- A.To define the universal cover , sending to the path in the universe
- B.To prove
- C.To prove by induction on
- D.Nowhere; the higher inductive circle suffices
- 7.
Which principles are consistent with (or follow from) univalence? (Choose all that apply.)
- A.Excluded middle for propositions
- B.The axiom of choice for sets
- C.Function extensionality
- D.Uniqueness of identity proofs for all types, including the universe
- E.Excluded middle for all types,
- 8.
In homotopy type theory with univalence and the higher inductive circle, which of these types are sets (all of their identity types are propositions)? (Choose all that apply.)
- A.
- B.
- C. in
- D.
- E.The universe
- 9.
Loops in the circle built from () and () are words, e.g.
(1, 1, -1). The groupoid laws let us cancel an adjacent pair1, -1or-1, 1. Writereduce_word(word)returning the fully reduced word as a tuple. (The tests check that your reduced word is always .)Computational — Practice