Skip to content

Conversation

@CharlesCNorton
Copy link
Contributor

Move transport lemmas from separate file to Core.v per PR #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 #2288). Tested with: make -f Makefile.coq

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
(g o transport (fun U => morphism C U Y) p f)%morphism
:= match p with idpath => idpath end.

(** Composing transported morphisms along inverse paths. *)
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

CharlesCNorton and others added 3 commits July 14, 2025 16:55
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.
@CharlesCNorton
Copy link
Contributor Author

@jdchristensen Feedback addressed:

  • Applied both line wrapping suggestions
  • Renamed transport_compose_both_inverse to transport_compose_middle
  • Updated comment to reflect the change

@jdchristensen
Copy link
Collaborator

Thanks!

@jdchristensen jdchristensen merged commit 57bd439 into HoTT:master Jul 14, 2025
21 of 22 checks passed
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.

2 participants