Line 9,354: |
Line 9,354: |
| ===6.37. Propositional Types=== | | ===6.37. Propositional Types=== |
| | | |
− | In this Section I describe a formal system of ''type expressions'' that are analogous to formulas of propositional logic, and I discuss their use as a calculus of predicates for classifying, analyzing, and drawing typical inferences about <math>n\!</math>-place relations, in particular, for reasoning about the results of operations indicated or performed on relations and about the properties of their transformations and combinations.
| + | This Section describes a formal system of ''type expressions'' that are analogous to formulas of propositional logic and discusses their use as a calculus of predicates for classifying, analyzing, and drawing typical inferences about <math>k\!</math>-place relations, in particular, for reasoning about the results of operations on relations and about the properties of their transformations and combinations. |
| | | |
| '''Definition.''' Given a cartesian product <math>X \times Y,\!</math> an ordered pair <math>(x, y) \in X \times Y,\!</math> has the type <math>S \cdot T,\!</math> written <math>(x, y) : S \cdot T,\!</math> if and only if <math>x \in S \subseteq X\!</math> and <math>y \in T \subseteq Y.\!</math> Notice that an ordered pair may have many types. | | '''Definition.''' Given a cartesian product <math>X \times Y,\!</math> an ordered pair <math>(x, y) \in X \times Y,\!</math> has the type <math>S \cdot T,\!</math> written <math>(x, y) : S \cdot T,\!</math> if and only if <math>x \in S \subseteq X\!</math> and <math>y \in T \subseteq Y.\!</math> Notice that an ordered pair may have many types. |
Line 9,360: |
Line 9,360: |
| '''Definition.''' A relation <math>L \subseteq X \times Y\!</math> has type <math>S \cdot T,\!</math> written <math>L : S \cdot T,\!</math> if and only if every <math>(x, y) \in L\!</math> has type <math>S \cdot T,\!</math> that is, if and only if <math>L \subseteq S \times T\!</math> for some <math>S \subseteq X\!</math> and <math>T \subseteq Y.\!</math> | | '''Definition.''' A relation <math>L \subseteq X \times Y\!</math> has type <math>S \cdot T,\!</math> written <math>L : S \cdot T,\!</math> if and only if every <math>(x, y) \in L\!</math> has type <math>S \cdot T,\!</math> that is, if and only if <math>L \subseteq S \times T\!</math> for some <math>S \subseteq X\!</math> and <math>T \subseteq Y.\!</math> |
| | | |
− | '''Notation.''' Parentheses in the courier or teletype font, <math>\texttt{( ... )},\!</math> are used to indicate the negations of propositions and the complements of sets. When a <math>k\!</math>-place relation <math>L\!</math> is initially given relative to the domains <math>X_1, \ldots, X_k\!</math> and a set <math>S\!</math> is mentioned as a subset of one of them, say <math>S \subseteq X_j,\!</math> then the ''relevant complement'' of <math>S\!</math> in such a context is the one taken relative to <math>X_j.\!</math> Thus we have the following equivalents. | + | '''Notation.''' Parentheses in the Courier or Teletype font, <math>\texttt{( ... )},\!</math> are used to indicate the negations of propositions and the complements of sets. When a <math>k\!</math>-place relation <math>L\!</math> is initially given relative to the domains <math>X_1, \ldots, X_k\!</math> and a set <math>S\!</math> is mentioned as a subset of one of them, say <math>S \subseteq X_j,\!</math> then the ''relevant complement'' of <math>S\!</math> in such a context is the one taken relative to <math>X_j.\!</math> Thus we have the following equivalents. |
| | | |
| {| align="center" cellspacing="8" width="90%" | | {| align="center" cellspacing="8" width="90%" |