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

Quantifier order and negation

量词次序与否定

“Each has some” and “there is one for everyone” are usually different claims.

¬∀x,Px≡∃x,¬Px\neg\forall x,Px\equiv\exists x,\neg Px

概念与边界

量词次序决定对象间的依赖。∀x∃y Rxy 允许 y 随 x 变化;∃y∀x Rxy 要求同一个 y 适用于全部 x。翻译时可先用自然语言标出“可以不同”或“同一个”。

量词否定同时改变数量要求:并非所有人通过,等于至少一人没通过,而不是所有人没通过。

The concept and its limits

Quantifier order controls dependence. ∀x∃y Rxy allows y to vary with x; ∃y∀x Rxy requires one y for every x. Mark “possibly different” or “one and the same” before symbolizing.

Negating a quantifier changes the quantity: not everyone passed means at least one person failed, not that everyone failed.

把概念用起来

每位作者都有一位编辑,可能分别是不同编辑。只有另给共同编辑的事实,才能断言有一人编辑了所有作者的作品。

Working through an example

Every author has an editor, possibly a different one. A common editor requires additional evidence that one person edits every author.

“每个都有”允许见证不同

∀x∃yRxy 允许每个 x 对应不同的 y;∃y∀xRxy 要求先有同一个 y,再对所有 x 成立。在通常的非空论域中,后者蕴涵前者,前者一般不蕴涵后者。

用服务台的例子:每位顾客都有一位接待员,并不要求同一接待员接待所有人。即使所有人都被接待,仍须检查各顾客对应谁,不能把多个局部见证拼成一个共同见证。

本节依据:forall x 第 25 章:§25.3:量词顺序 ↗

A witness may depend on the object

∀x∃yRxy allows the witness y to depend on x. ∃y∀xRxy requires one y serving every x. Over the usual nonempty domain, the latter entails the former, but not conversely.

Every customer having a receptionist need not mean one receptionist handles everyone. Check the assignments rather than combining local witnesses into a single shared witness.

Section sources: forall x, chapter 25: section 25.3: quantifier order ↗

否定跨过量词时改变什么

¬∀xFx 等值于 ∃x¬Fx;¬∃xFx 等值于 ∀x¬Fx。对两个量词,可以逐层处理:¬∀x∃yRxy 等值于 ∃x∀y¬Rxy。它说至少有一个 x 没有任何相关的 y。

例如“并非每位学生都有导师”,反例是一名没有导师的学生;它既不说所有学生都没有导师,也不说只缺同一个共同导师。改变否定位置会改变要找的反例。

本节依据:forall x 第 38 章:量词转换 ↗

What changes when negation passes a quantifier

¬∀xFx is equivalent to ∃x¬Fx, and ¬∃xFx to ∀x¬Fx. Apply these one layer at a time: ¬∀x∃yRxy is equivalent to ∃x∀y¬Rxy. At least one x has no related y.

“Not every student has a supervisor” requires a student without one. It does not mean no student has a supervisor, nor merely that no shared supervisor exists. Negation scope changes the witness required.

Section sources: forall x, chapter 38: conversion of quantifiers ↗

跨不同类别时把限制写出来

若论域同时包括人和文件,∀x∃yRxy 没有自动表示“每个人读过某份文件”。应写 ∀x(Person(x) → ∃y(Document(y) ∧ Reads(x,y)))。外层用条件句限制人,内层用合取要求见证真的是文件。

否定这项主张时,目标是一位没有读过任何文件的人。不能用一份文件没有读另一份文件来反驳,因为那不满足外层的人这一限制。

本节依据:forall x 第 25 章:§25.4:分步形式化 ↗

Make restrictions explicit across categories

If the domain contains people and documents, ∀x∃yRxy does not automatically mean that every person read a document. Use ∀x(Person(x) → ∃y(Document(y) ∧ Reads(x,y))). The conditional restricts the outer class; the inner conjunction requires a document witness.

A counterexample is a person who read no document. A document that read no other document fails to satisfy the outer restriction and is irrelevant.

Section sources: forall x, chapter 25: section 25.4: stepping stones to symbolization ↗

用新情境辨别量词顺序

说明见证能否随着对象改变。

独立练习 1

“每个账号都有一个密码”是否推出“有一个密码可用于每个账号”?

查看答案与推理过程

不推出。两个账号分别只有不同密码,就满足前者而不满足后者。注意这里假定密码关系是题干定义的可用关系,不额外假设万能密码。

独立练习 2

否定“每名成员至少提交了一份申请”,在成员和申请范围已固定时得到什么?

查看答案与推理过程

至少有一名成员没有提交任何申请。不是所有成员都没有申请,也不是某份申请无人提交。

Distinguish quantifier order in new settings

Explain whether the witness can vary with the object.

Independent exercise 1

Does every account having a password imply a password usable for every account?

Show answer and reasoning

No. Two accounts with different exclusive passwords satisfy the first claim and refute the second. Use the stipulated usability relation rather than assuming a master password.

Independent exercise 2

Negate “Every member submitted at least one application,” with the member and application classes fixed.

Show answer and reasoning

At least one member submitted no application. It is neither a claim that nobody applied nor a claim that some application had no submitter.

检查你的理解

问:∃y∀x Rxy 能推出 ∀x∃y Rxy 吗?答:能;共同的 y 可以逐次作为见证。

Check your understanding

Question: Does ∃y∀x Rxy entail ∀x∃y Rxy? Answer: Yes; the common y supplies a witness for each x.

References

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