ti什么意思| 四维彩超是检查什么| ivu是什么检查| 奢侈的近义词是什么| 张良和刘邦是什么关系| 骨密度检查是查什么| 因果关系是什么意思| 心烦焦虑吃什么药| 贫血要做什么检查| 冬天什么| 梅花什么时候开放| 女性为什么会肾结石| 结石什么原因引起的| 餐饮sop是什么意思| 2003属什么生肖| 非食健字是什么意思| 尿素低是什么原因| 尿检隐血弱阳性是什么意思| 风湿类风湿有什么区别| 大脑供血不足头晕吃什么药最好| txt是什么意思| 浠字五行属什么| 娃娃鱼是什么动物| 11月8日是什么星座| cinderella是什么意思| 惊蛰是什么季节的节气| 双身什么意思| 产假从什么时候开始算| 女人什么时候最容易怀孕| kipling是什么牌子| 手指缝溃烂擦什么药膏| 草长莺飞是什么生肖| 复方氨酚烷胺胶囊是什么药| 指甲油什么牌子好| 滋生是什么意思| 右肺上叶为什么恶性多| 懒觉什么意思| 什么沐浴露好用| 青稞是什么东西| 蛤蟆吃什么| 小便无力是什么原因| 小腿麻木是什么原因| 梗是什么意思| 吃避孕药有什么危害| 6岁儿童为什么会长腿毛| 高危妊娠是什么意思啊| 中年人喝什么奶粉好| 黄瓜为什么叫黄瓜| 窦性心律逆钟向转位是什么意思| lof是什么意思| 口差念什么| 什么叫窦性心律不齐| c反应蛋白高是什么意思| 心率偏高是什么原因| 男人吃什么容易生儿子| sp是什么面料成分| 男士感染霉菌用什么药| 419什么意思| 真菌阳性是什么意思| 主播是什么意思| 四月三日是什么星座| 知世故而不世故是什么意思| 站街女是什么意思| 手脚浮肿是什么原因| 什么是春梦| 化作风化作雨是什么歌| 牙龈肿痛上火吃什么药最好| 脚踝韧带拉伤吃什么| 梦见自己洗衣服是什么意思| iqr是什么意思| 异国他乡的意思是什么| 月经期生气会造成什么后果| 油价什么时候下调| 绣眼鸟吃什么| 百忙之中什么意思| 药品经营与管理学什么| 头里面有肿瘤有什么症状| 赤潮是什么| 贯众是什么植物| 睾丸疼是什么原因| 晚上十一点是什么时辰| 舌头短的人意味着什么| 用醋泡脚有什么好处| 膝盖窝疼是什么原因| 梦见自己有孩子了是什么预兆| 婆什么起舞| 摩羯座哭了代表什么| 什么是猥亵| 一个土一个斤念什么| 雉是什么动物| 空气炸锅可以做什么| 做护士需要什么条件| 养精蓄锐是什么意思| kyocera是什么牌子| 酸中毒是什么意思| 1.8号是什么星座| 风湿关节炎用什么药| 三七花泡水喝有什么功效和作用| 嗷嗷待哺是什么意思| saa是什么意思| 1972属什么| 维生素c补什么| 什么是符号| 爱马仕是什么牌子| 什么食物含维生素b12最多| 六月初五是什么星座| meshor是什么牌子的手表| 不孕为什么要查胰岛素| 男人为什么会出轨| 什么的莲蓬| 皮肤黄是什么原因引起的| 鹿的角像什么| 大小便失禁是什么原因| 多梦是什么原因| 风土人情是什么意思| 备孕叶酸什么时候吃最好| 高回声结节是什么意思| 打完疫苗不能吃什么| 猫为什么流眼泪| 红白相间是什么意思| 什么颜色最吸热| 三月三日是什么星座| 喝酒后肚子疼什么原因| 肚子疼是什么原因一阵一阵的| 雄性激素过高是什么原因| 热火朝天是什么生肖| 低压高吃什么药好| ige是什么| 什么方法不掉头发| cafe是什么意思| 白色裤子配什么上衣好看| 人生得意须尽欢是什么意思| 毕业送什么花| 红枣和灰枣有什么区别| 为什么一直不怀孕是什么原因| 永垂不朽是什么意思| 同字五行属什么| 心季是什么原因| 泌尿是什么意思| 梦到前女友是什么意思| hook是什么意思| 男女授受不亲是什么意思| 梦笔生花的意思是什么| 肋骨下面疼是什么原因| 对口高考班是什么意思| 晚上喝红酒有什么好处和坏处| 干什么最赚钱| 出类拔萃什么意思| 拉绿色大便是什么原因| 瞳距是什么| 菱角什么时候成熟| 牙龈肿痛吃什么药| 结石是什么原因引起的| 高血压突然变成低血压是什么原因| 姓陆的女孩取什么名字好| 淋巴结肿大看什么科室最好| 人体消化道中最长的器官是什么| 梦见火是什么意思| 腹部增强ct能检查出什么| hp代表什么意思| 孩子流黄鼻涕是什么原因| 45是什么生肖| 什么什么为笑| 猫上门为什么不能赶走| 褒姒是什么意思| 薛之谦属什么生肖| gpd是什么意思| 单字五行属什么| 12月份是什么星座| 心脏逆钟向转位是什么意思| 中元节是什么时候| swisse是什么药| 一杆进洞叫什么球| 清宫和人流有什么区别| 木羽念什么| 什么叫人均可支配收入| ccu是什么意思| 男士吃什么壮阳最厉害| 泡脚时间长了有什么坏处| 情非得已是什么生肖| 满江红是什么植物| 乳腺看什么科室| 老是拉肚子什么原因| 喝什么去火效果最好| 脂质是什么| 为什么有眼袋是什么原因引起的| 梦见棺材是什么征兆| 痔疮术后吃什么恢复快| 仓鼠喜欢吃什么| 神经性皮炎用什么药最好| 蝉什么时候叫| 背叛什么意思| 什么是数位板| 鸿雁是什么意思| 脑胀是什么原因| 贫血吃什么水果补血最快| 什么茶可以降血压| a代表什么意思| 宫颈出血是什么原因| 精囊炎吃什么药| 什么地跳| 刷墙的白色涂料叫什么| 古代警察叫什么| 传染病4项是什么| 双鱼女和什么星座最配| 山东有什么特产| 湿热喝什么茶可以调理| 一个骨一个宽是什么字| 小狗感冒吃什么药| 孩子为什么不说话| rng是什么意思| hcg阴性是什么意思| 肛门挂什么科| 什么动物吃蚂蚁| 21.75是什么意思| 新生儿超敏c反应蛋白高说明什么| 居住证有什么用| 吃什么能让阴茎更硬| 禁果什么意思| 肾脏彩超能检查出什么| 奄奄一息的息是什么意思| cacao是什么意思| 什么是碳水化合物| 麦麸是什么| 吸烟有什么好处| 翠绿的什么| 氯化镁是什么| 小混混是什么意思| 为什么会宫缩| 浮想联翩什么意思| 肚子痛去药店买什么药| 杨琴是什么乐器| 内衣为什么会发霉| 脚趾痒是什么原因| 思利及人是什么意思| 什么是健康| 血糖高吃什么主食最好| 梦见狐狸是什么意思| 堂妹是什么关系| 夏天的诗句有什么| 新蒜什么时候上市| 为什么掉发严重| 皮蛋吃了有什么好处和坏处| 岑字五行属什么| 医院为什么不推荐腹膜透析| 手串18颗代表什么意思| 烤麸是什么| 做什么检查确诊是白塞| 脚后跟疼是什么原因引起的| 92是什么意思| 骨头受伤了吃什么恢复的快| 胆结石不能吃什么东西| 左下腹部是什么器官| 12月24是什么星座| 拉肚子吃什么药| 平字五行属什么| 肋骨外翻有什么危害| 霉菌反复发作是什么原因| 什么叫手足口病| 命是什么意思| 盆腔静脉石是什么意思| 冰晶是什么东西| 优越感是什么意思| 空调感冒吃什么药| 百度Jump to content

京冀税务携手 共同服务新机场

From Wikipedia, the free encyclopedia
Logical disjunction
OR
Venn diagram of Logical disjunction
Definition
Truth table
Logic gate
Normal forms
Disjunctive
Conjunctive
Zhegalkin polynomial
Post's lattices
0-preservingyes
1-preservingyes
Monotoneyes
Affineno
Self-dualno
Venn diagram of
百度   中国社科院中国廉政研究中心副秘书长蒋来用认为,这一长串令人震撼的反腐败战报,一方面充分显示中央将反腐败进行到底的坚定决心,另一方面也透露出当前反腐败斗争形势的复杂严峻,不能有丝毫松懈。

In logic, disjunction (also known as logical disjunction, logical or, logical addition, or inclusive disjunction) is a logical connective typically notated as and read aloud as "or". For instance, the English language sentence "it is sunny or it is warm" can be represented in logic using the disjunctive formula , assuming that abbreviates "it is sunny" and abbreviates "it is warm".

In classical logic, disjunction is given a truth functional semantics according to which a formula is true unless both and are false. Because this semantics allows a disjunctive formula to be true when both of its disjuncts are true, it is an inclusive interpretation of disjunction, in contrast with exclusive disjunction. Classical proof theoretical treatments are often given in terms of rules such as disjunction introduction and disjunction elimination. Disjunction has also been given numerous non-classical treatments, motivated by problems including Aristotle's sea battle argument, Heisenberg's uncertainty principle, as well as the numerous mismatches between classical disjunction and its nearest equivalents in natural languages.[1][2]

An operand of a disjunction is a disjunct.[3]

Inclusive and exclusive disjunction

[edit]

Because the logical or means a disjunction formula is true when either one or both of its parts are true, it is referred to as an inclusive disjunction. This is in contrast with an exclusive disjunction, which is true when one or the other of the arguments are true, but not both (referred to as exclusive or, or XOR).

When it is necessary to clarify whether inclusive or exclusive or is intended, English speakers sometimes uses the phrase and/or. In terms of logic, this phrase is identical to or, but makes the inclusion of both being true explicit.

Notation

[edit]

In logic and related fields, disjunction is customarily notated with an infix operator (Unicode U+2228 LOGICAL OR).[1] Alternative notations include , used mainly in electronics, as well as and in many programming languages. The English word or is sometimes used as well, often in capital letters. In Jan ?ukasiewicz's prefix notation for logic, the operator is , short for Polish alternatywa (English: alternative).[4]

In mathematics, the disjunction of an arbitrary number of elements can be denoted as an iterated binary operation using a larger ? (Unicode U+22C1 ? N-ARY LOGICAL OR):[5]

Classical disjunction

[edit]

Semantics

[edit]

In the semantics of logic, classical disjunction is a truth functional operation which returns the truth value true unless both of its arguments are false. Its semantic entry is standardly given as follows:[a]

    if         or         or     both

This semantics corresponds to the following truth table:[1]

FFF
FTT
TFT
TTT

Defined by other operators

[edit]

In classical logic systems where logical disjunction is not a primitive, it can be defined in terms of the primitive and () and not () as:

.

Alternatively, it may be defined in terms of implies () and not as:[6]

.

The latter can be checked by the following truth table:

FFTFF
FTTTT
TFFTT
TTFTT

It may also be defined solely in terms of :

.

It can be checked by the following truth table:

FFTFF
FTTTT
TFFTT
TTTTT


Properties

[edit]

The following properties apply to disjunction:

  • Associativity: [7]
  • Commutativity:
  • Distributivity:
  • Idempotency:
  • Monotonicity:
  • Truth-preserving: The interpretation under which all variables are assigned a truth value of 'true', produces a truth value of 'true' as a result of disjunction.
  • Falsehood-preserving: The interpretation under which all variables are assigned a truth value of 'false', produces a truth value of 'false' as a result of disjunction.

Applications in computer science

[edit]
OR logic gate

Operators corresponding to logical disjunction exist in most programming languages.

Bitwise operation

[edit]

Disjunction is often used for bitwise operations. Examples:

  • 0 or 0 = 0
  • 0 or 1 = 1
  • 1 or 0 = 1
  • 1 or 1 = 1
  • 1010 or 1100 = 1110

The or operator can be used to set bits in a bit field to 1, by or-ing the field with a constant field with the relevant bits set to 1. For example, x = x | 0b00000001 will force the final bit to 1, while leaving other bits unchanged.[citation needed]

Logical operation

[edit]

Many languages distinguish between bitwise and logical disjunction by providing two distinct operators; in languages following C, bitwise disjunction is performed with the single pipe operator (|), and logical disjunction with the double pipe (||) operator.

Logical disjunction is usually short-circuited; that is, if the first (left) operand evaluates to true, then the second (right) operand is not evaluated. The logical disjunction operator thus usually constitutes a sequence point.

In a parallel (concurrent) language, it is possible to short-circuit both sides: they are evaluated in parallel, and if one terminates with value true, the other is interrupted. This operator is thus called the parallel or.

Although the type of a logical disjunction expression is Boolean in most languages (and thus can only have the value true or false), in some languages (such as Python and JavaScript), the logical disjunction operator returns one of its operands: the first operand if it evaluates to a true value, and the second operand otherwise.[8][9] This allows it to fulfill the role of the Elvis operator.

Constructive disjunction

[edit]

The Curry–Howard correspondence relates a constructivist form of disjunction to tagged union types.[citation needed][10]

Set theory

[edit]

The membership of an element of a union set in set theory is defined in terms of a logical disjunction: . Because of this, logical disjunction satisfies many of the same identities as set-theoretic union, such as associativity, commutativity, distributivity, and de Morgan's laws, identifying logical conjunction with set intersection, logical negation with set complement.[11]

Natural language

[edit]

Disjunction in natural languages does not precisely match the interpretation of in classical logic. Notably, classical disjunction is inclusive while natural language disjunction is often understood exclusively, as the following English example typically would be.[1]

  • Mary is eating an apple or a pear.

This inference has sometimes been understood as an entailment, for instance by Alfred Tarski, who suggested that natural language disjunction is ambiguous between a classical and a nonclassical interpretation. More recent work in pragmatics has shown that this inference can be derived as a conversational implicature on the basis of a semantic denotation which behaves classically. However, disjunctive constructions including Hungarian vagy... vagy and French soit... soit have been argued to be inherently exclusive, rendering ungrammaticality in contexts where an inclusive reading would otherwise be forced.[1]

Similar deviations from classical logic have been noted in cases such as free choice disjunction and simplification of disjunctive antecedents, where certain modal operators trigger a conjunction-like interpretation of disjunction. As with exclusivity, these inferences have been analyzed both as implicatures and as entailments arising from a nonclassical interpretation of disjunction.[1]

  • You can have an apple or a pear.
You can have an apple and you can have a pear (but you cannot have both)

In many languages, disjunctive expressions play a role in question formation.

  • Is Mary a philosopher or a linguist?

For instance, while the above English example can be interpreted as a polar question asking whether it's true that Mary is either a philosopher or a linguist, it can also be interpreted as an alternative question asking which of the two professions is hers. The role of disjunction in these cases has been analyzed using nonclassical logics such as alternative semantics and inquisitive semantics, which have also been adopted to explain the free choice and simplification inferences.[1]

In English, as in many other languages, disjunction is expressed by a coordinating conjunction. Other languages express disjunctive meanings in a variety of ways, though it is unknown whether disjunction itself is a linguistic universal. In many languages such as Dyirbal and Maricopa, disjunction is marked using a verb suffix. For instance, in the Maricopa example below, disjunction is marked by the suffix ?aa.[1]

John?

John-NOM

Bill?

Bill-NOM

v?aawuum?aa

3-come-PL-FUT-INFER

John? Bill? v?aawuum?aa

John-NOM Bill-NOM 3-come-PL-FUT-INFER

'John or Bill will come.'

See also

[edit]

Notes

[edit]
  1. ^ For the sake of generality across classical systems, this entry suppresses the parameters of evaluation. The double turnstile symbol here is intended to mean "semantically entails".
  • George Boole, closely following analogy with ordinary mathematics, premised, as a necessary condition to the definition of x + y, that x and y were mutually exclusive. Jevons, and practically all mathematical logicians after him, advocated, on various grounds, the definition of logical addition in a form that does not necessitate mutual exclusiveness.

References

[edit]
  1. ^ a b c d e f g h Aloni, Maria (2016), "Disjunction", in Zalta, Edward N. (ed.), The Stanford Encyclopedia of Philosophy (Winter 2016 ed.), Metaphysics Research Lab, Stanford University, retrieved 2025-08-06
  2. ^ "Disjunction | logic". Encyclopedia Britannica. Retrieved 2025-08-06.
  3. ^ Beall, Jeffrey C. (2010). Logic: the basics (1. publ ed.). London: Routledge. p. 57. ISBN 978-0-203-85155-5.
  4. ^ Józef Maria Bocheński (1959), A Précis of Mathematical Logic, translated by Otto Bird from the French and German editions, Dordrecht, North Holland: D. Reidel, passim.
  5. ^ Weisstein, Eric W. "OR". MathWorld--A Wolfram Web Resource. Retrieved 24 September 2024.
  6. ^ Walicki, Micha? (2016). Introduction to Mathematical Logic. WORLD SCIENTIFIC. p. 150. doi:10.1142/9783. ISBN 978-9814343879.
  7. ^ Howson, Colin (1997). Logic with trees: an introduction to symbolic logic. London; New York: Routledge. p. 38. ISBN 978-0-415-13342-5.
  8. ^ "Python 3.12.1 Documentation - The Python Language Reference - 6.11 Boolean operations". Retrieved 25 Dec 2023.
  9. ^ "JavaScript References - Expressions & Operators - Logical AND (&&)". 25 September 2023. Retrieved 25 Dec 2023.
  10. ^ Marcus Vinícius Midena Ramos; de Queiroz, Ruy J. G. B. (2015). "Context-Free Language Theory Formalization". Universidade Federal de Pernambuco: 6. arXiv:1505.00061.
  11. ^ Ebbinghaus, Heinz-Dieter (2021). Einführung in die Mengenlehre (in German) (5 ed.). Springer. p. 32. ISBN 978-3-662-63865-1.
[edit]
铅超标有什么症状 处男是什么 感冒头疼吃什么药 什么的冬天 过敏性皮肤用什么护肤品比较好
420是什么意思 开方是什么意思 浪琴表属于什么档次 狼来了的寓意是什么 为什么七星瓢虫是益虫
吃什么可以长头发 女人脚肿是什么原因 艾滋病会有什么症状 苏轼是什么朝代的 水可以变成什么
心悸是什么意思啊 陌陌是干什么的 大拇指疼是什么原因 埋没是什么意思 喝酒对身体有什么好处和坏处
包皮过长挂什么科hcv7jop9ns8r.cn 1月24日是什么星座hcv9jop6ns8r.cn 跑完步喝什么水最好hcv9jop1ns0r.cn 阳寿是什么意思hcv8jop8ns5r.cn 78属什么生肖hcv9jop3ns5r.cn
但愿是什么意思hcv7jop9ns0r.cn 月经期间吃什么水果好hcv9jop3ns9r.cn 什么体质容易高原反应hcv9jop5ns3r.cn 无家可归是什么生肖hcv8jop2ns2r.cn 尿黄是什么原因引起的zhongyiyatai.com
什么的神色hcv9jop4ns0r.cn 舒字属于五行属什么hcv9jop2ns1r.cn 米酒发酸是什么原因hcv9jop6ns5r.cn 花裤子配什么上衣clwhiglsz.com 老人大小便失禁是什么原因造成的gysmod.com
为什么英文怎么写zhongyiyatai.com 左侧卵巢囊性包块是什么意思hcv9jop5ns3r.cn 月经不规律吃什么药调理hcv9jop0ns5r.cn hc是胎儿的什么意思hcv9jop6ns0r.cn 胚由什么发育而来hcv7jop5ns2r.cn
百度