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

Propositional operations #1008

Merged
merged 161 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
10c61f8
no more `∀`
fredrik-bakke Jan 22, 2024
85694bd
make `_∧_` and `_∨_` take values in propositions
fredrik-bakke Jan 22, 2024
e849ddb
The constant function `const bool bool b` is not a retraction
fredrik-bakke Jan 22, 2024
b0b41dc
add `_iff_ : Prop → Prop → UU`
fredrik-bakke Jan 22, 2024
48b66bc
add `_and_` and `_or_`
fredrik-bakke Jan 22, 2024
b1e442e
remove `implication-Prop`
fredrik-bakke Jan 22, 2024
69254f7
add `_implies_ : Prop -> Prop -> UU`
fredrik-bakke Jan 22, 2024
297a643
try it out
fredrik-bakke Jan 22, 2024
e6953a6
fix
fredrik-bakke Jan 23, 2024
0193377
Merge branch 'master' into prop-ops
fredrik-bakke Mar 6, 2024
c57388b
restore `reflection`
fredrik-bakke Mar 6, 2024
8b43294
remove textual infix operators
fredrik-bakke Mar 6, 2024
ce234fb
it typechecks
fredrik-bakke Mar 7, 2024
c3d7f62
parenthesize index
fredrik-bakke Mar 7, 2024
6b1497a
add table for propositional logic
fredrik-bakke Mar 7, 2024
b89b538
include table for propositional logic
fredrik-bakke Mar 7, 2024
fb898e3
explain indexing scheme
fredrik-bakke Mar 7, 2024
532a2a1
try out new notation
fredrik-bakke Mar 7, 2024
50b60e0
pre-commit
fredrik-bakke Mar 7, 2024
8cfec30
fixies
fredrik-bakke Mar 7, 2024
5cc3db0
fix links
fredrik-bakke Mar 7, 2024
7be51df
wip disjunction
fredrik-bakke Mar 7, 2024
4a295ac
refactor disjunction to support general types
fredrik-bakke Mar 8, 2024
53d554b
`║_║₋₁`?
fredrik-bakke Mar 8, 2024
6ffe48f
`Σ₍₋₁₎`
fredrik-bakke Mar 8, 2024
57f4e85
test out notation
fredrik-bakke Mar 8, 2024
1dc8d36
pre-commit
fredrik-bakke Mar 8, 2024
c7d4bf2
pre-commit
fredrik-bakke Mar 8, 2024
46ddaeb
`⇒₍₋₁₎` -> `→₍₋₁₎`
fredrik-bakke Mar 8, 2024
259b73d
`⇔₍₋₁₎` -> `↔₍₋₁₎`
fredrik-bakke Mar 8, 2024
1e66ab9
factor out disjunction of propositions
fredrik-bakke Mar 8, 2024
a9c8712
intro rules disjunction prop
fredrik-bakke Mar 8, 2024
c508861
intro rules disjunction prop
fredrik-bakke Mar 8, 2024
adceb7e
conjunctions of types
fredrik-bakke Mar 8, 2024
395ee18
The universal property of disjunctions
fredrik-bakke Mar 8, 2024
d5043cc
The universal property of disjunctions of propositions
fredrik-bakke Mar 8, 2024
fe6321f
pre-commit
fredrik-bakke Mar 8, 2024
fb0ed7d
conjunction of propositions
fredrik-bakke Mar 8, 2024
7d4ec0b
pre-commit
fredrik-bakke Mar 8, 2024
2f39529
implication of types
fredrik-bakke Mar 8, 2024
656bedb
the homotopy preorder of types
fredrik-bakke Mar 8, 2024
cd66ad8
biimplication of types
fredrik-bakke Mar 8, 2024
3d964a3
Biimplication is equivalent to bidirectional implication
fredrik-bakke Mar 8, 2024
34ffe49
coinhabited types
fredrik-bakke Mar 8, 2024
284ac0b
exclusive sum
fredrik-bakke Mar 8, 2024
03058b1
universal quantification
fredrik-bakke Mar 8, 2024
81576a9
table of operations on propositions
fredrik-bakke Mar 8, 2024
61c7961
wording
fredrik-bakke Mar 8, 2024
6dbd7ce
how to write `║`
fredrik-bakke Mar 8, 2024
4d02622
wording
fredrik-bakke Mar 8, 2024
8b96674
fix definition exclusive disjunction of types
fredrik-bakke Mar 9, 2024
80a7d07
optimize imports 1
fredrik-bakke Mar 9, 2024
33a3ae5
fix links
fredrik-bakke Mar 9, 2024
36ee086
optimize imports 2
fredrik-bakke Mar 9, 2024
99fef61
is-prop-prop
fredrik-bakke Mar 9, 2024
6c52215
self-review part 1
fredrik-bakke Mar 9, 2024
c3b214f
finish self-review
fredrik-bakke Mar 9, 2024
e366281
define `xor-prop` in terms of `xor-Prop`
fredrik-bakke Mar 9, 2024
64daced
Merge branch 'master' into prop-ops
fredrik-bakke Mar 9, 2024
682a8e8
different explanations
fredrik-bakke Mar 10, 2024
2a7a4f5
Update src/foundation-core/propositions.lagda.md
fredrik-bakke Mar 10, 2024
3a170b0
Update src/foundation/propositions.lagda.md
fredrik-bakke Mar 10, 2024
9bac45f
Update src/foundation/coinhabited-types.lagda.md
fredrik-bakke Mar 10, 2024
5bd58e3
Update src/foundation/coinhabited-types.lagda.md
fredrik-bakke Mar 10, 2024
b31c82d
Update src/foundation/booleans.lagda.md
fredrik-bakke Mar 10, 2024
7363cda
Update src/foundation/booleans.lagda.md
fredrik-bakke Mar 10, 2024
3642cd0
Update src/foundation/coinhabited-types.lagda.md
fredrik-bakke Mar 10, 2024
2f3de6b
review
fredrik-bakke Mar 10, 2024
34c74cf
suffix to prefix `prop`
fredrik-bakke Mar 10, 2024
2ed837d
fix axiom of choice
fredrik-bakke Mar 10, 2024
454b142
fix coinhabitedness
fredrik-bakke Mar 10, 2024
fe7a622
pre-commit
fredrik-bakke Mar 10, 2024
548d4e3
Update disjunction.lagda.md
fredrik-bakke Mar 10, 2024
de6d8b7
Merge branch 'master' into prop-ops
fredrik-bakke Mar 11, 2024
337e84f
`equiv-prop` -> `equiv-is-prop`
fredrik-bakke Mar 12, 2024
77a87cc
fix conjunction
fredrik-bakke Mar 13, 2024
599a8bf
typos isomorphisms in categories
fredrik-bakke Mar 13, 2024
18e04b3
unique existence take one
fredrik-bakke Mar 13, 2024
b455799
link between large locale of propositions and propositional resizing
fredrik-bakke Mar 13, 2024
452843b
add external link to bracket type in `propositional-truncations`
fredrik-bakke Mar 13, 2024
ce7587d
fix universal quantification take 1
fredrik-bakke Mar 13, 2024
dad0737
fix existential quantification take 1
fredrik-bakke Mar 13, 2024
d9aa039
renamings existential quantification
fredrik-bakke Mar 13, 2024
4fff066
renamings unique existential quantification
fredrik-bakke Mar 13, 2024
f393791
components unique existence
fredrik-bakke Mar 13, 2024
f851277
`exists A (trunc-Prop ∘ B) ↔ exists-type-family A B`
fredrik-bakke Mar 13, 2024
4d89535
fix disjunction take 1
fredrik-bakke Mar 13, 2024
a37bb8c
LPO fixes
fredrik-bakke Mar 13, 2024
c85b6bc
more links!
fredrik-bakke Mar 13, 2024
f74186f
fix exclusive disjunction take 1?
fredrik-bakke Mar 13, 2024
e174ecb
rename `unique-existence` to `uniqueness-quantification`
fredrik-bakke Mar 13, 2024
632987b
update proposition operations table
fredrik-bakke Mar 13, 2024
286f7fe
initial fixes negation
fredrik-bakke Mar 13, 2024
be64ce2
initial fixes negation
fredrik-bakke Mar 13, 2024
af50cfa
mere logical consequences -> mere functions
fredrik-bakke Mar 13, 2024
aab1371
remove notation mere logical equivalences
fredrik-bakke Mar 13, 2024
0bc4593
fixes
fredrik-bakke Mar 13, 2024
9183f06
The impredicative encoding of the empty type
fredrik-bakke Mar 13, 2024
4d110d9
fix large locale of propositions
fredrik-bakke Mar 13, 2024
e65cf38
remove `_∨_` and `_⊻_` and `Π₍₋₁₎` and `_×₍₋₁₎_`
fredrik-bakke Mar 13, 2024
1b2d472
good bye `₍₋₁₎`
fredrik-bakke Mar 13, 2024
52fbc66
good bye `₍₋₁₎`
fredrik-bakke Mar 13, 2024
22aca4e
BUG: concepts macro doesn't recognize `_+_` data type
fredrik-bakke Mar 13, 2024
f1f31ae
Merge branch 'master' into prop-ops
fredrik-bakke Mar 13, 2024
3a14700
table
fredrik-bakke Mar 13, 2024
59930a3
use "correct" version of existential quantification
fredrik-bakke Mar 14, 2024
4f49776
pre-commit
fredrik-bakke Mar 14, 2024
37f59f8
`forall` -> `for-all`
fredrik-bakke Mar 14, 2024
220beb5
more nitpickery
fredrik-bakke Mar 14, 2024
af63df4
modules `impredicative-encodings`
fredrik-bakke Mar 14, 2024
49872af
beep boop
fredrik-bakke Mar 14, 2024
499f15f
boop beep
fredrik-bakke Mar 14, 2024
e1f4b8e
Merge branch 'master' into prop-ops
fredrik-bakke Mar 14, 2024
aa55166
fix `universal-property-for-all`
fredrik-bakke Mar 14, 2024
1e03b03
fix disambiguation universal quantification
fredrik-bakke Mar 14, 2024
6560645
add wikidata labels
fredrik-bakke Mar 14, 2024
95e672a
lower case `type`
fredrik-bakke Mar 14, 2024
795c8e8
Update src/foundation/conjunction.lagda.md
fredrik-bakke Mar 14, 2024
67bbd4f
Merge branch 'master' into prop-ops
fredrik-bakke Mar 14, 2024
1c09fd7
Update src/foundation/uniqueness-quantification.lagda.md
fredrik-bakke Mar 16, 2024
70acc55
Update src/foundation/uniqueness-quantification.lagda.md
fredrik-bakke Mar 16, 2024
8fbdd64
Update src/foundation/existential-quantification.lagda.md
fredrik-bakke Mar 16, 2024
9b5b09c
`exists-type-family` -> `exists-structure`
fredrik-bakke Mar 16, 2024
d9e905f
exists smaller and larger
fredrik-bakke Mar 16, 2024
83f5ec6
fixes
fredrik-bakke Mar 16, 2024
50d5156
`is-equiv-is-logical-equivalence`
fredrik-bakke Mar 16, 2024
a2000bc
more fixes
fredrik-bakke Mar 16, 2024
fdd4253
import
fredrik-bakke Mar 16, 2024
b2667ef
more review
fredrik-bakke Mar 17, 2024
9ad5c33
conjunction advice
fredrik-bakke Mar 17, 2024
e951383
`neg-prop-type` -> `neg-Prop'`
fredrik-bakke Mar 17, 2024
aaf6f5b
names disjunction of types
fredrik-bakke Mar 17, 2024
dd4db6e
explain conflation disjunction
fredrik-bakke Mar 17, 2024
fcd8e21
indexed counterparts
fredrik-bakke Mar 17, 2024
abde6b6
more fixes
fredrik-bakke Mar 17, 2024
354e281
`neg-type-Prop`?
fredrik-bakke Mar 17, 2024
7cf8577
just small impredicative empty
fredrik-bakke Mar 17, 2024
f109bd5
move `equiv-iff` stuff to `logical-equivalences`
fredrik-bakke Mar 18, 2024
2129823
review
fredrik-bakke Mar 18, 2024
97acdaa
`neg-type-Prop` -> `neg-Prop'`
fredrik-bakke Mar 20, 2024
51398f4
Merge branch 'master' into prop-ops
fredrik-bakke Mar 20, 2024
a18f52b
Revert "`neg-type-Prop` -> `neg-Prop'`"
fredrik-bakke Mar 20, 2024
fca7298
Update src/foundation/limited-principle-of-omniscience.lagda.md
fredrik-bakke Mar 24, 2024
54cb3a4
Update src/foundation/logical-equivalences.lagda.md
fredrik-bakke Mar 24, 2024
77c54ac
Update src/foundation/impredicative-encodings.lagda.md
fredrik-bakke Mar 24, 2024
d6e632d
comments
fredrik-bakke Mar 24, 2024
80ef4fc
fix `trans`
fredrik-bakke Mar 24, 2024
c634d9d
`symmetric`
fredrik-bakke Mar 24, 2024
581c886
Merge branch 'master' into prop-ops
fredrik-bakke Mar 24, 2024
a44ce7a
injective maps between sets, and other review comments
fredrik-bakke Mar 24, 2024
0dfe6d4
???
fredrik-bakke Mar 24, 2024
4271638
fixed!
fredrik-bakke Mar 24, 2024
e433edc
pre-commit
fredrik-bakke Mar 24, 2024
02065de
fix links
fredrik-bakke Apr 6, 2024
347cf44
Merge branch 'master' into prop-ops
fredrik-bakke Apr 6, 2024
827736d
fix merge conflicts
fredrik-bakke Apr 6, 2024
10689d1
easy comments
fredrik-bakke Apr 11, 2024
60e5578
medium-level comments
fredrik-bakke Apr 11, 2024
988dc2d
paste table
fredrik-bakke Apr 11, 2024
50db9a2
Merge branch 'master' into prop-ops
fredrik-bakke Apr 11, 2024
4e1cea2
fix merging conflicts
fredrik-bakke Apr 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions MIXFIX-OPERATORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,22 +163,22 @@ Below, we outline a list of general rules when assigning associativities.

## Full table of assigned precedences

| Precedence level | Operators |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 50 | Unary nonparametric operators. This class is currently empty |
| 45 | Exponentiative arithmetic operators |
| 40 | Multiplicative arithmetic operators |
| 36 | Subtractive arithmetic operators |
| 35 | Additive arithmetic operators |
| 30 | Relational arithmetic operators like`_≤-ℕ_` and `_<-ℕ_` |
| 25 | Parametric unary operators. This class is currently empty |
| 20 | Parametric exponentiative operators. This class is currently empty |
| 17 | Left homotopy whiskering `_·l_` |
| 16 | Right homotopy whiskering `_·r_` |
| 15 | Parametric multiplicative operators like `_×_`,`_×∗_`, `_∧_`, `_∧∗_`, function composition operators like `_∘_`,`_∘∗_`, `_∘e_`, and `_∘iff_`, concatenation operators like `_∙_` and `_∙h_` |
| 10 | Parametric additive operators like `_+_`, `_∨_`, `_∨∗_`, list concatenation, monadic bind operators for the type checking monad |
| 6 | Parametric relational operators like `_=_`, `_~_`, `_≃_`, and `_↔_`, elementhood relations, subtype relations |
| 5 | Directed function type-like formation operators, e.g. `_⇒_`, `_→∗_`, `__`, `__`, `_↪ᵈ_`, and `_⊆_` |
| 3 | The pairing operators `_,_` and `_,ω_` |
| 0-1 | Reasoning syntaxes |
| -∞ | Function type formation `_→_` |
| Precedence level | Operators |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 50 | Unary nonparametric operators. This class is currently empty |
| 45 | Exponentiative arithmetic operators |
| 40 | Multiplicative arithmetic operators |
| 36 | Subtractive arithmetic operators |
| 35 | Additive arithmetic operators |
| 30 | Relational arithmetic operators like`_≤-ℕ_` and `_<-ℕ_` |
| 25 | Parametric unary operators like `¬_` and `¬¬_` |
| 20 | Parametric exponentiative operators. This class is currently empty |
| 17 | Left homotopy whiskering `_·l_` |
| 16 | Right homotopy whiskering `_·r_` |
| 15 | Parametric multiplicative operators like `_×_`,`_×∗_`, `_∧_`, `_∧∗_`, `_*_`, function composition operators like `_∘_`,`_∘∗_`, `_∘e_`, and `_∘iff_`, concatenation operators like `_∙_` and `_∙h_` |
| 10 | Parametric additive operators like `_+_`, `_∨_`, `_∨∗_`, list concatenation, monadic bind operators for the type checking monad |
| 6 | Parametric relational operators like `_=_`, `_~_`, `_≃_`, `_⇔_`, and `_↔_`, elementhood relations, subtype relations |
| 5 | Directed function type-like formation operators, e.g. `_⇒_`, `__`, `_→∗_`, `__`, `_↪ᵈ_`, and `_⊆_` |
| 3 | The pairing operators `_,_` and `_,ω_` |
| 0-1 | Reasoning syntaxes |
| -∞ | Function type formation `_→_` |
5 changes: 3 additions & 2 deletions src/category-theory/categories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ open import foundation.cartesian-product-types
open import foundation.dependent-pair-types
open import foundation.equivalences
open import foundation.identity-types
open import foundation.logical-equivalences
open import foundation.propositions
open import foundation.sets
open import foundation.strictly-involutive-identity-types
Expand Down Expand Up @@ -312,7 +313,7 @@ module _
is-equiv-is-category-is-surjective-iso-eq-Preunivalent-Category :
is-equiv is-category-is-surjective-iso-eq-Preunivalent-Category
is-equiv-is-category-is-surjective-iso-eq-Preunivalent-Category =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-surjective-iso-eq-Precategory
( precategory-Preunivalent-Category C))
( is-prop-is-category-Precategory (precategory-Preunivalent-Category C))
Expand All @@ -321,7 +322,7 @@ module _
is-equiv-is-surjective-iso-eq-is-category-Preunivalent-Category :
is-equiv is-surjective-iso-eq-is-category-Preunivalent-Category
is-equiv-is-surjective-iso-eq-is-category-Preunivalent-Category =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-category-Precategory (precategory-Preunivalent-Category C))
( is-prop-is-surjective-iso-eq-Precategory
( precategory-Preunivalent-Category C))
Expand Down
4 changes: 2 additions & 2 deletions src/category-theory/coproducts-in-precategories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ open import foundation.dependent-pair-types
open import foundation.identity-types
open import foundation.iterated-dependent-product-types
open import foundation.propositions
open import foundation.unique-existence
open import foundation.uniqueness-quantification
open import foundation.universe-levels
```

Expand All @@ -39,7 +39,7 @@ module _
(z : obj-Precategory C)
(f : hom-Precategory C x z) →
(g : hom-Precategory C y z) →
∃!
uniquely-exists-structure
( hom-Precategory C p z)
( λ h →
( comp-hom-Precategory C h l = f) ×
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ open import foundation.dependent-pair-types
open import foundation.equivalences
open import foundation.function-extensionality
open import foundation.identity-types
open import foundation.logical-equivalences
open import foundation.propositions
open import foundation.sets
open import foundation.strictly-involutive-identity-types
Expand Down Expand Up @@ -215,7 +216,7 @@ module _
(f : hom-Π-Large-Precategory I C x y) →
is-equiv (is-fiberwise-iso-is-iso-Π-Large-Precategory f)
is-equiv-is-fiberwise-iso-is-iso-Π-Large-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-iso-Large-Precategory (Π-Large-Precategory I C) f)
( is-prop-Π (λ i → is-prop-is-iso-Large-Precategory (C i) (f i)))
( is-iso-is-fiberwise-iso-Π-Large-Precategory f)
Expand All @@ -233,7 +234,7 @@ module _
(f : hom-Π-Large-Precategory I C x y) →
is-equiv (is-iso-is-fiberwise-iso-Π-Large-Precategory f)
is-equiv-is-iso-is-fiberwise-iso-Π-Large-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-Π (λ i → is-prop-is-iso-Large-Precategory (C i) (f i)))
( is-prop-is-iso-Large-Precategory (Π-Large-Precategory I C) f)
( is-fiberwise-iso-is-iso-Π-Large-Precategory f)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ open import foundation.dependent-pair-types
open import foundation.equivalences
open import foundation.function-extensionality
open import foundation.identity-types
open import foundation.logical-equivalences
open import foundation.propositions
open import foundation.sets
open import foundation.strictly-involutive-identity-types
Expand Down Expand Up @@ -183,7 +184,7 @@ module _
(f : hom-Π-Precategory I C x y) →
is-equiv (is-fiberwise-iso-is-iso-Π-Precategory f)
is-equiv-is-fiberwise-iso-is-iso-Π-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-iso-Precategory (Π-Precategory I C) f)
( is-prop-Π (λ i → is-prop-is-iso-Precategory (C i) (f i)))
( is-iso-is-fiberwise-iso-Π-Precategory f)
Expand All @@ -201,7 +202,7 @@ module _
(f : hom-Π-Precategory I C x y) →
is-equiv (is-iso-is-fiberwise-iso-Π-Precategory f)
is-equiv-is-iso-is-fiberwise-iso-Π-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-Π (λ i → is-prop-is-iso-Precategory (C i) (f i)))
( is-prop-is-iso-Precategory (Π-Precategory I C) f)
( is-fiberwise-iso-is-iso-Π-Precategory f)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ module _
Π-Prop
( obj-Precategory D)
( λ y →
-Prop
exists-structure-Prop
( obj-Precategory C)
( λ x → iso-Precategory D (obj-functor-Precategory C D F x) y))

is-essentially-surjective-functor-Precategory : UU (l1 ⊔ l3 ⊔ l4)
is-essentially-surjective-functor-Precategory =
( y : obj-Precategory D) →
∃ ( obj-Precategory C)
exists-structure
( obj-Precategory C)
( λ x → iso-Precategory D (obj-functor-Precategory C D F x) y)

is-prop-is-essentially-surjective-functor-Precategory :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ open import category-theory.products-in-precategories
open import foundation.action-on-identifications-functions
open import foundation.dependent-pair-types
open import foundation.identity-types
open import foundation.unique-existence
open import foundation.uniqueness-quantification
open import foundation.universe-levels
```

Expand Down Expand Up @@ -47,7 +47,7 @@ module _
is-exponential-obj-Precategory x y e ev =
(z : obj-Precategory C)
(f : hom-Precategory C (object-product-obj-Precategory C p z x) y) →
∃!
uniquely-exists-structure
( hom-Precategory C z e)
( λ g →
comp-hom-Precategory C ev
Expand Down
6 changes: 4 additions & 2 deletions src/category-theory/faithful-maps-precategories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ open import foundation.equivalences
open import foundation.function-types
open import foundation.injective-maps
open import foundation.iterated-dependent-product-types
open import foundation.logical-equivalences
open import foundation.propositions
open import foundation.sets
open import foundation.universe-levels
```

Expand Down Expand Up @@ -156,15 +158,15 @@ module _
is-equiv-is-injective-hom-is-faithful-map-Precategory :
is-equiv is-injective-hom-is-faithful-map-Precategory
is-equiv-is-injective-hom-is-faithful-map-Precategory =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-faithful-map-Precategory C D F)
( is-prop-is-injective-hom-map-Precategory C D F)
( is-faithful-is-injective-hom-map-Precategory)

is-equiv-is-faithful-is-injective-hom-map-Precategory :
is-equiv is-faithful-is-injective-hom-map-Precategory
is-equiv-is-faithful-is-injective-hom-map-Precategory =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-injective-hom-map-Precategory C D F)
( is-prop-is-faithful-map-Precategory C D F)
( is-injective-hom-is-faithful-map-Precategory)
Expand Down
2 changes: 1 addition & 1 deletion src/category-theory/isomorphisms-in-categories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ module _
### The type of isomorphisms form a set

The type of isomorphisms between objects `x y : A` is a
[subtype](foundation-core.subtypes.md) of the [foundation-core.sets.md)
[subtype](foundation-core.subtypes.md) of the [set](foundation-core.sets.md)
`hom x y` since being an isomorphism is a proposition.

```agda
Expand Down
2 changes: 1 addition & 1 deletion src/category-theory/isomorphisms-in-precategories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ module _
### The type of isomorphisms form a set

The type of isomorphisms between objects `x y : A` is a
[subtype](foundation-core.subtypes.md) of the [foundation-core.sets.md)
[subtype](foundation-core.subtypes.md) of the [set](foundation-core.sets.md)
`hom x y` since being an isomorphism is a proposition.

```agda
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ open import foundation.action-on-identifications-functions
open import foundation.cartesian-product-types
open import foundation.dependent-pair-types
open import foundation.identity-types
open import foundation.unique-existence
open import foundation.uniqueness-quantification
open import foundation.universe-levels
```

Expand Down Expand Up @@ -43,7 +43,7 @@ module _
(x : obj-Precategory C)
(q : hom-Precategory C t x)
(f : hom-Precategory C x x) →
∃!
uniquely-exists-structure
( hom-Precategory C n x)
( λ u →
( comp-hom-Precategory C u z = q) ×
Expand Down
5 changes: 3 additions & 2 deletions src/category-theory/precategory-of-functors.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ open import foundation.equivalences
open import foundation.function-extensionality
open import foundation.functoriality-dependent-pair-types
open import foundation.identity-types
open import foundation.logical-equivalences
open import foundation.propositions
open import foundation.strictly-involutive-identity-types
open import foundation.universe-levels
Expand Down Expand Up @@ -199,7 +200,7 @@ module _
(f : natural-transformation-Precategory C D F G) →
is-equiv (is-iso-functor-is-natural-isomorphism-Precategory f)
is-equiv-is-iso-functor-is-natural-isomorphism-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-natural-isomorphism-Precategory C D F G f)
( is-prop-is-iso-Precategory
( functor-precategory-Precategory C D) {F} {G} f)
Expand All @@ -209,7 +210,7 @@ module _
(f : natural-transformation-Precategory C D F G) →
is-equiv (is-natural-isomorphism-is-iso-functor-Precategory f)
is-equiv-is-natural-isomorphism-is-iso-functor-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-iso-Precategory
( functor-precategory-Precategory C D) {F} {G} f)
( is-prop-is-natural-isomorphism-Precategory C D F G f)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ open import foundation.equivalences
open import foundation.function-extensionality
open import foundation.functoriality-dependent-pair-types
open import foundation.identity-types
open import foundation.logical-equivalences
open import foundation.propositions
open import foundation.strictly-involutive-identity-types
open import foundation.universe-levels
Expand Down Expand Up @@ -199,7 +200,7 @@ module _
(f : natural-transformation-map-Precategory C D F G) →
is-equiv (is-iso-map-is-natural-isomorphism-map-Precategory f)
is-equiv-is-iso-map-is-natural-isomorphism-map-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-natural-isomorphism-map-Precategory C D F G f)
( is-prop-is-iso-Precategory
( map-precategory-Precategory C D) {F} {G} f)
Expand All @@ -209,7 +210,7 @@ module _
(f : natural-transformation-map-Precategory C D F G) →
is-equiv (is-natural-isomorphism-map-is-iso-map-Precategory f)
is-equiv-is-natural-isomorphism-map-is-iso-map-Precategory f =
is-equiv-is-prop
is-equiv-has-converse-is-prop
( is-prop-is-iso-Precategory
( map-precategory-Precategory C D) {F} {G} f)
( is-prop-is-natural-isomorphism-map-Precategory C D F G f)
Expand Down
9 changes: 6 additions & 3 deletions src/category-theory/products-in-precategories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ open import foundation.dependent-pair-types
open import foundation.identity-types
open import foundation.iterated-dependent-product-types
open import foundation.propositions
open import foundation.unique-existence
open import foundation.uniqueness-quantification
open import foundation.universe-levels
```

Expand Down Expand Up @@ -52,8 +52,11 @@ module _
(z : obj-Precategory C)
(f : hom-Precategory C z x) →
(g : hom-Precategory C z y) →
(∃! (hom-Precategory C z p) λ h →
(comp-hom-Precategory C l h = f) × (comp-hom-Precategory C r h = g))
( uniquely-exists-structure
( hom-Precategory C z p)
( λ h →
( comp-hom-Precategory C l h = f) ×
( comp-hom-Precategory C r h = g)))

product-obj-Precategory : obj-Precategory C → obj-Precategory C → UU (l1 ⊔ l2)
product-obj-Precategory x y =
Expand Down
Loading
Loading