minor edits
This commit is contained in:
parent
5add203818
commit
89b647b09d
1 changed files with 7 additions and 7 deletions
|
@ -8,7 +8,6 @@ module extra.Substitution where
|
||||||
open import plfa.Untyped
|
open import plfa.Untyped
|
||||||
using (Type; Context; _⊢_; ★; _∋_; ∅; _,_; Z; S_; `_; ƛ_; _·_; rename; subst;
|
using (Type; Context; _⊢_; ★; _∋_; ∅; _,_; Z; S_; `_; ƛ_; _·_; rename; subst;
|
||||||
ext; exts; _[_]; subst-zero)
|
ext; exts; _[_]; subst-zero)
|
||||||
renaming (_∎ to _[])
|
|
||||||
open import plfa.Denotational using (Rename)
|
open import plfa.Denotational using (Rename)
|
||||||
open import plfa.Soundness using (Subst)
|
open import plfa.Soundness using (Subst)
|
||||||
|
|
||||||
|
@ -410,7 +409,8 @@ rename-subst-commute {Γ}{Δ}{N}{M}{ρ} =
|
||||||
subst (cons (subst (ren ρ) M)
|
subst (cons (subst (ren ρ) M)
|
||||||
(seq (seq (ren ρ) (ren S_)) (cons (subst (ren ρ) M) ids))) N
|
(seq (seq (ren ρ) (ren S_)) (cons (subst (ren ρ) M) ids))) N
|
||||||
≡⟨ subst-equal{M = N} (λ{A}{x} → cons-congR{x = x}
|
≡⟨ subst-equal{M = N} (λ{A}{x} → cons-congR{x = x}
|
||||||
(λ{x} → seq-assoc{σ = ren ρ}{τ = ren S_}{θ = (cons (subst (ren ρ) M) ids)}{x = x})) ⟩
|
(λ{x} → seq-assoc {σ = ren ρ} {τ = ren S_}
|
||||||
|
{θ = (cons (subst (ren ρ) M) ids)} {x = x})) ⟩
|
||||||
subst (cons (subst (ren ρ) M)
|
subst (cons (subst (ren ρ) M)
|
||||||
(seq (ren ρ) (seq (ren S_) (cons (subst (ren ρ) M) ids)))) N
|
(seq (ren ρ) (seq (ren S_) (cons (subst (ren ρ) M) ids)))) N
|
||||||
≡⟨ (subst-equal{M = N}λ{A}{x} → cons-congR{x = x}
|
≡⟨ (subst-equal{M = N}λ{A}{x} → cons-congR{x = x}
|
||||||
|
|
Loading…
Reference in a new issue