-
Notifications
You must be signed in to change notification settings - Fork 93
Generalized Reedy categories, Direct categories #571
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
119e9d7
def: some useful functor reasoning tools
TOTBWF 72ec07b
def: mapping and reflecting liftings
TOTBWF fdbb10d
def: reflecting orthogonality
TOTBWF d75a148
def: restricting classes of morphisms along a functor
TOTBWF 3aa7a9b
def: reflecting orthogonal factorisations
TOTBWF bbc25d6
def: generalized Reedy categories, reflecting Reedy categories
TOTBWF ca7d528
def: direct categories
TOTBWF d3c318c
def: positive categories of generalized reedy cats are directed
TOTBWF 3828d5b
fix: prose fixes
TOTBWF 8c457d1
chore: address review comments
TOTBWF 44d6a5c
prose: bold definition of generalized Reedy structures
TOTBWF File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| --- | ||
| description: | | ||
| Direct categories. | ||
| --- | ||
|
|
||
| <!-- | ||
| ```agda | ||
| open import Cat.Functor.Conservative | ||
| open import Cat.Prelude | ||
|
|
||
| open import Data.Wellfounded.Properties | ||
| open import Data.Wellfounded.Base | ||
|
|
||
| import Cat.Reasoning | ||
| ``` | ||
| --> | ||
|
|
||
| ```agda | ||
| module Cat.Direct.Generalized where | ||
| ``` | ||
|
|
||
| # Generalized direct categories | ||
|
|
||
| :::{.definition #generalized-direct-category} | ||
| A [[precategory]] $\cD$ is **direct** if the relation | ||
|
|
||
| $$ | ||
| x \prec y := \exists(f : \cD(x, y)).\ \text{$f$ is not invertible} | ||
| $$ | ||
|
|
||
| is [[well-founded]]. | ||
| ::: | ||
|
|
||
| <!-- | ||
| ```agda | ||
| module _ {od ℓd} (D : Precategory od ℓd) where | ||
| private | ||
| module D = Cat.Reasoning D | ||
| ``` | ||
| --> | ||
|
|
||
| ```agda | ||
| record is-generalized-direct : Type (od ⊔ ℓd) where | ||
| _≺_ : D.Ob → D.Ob → Type ℓd | ||
| x ≺ y = ∃[ f ∈ D.Hom x y ] ¬ D.is-invertible f | ||
|
|
||
| field | ||
| ≺-wf : Wf _≺_ | ||
| ``` | ||
|
|
||
| ## Closure properties | ||
|
|
||
| <!-- | ||
| ```agda | ||
| module _ | ||
| {oc ℓc od ℓd} | ||
| {C : Precategory oc ℓc} {D : Precategory od ℓd} | ||
| (F : Functor C D) | ||
| where | ||
| ``` | ||
| --> | ||
|
|
||
| If $F : \cC \to \cD$ is a [[conservative functor]] and $\cD$ is a generalized | ||
| direct category, then $\cC$ is generalized direct as well. | ||
|
|
||
| ```agda | ||
| conservative→reflect-direct | ||
| : is-conservative F | ||
| → is-generalized-direct D | ||
| → is-generalized-direct C | ||
| conservative→reflect-direct F-conservative D-direct = C-direct where | ||
| ``` | ||
|
|
||
| <!-- | ||
| ```agda | ||
| module D where | ||
| open Cat.Reasoning D public | ||
| open is-generalized-direct D-direct public | ||
|
|
||
| open Functor F | ||
| open is-generalized-direct | ||
| ``` | ||
| --> | ||
|
|
||
| Note that if $F$ is conservative, then it also reflects non-invertibility | ||
| of morphisms. This lets us pull back well-foundedness of $F(x) \prec F(y)$ | ||
| in $\cD$ to well-foundedness of $x \prec y$ in $\cC$. | ||
|
|
||
| ```agda | ||
| C-direct : is-generalized-direct C | ||
| C-direct .≺-wf = | ||
| reflect-wf D.≺-wf F₀ $ rec! λ f ¬f-inv → | ||
| pure (F₁ f , ¬f-inv ⊙ F-conservative) | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.