-
Notifications
You must be signed in to change notification settings - Fork 76
Localcoequalizers #475
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
Localcoequalizers #475
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
d4fa986
The isomorphism between two coequalizers fits into a triangle
tillrampe 7236d64
Add a type/proposition expressing the existence of all coequalizers
tillrampe f78d033
Import more properties of coequalizers and hide some definitions to a…
tillrampe 51481b3
Add proof that split coequalizers are coequalizers
tillrampe ef26d28
Proof that a map between parallel pairs induces a map between the res…
tillrampe 9d1c420
Prove that a coequailzer remains coequalizer after replacing the obje…
tillrampe 48637b4
Prove that coequalizers commute with coequalizers
tillrampe dc1d945
Add a type/proposition expressing that a functor preserves coequalizers
tillrampe 90676f4
Add definition of a bicategory with local coequalizers
tillrampe 57a260d
Clean up open import prelude; add explicit using and avoid hiding
tillrampe 49c84e7
Shorten proof by using shorthands
tillrampe 3652cf2
Shorten proof by using shorthands
tillrampe 06c4a40
Shorten proof by using shorthands
tillrampe 7dfcff9
Shorten proof by using shorthands
tillrampe 570aa8a
Shorten proof by contracting two successive instances of assoc
tillrampe 38795e7
Shorten proof by using f' and g' as a shorthand
tillrampe b32a068
Renaming the category variable to avoid name clashes with variable na…
tillrampe 3248916
Shorten proof by using shorthands
tillrampe 237ae34
Shorten proof by using shorthands
tillrampe 0bf2dd6
Shorten proof by using shorthands
tillrampe e5a2917
Shorten proof by using shorthands
tillrampe 9c3da6b
Refine hole
tillrampe 9729c33
Shorten proof by using shorthands
tillrampe 73daeb3
Improve read flow by aligning code blocks
tillrampe ba306f5
Shorten proof by using shorthands
tillrampe 2ddaa2b
Remove trailing whitespace
tillrampe e112fa1
Shorten proof by using shorthands
tillrampe 285bf27
Add using to open command to keep name space clean
tillrampe b440872
Shorten open command to unify code: the module HomReasoning is alread…
tillrampe 10871f4
Align the proofs
tillrampe e23aa57
Don't open instances of coequalizers when it requires renaming
tillrampe f9e9a3e
Don't open instances of coequalizers when it requires renaming
tillrampe 704aa72
open Coeequalizer in the module MapBetweenCoequalizers
tillrampe 44587f7
Rename the components of coeqcoeq^f^i
tillrampe eb7fcfd
open Coequalizer in the module CoequalizerOfCoequalizer
tillrampe c8756b1
Add a comment explaining the naming convention
tillrampe b0f6438
Remove all implicit arguments that are not actually used
tillrampe ef3b33c
Remove implicit arguments that are not actually used
tillrampe 916bbc5
Lift parameters that are common to all functions in MapBetweenCoequal…
tillrampe 549075f
Gather lemmas about split coequalizers a module which is opened publi…
tillrampe 4cffe1f
Merge branch 'coequalizer' into localcoequalizers
tillrampe 6949a16
Remove the custom definition of pre-/post composition functor and use…
tillrampe c49c67b
Rename variables to improve readability and consistency
tillrampe 73e86e2
Place pre- and postcomposition of local coequalizers outside the reco…
tillrampe 3551a95
Rename the functions that pre- resp. postcompose a 1-cell with a loca…
tillrampe ab43832
Add using clauses to import commands
tillrampe debac42
Remove unnecessary import command
tillrampe 2363999
Open Coequalizer coeq in two constructions
tillrampe f96a29e
Open _\cong_ in the entire file
tillrampe ec4f727
Merge branch 'master' into localcoequalizers
JacquesCarette 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| {-# OPTIONS --without-K --safe #-} | ||
|
|
||
| open import Categories.Bicategory | ||
|
|
||
| module Categories.Bicategory.LocalCoequalizers {o ℓ e t} (𝒞 : Bicategory o ℓ e t) where | ||
|
|
||
| open import Categories.Diagram.Coequalizer using (Coequalizer; Coequalizers) | ||
| open import Level using (_⊔_) | ||
| open import Categories.Functor.Properties using (PreservesCoequalizers) | ||
| import Categories.Bicategory.Extras as Bicat | ||
| open Bicat 𝒞 | ||
|
|
||
|
|
||
| record LocalCoequalizers : Set (o ⊔ ℓ ⊔ e ⊔ t) where | ||
| field | ||
| localCoequalizers : (A B : Obj) → Coequalizers (hom A B) | ||
| precompPreservesCoequalizer : {A B E : Obj} → (f : E ⇒₁ A) | ||
| → PreservesCoequalizers (-⊚_ {E} {A} {B} f) | ||
| postcompPreservesCoequalizer : {A B E : Obj} → (f : B ⇒₁ E) | ||
| → PreservesCoequalizers (_⊚- {B} {E} {A} f) | ||
|
|
||
| open LocalCoequalizers | ||
|
|
||
| module _ (localcoeq : LocalCoequalizers) | ||
| {A B E : Obj} {X Y : A ⇒₁ B} {α β : X ⇒₂ Y} where | ||
|
|
||
| _coeq-◁_ : (coeq : Coequalizer (hom A B) α β) (f : E ⇒₁ A) | ||
| → Coequalizer (hom E B) (α ◁ f) (β ◁ f) | ||
| coeq coeq-◁ f = record | ||
| { obj = obj ∘₁ f | ||
| ; arr = arr ◁ f | ||
| ; isCoequalizer = precompPreservesCoequalizer localcoeq f {coeq = coeq} | ||
| } | ||
| where | ||
| open Coequalizer coeq | ||
|
|
||
| _▷-coeq_ : (f : B ⇒₁ E) (coeq : Coequalizer (hom A B) α β) | ||
| → Coequalizer (hom A E) (f ▷ α) (f ▷ β) | ||
| f ▷-coeq coeq = record | ||
| { obj = f ∘₁ obj | ||
| ; arr = f ▷ arr | ||
| ; isCoequalizer = postcompPreservesCoequalizer localcoeq f {coeq = coeq} | ||
| } | ||
| where | ||
| open Coequalizer coeq | ||
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.
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.