-
Notifications
You must be signed in to change notification settings - Fork 201
Add transport lemmas for morphisms to Category/Core #2299
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
Conversation
Move transport lemmas from separate file to Core.v per PR HoTT#2298 review - @jdchristensen Changes: - Add transport_compose_morphism and transport_compose_both_inverse to Category/Core.v - Remove TransportMorphisms.v from Additive folder - Use Definition with pattern matching instead of Lemma with destruct - Drop redundant lemmas (moveL_transport_V already exists) Extracted from stable categories formalization (PR HoTT#2288). Tested with: make -f Makefile.coq
theories/Categories/Category/Core.v
Outdated
| (g o transport (fun U => morphism C U Y) p f)%morphism | ||
| := match p with idpath => idpath end. | ||
|
|
||
| (** Composing transported morphisms along inverse paths. *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the other PR, I had a suggestion about this comment. And now I realize that the name of this lemma also mentions "inverse", so should be changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for reviewing. I am going to change it to transport_compose_middle - please let me know if you think a different one is more appropriate.
Move parameter to previous line to keep near 80 character limit per HoTT style guide. Co-authored-by: Dan Christensen <[email protected]>
Move parameter to previous line to keep near 80 character limit per HoTT style guide. Co-authored-by: Dan Christensen <[email protected]>
The definition doesn't involve inverse paths, just transporting the middle object in a composition chain. Updated comment and name.
|
@jdchristensen Feedback addressed:
|
|
Thanks! |
Move transport lemmas from separate file to Core.v per PR #2298 review - @jdchristensen
Changes:
Extracted from stable categories formalization (PR #2288). Tested with: make -f Makefile.coq