我们的谓词语言,
,类似于
,很笨拙,也很难阅读。上标和下标很让人分心,而且括号比需要的多。和命题逻辑一样,我们将非正式地使用简化的变体。然而,官方语言仍然用于定义和其他形式。大多数生成非正式变体的规则,你都从命题逻辑中熟悉了。
我们创建官方
公式的非正式变体,如下所示。示例是累积的。
- 如果下标是'0',我们将其删除。因此,我们写
而不是
,并且写
而不是
。然而,我们不能从
中删除下标。
- 官方语法要求操作符字母和谓词字母具有表示位置数的上标。例如,
是一个二元操作符字母,
是一个三元谓词字母。在大多数情况下,我们可以删除上标,并让上下文显示位置数。例如,我们可以写

- 在这里,我们从上下文观察到操作符字母有两个位置,因此我们可以理解
是
的非正式变体。类似地,我们从上下文观察到谓词字母在

- 有三个位置。这使得
,在本例中使用,是
的非正式变体。这种约定假设我们的
在语法上是正确的。一般来说,我们将避免使用语法错误的表达式。我们还将尽量避免使用,例如,
和
在临近的位置。否则,它们的非正式变体会导致混淆。

- 而不是

- 我们将让一系列相同的二元连接词在右侧关联。例如,我们可以将官方的

- 转换为非正式的

- 但是,对于

- 是

- 我们将使用优先级排序,尽可能省略内部括号。例如,我们将认为
的优先级(范围)低于
。这使我们能够写成

- 而不是

- 但是,我们不能从

- 我们对这个后一个公式的非正式变体是

优先级排名指示了我们评估语句连接词和量词短语的顺序。
的优先级高于
。 因此,在评估

时,我们首先评估

。 范围是指受连接词支配的表达式的长度。
在 (1) 中的出现范围比
在 (1) 中的出现范围更广。 因此,
在 (1) 中的出现支配着整个句子,而
在 (1) 中的出现仅支配 (1) 中 (2) 的出现。
从最高优先级(最窄范围)到最低优先级(最广范围)的完整排名为
|
 |
|
最高优先级(最窄范围) |
|
 |
|
|
|
 |
|
|
|
 |
|
|
|
 |
|
最低优先级(最广范围) |
量词短语与否定符号具有相同的优先级。
以下示例是谓词逻辑变体,与句子逻辑 非正式约定 页面中的示例相对应。 首先,

可以非正式地写成

第二,

可以非正式地写成

一些不必要的括号可能会有帮助。在上面的两个例子中,非正式的变体可能更容易读懂,如下所示:

和

请注意,非正式公式



恢复到其正式形式为



相比之下,非正式公式



被还原为其官方形式


