Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transportComposite #681

Merged
merged 1 commit into from
Dec 21, 2021
Merged

Conversation

lpw25
Copy link
Contributor

@lpw25 lpw25 commented Dec 20, 2021

This PR just adds the following definition to Transport.agda:

-- transporting along a composite path is equivalent to transporting twice
transportComposite :  {ℓ} {A B C : Type ℓ} (p : A ≡ B) (q : B ≡ C) (x : A)
                  transport (p ∙ q) x ≡ transport q (transport p x)
transportComposite = substComposite (λ D  D)

It's a fairly fundamental property, and whilst substComposite already exists that can be hard to find for newcomers looking for a result about transport.

Copy link
Collaborator

@mortberg mortberg left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the contribution! I'll merge once the CI is finished

@mortberg mortberg merged commit 9f7f893 into agda:master Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants