Fact-checked by Grok 2 weeks ago

Logical disjunction

In , logical disjunction is a connective, typically denoted by the ∨, that combines two propositions to form a compound statement which is true if at least one of the propositions is true, and false only if both are false; this represents the inclusive sense of "or," allowing for the possibility that both propositions hold simultaneously. The semantics of logical disjunction are defined by its , which evaluates the connective across all combinations of truth values for its operands p and q: This truth-functional behavior ensures that disjunction is false exclusively when both inputs are false, distinguishing it from exclusive disjunction (XOR), which is false when both are true. Logical disjunction exhibits several key algebraic properties in propositional logic, including commutativity (pqqp), associativity ((pq) ∨ rp ∨ (qr)), and distributivity over (p ∨ (qr) ≡ (pq) ∧ (pr)), which facilitate simplification and equivalence proofs in formal reasoning. It also features in , where the negation of a disjunction is equivalent to the of the negations: ¬(pq) ≡ ¬p ∧ ¬q. These properties underpin its role in systems, applications such as and , and philosophical analyses of .

Types of Disjunction

Inclusive disjunction

Inclusive disjunction, also known as the inclusive OR, is a in classical propositional that yields a true result if at least one of its two propositions is true, including the scenario where both propositions are true. This connects two propositions, denoted conceptually as p or q, to form a compound statement that holds unless both inputs are false. The truth conditions for inclusive disjunction specify that the compound is true in three cases: when the first is true and the second is true, when the first is true and the second is false, or when the first is false and the second is true; it is false solely when both are false. A example illustrates this: the "It is raining or it is sunny" evaluates to true if it is raining, if it is sunny, or if both conditions occur simultaneously, but false only if neither is happening. Inclusive disjunction serves as a foundational in , forming the basis for inferences like the and providing a conceptual link to material implication, where the disjunction of a and the of another aligns with conditional structures in argumentation. Unlike exclusive disjunction, which requires exactly one to be true, inclusive disjunction allows both to hold without falsifying the compound. Historically, the inclusive interpretation has been the default in formal logic systems since its early formalization; in the 12th century was among the first to distinguish it clearly from exclusive disjunction, while later used the Latin "vel" to denote this inclusive sense, which and adopted in their as the standard for .

Exclusive disjunction

Exclusive disjunction, also known as exclusive or (XOR), is a binary logical operation in propositional logic that evaluates to true precisely when exactly one of its two propositions is true and the other is false. This operation captures the notion of alternation or between the operands, distinguishing it from other forms of disjunction by excluding the case where both propositions hold simultaneously. The truth conditions of exclusive disjunction are satisfied in two scenarios: when the first is true and the second is false, or when the first is false and the second is true; it yields false when both propositions are true or both are false. For example, the everyday "You can have or coffee, but not both" illustrates this operation, as it implies a choice between the two options without allowing selection of both. Conceptually, exclusive disjunction relates to negation by building on the inclusive disjunction—true when at least one operand is true—but further negating the conjunction of both being true, thereby enforcing the "exactly one" requirement. This distinction highlights how exclusive disjunction addresses scenarios where overlap is undesirable, in contrast to the inclusive variant commonly defaulted to in classical logic. It finds frequent use in contexts demanding strict alternation, such as binary decision-making processes or mutually exclusive options like on-off switches.

Notation

Symbolic representations

The standard symbol for inclusive logical disjunction is the wedge ∨, a Unicode character at code point U+2228, which is conventionally read aloud as "or" in formal logic texts. This notation, ubiquitous in modern propositional and predicate logic, was first systematically employed by and in their 1903 manuscripts on the foundations of mathematics, distinguishing it from symbols for set union. For exclusive logical disjunction, the circled plus symbol ⊕ (Unicode U+2295) is widely used in logical and computational contexts, often alongside the textual abbreviation "xor" to denote the operation explicitly. The ∨ symbol applies to inclusive disjunction (true if at least one operand is true), while ⊕ denotes the exclusive variant (true only if exactly one operand is true). Historically, symbols for disjunction evolved from earlier variants: used the union symbol ∪ in 1888 for both propositional disjunction and set union. These preceded the widespread adoption of ∨ in the early 20th century, influenced by ( and , 1910–1913) and David Hilbert's Grundzüge der theoretischen Logik (1928), which standardized it amid alternatives like ; by the 1930s, ∨ had become the dominant choice due to its alignment with algebraic analogies in logic. In , the ∨ is typically rendered as a compact, downward-pointing in printed mathematical works for clarity and aesthetic with other operators, whereas digital representations rely on encoding to ensure uniform rendering across fonts and platforms, avoiding ambiguities in legacy typefaces. In typesetting systems, the inclusive disjunction is generated via the command \lor, which produces the ∨ with appropriate spacing in mathematical mode. Regarding operator precedence in propositional logic expressions, conjunction (∧) binds more tightly than disjunction (∨), so an expression like p ∧ q ∨ r is parsed as (p ∧ q) ∨ r without parentheses, reflecting the conventional hierarchy where binary connectives like ∧ are evaluated before ∨ to mimic natural linguistic grouping.

Variations across fields

In computer science, particularly within programming languages, logical disjunction is commonly represented using keywords or specific symbols tailored to syntactic conventions. For instance, Python employs the keyword "or" to denote inclusive disjunction in Boolean expressions, evaluating to the first truthy operand or the last falsy one. In contrast, languages like C, C++, and Java utilize the double pipe symbol "||" for the logical OR operator, which performs short-circuit evaluation to avoid unnecessary computations. In , notations for disjunction vary by subfield to align with algebraic or structural emphases. Within , the plus sign "+" frequently serves as the symbol for disjunction, treating it as an additive operation where the result is true if at least one is true, akin to summation in . In , the operator "∪" functions analogously to disjunction, combining elements from two sets such that the result includes all unique members from either, mirroring the inclusive "or" semantics in logic. Philosophical treatments of disjunction often rely on natural language proxies rather than formal symbols, especially in informal or historical contexts like syllogistic logic. The English word "or" or phrases like "either...or" typically stand in for disjunction, conveying alternatives in argumentative structures such as disjunctive syllogisms, where denying one disjunct affirms the other. In more formal philosophical logic, the standard wedge symbol "∨" may appear, but emphasis remains on interpretive nuances over notation. In and digital circuit design, disjunction is depicted through schematic symbols for the , which vary by regional standards. The (ANSI) uses a distinctive curved shape with multiple inputs converging to a pointed output, symbolizing the inclusive OR function in implementations. The (IEC) standard, prevalent in , employs a rectangular box with the label "OR" or ">1" inside, prioritizing uniformity in diagrammatic representations for compatibility. Internationally, notations for logical disjunction exhibit minimal variation due to the global standardization of mathematical symbols, with the wedge "∨" adopted across diverse scripts and traditions. In Russian logical texts, for example, "∨" is employed similarly to Western conventions, facilitating cross-linguistic consistency in formal proofs and theoretical discussions. Non-Latin scripts, such as those in Cyrillic or East Asian mathematical literature, integrate these Unicode-compatible symbols without alteration, ensuring universality in academic exchange.

Classical Disjunction

Semantics

In classical propositional logic, the semantics of disjunction is defined within Tarskian model theory, where a model consists of a valuation that assigns truth values (true or false) to atomic propositions and extends recursively to complex formulas. A formula p \lor q is true in a model M if and only if p is true in M, or q is true in M, or both. This truth condition captures the inclusive nature of classical disjunction, allowing both disjuncts to hold without falsifying the whole. Classical disjunction can also be interpreted using possible worlds semantics, where each corresponds to a complete truth valuation, and p \lor q holds at a world w precisely when at least one of the disjuncts holds at w. In this framework, the semantics aligns with classical logic's static evaluation across worlds, emphasizing truth preservation under the given valuation. Disjunction exhibits upward monotonicity in each argument: if p entails p' (i.e., every model satisfying p also satisfies p'), then p \lor q entails p' \lor q, and analogously for the second position. This property ensures that strengthening a disjunct preserves the truth of the disjunction across models. In the semantic structure of classical logic, disjunction complements conjunction by serving as the join operation in the Boolean lattice of truth values, where conjunction acts as the meet; together, they form the lattice operations that, with negation, yield the full Boolean algebra underlying propositional semantics. This duality positions disjunction as the operation that combines propositions to cover more models, in contrast to conjunction's restriction to shared models. Regarding edge cases, the disjunction p \lor \top (where \top is the , true in all models) is itself a , satisfied universally. Likewise, p \lor \bot (where \bot is the , false in all models) reduces semantically to p, as the disjunction holds exactly where p does.

Truth tables

Truth tables provide an exhaustive method to evaluate the truth value of a compound formed by logical disjunction, based on all possible combinations of truth values for its constituent propositions. In classical propositional logic, propositions are assumed to be either true (T) or false (F), leading to bivalent truth assignments. For a disjunction involving two propositions p and q, there are $2^2 = 4 possible rows in the table, systematically enumerating each combination: both true, p true and q false, p false and q true, and both false. The for inclusive disjunction, denoted p \lor q, defines the output as true unless both inputs are false. This reflects the semantics where the disjunction holds if at least one is true. The table is constructed as follows:
pqp \lor q
TTT
TFT
FTT
FFF
For exclusive disjunction, denoted p \oplus q or XOR, the output is true only when the inputs differ, capturing the notion of "either p or q, but not both." The corresponding is:
pqp \oplus q
TTF
TFT
FTT
FFF
To illustrate usage, consider the (p \lor q) where p is "It is raining" and q is "It is cloudy." Assigning truth values via the shows the disjunction is false only if neither is true (not raining and not cloudy); otherwise, it is true. For more complex formulas with n atomic propositions, the table expands to $2^n rows, with columns added sequentially for each connective following precedence. Truth tables rely on the classical , assigning exactly two truth values to every proposition, which limits their applicability in non-classical systems. In many-valued logics, propositions can take additional values (e.g., or degrees of truth), rendering standard bivalent tables insufficient for evaluation.

Equivalent definitions

Inclusive disjunction, denoted as p \lor q, can be equivalently defined using (\neg) and (\land) via the formula p \lor q \equiv \neg (\neg p \land \neg q). This equivalence follows from , which state that the negation of a conjunction is logically equivalent to the disjunction of the negations: \neg (A \land B) \equiv \neg A \lor \neg B. Substituting A = \neg p and B = \neg q yields \neg (\neg p \land \neg q) \equiv \neg \neg p \lor \neg \neg q. By the double negation law, \neg \neg p \equiv p and \neg \neg q \equiv q, simplifying to p \lor q. This reduction demonstrates how disjunction can be expressed without being a primitive , relying instead on negation and conjunction, whose truth values can be verified to match those of disjunction. Disjunction can also be defined using a single connective, such as the (also known as , denoted |), which is functionally complete on its own. Specifically, p \lor q \equiv (p | p) | (q | q), where p | q = \neg (p \land q). Here, p | p = \neg (p \land p) = \neg p, and similarly q | q = \neg q; thus, (p | p) | (q | q) = \neg p | \neg q = \neg (\neg p \land \neg q), reducing to the prior equivalence for disjunction. Analogously, using the dual NOR operation (Peirce's arrow, \downarrow, where p \downarrow q = \neg (p \lor q)), disjunction is expressed as p \lor q \equiv (p \downarrow q) \downarrow (p \downarrow q), though the form is more commonly highlighted for its simplicity in reductions. Sets of connectives that include disjunction can form a functional basis for classical propositional logic when paired appropriately. The set \{\lor, \neg\} is functionally complete, meaning all other connectives (including and ) can be defined from it; for example, p \land q \equiv \neg (\neg p \lor \neg q). Similarly, \{\land, \neg\} achieves completeness, with disjunction defined as above, but \{\lor, \land\} alone is insufficient without , as it cannot express non-monotonic functions like \neg p. These minimal bases reduce the number of primitive operators needed to express any . The emphasis on equivalent definitions and minimal primitive connectives arose in early 20th-century logic, influenced by efforts to axiomatize formal systems with fewer undefined terms, as seen in David Hilbert's program for the foundations of , which sought to finitize proofs using basic operations. Henry Sheffer's 1913 demonstration that NAND suffices as a single primitive, and Emil Post's 1921 classification of all complete sets, formalized these reductions, enabling disjunction to be derived rather than taken as primitive.

Properties

Logical disjunction, or inclusive or, exhibits several key algebraic and logical properties in classical propositional logic. These properties define its behavior under and allow for simplification of complex expressions. The operation is commutative, meaning that the order of operands does not affect the result: p \lor q \equiv q \lor p. This follows from the symmetric truth-functional definition, where the disjunction is true if at least one holds, regardless of sequence. It is also associative, allowing grouping to be rearranged without changing the value: (p \lor q) \lor r \equiv p \lor (q \lor r). A proof sketch relies on the semantic condition: both sides evaluate to true precisely when at least one of p, q, or r is true, as the left side covers cases where p \lor q holds (implying at least one of the first two) or r holds, mirroring the right side's coverage. Idempotence holds for inclusive disjunction: p \lor p \equiv p. This property indicates that repeating a does not alter its , since the disjunction remains true if p is true and false only if p is false. Disjunction distributes over : p \lor (q \land r) \equiv (p \lor q) \land (p \lor r). This identity enables factoring, analogous to arithmetic distribution, and holds because the right side is true if p is true or both q and r are true, matching the left. The absorption law simplifies expressions involving both connectives: p \lor (p \land q) \equiv p. Here, if p is true, the whole is true; if false, the conjunction is false, so the disjunction is false, reducing to p. De Morgan's law relates disjunction to and : \neg(p \lor q) \equiv \neg p \land \neg q. This duality transforms disjunctions into conjunctions under negation, useful for pushing negations inward. In terms of inference, disjunction supports rules like the : from p \lor q and \neg p, one infers q. This elimination rule is valid because if p is false, the disjunction's truth requires q to hold. Exclusive disjunction (p \oplus q), by contrast, lacks : p \oplus p \equiv \bot (false), as both operands being identical yields false. While commutative like its inclusive counterpart (p \oplus q \equiv q \oplus p), it is associative in binary extensions ((p \oplus q) \oplus r \equiv p \oplus (q \oplus r)), but multi-operand exclusive disjunction is defined via odd parity rather than strict "exactly one," differing from inclusive's "at least one."

Applications

Computer science

In computer science, logical disjunction is implemented as the bitwise OR (| in many programming languages), which applies disjunction bit by bit to the representations of integers. For instance, performing bitwise OR on the binary values 101 ( 5) and 011 ( 3) results in 111 ( 7), since the output bit is 1 wherever at least one corresponding input bit is 1. This is essential for tasks like setting specific bits in flags, masks, or permissions in low-level programming and embedded systems. The logical OR operator (|| in languages such as C++) extends disjunction to expressions, particularly in conditional statements where is employed. In an expression like if (a || b), if a evaluates to true, b is not computed, as the overall result is already true. This mechanism enhances efficiency by reducing unnecessary computations and avoids potential runtime errors, such as accessing invalid memory or performing in b. In constructive proof assistants like , which are grounded in , disjunction (denoted ∨ or or in Coq) requires explicit construction: a proof of A ∨ B must provide either a witness for A (via left introduction, or_introl) or for B (via right introduction, or_intror). During theorem proving, case analysis on a disjunction—using tactics like destruct—splits the proof into separate subgoals for each disjunct, ensuring the proof yields computational content, such as in verifying that if n = 0 ∨ m = 0 then n × m = 0. This aligns with in Martin-Löf type theory, where disjunction excludes the and demands decidable evidence. Bitwise OR operations exhibit O(1) for fixed-word-size integers (e.g., 32-bit or 64-bit), as they involve a constant number of processor-level bit manipulations regardless of the integer values. in logical OR further optimizes by potentially halving evaluations in chained conditions. At the hardware level, disjunction is embodied in , fundamental building blocks of circuits that output 1 if any input is 1. The for a two-input OR gate is:
Input AInput BOutput
000
011
101
111
These gates are realized in using -level designs, such as where inputs drive bases, saturating at least one to produce a high output. OR gates form in CPUs and FPGAs, enabling operations like address decoding and arithmetic.

Set theory

In set theory, logical disjunction corresponds directly to the operation on sets. The union of two sets A and B, denoted A \cup B, is defined as the set containing all elements that belong to A, to B, or to both, formally expressed as A \cup B = \{ x \mid x \in A \lor x \in B \}. This construction embodies the inclusive semantics of disjunction, where an element satisfies the condition if it is in at least one of the sets, paralleling the truth condition of propositional P \lor Q where the disjunction holds if at least one proposition is true. Venn diagrams provide a visual representation of this correspondence, illustrating the of sets A and B as the total area enclosed by the two overlapping circles, encompassing both the exclusive regions of each set and their shared overlap. In contrast, the A \cap B is depicted solely by the overlapping region, highlighting elements common to both sets and underscoring the distinction between inclusive union (disjunction) and conjunctive overlap. The operation exhibits key algebraic properties that align with those of logical disjunction in structures: it is commutative, so A \cup B = B \cup A; associative, so (A \cup B) \cup C = A \cup (B \cup C); and distributive over intersection, so A \cup (B \cap C) = (A \cup B) \cap (A \cup C). These identities hold for arbitrary sets and form the basis for manipulating set expressions, much as they do for propositional formulas. The algebra of sets under union (\cup), intersection (\cap), and complement forms a Boolean algebra, which is isomorphic to the Boolean algebra generated by propositions, where the disjunction operator \lor maps precisely to set union via the Stone representation theorem. This isomorphism preserves the lattice structure, with disjunction/union serving as the join operation, enabling the translation of logical tautologies into set-theoretic identities. For collections, unions extend naturally; the power set of any set S, consisting of all of S, is closed under arbitrary unions, meaning the union of any subfamily of subsets remains a of the power set. In terms of , the union of a countably family of countable sets has at most countable , illustrating how disjunctive combinations preserve or bound set sizes in foundational .

Natural language

In natural language, the English word "or" primarily functions as an inclusive disjunction, allowing for the possibility that both alternatives may hold true, much like the logical operator ∨ in formal semantics. This usage is the default in many contexts, such as enumerations or lists, where "or" connects options without excluding their joint occurrence. For instance, the phrase "apples or oranges" typically implies that one might select apples, oranges, or both, reflecting an inclusive interpretation that aligns with everyday or descriptions./09%3A_Pragmatic_inference_after_Grice/9.02%3A_Meanings_of_English_words_vs._logical_operators) However, "or" can also convey an exclusive sense in context-dependent scenarios, particularly when implying a mutually exclusive between alternatives. Expressions like "this or that" often suggest selection of one option to the exclusion of the other, as in scenarios involving decisions or contrasts, though this exclusivity arises from pragmatic inference rather than inherent semantics. This distinguishes natural language disjunction from strictly formal , where inclusive and exclusive forms are precisely defined. A key mechanism behind the exclusive reading of "or" is scalar implicature, a Gricean pragmatic phenomenon where speakers infer that not both alternatives apply, based on the maxim of quantity—choosing a weaker term like "or" (inclusive) implicates avoidance of a stronger one like "and" (both). According to Grice's framework, this inference is cancellable and context-sensitive, explaining why "or" defaults to inclusive semantics but yields exclusive interpretations in cooperative dialogue. For example, "I'll have tea or coffee" may implicate exclusivity in a restaurant setting, but adding "or both" cancels it without contradiction. Linguistic studies highlight cross-language parallels and variations in disjunctive connectives. In English, "or" is semantically inclusive, with exclusivity derived pragmatically; similarly, "" encodes an inclusive disjunction, as in " a invité Anne ou Paul" (Jacques invited Anne or Paul, possibly both), though complex forms like "soit...soit" strengthen exclusivity. Experimental data across languages, including English and , show rejection rates for both-inclusive scenarios around 20-40% for disjunctives, confirming their ambiguous but inclusive base, unlike dedicated exclusive markers in some languages. This linguistic ambiguity can lead to logical fallacies when natural "or" is misinterpreted in argumentative contexts, such as the affirming the disjunct fallacy, where an inclusive disjunction is treated as exclusive to draw invalid conclusions. For example, from "Either the is on or the switch is up" (inclusive), one might erroneously affirm "The is on, so the switch is not up," ignoring the possibility of both. Such errors underscore the need to distinguish everyday usage from formal logic to avoid flawed reasoning.

Philosophy and logic

In classical , disjunctive syllogism serves as a fundamental valid inference rule, allowing one to deduce a disjunct from a disjunction and the of the other disjunct, as in the form: from (P \vee Q) and \neg P, infer Q. This form traces back to ancient logic, where is credited with recognizing its validity, distinguishing it from mere enumeration by emphasizing deductive force in argumentative reasoning. Philosophers such as implicitly employed similar structures in syllogistic reasoning, though formalized later, to resolve alternatives in ethical and metaphysical inquiries, ensuring conclusions follow relevant premises without . In non-classical logics, disjunction exhibits distinct behaviors that challenge classical assumptions. , developed to address , rejects the classical explosion principle—where a implies any —and accordingly limits disjunction's inferential power, often invalidating unless the disjuncts share relevant variables. This ensures inferences remain pertinent, avoiding irrelevant conclusions from disjunctions, as seen in systems like R where (P \vee Q) \land \neg P does not always yield Q without variable sharing. , emphasizing constructive proofs, treats disjunction A \vee B as requiring an explicit construction or proof of at least one disjunct, per the Brouwer-Heyting-Kolmogorov , and possesses the disjunction property: if \vdash A \vee B, then \vdash A or \vdash B. This contrasts with by rejecting the (A \vee \neg A) unless constructively verifiable, impacting philosophical arguments in and metaphysics that demand effective demonstrations. Philosophical debates often center on inclusive versus exclusive disjunction, with the former (P \vee Q, true if at least one holds) dominating classical semantics, while the latter (true only if exactly one holds) arises in contexts requiring . In metaphysics, inclusive disjunction supports bivalent reality claims, but exclusive variants appear in dilemmas like free choice permissions, where "one implies both options are possible without commitment to both, influencing analyses of . Ethically, this distinction affects deontic reasoning, as in , where an exclusive disjunction between and is critiqued in favor of inclusive alternatives to accommodate without exhaustive partition. Disjunction features prominently in paradoxes like the sorites, which challenges vague predicates through chained inferences, often resolvable via non-classical treatments of disjunction. Supervaluationism, for instance, permits true disjunctions (e.g., "this is a heap or not") in borderline cases where neither disjunct is supertrue, avoiding the paradox by gap-inclusive semantics without classical bivalence. Such approaches highlight disjunction's role in metaphysical debates on , where disjunctive chains reveal tensions between precision and boundaries.

History

Ancient origins

The concept of logical disjunction traces its roots to ancient philosophical traditions, where it emerged as a tool for reasoning without the benefit of modern formal notation. Aristotelian logic, developed in the 4th century BCE, did not explicitly include disjunction as a propositional connective, focusing instead on categorical syllogisms and term-based opposition as outlined in the Prior Analytics. The square of opposition involved contradictory propositions—such as "All S is P" and "No S is P"—which cannot both be true or both false, providing a foundation for later disjunctive reasoning through mutual exclusivity, though treated as relational properties among terms rather than a standalone operator. The Stoics advanced disjunction into a more explicit propositional framework around the BCE, with (c. 280–207 BCE) distinguishing between "connected" propositions—joined by conjunctions ("both... and...") or conditionals ("if..., then...")—and "disjoined" ones, connected by the particle "or" (ἤ). disjunction was exclusive and exhaustive, holding true only when precisely one disjunct was true and the alternatives covered all possibilities, as in "Either it is day or it is night." This formulation supported key inferences, such as the fourth indemonstrable: from a disjunction and one affirmed disjunct, the contradictory of the other follows. 's system marked a shift toward analyzing whole propositions, contrasting with Aristotle's term-based focus, and laid groundwork for non-monotonic reasoning in complex arguments. In parallel, ancient Indian logic within the school, formalized in the Nyāya-sūtra attributed to Akṣapāda Gautama (c. BCE–), incorporated disjunctive elements through the concept of anyathā ("otherwise"), integral to arthāpatti (postulation or presumption) as a means of . This involved reasoning that a proposition must hold true to avoid in an ; for example, observing a fat person fasting at night leads to the postulate that they eat during the day, as "otherwise" their fatness would be inexplicable. treated such disjunctive inferences as a valid pramāṇa (source of ), extending syllogistic forms to handle hypothetical alternatives and resolving ambiguities in empirical observation. Ancient treatments of disjunction relied entirely on expressions in philosophical dialogues and treatises, lacking abstract symbols or algebraic notation; arguments were articulated through verbal connectives like "ἤ" or "vā," embedded in prose to convey exclusivity or alternatives. This linguistic approach, while flexible for dialectical debates, limited precision and scalability compared to later symbolic systems. These ancient foundations profoundly shaped medieval , particularly through Latin translations of via (c. 480–524 CE), which integrated oppositional disjunctions into and insolubles discussions. Stoic influences filtered through intermediaries like , informing scholastic treatments of exclusive disjunction in Summulae Logicales by Peter of Spain (13th century), while concepts indirectly echoed in cross-cultural exchanges via Arabic logic, enriching debates on conditional and alternative reasoning in works by .

Modern developments

In the mid-19th century, formalized logical disjunction within the framework of an algebraic system in his seminal 1854 work, An Investigation of the Laws of Thought. Boole treated disjunction as an additive operation (+), analogous to in sets, where the result is 1 (true) if at least one is true, thereby establishing the mathematical foundations of what would later be known as . This algebraic approach shifted disjunction from philosophical discourse to a rigorous, symbolic structure amenable to computation and proof. Building on Boole's innovations, advanced the formalization of propositional logic in the late 19th century through his 1879 , introducing a two-dimensional notation that expressed disjunction derivatively via and the conditional connective, emphasizing logic's role as a foundation for . Subsequently, and , in their multi-volume (1910–1913), elevated disjunction to a , denoted by ∨, alongside as one of the two undefined propositional connectives. Their system defined and other connectives in terms of ∨ and ¬, providing a comprehensive axiomatization that influenced subsequent logical developments. Post-World War II, disjunction found widespread adoption in computer science, facilitated by Alan Turing's theoretical models of computation and John von Neumann's architectural designs. Turing's 1936 paper on computable numbers implicitly relied on propositional logic, including disjunctive structures, to define algorithmic processes, while von Neumann's 1945 First Draft of a Report on the EDVAC explicitly incorporated Boolean disjunction (as the OR gate) in the logical control units of stored-program computers, enabling binary decision-making in electronic circuits. This integration propelled disjunction from abstract logic to practical hardware implementation. The 20th century also saw the emergence of non-classical logics that extended or modified disjunction beyond binary truth values. In fuzzy logic, pioneered by Lotfi Zadeh's 1965 theory of fuzzy sets, disjunction is generalized as a t-conorm—often the maximum function—allowing intermediate truth degrees between 0 and 1 to model vagueness in real-world reasoning. Similarly, paraconsistent logics, systematized by Newton C. A. da Costa in the 1960s, allow for the tolerance of inconsistencies without the principle of explosion implying all propositions, achieved by introducing consistency operators and modifying inference rules while retaining standard semantics for disjunction in many systems. These developments broadened disjunction's applicability in fields like artificial intelligence and database systems.

References

  1. [1]
  2. [2]
    Conjunction, Negation, and Disjunction - Philosophy Home Page
    The logical operations of conjunction, negation, and disjunction (alteration) are discussed with respect to their truth-table definitions.
  3. [3]
    [PDF] Introduction to Logic - UNL School of Computing
    Logic. CSCE 235. 12. Logical Connective: Logical OR. • The logical disjunction, or logical OR, is true if one or both of the propositions are true. • Examples.
  4. [4]
    Logic in Coq - Software Foundations
    Disjunction. Another important connective is the disjunction, or logical or, of two propositions: A ∨ B is true when either A or B is. (This infix notation ...
  5. [5]
    [PDF] Lecture Notes on Mathematical Logic - UT Computer Science
    F ∧ (G ∨ H) ∼ (F ∧ G) ∨ (F ∧ H);. 6. Page 7. disjunction distributes over conjunction: F ∨ (G ∧ H) ∼ (F ∨ G) ∧ (F ∨ H). Do these connectives ...
  6. [6]
    [PDF] Handout 1
    F ∧ (G ∨ H) ∼ (F ∧ G) ∨ (F ∧ H); disjunction distributes over conjunction: F ∨ (G ∧ H) ∼ (F ∨ G) ∧ (F ∨ H). Do these connectives distribute over ...
  7. [7]
    Disjunction - Stanford Encyclopedia of Philosophy
    Mar 23, 2016 · In logic, disjunction is a binary connective ( ∨ ) classically interpreted as a truth function the output of which is true if at least one ...
  8. [8]
    Propositional Logic | Internet Encyclopedia of Philosophy
    The logical signs '∧ ∧ \land ∧', '∨ ∨ \lor ∨', '→', '↔', and '¬ ¬ \neg ¬' are used in place of the truth-functional operators, “and”, “or”, “if… then…”, “if and ...<|control11|><|separator|>
  9. [9]
    [PDF] The Biconditional and the Exclusive Or - FSU Math
    An exclusive disjunction, more simply called an exlcusive or, is a statement of the form “p or q (but not both).” This is denoted p ⊕ q, and is sometimes ...
  10. [10]
    [PDF] Propositional logic
    Feb 6, 2016 · be interpreted exclusively: an exclusive disjunction is true iff exactly one of the disjuncts is true. ... In propositional logic, an implication ...
  11. [11]
    [PDF] A formal theory can explain the disjunctive illusory inferences
    Dec 4, 2014 · As it is well known, according to standard logic, an exclusive disjunction is true when a disjunct is true and the other disjunct is false ...
  12. [12]
    Logical or Boolean operators - Ada Computer Science
    The logical XOR (eXclusive OR) operator can be used to form a Boolean ... Tea or coffee? False, False, Choose either tea or coffee but not both. False ...
  13. [13]
    [PDF] Exclusive or
    Oct 28, 2010 · [1] A simple way to state this is "one or the other but not both." Put differently, exclusive disjunction is a logical operation on two logical ...
  14. [14]
    [PDF] Symbolic Logic: A Razor-Edged Tool for Drafting and Interpreting ...
    An exclusive disjunction is a statement that asserts the truth of one or the other of its two subsidiary propositions, but not both. If it is assumed that no.
  15. [15]
    [2012.06072] The Genealogy of '$\lor$' - arXiv
    Dec 11, 2020 · The use of the symbol \lor for disjunction in formal logic is ubiquitous. Where did it come from? The paper details the evolution of the symbol ...
  16. [16]
    XOR -- from Wolfram MathWorld
    XOR is a connective in logic known as the "exclusive or," or exclusive disjunction. It yields true if exactly one (but not both) of two conditions is true.
  17. [17]
    Logical symbol for exclusive disjunction: fwwf - LaTeX Stack Exchange
    Nov 12, 2012 · The symbol for exclusive disjunction (neither p nor q) is >--<, but it is non-standard and there is no standard symbol. It means '... and... but ...
  18. [18]
    Chapter 2 - Stanford Introduction to Logic
    The ¬ operator has higher precedence than ∧; ∧ has higher precedence than ∨; ∨ has higher precedence than ⇒; and ⇒ has higher precedence than ⇔.
  19. [19]
    Built-in Types — Python 3.14.0 documentation
    and , or , not ¶. These are the Boolean operations, ordered by ascending priority: Operation. Result. Notes ...
  20. [20]
    6.8: Logical Operators - Engineering LibreTexts
    May 3, 2025 · The && - meaning AND - simply says that both sides must be true. The || - meaning or - simply says that one or the other must be true. The ! - ...
  21. [21]
    1.1 Logical Operations - Whitman College
    Today these symbols are still sometimes used in Boolean algebra, though the symbols `∧' and `∨', and `∩' and `∪', are also used. Boole applied algebraic ...
  22. [22]
    Disjunction - Mathematical logic - Applications and Examples - AllMath
    Aug 8, 2023 · In set theory, disjunction refers to the union of sets. The union of two sets A and B represents the set containing all elements in either A or ...<|separator|>
  23. [23]
    OR Gate: A Complete Guide to Symbols, Truth Table & More -
    Aug 20, 2025 · The gate's visual representation aligns with the American ANSI style, most notably illustrated through the characteristic curved symbol, but ...
  24. [24]
    Logical operations and boolean functions - x-engineer.org
    OR gate ; OR, OR gate - ANSI symbol, OR gate - IEC symbol · A, B ; OR, OR gate - ANSI symbol, OR gate - IEC symbol · 0, 0 ; OR, OR gate - ANSI symbol, OR gate - IEC ...And Gate · Or Gate · Nor Gate
  25. [25]
    [PDF] CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS 1 Language
    We define a classical semantics for L in terms of two factors: classical truth tables (reflexes the extensionality of connectives) and a truth assignment.<|control11|><|separator|>
  26. [26]
    Propositional Logic
    The definitions for negation, conjunction, and disjunction are common, and correspond directly to their English meanings. Equivalence is also quite straight ...
  27. [27]
    [PDF] Proof Polynomilas - Sergei N. Artemov
    Possible Worlds Semantics by Saul Kripke. Classical logic, propositional and quantified alike, gives a static picture of the world. A classical ...<|control11|><|separator|>
  28. [28]
    [PDF] Monotonicity and Polarity in Natural Logic - Stanford University
    Disjunction ∨ as a monotone function. (T,F). (F,T). (F,F). (T,T). T. F. ×. 53/70. Page 71. What about implication →? Is it a monotone function from × to ? (T,F).
  29. [29]
    Truth Tables, Tautologies, and Logical Equivalences
    A truth table shows how a compound statement's truth depends on its simple statements. A tautology is always true, and a contradiction is always false.
  30. [30]
    [PDF] Mathematical Logic
    Apr 15, 2020 · Also called logical negation. ○ Logical AND: p ∧ q. ○ Read ... is equivalent to. ¬p ∧ ¬q. ○ These two equivalences are called De Morgan's.<|control11|><|separator|>
  31. [31]
    Propositional Logic - Discrete Mathematics - An Open Introduction
    Use De Morgan's Laws, and any other logical equivalence facts you know to simplify the following statements. Show all your steps. Your final statements should ...
  32. [32]
    The Sheffer Stroke | Internet Encyclopedia of Philosophy
    ... inclusive disjunction. A variable may be shifted from left to right or from right to left by being negated. Repeated variable letters may be deleted (by means ...
  33. [33]
    Propositional Logic - Stanford Encyclopedia of Philosophy
    May 18, 2023 · It can be helpful to think of the connectives as “propositional functions” that take propositions (denoted by formulas) as input and return ...
  34. [34]
    Functional Completeness | Logic Notes - ANU
    In general, to show that a set of connectives is functionally complete, we just need to show that they can define negation and any one of ∧, ∨ or →. To show ...
  35. [35]
    Functional Completeness in Digital Logic - GeeksforGeeks
    Sep 17, 2024 · Functional Completeness is a crucial concept in digital logic design. A set of logical operators is functionally complete if it can be used ...Post's Functional... · Solved Examples of functional...
  36. [36]
    Hilbert's Program - Stanford Encyclopedia of Philosophy
    Jul 31, 2003 · All of these methods can be formalized in a system known as primitive recursive arithmetic (\(\PRA\)), which allows definitions of functions by ...Missing: connectives | Show results with:connectives
  37. [37]
  38. [38]
    [PDF] forall x: Calgary (Accessible). An Introduction to Formal Logic
    Jul 22, 2023 · Laws (named after Augustus De Morgan). The shape of the rules should be familiar from truth tables. The first De Morgan rule is: m. ¬(A∧ B).
  39. [39]
    [PDF] A FIRST COURSE IN LOGIC
    ≡ ¬(p ∧ q) ∨ r by associativity and De Morgan. ≡ (p ∧ q) → r by Example 4.1(1). 4. We show that p → (q → r) ≡ q → (p → r). p → (q → r) ≡ ¬p ...
  40. [40]
    exclusive disjunction in nLab
    Sep 6, 2024 · In propositional logic, the exclusive disjunction (also called exclusive or or simply xor) of a family of statements (truth values, propositions, predicates, ...
  41. [41]
    Bitwise Operators in C - GeeksforGeeks
    Oct 8, 2025 · Bitwise operators are used to perform operations directly on the binary representations of numbers. These operators work by manipulating individual bits (0s ...C Logical Operators · Swap bits in a given number · Add two numbers without...
  42. [42]
    What is Bitwise? - TechTarget
    Jul 6, 2022 · Bitwise is a level of operation that involves working with individual bits which are the smallest units of data in a computing system.
  43. [43]
    Short-circuit evaluation in Programming - GeeksforGeeks
    Jul 23, 2025 · Short-circuiting is a programming concept in which the compiler skips the execution or evaluation of some sub-expressions in a logical expression.
  44. [44]
    [PDF] Constructive Type Theory and Interactive Theorem Proving
    Interactive theorem provers - proof assistants. Examples: Classical set theory ... • A proof of a disjunction is either a proof of left or of right disjunct.
  45. [45]
    Bitwise operations for beginners - Codeforces
    Time complexity of every bitwise operation is O(1). These operations are very very fast (well, popcount is just fast) and doing 109 of them might fit in 1 ...1097B · Errichto's blog · 550B
  46. [46]
    OR Gate - GeeksforGeeks
    Jul 23, 2025 · OR gate is most widely used digital logic circuit and is known as a primitive digital electronics building block in digital logic.
  47. [47]
    Logic OR Gate Tutorial
    The Logic OR Gate is a type of digital logic circuit whose output goes HIGH to a logic level 1 only when one or more of its inputs are HIGH.
  48. [48]
    [PDF] Chapter 1 Logic and Set Theory
    Similarly, a logical disjunction is an operator on two logical propositions that is true if either statement is true or both are true, and is false ...
  49. [49]
    2.3: Venn Diagrams and Euler Diagrams
    ### Summary of Venn Diagrams for Union and Intersection
  50. [50]
    2.5: Properties of Sets
    ### Properties of Sets: Union
  51. [51]
    The Mathematics of Boolean Algebra (Stanford Encyclopedia of Philosophy)
    ### Summary of Isomorphism Between Boolean Algebras of Propositions and Sets (Focusing on Disjunction and Union)
  52. [52]
    [PDF] Introductory Cardinality Theory
    Theorem 10: The union of a countably infinite collection of countably infinite sets is countably infinite. Proof: Let the countably infinite sets be A A. 0. 1.
  53. [53]
    Logical Fallacy: Affirming a Disjunct
    Inclusive (or "weak") disjunction: One or both of the disjuncts is true, which is what is meant by the "and/or" of legalese. · Exclusive (or "strong") ...Affirming A Disjunct · Alias · Exposition<|control11|><|separator|>
  54. [54]
    [PDF] Scalar Implicatures and Their Interface with Grammar
    A nice feature of Grice's approach is the way it accounts for the optionality of implicatures: If there are reasons to believe that a maxim (or any auxiliary ...
  55. [55]
    Do Languages Have Exclusive Disjunctions? - PMC - NIH
    Dec 15, 2024 · This list corresponds to the test items for English or. The first ... As an anonymous reviewer pointed out to us however, in French, ou ...
  56. [56]
    Ancient Logic - Stanford Encyclopedia of Philosophy
    Dec 13, 2006 · A mode is syllogistic, if a corresponding argument with the same form is a syllogism (because of that form). However in Stoic logic there are no ...
  57. [57]
    Relevance Logic - Stanford Encyclopedia of Philosophy
    Jun 17, 1998 · Disjunction has very similar truth and falsity conditions. Dunn put forward his semantics to characterize the logic of First Degree ...Systems Closely Related to... · Applications and Extensions of... · Bibliography
  58. [58]
    Intuitionistic Logic - Stanford Encyclopedia of Philosophy
    Sep 1, 1999 · Gentzen [1935] established the disjunction property for closed formulas of intuitionistic predicate logic. From this it follows that if ...Intuitionistic First-Order... · Intuitionistic Number Theory... · Basic Proof Theory
  59. [59]
    The challenge of consciousness with special reference to the ...
    The central thesis is about David Chalmers's philosophy being based on an exclusive disjunction. An inclusive disjunction is, when explained, more appropriate.
  60. [60]
    Sorites paradox - Stanford Encyclopedia of Philosophy
    Jan 17, 1997 · It countenances instances of true disjunctions neither of whose disjuncts is (super) true. Conjunction and the conditional exhibit analogous ...
  61. [61]
    Aristotle's Logic - Stanford Encyclopedia of Philosophy
    Mar 18, 2000 · Syllogisms are structures of sentences each of which can meaningfully be called true or false: assertions (apophanseis), in Aristotle's ...
  62. [62]
    Logic in Classical Indian Philosophy
    Apr 19, 2011 · This article will chronicle the answers Indian philosophers gave to these questions during the preclassical and classical period.Missing: anyathā | Show results with:anyathā
  63. [63]
    The Legacy of Ancient Logic (III) - Cambridge University Press
    Apr 29, 2023 · Aristotelian logic was the basis for various traditions of medieval logic: Greek, Armenian, Syriac, Latin, Arabic, and Hebrew.
  64. [64]
    [PDF] Project Gutenberg's An Investigation of the Laws of Thought, by ...
    THE LAWS OF THOUGHT,. ON WHICH ARE FOUNDED. THE MATHEMATICAL THEORIES OF LOGIC AND. PROBABILITIES. BY. GEORGE BOOLE, LL. D. PROFESSOR OF MATHEMATICS IN QUEEN'S ...
  65. [65]
    Frege's Logic - Stanford Encyclopedia of Philosophy
    Feb 7, 2023 · ... inclusive disjunction, exclusive disjunction, and conjunction as: conditional {not term B} {term A}. inclusive disjunction. not conditional ...
  66. [66]
    [PDF] First draft report on the EDVAC by John von Neumann - MIT
    As emphasized before, this applies to the physical device as well as to the arithmetical and logical arrangements which govern its functioning. 3.3 In the ...
  67. [67]
    Paraconsistent Logic - Stanford Encyclopedia of Philosophy
    Sep 24, 1996 · In the twentieth century, alternatives to an explosive account of logical consequence occurred to different people at different times and places ...Missing: emergence | Show results with:emergence