∴Logic WikiA library of reasoningSearch concepts, fallacies, and cases/中文

Universal and existential quantifiers

全称与存在量词

Quantifiers specify all objects or at least one object in a stated domain.

∀x(Sx→Rx)\forall x(Sx\to Rx)

概念与边界

∀x P(x) 表示论域内每个对象都满足 P;∃x P(x) 表示至少一个满足。谓词、论域和变量必须共同说明。“有些”在标准存在量词中通常包括“全部”的可能。

全称例化允许把全称命题用于特定对象。存在例化的临时名字不能被当成事先指定的那个对象;否则会从“有人获奖”错误推出“林获奖”。

The concept and its limits

∀x P(x) says every object in the domain satisfies P; ∃x P(x) says at least one does. Specify predicate, domain, and variable together. Standard existential “some” allows the possibility of all.

Universal instantiation applies a universal claim to a particular object. A temporary witness for an existential claim must not be confused with a previously named object. “Someone won” does not establish that Lin won.

把概念用起来

论域为本班学生,P(x) 表示 x 已登记。∃x P(x) 只要求至少一位登记者,不告诉我们是谁,也不说明只有一位。

Working through an example

Let the domain be this class and P(x) mean x registered. ∃x P(x) requires at least one registrant; it neither identifies the person nor asserts uniqueness.

先确定谈论哪些对象

量词必须相对于论域解释。论域可以是某班学生、所有自然数或一组模型中的对象,但不能在推理途中悄悄更换。谓词 F(x) 给出关于对象的条件;∀xF(x) 要求论域中的每个对象满足它,∃xF(x) 要求至少一个满足。

若论域是所有人,“所有学生登记了”应写为 ∀x(Sx → Rx),不能写成 ∀x(Sx ∧ Rx),后者把每个人都说成学生且已登记。限制对象范围与断言属性,是不同的操作。

本节依据:forall x 第 24 章:单量词句子的形式化 ↗

Fix the domain first

Quantifiers are interpreted over a domain: perhaps a class of students, the natural numbers, or objects in a model. Do not silently change that domain during an argument. A predicate F(x) states a condition. ∀xF(x) requires every domain object to satisfy it; ∃xF(x) requires at least one.

With all people as the domain, “Every student registered” becomes ∀x(Sx → Rx). The conjunction ∀x(Sx ∧ Rx) would instead claim that everyone is a registered student. Restricting a class and asserting membership are different operations.

Section sources: forall x, chapter 24: symbolizing sentences with one quantifier ↗

四种常见句型

以下使用所有人为论域,S 表示学生,R 表示已登记。这里的“有些”指至少一个,不包含“但不是全部”的附加断言。

限制论域与存在断言
自然语言形式化要求学生存在吗?
所有学生已登记∀x(Sx → Rx)不单凭这句话要求
没有学生登记∀x(Sx → ¬Rx)不单凭这句话要求
有学生登记∃x(Sx ∧ Rx)要求至少一名
有学生未登记∃x(Sx ∧ ¬Rx)要求至少一名

本节依据:forall x 第 24 章:全称与存在句型 ↗

Four common sentence patterns

Use all people as the domain, with S for student and R for registered. “Some” means at least one and does not add “but not all.”

Restricted quantification and existence
Ordinary languageFormalizationRequires a student to exist?
Every student registered∀x(Sx → Rx)Not by this sentence alone
No student registered∀x(Sx → ¬Rx)Not by this sentence alone
Some student registered∃x(Sx ∧ Rx)Requires at least one
Some student did not register∃x(Sx ∧ ¬Rx)Requires at least one

Section sources: forall x, chapter 24: universal and existential forms ↗

在有限模型里检验量词

令论域为 {林、陈、吴},学生集合为 {林、陈},已登记集合为 {林、吴}。∀x(Sx → Rx) 为假,因为陈是学生却未登记;∃x(Sx ∧ Rx) 为真,林就是见证。吴虽登记,却不是这句存在断言所需的学生见证。

要反驳全称句,提供一个符合限制条件而不符合结论条件的对象即可。要证明存在句为假,则必须排除论域内所有可能见证。在无限论域中,这通常需要一般论证,不能靠检查几个对象完成。

本节依据:forall x 第 31 章:一阶逻辑中的真 ↗

Check quantifiers in a finite model

Let the domain be {Lin, Chen, Wu}, students {Lin, Chen}, and registered people {Lin, Wu}. The universal ∀x(Sx → Rx) is false because Chen is an unregistered student. The existential ∃x(Sx ∧ Rx) is true, witnessed by Lin. Wu’s registration does not supply a student witness.

One object meeting the restriction but failing the consequent refutes a universal. Falsifying an existential requires excluding every possible witness in the domain. In an infinite domain, that usually requires a general argument rather than a few checks.

Section sources: forall x, chapter 31: truth in first-order logic ↗

从量词到实例,以及返回量词

从 ∀xFx 可以得到某个已命名对象 a 的 Fa;但从 Fa 推出 ∀xFx,需要 a 是推理中任取的对象,不能依赖 a 的特殊性质。看到一个学生完成登记,显然还不能证明每个人都登记。

从 ∃xFx 也不能直接断言熟悉的对象 a 满足 F。存在消去通常引入一个新的临时名字考察见证,再证明一个不依赖该名字的结论。具体的新名字限制要按所用系统检查,它防止把“某个”误当成“指定的这一个”。

本节依据:forall x 第 36 章:量词规则及名称限制 ↗

From quantifiers to instances and back

From ∀xFx one may infer Fa for a named domain object. Inferring ∀xFx from Fa requires that a was arbitrary, without reliance on special properties. One registered student does not establish universal registration.

Likewise, ∃xFx does not establish F of a familiar object a. Existential elimination introduces a fresh temporary witness and derives a conclusion not depending on its special name. Check the system’s freshness restrictions: they prevent “someone” becoming “this specified person.”

Section sources: forall x, chapter 36: quantifier rules and name restrictions ↗

翻译与反模型练习

把论域写在答案上方,避免靠日常语言中未说明的存在预设作答。

独立练习 1

论域为所有动物。形式化“没有猫是鸟”,并说明在没有猫的模型中它的真值。

查看答案与推理过程

∀x(Cx → ¬Bx),也可写 ¬∃x(Cx ∧ Bx)。没有猫时,该句为真;它没有声称猫存在。

独立练习 2

已知“至少有一名评委迟到”,能否推出“主席迟到”?构造一个两人的反模型。

查看答案与推理过程

设甲、乙都是评委,甲是主席,只有乙迟到。存在前提为真,关于甲的结论为假。存在量词没有指明迟到者是谁。

Translation and countermodel exercises

State the domain before answering so that unspoken existential assumptions do not decide the result.

Independent exercise 1

With all animals as the domain, formalize “No cat is a bird” and evaluate it in a model with no cats.

Show answer and reasoning

Use ∀x(Cx → ¬Bx), equivalently ¬∃x(Cx ∧ Bx). It is true in a model with no cats and does not assert their existence.

Independent exercise 2

From “At least one judge is late,” does “The chair is late” follow? Give a two-person countermodel.

Show answer and reasoning

Let A and B be judges, with A the chair and only B late. The existential premise is true and the conclusion about A false. Existence did not identify the late person.

检查你的理解

问:以人为论域,“所有学生都登记”是否保证有学生?答:不保证学生这个谓词类非空,需另加存在前提。

Check your understanding

Question: With people as the domain, does “all students registered” guarantee students exist? Answer: No; the student predicate may be empty, so existence needs a further premise.

References

  1. forall x: Calgary ↗
    P. D. Magnus, Tim Button, Robert Trueman, Richard Zach et al. · Selected sections
    Version, terms, and access scope