∴Logic Wiki逻辑学知识库搜索概念、谬误与案例/EN

逻辑等值

Logical equivalence

两个公式在所有允许赋值下真值相同,才是逻辑等值。

概念与边界

一次同真或同假不够。等值允许在适当的外延语境中用一个式子替换另一个。德摩根律与双重否定是经典系统中的常见例子。

等值依赖系统。经典逻辑接受双重否定消去;直觉主义逻辑通常不接受从 ¬¬P 无条件推出 P。学习规则时要同时记住其框架。

The concept and its limits

Agreement on one valuation is not enough. Equivalence permits replacement in suitable extensional contexts. De Morgan’s laws and double negation are familiar classical examples.

Equivalence depends on the system. Classical logic accepts double-negation elimination; intuitionistic logic does not generally infer P from ¬¬P. Learn a rule together with its framework.

把概念用起来

“并非既有糖又有奶”与“没有糖或没有奶”在经典命题逻辑中等值,后一个“或”是相容的。

Working through an example

“Not both sugar and milk” is classically equivalent to “no sugar or no milk,” using inclusive disjunction.

等值要求双向且逐模型一致

A 与 B 逻辑等值,意味着在所选语义的每个模型中真值相同。它比两句话目前都真更强,也比 A 蕴涵 B 更强:单向蕴涵未必允许反推。

例如 P ∧ Q 蕴涵 P,但 P 不蕴涵 P ∧ Q。取 P 真、Q 假即可看到差别。实际中两件事恰好同时发生,也不能据此把它们当成可以任意互换的逻辑表达。

本节依据:forall x 第 12 章:等值与后承 ↗

Equivalence requires both directions across models

Logical equivalence means matching truth values in every model of the selected semantics. This is stronger than both statements currently being true, and stronger than one-way entailment.

P ∧ Q entails P, but P does not entail P ∧ Q; let P be true and Q false. Actual co-occurrence likewise does not make two expressions logically interchangeable.

Section sources: forall x, chapter 12: equivalence and entailment ↗

常用等值式如何帮助变换

在经典命题逻辑中,P → Q 等值于 ¬P ∨ Q;¬(P ∧ Q) 等值于 ¬P ∨ ¬Q;¬(P ∨ Q) 等值于 ¬P ∧ ¬Q。移动否定时必须同时改变相应联结词,不能只把否定分发进去。

等值替换可以作用于真值函数公式的子式,因为外层真值只依赖子式真值。但要注意所用系统:经典双重否定消去并不是所有非经典逻辑普遍接受的规则。

本节依据:forall x 第 9 章:联结词真值 ↗ · forall x 第 12 章:语义概念 ↗

Use equivalences in a controlled way

Classically, P → Q is equivalent to ¬P ∨ Q; ¬(P ∧ Q) to ¬P ∨ ¬Q; and ¬(P ∨ Q) to ¬P ∧ ¬Q. Moving negation requires changing the appropriate connective as well.

Equivalent subformulas can be substituted within truth-functional formulas because the outer value depends on their truth values. Keep the system fixed: classical double-negation elimination is not universal across nonclassical logics.

Section sources: forall x, chapter 9: connective truth tables ↗ · forall x, chapter 12: semantic concepts ↗

逐步改写一个带否定的条件句

把 ¬(P → Q) 改写:先替换内部条件句,得 ¬(¬P ∨ Q);再用德摩根律得到 ¬¬P ∧ ¬Q;最后在经典逻辑中得到 P ∧ ¬Q。这正对应条件句唯一为假的情况。

每一步都保留整个式子的范围。若直接写成 ¬P → ¬Q,就没有遵循上述等值式;P 假、Q 假时,原式假而这个错误改写真。

Rewrite a negated conditional step by step

Rewrite ¬(P → Q) by replacing the conditional: ¬(¬P ∨ Q). De Morgan’s law gives ¬¬P ∧ ¬Q, which classically becomes P ∧ ¬Q, exactly the conditional’s false case.

Preserve the scope at each step. Writing ¬P → ¬Q instead does not follow these equivalences. With P and Q both false, the original is false while that erroneous rewrite is true.

同时检查正例和反例

能够提供一行不同真值,就足以推翻等值断言。

独立练习 1

把“既不 P,也不 Q”写成两种经典等值形式。

查看答案与推理过程

¬P ∧ ¬Q 与 ¬(P ∨ Q)。两者都只在 P、Q 全假时为真。¬(P ∧ Q) 还允许仅一项为真,因此不是同一个意思。

独立练习 2

P → Q 与 Q → P 等值吗?给一行检验。

查看答案与推理过程

不等值。P 假、Q 真时,前者真、后者假。原条件句没有自动包含逆命题。

Check equivalences and nonequivalences

One valuation with different values refutes an equivalence claim.

Independent exercise 1

Give two classically equivalent forms for “Neither P nor Q.”

Show answer and reasoning

Use ¬P ∧ ¬Q and ¬(P ∨ Q). Both require P and Q false. ¬(P ∧ Q) also permits exactly one true disjunct and differs.

Independent exercise 2

Are P → Q and Q → P equivalent? Give a valuation.

Show answer and reasoning

No. When P is false and Q true, the first is true and the second false. A conditional does not automatically contain its converse.

检查你的理解

问:P → Q 与 Q → P 等值吗?答:不;P 真、Q 假时两者真值不同。

Check your understanding

Question: Are P → Q and Q → P equivalent? Answer: No. With P true and Q false, their truth values differ.

参考文献

  1. forall x: Calgary ↗
    P. D. Magnus, Tim Button, Robert Trueman, Richard Zach et al. · 相关章节
    版本、许可与查阅范围