Skip to content

Commit

Permalink
Merge pull request #15 from SlimTim10/fix-typos/chapter5
Browse files Browse the repository at this point in the history
Fix typos in Chapter 5
  • Loading branch information
isovector authored Jan 12, 2024
2 parents 2172416 + 7af07e8 commit 2b0ff5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/book/Chapter5-Modular-Arithmetic.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ So what does it actually mean if $a = b \pmod{n}$? It means that these two
numbers have the same remainder when divided by `n`. But since we're dealing
with the natural numbers, we don't have any notion of division at hand. Instead,
we can phrase the problem as "if we subtract $a$ from $b$, the result should be
an integer multiple of `n`" That is, there should exist some `k : ` `type:ℤ`
an integer multiple of `n`". That is, there should exist some `k : ` `type:ℤ`
such that:

$$
Expand Down Expand Up @@ -494,7 +494,7 @@ We're now ready to show `def:≈-trans`:
where open ≡-Reasoning
```

Haven now shown reflexivity, symmetry, and transitivity, it's clear that
Having now shown reflexivity, symmetry, and transitivity, it's clear that
`type:_≈_` is an equivalence relation:

```agda
Expand Down Expand Up @@ -528,7 +528,7 @@ new preorder:
## Congruence of Addition

We're almost ready to build some interesting proofs; but we're going to need to
define a few more trivial ones first. Let's prove two more fact "by hand", the
define a few more trivial ones first. Let's prove two more facts "by hand", the
fact that $0 = n \pmod{n}$:

```agda
Expand Down Expand Up @@ -578,7 +578,7 @@ injective:
suc-injective-mod (≈-mod x y p) = ≈-mod x y (suc-injective p)
```

Give everything we've built, we can now show a major result, namely that
Given everything we've built, we can now show a major result, namely that
`def:_+_` also preserves `type:_≈_`:

```agda
Expand Down

0 comments on commit 2b0ff5d

Please sign in to comment.