Documentation

Stlc.decidable

theorem typing_unique (t : Trm) :
t.lc∀ (Γ : context) (T1 T2 : Typ), typing Γ t T1typing Γ t T2T1 = T2
theorem typing_decidable (t : Trm) (Γ : context) :
t.lcvalid_ctx Γ(∃ (T : Typ), typing Γ t T) ¬∃ (T : Typ), typing Γ t T
theorem typechecking_decidable (t : Trm) (T : Typ) (Γ : context) :
t.lcvalid_ctx Γtyping Γ t T ¬typing Γ t T