Jump to content

Vacuous truth

From Wikipedia, the free encyclopedia

Inmathematicsandlogic,avacuous truthis aconditionaloruniversalstatement(a universal statement that can be converted to a conditional statement) that is true because theantecedentcannot besatisfied.[1] It is sometimes said that a statement is vacuously true because it does not really say anything.[2]For example, the statement "all cell phones in the room are turned off" will betruewhen no cell phones are present in the room. In this case, the statement "all cell phones in the room are turnedon"would also be vacuously true, as would theconjunctionof the two: "all cell phones in the room are turned onandturned off ", which would otherwise be incoherent and false.

More formally, a relativelywell-definedusage refers to a conditional statement (or a universal conditional statement) with a falseantecedent.[1][3][2][4]One example of such a statement is "if Tokyo is in Spain, then the Eiffel Tower is in Bolivia".

Such statements are considered vacuous truths because the fact that the antecedent is false prevents using the statement to infer anything about the truth value of theconsequent.In essence, a conditional statement, that is based on thematerial conditional,is true when the antecedent ( "Tokyo is in Spain" in the example) is false regardless of whether the conclusion orconsequent( "the Eiffel Tower is in Bolivia" in the example) is true or false because the material conditional is defined in that way.

Examples common to everyday speech include conditional phrases used asidioms of improbabilitylike "when hell freezes over..." and "when pigs can fly...", indicating that not before the given (impossible) condition is met will the speaker accept some respective (typically false or absurd) proposition.

Inpure mathematics,vacuously true statements are not generally of interest by themselves, but they frequently arise as the base case of proofs bymathematical induction.[5]This notion has relevance inpure mathematics,as well as in any other field that usesclassical logic.

Outside of mathematics, statements in the form of a vacuous truth, while logically valid, can nevertheless be misleading. Such statements make reasonable assertions aboutqualifiedobjects whichdo not actually exist.For example, a child might truthfully tell their parent "I ate every vegetable on my plate", when there were no vegetables on the child's plate to begin with. In this case, the parent can believe that the child has actually eaten some vegetables, even though that is not true.

Scope of the concept[edit]

A statementis "vacuously true" if itresemblesamaterial conditionalstatement,where theantecedentis known to be false.[1][3][2]

Vacuously true statements that can be reduced (with suitable transformations) to this basic form (material conditional) include the followinguniversally quantifiedstatements:

  • ,where it is the case that.[4]
  • ,where thesetisempty.
    • This logical formcan be converted to the material conditional form in order to easily identify theantecedent.For the above example"all cell phones in the room are turned off", it can be formally written aswhereis the set of all cell phones in the room andis "is turned off ". This can be written to a material conditional statementwhereis the set of all things in the room (including cell phones if they exist in the room), the antecedentis "is a cell phone ", and theconsequentis "is turned off ".
  • ,where the symbolis restricted to atypethat has no representatives.

Vacuous truths most commonly appear inclassical logicwithtwo truth values.However, vacuous truths can also appear in, for example,intuitionistic logic,in the same situations as given above. Indeed, ifis false, thenwill yield a vacuous truth in any logic that uses thematerial conditional;ifis anecessary falsehood,then it will also yield a vacuous truth under thestrict conditional.

Other non-classical logics, such asrelevance logic,may attempt to avoid vacuous truths by using alternative conditionals (such as the case of thecounterfactual conditional).

In computer programming[edit]

Many programming environments have a mechanism for querying if every item in a collection of items satisfies some predicate. It is common for such a query to always evaluate as true for an empty collection. For example:

  • InJavaScript,thearraymethodeveryexecutes a provided callback function once for each element present in the array, only stopping (if and when) it finds an element where the callback function returns false. Notably, calling theeverymethod on an empty array will return true for any condition.[6]
  • InPython,theallfunction returnsTrueif all of the elements of the given iterable areTrue.The function also returnsTruewhen given an iterable of zero length.[7]
  • InRust,theIterator::allfunction accepts an iterator and a predicate and returnstrueonly when the predicate returnstruefor all items produced by the iterator, or if the iterator produces no items.[8]

Examples[edit]

These examples, one frommathematicsand one fromnatural language,illustrate the concept of vacuous truths:

  • "For any integerx,ifx> 5thenx> 3."[9]– This statement istruenon-vacuously (since someintegersare indeed greater than 5), but some of its implications are only vacuously true: for example, whenxis the integer 2, the statement implies the vacuous truth that "if2 > 5then2 > 3".
  • "All my children are goats" is a vacuous truth when spoken by someone without children. Similarly, "None of my children is a goat" would also be a vacuous truth when spoken by the same person.

See also[edit]

References[edit]

  1. ^abc"Vacuously true".web.cse.ohio-state.edu.Archived fromthe originalon 18 November 2023.Retrieved15 December2019.
  2. ^abc"Vacuously true - CS2800 wiki".courses.cs.cornell.edu.Archivedfrom the original on 21 June 2023.Retrieved15 December2019.
  3. ^ab"Definition:Vacuous Truth – ProofWiki".proofwiki.org.Retrieved2019-12-15.
  4. ^abEdwards, C. H. (January 18, 1998)."Vacuously True"(PDF).swarthmore.edu.Archived fromthe original(PDF)on 28 April 2021.Retrieved14 December2019.
  5. ^Baldwin, Douglas L.; Scragg, Greg W. (2011),Algorithms and Data Structures: The Science of Computing,Cengage Learning, p. 261,ISBN978-1-285-22512-8
  6. ^"Array.prototype.every() - JavaScript | MDN".developer.mozilla.org.
  7. ^"Built-in Functions – Python 3.10.2 documentation".docs. Python.org.
  8. ^"Iterator in std::iter – Rust".doc.rust-lang.org.
  9. ^"logic – What precisely is a vacuous truth?".Mathematics Stack Exchange.

Bibliography[edit]

External links[edit]