鸡尖是什么| 白带发黄有异味是什么原因| 苹果煮水喝有什么好处和坏处| 营卫不和吃什么中成药| 办理结婚证需要什么材料| 稠的反义词是什么| 乳腺导管局限性扩张是什么意思| 非常的近义词是什么| 哈吉是什么意思| 喝椰子汁有什么好处| 逼格什么意思| 白细胞低有什么危险| 为什么剪指甲不会疼| 快穿是什么意思| 东倒西歪是什么意思| 今天属相是什么生肖| 樊胜美是什么电视剧| 黄芪治什么病| 大便颜色发绿是什么原因| 双鱼和什么星座最配| 颈椎间盘突出有什么症状| 95年属于什么生肖| 投影是什么意思| 鲲是什么意思| 尿结石是什么引起的| 阿托品属于什么类药物| 土鸡炖什么好吃| 潜质是什么意思| 胸部检查挂什么科| 牙疼吃什么好得快| g点是什么| 硬度不够是什么原因| 产检建档需要什么资料| 睡觉多梦是什么原因| 尼古丁是什么| 尿胆原是什么意思| 心脏24小时监测叫什么| 夜里咳嗽是什么原因| 不置可否什么意思| 诸葛亮号什么| 狗狗尾巴下垂代表什么| 阳痿吃什么药好| 梦见大便是什么预兆| 巡礼是什么意思| 痉挛是什么症状| 女生读什么技校好| 秋葵有什么功效| 去冰和常温有什么区别| 多尿什么原因| tvt是什么意思| 什么人容易得白血病| 92什么意思| 水至清则无鱼什么意思| 为什么会长牙结石| 甘蔗男是什么意思| 梦见赢钱了是什么预兆| 石榴石一般什么价位| 台湾什么时候收复| 鸟字旁的字和什么有关| 做梦吃饺子是什么意思| 碉堡是什么意思啊| 来姨妈吃什么水果好| 高尿酸血症是什么意思| 4.23是什么星座| 黑色是什么颜色组成的| c反应蛋白高吃什么药| 10月16日是什么星座| 老好人是什么意思| 促排卵针什么时候打| 巨蟹座是什么星座| 为什么喜欢你| 去化是什么意思| 有什么无什么| 蝉什么时候出现| 血脂高是什么| 人中深浅代表什么| 飘雪是什么茶| 熬笔是什么意思| 4.7号是什么星座| 白色糠疹是什么原因引起的| 同一首歌为什么停播了| 脚发麻是什么原因| 经常头晕头疼是什么原因| 白事随礼钱有什么讲究| 孕酮低是什么原因| 一国两制什么时候提出的| 坤宁宫是干什么的| 橄榄油有什么作用| 宝宝睡觉摇头是什么原因| 随喜赞叹是什么意思| 四月初七是什么星座| 男人梦到掉牙什么预兆| 海龟汤什么意思| 毕业证有什么用| 来月经喝什么茶好| 慢性阑尾炎吃什么药| 生理反应是什么意思| 蓝色衬衫配什么裤子| 为什么腹部隐隐作痛| 元旦唱什么歌| 卡马西平是什么药| 八月十二是什么星座| pr值是什么意思| 甲状腺斑块是什么意思| 用什么回奶最快最有效| 江西古代叫什么| 胃不消化吃什么药效果最好| 珉字五行属什么| 痔疮吃什么好| 湿气重吃什么药最好| 肝郁脾虚吃什么药效果最好| 高净值什么意思| noon是什么意思| 偷换概念是什么意思| 游击战是什么意思| 饮食清淡主要吃什么| 不悔梦归处只恨太匆匆是什么意思| 糖尿病人吃什么水果最好| 赵丽颖原名叫什么| 惊厥是什么病| 樊字五行属什么| 什么是猥亵| 告加鸟念什么| 移植后可以吃什么水果| 脚崴了用什么药| 尿发红什么原因| 补气血吃什么食物最好| 黄宗洛黄海波什么关系| 待寝什么意思| 农历八月初五是什么星座| 腰肌劳损是什么原因引起的| 怀孕一个月内有什么反应| 食道炎吃什么药好| 玉竹长什么样子| tg什么意思| 阿胶什么时候吃效果最好| 湿疹长什么样图片| 92年属猴是什么命| 尿的酸碱度能说明什么| 什么是尿失禁| 玫瑰花泡水喝有什么功效| 什么云见日| boy是什么品牌| 伤官见官是什么意思| 喉咙痰多是什么原因造成的| 甲状腺结节吃什么食物好| 夏天吃西瓜有什么好处| 利福喷丁和利福平有什么区别| 鼻炎挂什么科| sobranie是什么烟| 牡丹王是什么茶| 孩子吃什么容易长高| 尿频尿急吃什么药效果最好| 玫瑰糠疹是什么原因引起的| 胡人是什么民族| 达瓦里氏什么意思| 吃什么可以修复子宫内膜| robam是什么牌子| 忌出行是什么意思| 青少年吃什么钙片有助于长高| 迟缓是什么意思| 什么东西最刮油减肥| 11.9是什么星座| 人参不能和什么一起吃| 进门见什么好| 胆红素偏高挂什么科| 九月初九是什么节日| 维生素c主治什么| 头汗多是什么原因引起的| 牙龈黑紫色是什么原因| 酒醉喝什么解酒| 杯弓蛇影告诉我们什么道理| 女人脑供血不足吃什么| 猫藓用什么药| 雄鹰是什么意思| ctp是什么| 天丝是什么材质| 事宜什么意思| 梦见纸人是什么意思| 固涩是什么意思| 为什么要流泪| 男人吃什么可以补精| 梦见割草是什么意思| gi什么意思| ahc属于什么档次| development是什么意思| 晕血是什么原因| butterfly是什么意思| 不成功便成仁的仁是什么意思| 7.14什么情人节| 男人眉毛短是什么面相| 东坡肉属于什么菜系| 牛和什么属相相冲| 民考民是什么意思| 同病相怜是什么意思| ems是什么意思| 月子能吃什么水果| 男人睡觉流口水是什么原因| 正常龟头是什么颜色| 8000年前是什么朝代| 头皮毛囊炎用什么洗发水| 什么药溶血栓最好| 皮肤发红发烫是什么原因| 尿酸高是什么原因引起的| 相生什么意思| 蜻蜓为什么点水| 宫颈癌前期有什么症状| 满五唯一的房子要交什么税| 避孕套什么牌子好| 社交恐惧是什么| 为什么会有口腔溃疡| 跑步后头晕是什么原因| 手掌心经常出汗是什么原因| 游坦之练的什么武功| 检察长是什么级别| 紫玫瑰代表什么意思| 眼前的苟且是什么意思| 睡觉被口水呛醒是什么原因| 高育良什么级别| 夏季摆摊卖什么好| 屋尘螨和粉尘螨是什么| 来月经量少吃什么可以增加月经量| 农历3月3是什么节日| 禀赋是什么意思| 魅惑是什么意思| 卟啉症是什么病| 什么叫肾阴虚和肾阳虚| 1977年出生属什么生肖| 闲云野鹤是什么意思| 爱上一个人是什么感觉| 工体是什么意思| 无机盐包括什么| 什么药物过量会致死| 鼻子经常出血是什么原因| 打蛇打七寸是什么意思| 吃猪肝有什么好处和坏处| 三拜九叩是什么意思| ariel是什么意思| 鱼胶是什么| snidel是什么牌子| 结节病变是什么意思| 怀孕第一个月吃什么对胎儿好| 特约演员什么意思| 代孕是什么意思| 铁达时手表什么档次| 肉偿是什么意思| 什么水果维生素含量高| 黑无常叫什么| eos是什么| 反哺是什么意思| 病理性骨折是什么意思| 三联律是什么意思| 冠状ct能查什么| 小孩发烧可以吃什么水果| 盐是什么| 阳虚吃什么调理| 包虫病是什么病| 一冷就咳嗽是什么原因| 去胎毒吃什么最好| 心肌酶谱是查什么的| 本科专科有什么区别| 吃什么肉不会胖又减肥| 衣服38码相当于什么码| 是什么药| 百度Jump to content

四川泸州市龙马潭区发生3.3级地震 震源深度6千米

From Wikipedia, the free encyclopedia
(Redirected from Logical formula)
百度 总之,AI走向正是人类空间从PH到CPH演变之深化,它的前方有着许多理论与实践的挑战。

In mathematical logic, propositional logic and predicate logic, a well-formed formula, abbreviated WFF or wff, often simply formula, is a finite sequence of symbols from a given alphabet that is part of a formal language.[1]

The abbreviation wff is pronounced "woof", or sometimes "wiff", "weff", or "whiff".[12]

A formal language can be identified with the set of formulas in the language. A formula is a syntactic object that can be given a semantic meaning by means of an interpretation. Two key uses of formulas are in propositional logic and predicate logic.

Introduction

[edit]

A key use of formulas is in propositional logic and predicate logic such as first-order logic. In those contexts, a formula is a string of symbols φ for which it makes sense to ask "is φ true?", once any free variables in φ have been instantiated. In formal logic, proofs can be represented by sequences of formulas with certain properties, and the final formula in the sequence is what is proven.

Although the term "formula" may be used for written marks (for instance, on a piece of paper or chalkboard), it is more precisely understood as the sequence of symbols being expressed, with the marks being a token instance of formula. This distinction between the vague notion of "property" and the inductively-defined notion of well-formed formula has roots in Weyl's 1910 paper "Uber die Definitionen der mathematischen Grundbegriffe".[13] Thus the same formula may be written more than once, and a formula might in principle be so long that it cannot be written at all within the physical universe.

Formulas themselves are syntactic objects. They are given meanings by interpretations. For example, in a propositional formula, each propositional variable may be interpreted as a concrete proposition, so that the overall formula expresses a relationship between these propositions. A formula need not be interpreted, however, to be considered solely as a formula.

Propositional calculus

[edit]

The formulas of propositional calculus, also called propositional formulas,[14] are expressions such as . Their definition begins with the arbitrary choice of a set V of propositional variables. The alphabet consists of the letters in V along with the symbols for the propositional connectives and parentheses "(" and ")", all of which are assumed to not be in V. The formulas will be certain expressions (that is, strings of symbols) over this alphabet.

The formulas are inductively defined as follows:

  • Each propositional variable is, on its own, a formula.
  • If φ is a formula, then ?φ is a formula.
  • If φ and ψ are formulas, and ? is any binary connective, then ( φ ? ψ) is a formula. Here ? could be (but is not limited to) the usual operators ∨, ∧, →, or ?.

This definition can also be written as a formal grammar in Backus–Naur form, provided the set of variables is finite:

<alpha set> ::= p | q | r | s | t | u | ... (the arbitrary finite set of propositional variables)
<form> ::= <alpha set> | ?<form> | (<form><form>) | (<form><form>) | (<form><form>) | (<form>?<form>)

Using this grammar, the sequence of symbols

(((pq) ∧ (rs)) ∨ (?q ∧ ?s))

is a formula, because it is grammatically correct. The sequence of symbols

((pq)→(qq))p))

is not a formula, because it does not conform to the grammar.

A complex formula may be difficult to read, owing to, for example, the proliferation of parentheses. To alleviate this last phenomenon, precedence rules (akin to the standard mathematical order of operations) are assumed among the operators, making some operators more binding than others. For example, assuming the precedence (from most binding to least binding) 1. ?   2. →  3. ∧  4. ∨. Then the formula

(((pq) ∧ (rs)) ∨ (?q ∧ ?s))

may be abbreviated as

pqrs ∨ ?q ∧ ?s

This is, however, only a convention used to simplify the written representation of a formula. If the precedence was assumed, for example, to be left-right associative, in following order: 1. ?   2. ∧  3. ∨  4. →, then the same formula above (without parentheses) would be rewritten as

(p → (qr)) → (s ∨ (?q ∧ ?s))

Predicate logic

[edit]

The definition of a formula in first-order logic is relative to the signature of the theory at hand. This signature specifies the constant symbols, predicate symbols, and function symbols of the theory at hand, along with the arities of the function and predicate symbols.

The definition of a formula comes in several parts. First, the set of terms is defined recursively. Terms, informally, are expressions that represent objects from the domain of discourse.

  1. Any variable is a term.
  2. Any constant symbol from the signature is a term
  3. an expression of the form f(t1,...,tn), where f is an n-ary function symbol, and t1,...,tn are terms, is again a term.

The next step is to define the atomic formulas.

  1. If t1 and t2 are terms then t1=t2 is an atomic formula
  2. If R is an n-ary predicate symbol, and t1,...,tn are terms, then R(t1,...,tn) is an atomic formula

Finally, the set of formulas is defined to be the smallest set containing the set of atomic formulas such that the following holds:

  1. is a formula when is a formula
  2. and are formulas when and are formulas;
  3. is a formula when is a variable and is a formula;
  4. is a formula when is a variable and is a formula (alternatively, could be defined as an abbreviation for ).

If a formula has no occurrences of or , for any variable , then it is called quantifier-free. An existential formula is a formula starting with a sequence of existential quantification followed by a quantifier-free formula.

Atomic and open formulas

[edit]

An atomic formula is a formula that contains no logical connectives nor quantifiers, or equivalently a formula that has no strict subformulas. The precise form of atomic formulas depends on the formal system under consideration; for propositional logic, for example, the atomic formulas are the propositional variables. For predicate logic, the atoms are predicate symbols together with their arguments, each argument being a term.

According to some terminology, an open formula is formed by combining atomic formulas using only logical connectives, to the exclusion of quantifiers.[15] This is not to be confused with a formula which is not closed.

Closed formulas

[edit]

A closed formula, also ground formula or sentence, is a formula in which there are no free occurrences of any variable. If A is a formula of a first-order language in which the variables v1, …, vn have free occurrences, then A preceded by ?v1 ? ?vn is a universal closure of A.

Properties applicable to formulas

[edit]
  • A formula A in a language is valid if it is true for every interpretation of .
  • A formula A in a language is satisfiable if it is true for some interpretation of .
  • A formula A of the language of arithmetic is decidable if it represents a decidable set, i.e. if there is an effective method which, given a substitution of the free variables of A, says that either the resulting instance of A is provable or its negation is.

Usage of the terminology

[edit]

In earlier works on mathematical logic (e.g. by Church[16]), formulas referred to any strings of symbols and among these strings, well-formed formulas were the strings that followed the formation rules of (correct) formulas.

Several authors simply say formula.[17][18][19][20] Modern usages (especially in the context of computer science with mathematical software such as model checkers, automated theorem provers, interactive theorem provers) tend to retain of the notion of formula only the algebraic concept and to leave the question of well-formedness, i.e. of the concrete string representation of formulas (using this or that symbol for connectives and quantifiers, using this or that parenthesizing convention, using Polish or infix notation, etc.) as a mere notational problem.

The expression "well-formed formulas" (WFF) also crept into popular culture. WFF is part of an esoteric pun used in the name of the academic game "WFF 'N PROOF: The Game of Modern Logic", by Layman Allen,[21] developed while he was at Yale Law School (he was later a professor at the University of Michigan). The suite of games is designed to teach the principles of symbolic logic to children (in Polish notation).[22] Its name is an echo of whiffenpoof, a nonsense word used as a cheer at Yale University made popular in The Whiffenpoof Song and The Whiffenpoofs.[23]

See also

[edit]

Notes

[edit]
  1. ^ Formulas are a standard topic in introductory logic, and are covered by all introductory textbooks, including Enderton (2001), Gamut (1990), and Kleene (1967)
  2. ^ Gensler, Harry (2025-08-05). Introduction to Logic. Routledge. p. 35. ISBN 978-1-134-58880-0.
  3. ^ Hall, Cordelia; O'Donnell, John (2025-08-05). Discrete Mathematics Using a Computer. Springer Science & Business Media. p. 44. ISBN 978-1-4471-3657-6.
  4. ^ Agler, David W. (2013). Symbolic Logic: Syntax, Semantics, and Proof. Rowman & Littlefield. p. 41. ISBN 978-1-4422-1742-3.
  5. ^ Simpson, R. L. (2025-08-05). Essentials of Symbolic Logic - Third Edition. Broadview Press. p. 14. ISBN 978-1-77048-495-5.
  6. ^ Laderoute, Karl (2025-08-05). A Pocket Guide to Formal Logic. Broadview Press. p. 59. ISBN 978-1-77048-868-7.
  7. ^ Maurer, Stephen B.; Ralston, Anthony (2025-08-05). Discrete Algorithmic Mathematics, Third Edition. CRC Press. p. 625. ISBN 978-1-56881-166-6.
  8. ^ Martin, Robert M. (2025-08-05). The Philosopher's Dictionary - Third Edition. Broadview Press. p. 323. ISBN 978-1-77048-215-9.
  9. ^ Date, Christopher (2025-08-05). The Relational Database Dictionary, Extended Edition. Apress. p. 211. ISBN 978-1-4302-1042-9.
  10. ^ Date, C. J. (2025-08-05). The New Relational Database Dictionary: Terms, Concepts, and Examples. "O'Reilly Media, Inc.". p. 241. ISBN 978-1-4919-5171-2.
  11. ^ Simpson, R. L. (2025-08-05). Essentials of Symbolic Logic. Broadview Press. p. 12. ISBN 978-1-55111-250-3.
  12. ^ All sources supported "woof". The sources cited for "wiff", "weff", and "whiff" gave these pronunciations as alternatives to "woof". The Gensler source gives "wood" and "woofer" as examples of how to pronounce the vowel in "woof".
  13. ^ W. Dean, S. Walsh, The Prehistory of the Subsystems of Second-order Arithmetic (2016), p.6
  14. ^ First-order logic and automated theorem proving, Melvin Fitting, Springer, 1996 [1]
  15. ^ Handbook of the history of logic, (Vol 5, Logic from Russell to Church), Tarski's logic by Keith Simmons, D. Gabbay and J. Woods Eds, p568 [2].
  16. ^ Alonzo Church, [1996] (1944), Introduction to mathematical logic, page 49
  17. ^ Hilbert, David; Ackermann, Wilhelm (1950) [1937], Principles of Mathematical Logic, New York: Chelsea
  18. ^ Hodges, Wilfrid (1997), A shorter model theory, Cambridge University Press, ISBN 978-0-521-58713-6
  19. ^ Barwise, Jon, ed. (1982), Handbook of Mathematical Logic, Studies in Logic and the Foundations of Mathematics, Amsterdam: North-Holland, ISBN 978-0-444-86388-1
  20. ^ Cori, Rene; Lascar, Daniel (2000), Mathematical Logic: A Course with Exercises, Oxford University Press, ISBN 978-0-19-850048-3
  21. ^ Ehrenburg 2002
  22. ^ More technically, propositional logic using the Fitch-style calculus.
  23. ^ Allen (1965) acknowledges the pun.

References

[edit]
[edit]
美丽的动物是什么生肖 红枣和什么不能一起吃 成王败寇什么意思 小苏打是什么成分 梦见被狗咬是什么预兆
月经过后腰酸疼是什么原因 龙虾的血是什么颜色的 什么是疣图片 腰椎间盘突出压迫神经吃什么药 水当当是什么意思
精索静脉曲张是什么原因导致的 原子序数等于什么 pcv是什么意思 脱脂乳粉是什么 m3是什么意思
霉点用什么可以洗掉 vjc是什么品牌 医师是什么意思 军校毕业是什么军衔 阻生智齿是什么意思
为什么有些人怎么吃都不胖hcv9jop1ns1r.cn 只是女人容易一往情深是什么歌aiwuzhiyu.com 梅毒病有什么症状hcv8jop0ns0r.cn 孕妇晚上饿了吃什么好hcv8jop7ns0r.cn 福州五行属什么hcv8jop2ns0r.cn
送奶奶什么礼物好hcv7jop7ns2r.cn 早晨口苦是什么原因hcv9jop4ns7r.cn 人日是什么意思hcv7jop9ns7r.cn 梦见蛀牙掉是什么预兆hcv7jop6ns7r.cn 女儿的女儿叫什么hcv8jop6ns1r.cn
看脊椎挂什么科xscnpatent.com 广东有什么市hcv8jop3ns9r.cn no.是什么意思hcv7jop9ns4r.cn 腋窝疼痛挂什么科hcv9jop2ns3r.cn 孩子喝什么牛奶有助于长高hcv8jop2ns6r.cn
过敏性鼻炎吃什么药能快速缓解hcv8jop0ns3r.cn 急性阴道炎是什么引起的hcv8jop6ns4r.cn 小囡是什么意思hcv9jop2ns8r.cn 深千尺是什么意思luyiluode.com 无名指长痣代表什么hcv8jop9ns2r.cn
百度