计算机科学家的集合论教程
Set-Theoretic Preliminaries for Computer Scientists
摘要:
集合论的基础知识通常被计算机科学家直接或间接地从数学教科书的介绍中复制出来。数学家们常常满足于特殊情况,而一般情况在数学上毫无意义。但有时候,在计算机科学中,对数学没有兴趣的东西却有着极大的实际意义。例如,数学中的非二元关系往往具有数值索引,并且往往是未排序的。在关系数据库的理论和实践中,这两种简化都是没有根据的。针对这种情况,我们在这里提出了一个替代“集合论的基本原理”通常发现在计算机科学的文本。本文将二元关系与关系数据库中所需的关系类型区分开来。它对函数的处理既支持一般的计算机科学,也支持数据库中所需的那种关系。作为一个示例应用程序,本文展示了关系的数学理论如何自然地导致关系数据模型,以及关系上的操作本身如何已经是一个强大的查询工具。
英文摘要:
The basics of set theory are usually copied, directly or indirectly, by computer scientists from introductions to mathematical texts. Often mathematicians are content with special cases when the general case is of no mathematical interest. But sometimes what is of no mathematical interest is of great practical interest in computer science. For example, non-binary relations in mathematics tend to have numerical indexes and tend to be unsorted. In the theory and practice of relational databases both these simplifications are unwarranted. In response to this situation we present here an alternative to the ``set-theoretic preliminaries'' usually found in computer science texts. This paper separates binary relations from the kind of relations that are needed in relational databases. Its treatment of functions supports both computer science in general and the kind of relations needed in databases. As a sample application this paper shows how the mathematical theory of relations naturally leads to the relational data model and how the operations on relations are by themselves already a powerful vehicle for queries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。