Concept

Logical equality

Summary
Logical equality is a logical operator that corresponds to equality in Boolean algebra and to the logical biconditional in propositional calculus. It gives the functional value true if both functional arguments have the same logical value, and false if they are different. It is customary practice in various applications, if not always technically precise, to indicate the operation of logical equality on the logical operands x and y by any of the following forms: Some logicians, however, draw a firm distinction between a functional form, like those in the left column, which they interpret as an application of a function to a pair of arguments — and thus a mere indication that the value of the compound expression depends on the values of the component expressions — and an equational form, like those in the right column, which they interpret as an assertion that the arguments have equal values, in other words, that the functional value of the compound expression is true. Logical equality is an operation on two logical values, typically the values of two propositions, that produces a value of true if and only if both operands are false or both operands are true. The truth table of p EQ q (also written as p = q, p ↔ q, Epq, p ≡ q, or p == q) is as follows: {| class="wikitable" style="text-align:center" |+ Logical equality ! p ! q ! p = q |- | 0 || 0 || 1 |- | 0 || 1 || 0 |- | 1 || 0 || 0 |- | 1 || 1 || 1 |} The form (x = y) is equivalent to the form (x ∧ y) ∨ (¬x ∧ ¬y). For the operands x and y, the truth table of the logical equality operator is as follows: {| class="wikitable" ! colspan="2" rowspan="2" | !! colspan="2" | y |- ! T !! F |- ! rowspan="2" | x !! T | style="padding: 1em;" | T | style="padding: 1em;" | F |- ! F | style="padding: 1em;" | F | style="padding: 1em;" | T |} In mathematics, the plus sign "+" almost invariably indicates an operation that satisfies the axioms assigned to addition in the type of algebraic structure that is known as a field.
About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.