-
Notifications
You must be signed in to change notification settings - Fork 173
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
Set-enriched categories #1467
Open
umedaikiti
wants to merge
62
commits into
UniMath:master
Choose a base branch
from
umedaikiti:cartesian-monoidal
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Set-enriched categories #1467
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
d884132
Uniqueness of general products (up to isomorphism)
langston-barrett 0d97d7f
Associativity of binary products
langston-barrett b222d1f
Fix notation conflict
langston-barrett c13d72e
monoidal structure on categories with products
langston-barrett e629c8b
Migrate proof of binary product associativity to binproducts.v
langston-barrett dabdc7b
Add Cartesian.v to CONTENTS.md
langston-barrett ca9bf06
fix errors
umedaikiti 38574c7
Merge branch 'master' into univalence-slices
nmvdw 2d319b9
Merge pull request #1457 from nmvdw/univalence-slices
benediktahrens 096421b
Street (op)fibs in Cat
nmvdw 70324d3
Merge branch 'master' into street-fib-in-cat
nmvdw d2273bf
Merge pull request #1458 from nmvdw/street-fib-in-cat
benediktahrens d04c63d
try to get the unicode notation table to look nice in ASCII viewing mode
DanGrayson 36b3874
Merge branch 'master' of github.com:UniMath/UniMath
DanGrayson 5ff1ae2
add some remarks about emacs to USAGE.md
DanGrayson c725e07
try to get the unicode notation table to look nice in ASCII viewing m…
DanGrayson f3bb66e
Duality involutions, rework discrete bicats
nmvdw 393e08c
Merge branch 'master' into duality-involution
nmvdw fc49805
Whoops....
nmvdw d239668
Remove comments
nmvdw 368f71d
Forgot to add a file
nmvdw 91d2bb0
Merge pull request #1460 from nmvdw/duality-involution
benediktahrens 6cc9f2e
Uniqueness of general products (up to isomorphism)
langston-barrett 8018188
Associativity of binary products
langston-barrett e1dd9d7
Fix notation conflict
langston-barrett 6c4c07b
monoidal structure on categories with products
langston-barrett 7e7b846
Migrate proof of binary product associativity to binproducts.v
langston-barrett 740c86e
Add Cartesian.v to CONTENTS.md
langston-barrett 2eeccd0
fix errors
umedaikiti 503a80e
remove obsolete file Cats.v with def of precat of cats
benediktahrens b76613d
dissolve DispCat/Aux
benediktahrens c08e9d4
Merge pull request #1461 from benediktahrens/issue-1404
DanGrayson 0da7f1c
Merge branch 'master' into issue-1421-sq
benediktahrens 9abbfb0
Merge pull request #1462 from benediktahrens/issue-1421-sq
DanGrayson ac60705
remove duplicate z_iso_inv_mor
benediktahrens 9ff746c
remove duplicate z_iso_is_z_isomorphism2
benediktahrens bb95381
remove comments
benediktahrens f0da7e2
arguments now implicit
benediktahrens c5f099d
arguments now implicit II
benediktahrens 78e12b4
arguments now implicit III
benediktahrens b089c47
arguments now implicit IV
benediktahrens 5362f3a
Merge pull request #1463 from benediktahrens/issue-948
benediktahrens ff504a7
mention tags-search in the INSTALL file
DanGrayson e4111db
move tags-search discussion from USAGE to INSTALL
DanGrayson dbda0c0
remove autorewrite
umedaikiti 6d7c516
Merge branch 'cartesian-monoidal' of github.com:umedaikiti/UniMath in…
umedaikiti 2ac52f4
add correspondence between HSET-enriched and ordinary categories
umedaikiti 126a7e9
improve proofs
umedaikiti 39ea615
Merge branch 'UniMath:master' into cartesian-monoidal
umedaikiti ea2e038
Merge branch 'UniMath:master' into cartesian-monoidal
umedaikiti 0a08dae
remove auto and autorewrite
umedaikiti 16ae6a5
move some parts to UniMath/Bicategories/EnrichedCategories
umedaikiti 18f4a6c
Merge branch 'master' into cartesian-monoidal
benediktahrens 7166753
Merge branch 'master' into cartesian-monoidal
benediktahrens 70c125f
Update UniMath/CategoryTheory/limits/binproducts.v
benediktahrens 9788301
Update UniMath/CategoryTheory/limits/binproducts.v
benediktahrens 2a7cdc5
Update UniMath/CategoryTheory/limits/binproducts.v
benediktahrens 5d42579
Update UniMath/CategoryTheory/limits/binproducts.v
benediktahrens 7c41460
Update UniMath/CategoryTheory/limits/binproducts.v
benediktahrens 98f0cc6
Merge branch 'master' into cartesian-monoidal
benediktahrens 41339c6
Merge branch 'master' into cartesian-monoidal
benediktahrens 9d5e0e4
Update UniMath/CategoryTheory/Monoidal/Cartesian.v
benediktahrens 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
Fix notation conflict
- Loading branch information
commit b222d1f2da3ee1567e18af0858c3d8b6a4d4e696
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -842,12 +842,12 @@ Section Assoc. | |
Context (BPC : BinProducts C). | ||
Context (hsC : has_homsets C). | ||
|
||
Local Notation "c '⊗' d" := (BinProductObject C (BPC c d)) (at level 75) : cat. | ||
Let π1 {x y} : C⟦x ⊗ y,x⟧ := BinProductPr1 _ (BPC x y). | ||
Let π2 {x y} : C⟦x ⊗ y,y⟧ := BinProductPr2 _ (BPC x y). | ||
Definition binprod_assoc (x y z : C) : C⟦(x ⊗ y) ⊗ z,x ⊗ (y ⊗ z)⟧ := | ||
Local Notation "c '⊠' d" := (BinProductObject C (BPC c d)) (at level 40) : cat. | ||
Let π1 {x y} : C⟦x ⊠ y,x⟧ := BinProductPr1 _ (BPC x y). | ||
Let π2 {x y} : C⟦x ⊠ y,y⟧ := BinProductPr2 _ (BPC x y). | ||
Definition binprod_assoc (x y z : C) : C⟦(x ⊠ y) ⊠ z, x ⊠ (y ⊠ z)⟧ := | ||
BinProductArrow _ _ (π1 · π1) (BinProductArrow _ _ (π1 · π2) π2). | ||
Let α {x y z} : C⟦(x ⊗ y) ⊗ z,x ⊗ (y ⊗ z)⟧ := binprod_assoc x y z. | ||
Let α {x y z} : C⟦(x ⊠ y) ⊠ z, x ⊠ (y ⊠ z)⟧ := binprod_assoc x y z. | ||
|
||
(** A type with three inhabitants, used for indexing ternary products *) | ||
Let three : UU := coprod unit bool. | ||
|
@@ -872,12 +872,12 @@ Section Assoc. | |
+ exact pc. | ||
Defined. | ||
|
||
Local Definition l_pr1 {x y z : C} : C ⟦(x ⊗ y) ⊗ z, x⟧ := π1 · π1. | ||
Local Definition l_pr2 {x y z : C} : C ⟦(x ⊗ y) ⊗ z, y⟧ := π1 · π2. | ||
Local Definition l_pr3 {x y z : C} : C ⟦(x ⊗ y) ⊗ z, z⟧ := π2. | ||
Local Definition l_pr1 {x y z : C} : C ⟦(x ⊠ y) ⊠ z, x⟧ := π1 · π1. | ||
Local Definition l_pr2 {x y z : C} : C ⟦(x ⊠ y) ⊠ z, y⟧ := π1 · π2. | ||
Local Definition l_pr3 {x y z : C} : C ⟦(x ⊠ y) ⊠ z, z⟧ := π2. | ||
|
||
Lemma left_assoc_ternary_product : | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might be good to make parts of this construction opaque. |
||
∏ a b c : C, isProduct _ _ (three_rec a b c) ((a ⊗ b) ⊗ c) | ||
∏ a b c : C, isProduct _ _ (three_rec a b c) ((a ⊠ b) ⊠ c) | ||
(three_ind l_pr1 l_pr2 l_pr3). | ||
Proof. | ||
intros a b c. | ||
|
@@ -915,12 +915,12 @@ Section Assoc. | |
Defined. | ||
|
||
|
||
Local Definition r_pr1 {x y z : C} : C ⟦x ⊗ (y ⊗ z), x⟧ := π1. | ||
Local Definition r_pr2 {x y z : C} : C ⟦x ⊗ (y ⊗ z), y⟧ := π2 · π1. | ||
Local Definition r_pr3 {x y z : C} : C ⟦x ⊗ (y ⊗ z), z⟧ := π2 · π2. | ||
Local Definition r_pr1 {x y z : C} : C ⟦x ⊠ (y ⊠ z), x⟧ := π1. | ||
Local Definition r_pr2 {x y z : C} : C ⟦x ⊠ (y ⊠ z), y⟧ := π2 · π1. | ||
Local Definition r_pr3 {x y z : C} : C ⟦x ⊠ (y ⊠ z), z⟧ := π2 · π2. | ||
|
||
Lemma right_assoc_ternary_product : | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might be good to make parts of this construction opaque. |
||
∏ a b c : C, isProduct _ _ (three_rec a b c) (a ⊗ (b ⊗ c)) | ||
∏ a b c : C, isProduct _ _ (three_rec a b c) (a ⊠ (b ⊠ c)) | ||
(three_ind r_pr1 r_pr2 r_pr3). | ||
Proof. | ||
intros a b c. | ||
|
@@ -957,15 +957,15 @@ Section Assoc. | |
apply hsC. | ||
Defined. | ||
|
||
Lemma binproduct_assoc_iso : ∏ a b c : C, iso (a ⊗ (b ⊗ c)) ((a ⊗ b) ⊗ c). | ||
Lemma binproduct_assoc_iso : ∏ a b c : C, iso (a ⊠ (b ⊠ c)) ((a ⊠ b) ⊠ c). | ||
Proof. | ||
intros. | ||
pose (p1 := mk_Product _ _ _ (a ⊗ (b ⊗ c)) _ | ||
pose (p1 := mk_Product _ _ _ (a ⊠ (b ⊠ c)) _ | ||
ltac:(apply right_assoc_ternary_product)). | ||
pose (p2 := mk_Product _ _ _ ((a ⊗ b) ⊗ c) _ | ||
pose (p2 := mk_Product _ _ _ ((a ⊠ b) ⊠ c) _ | ||
ltac:(apply left_assoc_ternary_product)). | ||
replace (a ⊗ (b ⊗ c)) with (ProductObject _ _ p1) by reflexivity. | ||
replace ((a ⊗ b) ⊗ c) with (ProductObject _ _ p2) by reflexivity. | ||
replace (a ⊠ (b ⊠ c)) with (ProductObject _ _ p1) by reflexivity. | ||
replace ((a ⊠ b) ⊠ c) with (ProductObject _ _ p2) by reflexivity. | ||
eapply mk_iso. | ||
eapply product_unique. | ||
Qed. | ||
|
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.
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.
There's already a type like this in Combinatorics/StandardFiniteSets.v