Scope (logic)#Quantifiers
{{Short description|Range of application for a quantifier or connective in a logical formula}}
{{Use mdy dates|date=June 2024}}
In logic, the scope of a quantifier or connective is the shortest formula in which it occurs,{{Cite book |last=Bostock |first=David |title=Intermediate logic |date=1997 |publisher=Clarendon Press; Oxford University Press |isbn=978-0-19-875141-0 |location=Oxford : New York |pages=8, 79}} determining the range in the formula to which the quantifier or connective is applied.{{Cite book |last=Cook |first=Roy T. |url=https://books.google.com/books?id=JfaqBgAAQBAJ |title=Dictionary of Philosophical Logic |date=March 20, 2009 |publisher=Edinburgh University Press |isbn=978-0-7486-3197-1 |pages=99,180,254 |language=en}}{{Cite book |last1=Rich |first1=Elaine |url=https://www.cs.utexas.edu/~dnp/frege/quantifier-scope.html |title=Quantifier Scope |last2=Cline |first2=Alan Kaylor |language=en-US}}{{Cite book |last=Makridis |first=Odysseus |url=https://books.google.com/books?id=DoBgEAAAQBAJ |title=Symbolic Logic |date=February 21, 2022 |publisher=Springer Nature |isbn=978-3-030-67396-3 |pages=93–95 |language=en}} The notions of a free variable and bound variable are defined in terms of whether that formula is within the scope of a quantifier,{{Cite web |date=January 21, 2017 |title=3.3.2: Quantifier Scope, Bound Variables, and Free Variables |url=https://human.libretexts.org/Bookshelves/Philosophy/A_Modern_Formal_Logic_Primer_(Teller)/03%3A_Volume_II-_Predicate_Logic/3.03%3A_More_about_Quantifiers/3.3.02%3A_Quantifier_Scope_Bound_Variables_and_Free_Variables |access-date=June 10, 2024 |website=Humanities LibreTexts |language=en}} and the notions of a {{glossary link|glossary=Glossary of logic|dominant connective}} and {{glossary link|glossary=Glossary of logic|subordinate connective}} are defined in terms of whether a connective includes another within its scope.{{Cite book |last=Gillon |first=Brendan S. |url=https://books.google.com/books?id=8MuIDwAAQBAJ |title=Natural Language Semantics: Formation and Valuation |date=March 12, 2019 |publisher=MIT Press |isbn=978-0-262-03920-8 |pages=250–253 |language=en}}
Connectives
{{Logical connectives sidebar}}
The scope of a logical connective occurring within a formula is the smallest well-formed formula that contains the connective in question.{{Cite book |last=Lemmon |first=Edward John |title=Beginning logic |date=1998 |publisher=Chapman & Hall/CRC |isbn=978-0-412-38090-7 |location=Boca Raton, FL |pages=45–48}}{{Cite web |title=Examples {{!}} Logic Notes - ANU |url=https://users.cecs.anu.edu.au/~jks/LogicNotes/connectives.html |access-date=June 10, 2024 |website=users.cecs.anu.edu.au}} The connective with the largest scope in a formula is called its dominant connective,{{Cite book |last1=Suppes |first1=Patrick |url=https://books.google.com/books?id=38LCAgAAQBAJ |title=First Course in Mathematical Logic |last2=Hill |first2=Shirley |date=April 30, 2012 |publisher=Courier Corporation |isbn=978-0-486-15094-9 |pages=23–26 |language=en}}{{Cite book |last=Kirk |first=Donna |url=https://openstax.org/books/contemporary-mathematics/pages/2-2-compound-statements |title=Contemporary Mathematics |date=March 22, 2023 |publisher=OpenStax |chapter=2.2. Compound Statements}} main connective, main operator, major connective, or principal connective; a connective within the scope of another connective is said to be subordinate to it.
For instance, in the formula , the dominant connective is ↔, and all other connectives are subordinate to it; the → is subordinate to the ∨, but not to the ∧; the first ¬ is also subordinate to the ∨, but not to the →; the second ¬ is subordinate to the ∧, but not to the ∨ or the →; and the third ¬ is subordinate to the second ¬, as well as to the ∧, but not to the ∨ or the →. If an order of precedence is adopted for the connectives, viz., with ¬ applying first, then ∧ and ∨, then →, and finally ↔, this formula may be written in the less parenthesized form
Quantifiers
The scope of a quantifier is the part of a logical expression over which the quantifier exerts control. It is the shortest full sentence written right after the quantifier, often in parentheses; some authors describe this as including the variable written right after the universal or existential quantifier. In the formula {{math|∀xP}}, for example, {{math|P}} (or {{math|xP}}){{cite book |last1=Bell |first1=John L. |title=A Course in Mathematical Logic |last2=Machover |first2=Moshé |date=April 15, 2007 |publisher=Elsevier Science Ltd |isbn=978-0-7204-2844-5 |page=[https://archive.org/details/courseinmathemat0000bell/page/17 17] |chapter=Chapter 1. Beginning mathematical logic |chapter-url=https://archive.org/details/courseinmathemat0000bell/page/17 |authorlink1=John Lane Bell |authorlink2=Moshé Machover}} is the scope of the quantifier {{math|∀x}} (or {{math|∀}}).
This gives rise to the following definitions:{{refn|group=lower-alpha|These definitions follow the common practice of using Greek letters as metalogical symbols which may stand for symbols in a formal language for propositional or predicate logic. In particular, and are used to stand for any formulae whatsoever, whereas and are used to stand for propositional variables.}}
- An occurrence of a quantifier or , immediately followed by an occurrence of the variable , as in or , is said to be -binding.
- An occurrence of a variable in a formula is free in if, and only if, it is not in the scope of any -binding quantifier in ; otherwise it is bound in .
- A closed formula is one in which no variable occurs free; a formula which is not closed is open.{{Citation |last=Uzquiano |first=Gabriel |title=Quantifiers and Quantification |date=2022 |encyclopedia=The Stanford Encyclopedia of Philosophy |editor-last=Zalta |editor-first=Edward N. |url=https://plato.stanford.edu/archives/win2022/entries/quantification/ |access-date=June 10, 2024 |edition=Winter 2022 |publisher=Metaphysics Research Lab, Stanford University |editor2-last=Nodelman |editor2-first=Uri}}
- An occurrence of a quantifier or is vacuous if, and only if, its scope is or , and the variable does not occur free in .
- A variable is free for a variable if, and only if, no free occurrences of lie within the scope of a quantification on .
- A quantifier whose scope contains another quantifier is said to have wider scope than the second, which, in turn, is said to have narrower scope than the first.{{Cite book |last=Allen |first=Colin |title=Logic primer |last2=Hand |first2=Michael |date=2001 |publisher=MIT Press |isbn=978-0-262-51126-1 |edition=2nd |location=Cambridge, Mass |pages=66}}
See also
Notes
{{reflist|group=lower-alpha}}