Skip to content

Commit 0561a70

Browse files
authored
Fixed some typos (#981)
* Fixed a typo * Fixed a typo * Fixed a typo * Fixed a typo
1 parent a1f7848 commit 0561a70

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/plfa/part3/Soundness.lagda.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ about `M` and can therefore use `⊥` for the value of `M`.
234234

235235
Previously we showed that renaming variables preserves meaning. Now
236236
we prove the opposite, that it reflects meaning. That is,
237-
if `δ ⊢ rename ρ M ↓ v`, then `γ ⊢ M ↓ v`, where `(δ ∘ ρ) `⊑ γ`.
237+
if `δ ⊢ rename ρ M ↓ v`, then `γ ⊢ M ↓ v`, where ``(δ ∘ ρ) `⊑ γ``.
238238

239239
First, we need a variant of a lemma given earlier.
240240
```agda
@@ -355,7 +355,7 @@ same-const-env : ∀{Γ} {x : Γ ∋ ★} {v} → (const-env x v) x ≡ v
355355
same-const-env {x = x} rewrite var≟-refl x = refl
356356
```
357357

358-
and `const-env x v` maps `y` to `⊥, so long as `x ≢ y`.
358+
and `const-env x v` maps `y` to ``, so long as `x ≢ y`.
359359

360360
```agda
361361
diff-const-env : ∀{Γ} {x y : Γ ∋ ★} {v}
@@ -378,7 +378,7 @@ Now to finish the two cases of the proof.
378378

379379
* In the case where `x ≡ y`, we need to show
380380
that `γ ⊢ σ y ↓ v`, but that's just our premise.
381-
* In the case where `x ≢ y,` we need to show
381+
* In the case where `x ≢ y`, we need to show
382382
that `γ ⊢ σ y ↓ ⊥`, which we do via rule `⊥-intro`.
383383

384384
Thus, we have completed the variable case of the proof that
@@ -500,7 +500,7 @@ subst-reflect (sub d lt) eq
500500
... | ⟨ δ , ⟨ subst-δ , m ⟩ ⟩ = ⟨ δ , ⟨ subst-δ , sub m lt ⟩ ⟩
501501
```
502502

503-
* Case `var`: We have subst `σ M ≡ y`, so `M` must also be a variable, say `x`.
503+
* Case `var`: We have `subst σ M ≡ y`, so `M` must also be a variable, say `x`.
504504
We apply the lemma `subst-reflect-var` to conclude.
505505

506506
* Case `↦-elim`: We have `subst σ M ≡ L₁ · L₂`. We proceed by cases on `M`.

0 commit comments

Comments
 (0)