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

Refactor files about identity types and homotopies #1014

Merged
merged 155 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from 145 commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
52c1e0f
replace whisk\b with whisker
EgbertRijke Jan 29, 2024
0ac9514
replace htpy-right-whisker with right-whisker-htpy, and htpy-left-whi…
EgbertRijke Jan 29, 2024
b34b11a
replace whisker-htpy-inv-htpy with whisker-inv-htpy
EgbertRijke Jan 29, 2024
b6cbf11
replace whisker-comp with whisker-htpy
EgbertRijke Jan 29, 2024
fd1a8a6
replace associative-left/right-whisker-htpy with preserves-comp-left/…
EgbertRijke Jan 29, 2024
4e8c333
make pre-commit
EgbertRijke Jan 29, 2024
dc27e79
replace identification-left/right-whisker with left/right-whisker-ide…
EgbertRijke Jan 29, 2024
8c0b254
factoring out whiskering of identifications
EgbertRijke Jan 29, 2024
480a4ae
refactor
EgbertRijke Jan 29, 2024
89f0e61
moving file
EgbertRijke Jan 29, 2024
9f9bd6f
renaming imports
EgbertRijke Jan 29, 2024
01355e9
a bunch of refactoring
EgbertRijke Jan 29, 2024
1b24310
new file
EgbertRijke Jan 29, 2024
8fd598e
work
EgbertRijke Jan 29, 2024
42babf0
refactoring the action of functions on higher identifications
EgbertRijke Jan 29, 2024
3501d46
refactoring the action of functions on higher identifications
EgbertRijke Jan 29, 2024
3245ff8
adding idea section
EgbertRijke Jan 29, 2024
7a89f01
fix imports
EgbertRijke Jan 29, 2024
dbdc723
refactoring commuting squares of maps
EgbertRijke Jan 29, 2024
9aef0a2
fixing the order of arguments of pasting lemmas of commuting squares
EgbertRijke Jan 29, 2024
167a59e
make pre-commit
EgbertRijke Jan 29, 2024
9e71bd8
refactoring foundation-core.commuting-squares-identifications
EgbertRijke Jan 29, 2024
80147c1
more explaining
EgbertRijke Jan 29, 2024
28c194f
make pre-commit
EgbertRijke Jan 29, 2024
ec0550e
more explanations and diagrams
EgbertRijke Jan 29, 2024
f28203d
using action on higher identifications
EgbertRijke Jan 29, 2024
406c632
factoring out the action of maps on commuting triangles of identifica…
EgbertRijke Jan 30, 2024
5c2d109
further refactoring commuting triangles of identifications'
EgbertRijke Jan 30, 2024
b2b5727
compute map-coherence-triangle-identifications with refl on the right
EgbertRijke Jan 30, 2024
309638c
edits
EgbertRijke Jan 30, 2024
f3c1fab
make pre-commit
EgbertRijke Jan 30, 2024
dad9c26
edits
EgbertRijke Jan 30, 2024
810bebe
rename whisker-identification-Ω² to whisker-Ω²
EgbertRijke Jan 30, 2024
0c68fd4
removing superfluous entries
EgbertRijke Jan 30, 2024
fb97716
adding file about whiskering of higher hommotopies
EgbertRijke Jan 30, 2024
e05fbfa
make pre-commit
EgbertRijke Jan 30, 2024
752d8ba
renaming whiskering of higher homotopies
EgbertRijke Jan 30, 2024
5e2e182
trying to use left-whisker-htpy2 in places where I used ap2 before
EgbertRijke Jan 30, 2024
748f99e
closing parenthesis
EgbertRijke Jan 30, 2024
cfd18d2
edits
EgbertRijke Jan 30, 2024
6adf32c
make pre-commit
EgbertRijke Jan 30, 2024
c21d199
adding new files to the table about identity types
EgbertRijke Jan 30, 2024
fa752c2
unifying the duplicate entries for pastings of commuting squares of i…
EgbertRijke Jan 30, 2024
e49e5ce
unifying the duplicate entries for pastings of commuting squares of i…
EgbertRijke Jan 30, 2024
4cc4a8e
splicing commuting triangles of identifications
EgbertRijke Jan 30, 2024
8cf9a28
make pre-commit
EgbertRijke Jan 30, 2024
65c4a23
removing a bunch of ap concats
EgbertRijke Jan 30, 2024
4bce993
Merge branch 'master' of github.com:UniMath/agda-unimath into whisker
EgbertRijke Jan 31, 2024
eaf7af3
formatting
EgbertRijke Jan 31, 2024
edc4c3a
fix import
EgbertRijke Jan 31, 2024
1e9de32
setup for whiskering of commuting squares of identifications
EgbertRijke Jan 31, 2024
fa5aba5
make pre-commit
EgbertRijke Jan 31, 2024
110c111
edits
EgbertRijke Jan 31, 2024
87ee190
implementing whiskering in many files
EgbertRijke Jan 31, 2024
379ba7e
Merge branch 'master' of github.com:UniMath/agda-unimath into whisker
EgbertRijke Jan 31, 2024
d239ab2
renaming
EgbertRijke Jan 31, 2024
16b6099
in the middle of some work
EgbertRijke Jan 31, 2024
a4c7267
edits
EgbertRijke Jan 31, 2024
9c3121c
refactoring identity types
EgbertRijke Jan 31, 2024
6ffcaff
explanation
EgbertRijke Jan 31, 2024
8a034fa
make pre-commit
EgbertRijke Jan 31, 2024
fe3fd1e
concatenation lemmas for commuting squares of identifications
EgbertRijke Jan 31, 2024
144a497
make pre-commit
EgbertRijke Jan 31, 2024
5e0c38f
fix
EgbertRijke Feb 1, 2024
c1ff686
fix broken link
EgbertRijke Feb 1, 2024
0df50c5
finish a sentence
EgbertRijke Feb 1, 2024
d1a6240
make pre-commit
EgbertRijke Feb 1, 2024
993cc00
removing a duplicate sentence
EgbertRijke Feb 1, 2024
11d5e70
adding in some extra diagrams
EgbertRijke Feb 1, 2024
eb4994d
adding some extra corollaries
EgbertRijke Feb 1, 2024
ac6ab17
typos
EgbertRijke Feb 1, 2024
3c95ce3
shortening proofs of pasting lemmas of commuting squares of identific…
EgbertRijke Feb 1, 2024
79c35d3
removing more duplicates
EgbertRijke Feb 1, 2024
15a48ac
merging foundation-core and foundation files of commuting squares of …
EgbertRijke Feb 1, 2024
0a3f52f
make pre-commit
EgbertRijke Feb 1, 2024
16b9877
renaming horizontal concatenation of homotopies
EgbertRijke Feb 1, 2024
059ec25
fix name whisker-square-htpy to whisker-coherence-square-htpy
EgbertRijke Feb 1, 2024
d6ffa28
rename comp-htpy to concat-htpy
EgbertRijke Feb 1, 2024
8a9dafe
make pre-commit
EgbertRijke Feb 1, 2024
8d4e2a8
remove lossy-unification
EgbertRijke Feb 1, 2024
4e47643
uniform naming
EgbertRijke Feb 1, 2024
2cf5330
make pre-commit
EgbertRijke Feb 1, 2024
f65af31
wip
EgbertRijke Feb 1, 2024
f779897
general whiskering operations
EgbertRijke Feb 1, 2024
e4481f7
new scheme
EgbertRijke Feb 1, 2024
539b491
work
EgbertRijke Feb 1, 2024
2c0be80
work on lifting squares
EgbertRijke Feb 1, 2024
a5a337b
work
EgbertRijke Feb 2, 2024
9e4d1d8
work
EgbertRijke Feb 2, 2024
2177aa4
work
EgbertRijke Feb 2, 2024
c82391b
work
EgbertRijke Feb 3, 2024
0e97f4f
using double-whisker-comp
EgbertRijke Feb 3, 2024
a1d8f5e
higher homotopies of morphisms of arrows
EgbertRijke Feb 3, 2024
d33dcbf
solving the exercise for fredrik
EgbertRijke Feb 3, 2024
693d771
work
EgbertRijke Feb 3, 2024
e3b0e7f
The left unit law of concatenation of homotopies of morphisms of arrows
EgbertRijke Feb 3, 2024
ee511ce
work
EgbertRijke Feb 3, 2024
9f32284
work
EgbertRijke Feb 4, 2024
6ec3bac
the right unit law for concatenation of homotopies of morphisms of ar…
EgbertRijke Feb 4, 2024
47a6c7d
complete characterization of identity type of lifting squares
EgbertRijke Feb 4, 2024
28b76a4
complete refactoring of lifting squares
EgbertRijke Feb 4, 2024
f133d25
refactoring pullback-hom
EgbertRijke Feb 4, 2024
1a983af
implementing changes in orthogonal maps
EgbertRijke Feb 4, 2024
7bf3cda
It compiles again
EgbertRijke Feb 4, 2024
f7e785c
make pre-commit
EgbertRijke Feb 4, 2024
60c5912
fix broken links
EgbertRijke Feb 4, 2024
7b50668
make pre-commit
EgbertRijke Feb 4, 2024
f64eaec
resolving first batch of review comments
EgbertRijke Feb 5, 2024
c754ab3
make pre-commit
EgbertRijke Feb 5, 2024
887afb6
coherence-map-inv-is-invertible
EgbertRijke Feb 5, 2024
4d6d295
whiskering triangles of homotopies
EgbertRijke Feb 5, 2024
22bf080
make pre-commit
EgbertRijke Feb 5, 2024
3da108a
fixing some names
EgbertRijke Feb 5, 2024
3abe9e2
addressing duplications in function extensionality
EgbertRijke Feb 5, 2024
619becd
complete the removal of duplicate entries in function extensionality
EgbertRijke Feb 5, 2024
c90bab1
formatting dependent coforks
EgbertRijke Feb 5, 2024
c7afd14
address misnamings
EgbertRijke Feb 5, 2024
fcc1b54
addressing final comments
EgbertRijke Feb 5, 2024
e256ef5
add new file to table
EgbertRijke Feb 5, 2024
bb061ee
fix misspelled Agda names in concept macros
EgbertRijke Feb 5, 2024
573d9cf
improve namings of coherence-square-inv-... entries
EgbertRijke Feb 5, 2024
9cf3706
make pre-commit
EgbertRijke Feb 5, 2024
e98f6cc
resolve merge conflicts
EgbertRijke Feb 5, 2024
8988a6e
typos
EgbertRijke Feb 5, 2024
4db0da6
non- to non
EgbertRijke Feb 5, 2024
3c3158d
suggestions from the review
EgbertRijke Feb 5, 2024
867a349
more review suggestions
EgbertRijke Feb 5, 2024
292a150
make pre-commit
EgbertRijke Feb 5, 2024
1ec2cbb
review comments
EgbertRijke Feb 5, 2024
b29c36c
make pre-commit
EgbertRijke Feb 5, 2024
8942712
updating informal remarks about function extensionality
EgbertRijke Feb 5, 2024
090572e
add compute-htpy-eq-refl
EgbertRijke Feb 6, 2024
80eaeb7
Merge branch 'master' of github.com:UniMath/agda-unimath into whisker
EgbertRijke Feb 6, 2024
d442e30
`(_∙_)`
fredrik-bakke Feb 6, 2024
28cea10
line break
EgbertRijke Feb 6, 2024
e97048a
eq-pair-eq-fiber
EgbertRijke Feb 6, 2024
c2b40f9
edits
EgbertRijke Feb 6, 2024
b59e8b9
Update src/foundation/whiskering-homotopies-concatenation.lagda.md
EgbertRijke Feb 6, 2024
4e7896e
Update src/foundation/whiskering-homotopies-concatenation.lagda.md
EgbertRijke Feb 6, 2024
58ae443
Update src/foundation/whiskering-homotopies-concatenation.lagda.md
EgbertRijke Feb 6, 2024
adc703d
Update src/foundation/whiskering-homotopies-composition.lagda.md
EgbertRijke Feb 6, 2024
f7529cd
Update src/foundation/whiskering-homotopies-composition.lagda.md
EgbertRijke Feb 6, 2024
053b299
edit
EgbertRijke Feb 6, 2024
d70471b
Merge branch 'whisker' of github.com:EgbertRijke/agda-unimath into wh…
EgbertRijke Feb 6, 2024
52071b4
make pre-commit
EgbertRijke Feb 6, 2024
012d9cd
lifting structures of squares
EgbertRijke Feb 6, 2024
ac916e5
more eq-pair-eq-fiber
EgbertRijke Feb 6, 2024
cd47a0d
Update src/foundation/commuting-squares-of-homotopies.lagda.md
EgbertRijke Feb 6, 2024
c6069aa
making the library compile
EgbertRijke Feb 6, 2024
555074a
edits
EgbertRijke Feb 6, 2024
b20d392
coherence squares of homotopies
EgbertRijke Feb 6, 2024
84f100b
coherence squares homotopies
EgbertRijke Feb 6, 2024
1b3183c
Done
EgbertRijke Feb 6, 2024
22aa216
final comment
EgbertRijke Feb 6, 2024
3757f61
addressing wrong Agda field in concept macro
EgbertRijke Feb 6, 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
8 changes: 4 additions & 4 deletions FILE-CONVENTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ open import ... public

### Imports block

After the module declaration, include an Agda code block of all non-public
module imports starting with `<details><summary>Imports</summary>` and ending
with `</details>`. This block should only contain module imports and there
should have no further import statements after it. In the rendered markdown, the
After the module declaration, include an Agda code block of all nonpublic module
imports starting with `<details><summary>Imports</summary>` and ending with
`</details>`. This block should only contain module imports and there should
have no further import statements after it. In the rendered markdown, the
contents of this block will be hidden by default, but can be revealed by
clicking on _Imports_.

Expand Down
10 changes: 5 additions & 5 deletions MIXFIX-OPERATORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ accepted notation for widely used operators.
Mixfix operators can each be assigned a
[precedence level](https://agda.readthedocs.io/en/latest/language/mixfix-operators.html#precedence).
This can in principle be any signed fractional value, although we prefer them to
be non-negative integral values. The higher this value is, the higher precedence
be nonnegative integral values. The higher this value is, the higher precedence
the operator has, meaning it is evaluated before operators with lower
precedence. By default in Agda, an operator is assigned a precedence level of
`20`.
Expand Down Expand Up @@ -47,15 +47,15 @@ By default, an operator does not associate to either side.

We divide the different operators into broad classes, each assigned a range of
possible precedence levels. In broad terms, we discern between _parametric_ and
_non-parametric_ operators. The general rule is that non-parametric operator has
_nonparametric_ operators. The general rule is that nonparametric operator has
higher precedence than parametric operators. Parametric operators are operators
that take a universe level as one of their arguments. We consider an operator to
be parametric even if it only takes a universe level as an implicit argument.
Examples are the
[cartesian product type former`_×_`](foundation-core.cartesian-product-types.md),
the [identity type former `_=_`](foundation-core.identity-types.md), and the
[pairing operator `_,_`](foundation.dependent-pair-types.md). Examples of
non-parametric operators are
nonparametric operators are
[difference of integers `_-ℤ_`](elementary-number-theory.difference-integers.md),
[strict inequality on natural numbers `_<-ℕ_`](elementary-number-theory.strict-inequality-natural-numbers.md),
and
Expand Down Expand Up @@ -129,7 +129,7 @@ Below, we outline a list of general rules when assigning associativities.
to right. For instance, the expression `1 - 2 - 3` is computed as
`(1 - 2) - 3 = -1 - 3 = -4`, hence should be _left associative_. This applies
to addition, subtraction, multiplication, and division. Note that for
non-parametric exponentiation, we compute from right to left. I.e. `2 ^ 3 ^ 4`
nonparametric exponentiation, we compute from right to left. I.e. `2 ^ 3 ^ 4`
should compute as `2 ^ (3 ^ 4)`. Hence it will usually be _right associative_.

- **Arithmetic type formers** such as
Expand Down Expand Up @@ -165,7 +165,7 @@ Below, we outline a list of general rules when assigning associativities.

| Precedence level | Operators |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 50 | Unary non-parametric operators. This class is currently empty |
| 50 | Unary nonparametric operators. This class is currently empty |
| 45 | Exponentiative arithmetic operators |
| 40 | Multiplicative arithmetic operators |
| 36 | Subtractive arithmetic operators |
Expand Down
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ assets_version = "1.2.0" # DO NOT EDIT: Managed by `mdbook-catppuccin install`

[preprocessor.git-metadata]
command = "python3 ./scripts/preprocessor_git_metadata.py"
# Disable by default - it takes a non-trivial amount of time
# Disable by default - it takes a nontrivial amount of time
# Can be overriden by running
# `export MDBOOK_PREPROCESSOR__GIT_METADATA__ENABLE=true` in your shell
enable = false
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# We can reference the directory since we're using flakes,
# which copies the version-tracked files into the nix store
# before evaluation, # so we don't run into the issue with
# non-reproducible source paths as outlined here:
# nonreproducible source paths as outlined here:
# https://nix.dev/recipes/best-practices#reproducible-source-paths
src = ./.;

Expand Down
2 changes: 1 addition & 1 deletion scripts/even_indentation_conventions.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ def is_even_indentation(line):
print(*map(lambda kv: f' {kv[0]}: {kv[1]} lines',
sorted(offender_files.items(), key=lambda kv: kv[1])), sep='\n')
print(
f'\nTotal number of lines in library unevenly indented: {sum(offender_files.values())}.\n\nUneven indentation means that there is code indented by a non-multiple of the base indentation (2 spaces). If you haven\'t already, we suggest you set up your environment to more easily spot uneven indentation. For instance using VSCode\'s indent-rainbow extension.')
f'\nTotal number of lines in library unevenly indented: {sum(offender_files.values())}.\n\nUneven indentation means that there is code indented by a nonmultiple of the base indentation (2 spaces). If you haven\'t already, we suggest you set up your environment to more easily spot uneven indentation. For instance using VSCode\'s indent-rainbow extension.')

sys.exit(status)
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ module _
( map-inv-equiv-is-adjoint-pair-Large-Precategory H X2 Y2)
naturality-inv-equiv-is-adjoint-pair-Large-Precategory
H {X1 = X1} {X2} {Y1} {Y2} f g =
coherence-square-inv-horizontal
coherence-square-maps-inv-equiv-horizontal
( equiv-is-adjoint-pair-Large-Precategory H X1 Y1)
( λ h →
comp-hom-Large-Precategory D
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module _

### Associative composition operations in binary families of sets

We give a slightly non-standard definition of associativity, requiring an
We give a slightly nonstandard definition of associativity, requiring an
associativity witness in each direction. This is of course redundant as `inv` is
a [fibered involution](foundation.fibered-involutions.md) on
[identity types](foundation-core.identity-types.md). However, by recording both
Expand Down
2 changes: 1 addition & 1 deletion src/category-theory/nonunital-precategories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ module _

## Properties

### If the objects of a nonunital precategory are `k`-truncated for non-negative `k`, the total hom-type is `k`-truncated
### If the objects of a nonunital precategory are `k`-truncated for nonnegative `k`, the total hom-type is `k`-truncated

```agda
module _
Expand Down
2 changes: 1 addition & 1 deletion src/category-theory/precategories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ module _

## Properties

### If the objects of a precategory are `k`-truncated for non-negative `k`, the total hom-type is `k`-truncated
### If the objects of a precategory are `k`-truncated for nonnegative `k`, the total hom-type is `k`-truncated

```agda
module _
Expand Down
2 changes: 1 addition & 1 deletion src/category-theory/set-magmoids.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ module _

## Properties

### If the objects of a set-magmoid are `k`-truncated for non-negative `k`, the total hom-type is `k`-truncated
### If the objects of a set-magmoid are `k`-truncated for nonnegative `k`, the total hom-type is `k`-truncated

```agda
module _
Expand Down
2 changes: 1 addition & 1 deletion src/category-theory/simplex-category.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,6 @@ This remains to be formalized.

This remains to be formalized.

### There is a unique non-trivial involution on the simplex category
### There is a unique nontrivial involution on the simplex category

This remains to be formalized.
15 changes: 5 additions & 10 deletions src/category-theory/slice-precategories.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,8 @@ module _
map-inv-pullback-product-Slice-Precategory) ~ id
is-section-map-inv-pullback-product-Slice-Precategory
((Z , .(comp-hom-Precategory C f h₁)) , (h₁ , refl) , (h₂ , β₂) , q) =
eq-pair-Σ
( refl)
( eq-pair-Σ
( refl)
eq-pair-eq-fiber
( eq-pair-eq-fiber
( eq-type-subtype
( λ _ →
is-product-prop-Precategory
Expand All @@ -432,12 +430,9 @@ module _
map-pullback-product-Slice-Precategory) ~ id
is-retraction-map-inv-pullback-product-Slice-Precategory
( W , p₁ , p₂ , α , q) =
eq-pair-Σ
( refl)
( eq-pair-Σ
( refl)
( eq-pair-Σ
( refl)
eq-pair-eq-fiber
( eq-pair-eq-fiber
( eq-pair-eq-fiber
( eq-type-subtype
(λ _ → is-pullback-prop-Precategory C A X Y f g _ _ _ α)
( refl))))
Expand Down
2 changes: 1 addition & 1 deletion src/commutative-algebra/euclidean-domains.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ open import ring-theory.semirings
A **Euclidean domain** is an
[integral domain](commutative-algebra.integral-domains.md) `R` that has a
**Euclidean valuation**, i.e., a function `v : R → ℕ` such that for every
`x y : R`, if `y` is non-zero then there are `q r : R` with `x = q y + r` and
`x y : R`, if `y` is nonzero then there are `q r : R` with `x = q y + r` and
`v r < v y`.

## Definition
Expand Down
5 changes: 2 additions & 3 deletions src/commutative-algebra/local-commutative-rings.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ open import ring-theory.rings
## Idea

A **local ring** is a ring such that whenever a sum of elements is invertible,
then one of its summands is invertible. This implies that the non-invertible
then one of its summands is invertible. This implies that the noninvertible
elements form an ideal. However, the law of excluded middle is needed to show
that any ring of which the non-invertible elements form an ideal is a local
ring.
that any ring of which the noninvertible elements form an ideal is a local ring.

## Definition

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ If `x = 0`, then we can simply argue in `ℤ`. Otherwise, if `[y] | [z]` in
`x > u ≥ 0`. Therefore, there exists some integer `a ≥ 0` such that
`ax = uy - z`, or `ax = z - uy`. In the first case, we can extract the distance
condition we desire. In the other case, we have that `ax + uy = z`. This can be
written as `(a + y)x + (u - x)y = z`, so that the second term is non-positive.
written as `(a + y)x + (u - x)y = z`, so that the second term is nonpositive.
Then, in this case, we again can extract the distance condition we desire.

```agda
Expand Down
2 changes: 1 addition & 1 deletion src/elementary-number-theory/equality-integers.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ contraction-total-Eq-ℤ (inl x) (pair (inl y) e) =
( ap inl (eq-Eq-ℕ x y e))
( eq-is-prop (is-prop-Eq-ℕ x y))
contraction-total-Eq-ℤ (inr (inl star)) (pair (inr (inl star)) e) =
eq-pair-Σ refl (eq-is-prop is-prop-unit)
eq-pair-eq-fiber (eq-is-prop is-prop-unit)
contraction-total-Eq-ℤ (inr (inr x)) (pair (inr (inr y)) e) =
eq-pair-Σ
( ap (inr ∘ inr) (eq-Eq-ℕ x y e))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ pr1 (is-nontrivial-divisor-diagonal-ℕ n H) = H
pr2 (is-nontrivial-divisor-diagonal-ℕ n H) = refl-div-ℕ n
```

If `l` is a prime decomposition of `n`, then `l` is a list of non-trivial
If `l` is a prime decomposition of `n`, then `l` is a list of nontrivial
divisors of `n`.

```agda
Expand Down Expand Up @@ -701,11 +701,11 @@ pr1 (prime-decomposition-fundamental-theorem-arithmetic-list-ℕ x H) =
pr2 (prime-decomposition-fundamental-theorem-arithmetic-list-ℕ x H) =
is-prime-decomposition-list-fundamental-theorem-arithmetic-ℕ x H

le-one-is-non-empty-prime-decomposition-list-ℕ :
le-one-is-nonempty-prime-decomposition-list-ℕ :
(x : ℕ) (H : leq-ℕ 1 x) (y : ℕ) (l : list ℕ) →
is-prime-decomposition-list-ℕ x (cons y l) →
le-ℕ 1 x
le-one-is-non-empty-prime-decomposition-list-ℕ x H y l D =
le-one-is-nonempty-prime-decomposition-list-ℕ x H y l D =
concatenate-le-leq-ℕ
{x = 1}
{y = y}
Expand Down Expand Up @@ -861,7 +861,7 @@ eq-prime-decomposition-list-ℕ x H (cons y l) nil I J =
( contradiction-le-ℕ
( 1)
( x)
( le-one-is-non-empty-prime-decomposition-list-ℕ x H y l I)
( le-one-is-nonempty-prime-decomposition-list-ℕ x H y l I)
( leq-eq-ℕ
( x)
( 1)
Expand All @@ -871,7 +871,7 @@ eq-prime-decomposition-list-ℕ x H nil (cons y l) I J =
( contradiction-le-ℕ
( 1)
( x)
( le-one-is-non-empty-prime-decomposition-list-ℕ x H y l J)
( le-one-is-nonempty-prime-decomposition-list-ℕ x H y l J)
( leq-eq-ℕ
( x)
( 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ open import foundation.homotopies
open import foundation.identity-types
open import foundation.unit-type
open import foundation.universe-levels
open import foundation.whiskering-homotopies
open import foundation.whiskering-homotopies-composition

open import lists.lists

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ abstract

### The universal property of the integers

The non-dependent universal property of the integers is a special case of the
The nondependent universal property of the integers is a special case of the
dependent universal property applied to constant type families.

```agda
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ open import foundation.identity-types
open import foundation.structure-identity-principle
open import foundation.torsorial-type-families
open import foundation.universe-levels
open import foundation.whiskering-identifications-concatenation
```

</details>
Expand Down Expand Up @@ -112,7 +113,9 @@ module _
( pr2 (pr2 center-structure-preserving-map-ℕ) n ∙ ap f (α n)) =
( α (succ-ℕ n) ∙ pr2 (pr2 h) n)
γ n = ( ( inv right-unit) ∙
( ap (λ q → (ap f (α n) ∙ q)) (inv (left-inv (pr2 (pr2 h) n))))) ∙
( left-whisker-concat
( ap f (α n))
( inv (left-inv (pr2 (pr2 h) n))))) ∙
( inv
( assoc (ap f (α n)) (inv (pr2 (pr2 h) n)) (pr2 (pr2 h) n)))

Expand Down
Loading
Loading