arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1408.6290cs.HC
收藏

功能+动作=互动

Function + Action = Interaction

Ichiroh Kanaya, Mayuko Kanazawa, Masataka Imura

摘要:

本文介绍了一般交互系统的数学背景。设计一个大系统的第一个原则是分而治之,这意味着如果我们把一个大系统分成较小的子系统,我们就有可能减少人为错误。然而,交互系统通常由许多子系统组成,这些子系统有机地相互连接,因此很难划分。换句话说,我们不能将集合论的框架应用于交互系统的编程。我们可以通过将范畴理论(Kleisli范畴)的框架应用于编程来克服这个困难,但这需要高度抽象的数学,这不是很流行。在这篇文章中,我们介绍了范畴论的基本思想,仅使用λ演算,然后演示如何将其用于交互系统的实际设计。最后,我们提到这个讨论是如何与范畴论相联系的。

英文摘要:

This article presents the mathematical background of general interactive systems. The first principle of designing a large system is to _divide and conquer_, which implies that we could possibly reduce human error if we divided a large system in smaller subsystems. Interactive systems are, however, often composed of many subsystems that are _organically_ connected to one another and thus difficult to divide. In other words, we cannot apply a framework of set theory to the programming of interactive systems. We can overcome this difficulty by applying a framework of category theory (Kleisli category) to the programming, but this requires highly abstract mathematics, which is not very popular. In this article we introduce the fundamental idea of category theory using only lambda calculus, and then demonstrate how it can be used in the practical design of an interactive system. Finally, we mention how this discussion relates to category theory.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑