Skip to content

Commit

Permalink
Now proving CT-VarW is easy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xd34df00d committed May 19, 2021
1 parent 954b82d commit 28fe5e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agda/Core/Syntax/Derived/Typing.agda
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ CT-VarW : Γ ⊢ τ ⦂ CSort s
CT-VarW δ (∈-zero refl) with head-well-formed δ
... | ⟨ _ , δ' ⟩ = CT-Var δ'
CT-VarW δ (∈-suc refl ∈) with head-well-formed δ
... | ⟨ _ , δ' ⟩ = CT-Weaken (CT-VarW (unweaken' δ) ∈) δ'
... | ⟨ _ , δ' ⟩ with τ∈Γ-wf δ' ∈
... | ⟨ _ , δ'' ⟩ = CT-Weaken (CT-VarW δ'' ∈) δ'

⇒'-well-typed : Γ ⊢ τ₁ ⦂ CSort s₁
Γ ⊢ τ₂ ⦂ CSort s₂
Expand Down

0 comments on commit 28fe5e2

Please sign in to comment.