e01.org

Vacuous truth

In mathematics and logic, a vacuous truth is a conditional or universal statement (specifically a universal statement that can be converted to a conditional statement) that is true because the antecedent cannot be satisfied. An example of such a statement is "if Tokyo is in Spain, then the Eiffel Tower is in Bolivia". It is sometimes said that a statement is vacuously true because it does not really say anything. For example, the statement "all cell phones in the room are turned off" (alternatively said "for all x in this room, if x is a cellphone then x is turned off") will be true when no cell phones are present in the room. In this case, the statement "all cell phones in the room are... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In mathematics and logic, a vacuous truth is a conditional or universal statement (specifically a universal statement that can be converted to a conditional statement) that is true because the antecedent cannot be satisfied. An example of such a statement is "if Tokyo is in Spain, then the Eiffel Tower is in Bolivia". It is sometimes said that a statement is vacuously true because it does not really say anything. For example, the statement "all cell phones in the room are turned off" (alternatively said "for all x in this room, if x is a cellphone then x is turned off") will be true when no cell phones are present in the room. In this case, the statement "all cell phones in the room are turned on" would also be vacuously true. The conjunction of the two: "all cell phones in the room are turned on and all cell phones in the room are turned off", can only be true vacuously, and it implies "there are no cell phones in the room". Vacuous statements are also used as a rhetorical device for creating verbal irony. A common example is the "Queen of England" retort; For example, "I'm a great swimmer". "If you're a great swimmer, then I'm the Queen of England", using a transparent false conclusion to imply the statement is vacuous and thus the premise is false. In Python, the built-in all() function returns True only when all of the elements of an iterable (in this example, a list) are True or the iterable is empty: all([1,1])==True; all([1,1,0])==False; all([])==True . A less ambiguous way to express this is to say all() returns True when none of the elements are False . In Rust, the Iterator::all function accepts an iterator and a predicate and returns true only when the predicate returns true for all items produced by the iterator, or if the iterator produces no items. In SQL, the function, the function ANY_VALUE can differ depending on the RDBMS's behaviour relating NULLs to vacuous truth. Some RDBMS might return null even if there are non- null values. Some DBMS might not allow for its use in filter(...) or over(.. ) clauses. In Kotlin, the collection method all returns true when the collection is empty. In C#, the Linq method All returns true when the collection is empty. In C++, the std::all_of function template returns true for an empty collection. In Agda, an empty type (for example, ⊥ , which is defined with no constructors) is 'false' at the type level, following the Curry–Howard correspondence. A parameter of such a type can be matched against an 'absurd' pattern and an equation containing such a pattern has no right hand side. The principle of ex falso quodlibet can be defined this way as a function efq : ∀ {n} {a : Set n} → ⊥ → a . The function efq is then a proof of the vacuously true proposition ⊥ → a for every proposition (i.e. type) a . For example, it is a proof of ⊥ → ⊥ .

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Vacuous truth". 1788016724. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1371972331

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·