Fix cong-rename
M on the right hand side of ≡ should be M′
This commit is contained in:
parent
0a99b734ba
commit
33f0f64624
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ cong-ext{Γ}{Δ}{ρ}{ρ′}{B} rr {A} = extensionality λ x → lemma {x}
|
|||
cong-rename : ∀{Γ Δ}{ρ ρ′ : Rename Γ Δ}{B}{M M′ : Γ ⊢ B}
|
||||
→ (∀{A} → ρ ≡ ρ′ {A}) → M ≡ M′
|
||||
------------------------------
|
||||
→ rename ρ M ≡ rename ρ′ M
|
||||
→ rename ρ M ≡ rename ρ′ M′
|
||||
cong-rename {M = ` x} rr refl = cong `_ (cong-app rr x)
|
||||
cong-rename {ρ = ρ} {ρ′ = ρ′} {M = ƛ N} rr refl =
|
||||
cong ƛ_ (cong-rename {ρ = ext ρ}{ρ′ = ext ρ′}{M = N} (cong-ext rr) refl)
|
||||
|
|
Loading…
Reference in a new issue