Fix cong-rename

M on the right hand side of ≡ should be M′
This commit is contained in:
Liang-Ting Chen 2020-05-20 16:12:54 +08:00 committed by GitHub
parent 0a99b734ba
commit 33f0f64624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)