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

Facts about Adjoints #439

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Facts about Adjoints #439

wants to merge 28 commits into from

Conversation

TOTBWF
Copy link
Collaborator

@TOTBWF TOTBWF commented Nov 5, 2024

Description

The following PR proves a bunch of random facts about adjoints. The most notable results are:

  • A characterization of when a left/right adjoint is full or faithful
  • A characterization of when a right adjoint is conservative
  • All of Borceux 3.6

This requires a bit of machinery to set up: in particular, we need a bit of theory about strong monos. In light of this,
I've factored out a lot of the proofs about strong epis into general results about orthogonal maps. I've also done a
naming/API standardization pass on StrongEpi, and renamed it to Strong.Epi to make Strong.Mono a bit more
well organized.

There are also a bunch of misc. reasoning combinator additions, including Cat.Natural.Reasoning.

Checklist

Before submitting a merge request, please check the items below:

  • I've read the contributing guidelines.
  • The imports of new modules have been sorted with support/sort-imports.hs (or nix run --experimental-features nix-command -f . sort-imports).
  • All new code blocks have "agda" as their language.

If your change affects many files without adding substantial content, and
you don't want your name to appear on those pages (for example, treewide
refactorings or reformattings), start the commit message and PR title with chore:.

@Lavenza
Copy link
Member

Lavenza commented Nov 5, 2024

@TOTBWF TOTBWF requested a review from plt-amy November 12, 2024 15:46
src/Cat/Morphism.lagda.md Outdated Show resolved Hide resolved
@TOTBWF
Copy link
Collaborator Author

TOTBWF commented Nov 25, 2024

The best order to review this in is probably:

  • *.Morphism and *.Reasoning
  • Cat.Morphism.StrongEpi rename
  • Cat.Adjoint.Properties
  • Cat.Adjojnt.Epireflective
  • Cat.Adjoint.Conservative

[strong epis compose]: Cat.Morphism.Strong.Epi.html#properties
```agda
strong-mono-∘
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be ∘-is-strong-mono?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, probably. We'd need to rename strong-epi-∘ as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok we also have monic-∘ and epic-∘; would be good to do, but perhaps out of scope?

@TOTBWF TOTBWF requested a review from plt-amy December 3, 2024 21:42
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.

3 participants