Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Added notes for April 14th #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added notes for April 14th #21

wants to merge 1 commit into from

Conversation

jack-perisich
Copy link
Collaborator

Notes by Jack and Dawn for lecture on April 14th

For some $A : \U$ and constraint $\phi$, then: $$ \coerce^i \; \U \; \phi \; A \equiv A $$
This means that we can just do nothing, similar to how we handled coercion for inductive types.

The other two issues are more involved and require the introduction of the '\texttt{Glue}' types. \texttt{Glue} types are similar to other compositions, except that the walls are eqivalences instead of paths. The \texttt{Glue} type for some $A : \U$ and $\phi \vdash E : T \simeq A$ is written as: $$ \Glue \; [\phi \mapsto (T, E)] \; A$$ This can also be thought of as using univalence to get a path from the equivalence $E$ and then composing a new type using that path as the walls in the composition.
Copy link
Owner

@favonia favonia Apr 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In LaTeX, single quotes should be like `this'.

@favonia
Copy link
Owner

favonia commented May 5, 2020

The notes are great. I appreciate the drawing. My only suggestion is to make the picture float or move it before the paragraph so that people know what (1), (2), and (3) refer to. It might also be great to partition those long paragraphs describing the algorithms into smaller ones.

\newpage

\section{Composition of Glue Types}
We will also need to define the Kan operators for the \texttt{Glue} types. For the homogeneous composition we can construct a 3-cube where the top face has the first \texttt{Glue} type on the front edge (M) and the second \texttt{Glue} type as the left wall (N). This means that the corresponding edges on the bottom face will have the total elements retrieved by applying the eliminator on the two \texttt{Glue} types. To get the result of the homogeneous composition, we need to call hfill on M (1). This will give a line that we can use for the right wall of the top face. By applying \texttt{unglue} to this result, we can get the entire right face (2), at which point we have enough information to perform homogeneous composition on the bottom face of the cube (3). This will give us a \texttt{Glue} type in the back face, since we have the two points on top as well as the bottom edge.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the one of the longer paragraphs. The picture can be made floating or put before this paragraph.

\end{prooftree*}
This means that if we have a type $A : \U$ and this type is equivalent to the partial type $T$ under the constraint $\phi$, we can construct a \texttt{Glue} type that is judgementally equal to the type $T$ under the constraint $\phi$. \\

The introduction rule defines the only constructor for the \texttt{Glue} type called '\texttt{glue}'. It is as follows:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another quotation mistake.

\end{prooftree*}
This rule takes two arguments: an element of the partial type $T$ and a total element of the type $A$ which agrees with the image of $t$ judgementally. \\

The eliminator for a \texttt{Glue} type is called '\texttt{unglue}' and returns the base type that is equivalent to the partial element. More formally:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yet another quotation mistake.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants