尿路感染吃什么药好| 吃素是什么意思| 眼袋肿了是什么原因| 隐血阳性是什么意思| 血氧是什么| 什么叫手足口病| dq是什么意思| 胖大海配什么喝治咽炎| 猫鼬是什么动物| 赵本山什么时候去世的| 祈禳是什么意思| 手脚冰冷是什么原因| 想要什么样的爱| 婴儿拉肚子是什么原因造成的| 胃食管反流吃什么中成药最好| 头发有什么用处| 胃穿孔是什么原因引起的| 创伤性湿肺是什么意思| 怀孕初期吃什么对胎儿发育好| 医院去痣挂什么科| 水淀粉是什么东西| af是什么意思| 什么是生命之本| 93年的鸡是什么命| hsv1是什么病毒| 城隍爷叫什么名字| 小孩病毒性感冒吃什么药效果好| 阳五行属什么| 昙花什么时间开花| 骨赘是什么意思| 荷兰猪是什么动物| 授人以鱼不如授人以渔什么意思| 柿子是什么颜色| 护理专业是什么| 鸡肉炖什么好吃| 吃什么补血效果最好| 上日下文念什么| 骄阳是什么意思| 莅临什么意思| 多囊为什么要跳绳而不是跑步| 食道不舒服挂什么科| 什么猫不掉毛| 梦见捡金首饰是什么意思| 五光十色是什么生肖| 为什么一睡觉就做梦| 女人尿多是什么原因| 肝血管瘤挂什么科| 思字属于五行属什么| 人生的意义是什么| 桑叶有什么作用和功效| o型rhd阳性是什么意思| 补充胶原蛋白吃什么最好| 小腿酸胀吃什么药| 守宫是什么动物| 百分点是什么意思| 很难怀孕是什么原因| 洗冷水澡有什么好处| 生孩子前要注意什么| 摆地摊卖什么最赚钱而且很受欢迎| 血糖偏低是什么原因引起的| 杨紫属什么生肖| 炒菜是什么意思| 怀孕后吃避孕药有什么后果| 不言而喻的喻是什么意思| 什么血压计最准确| 无声无息是什么意思| 糖尿病人喝什么茶最好| 人鱼小姐大结局是什么| msi是什么意思| 直肠息肉有什么症状| 信的拼音是什么| 蛇形分班是什么意思| 额头出油多是什么原因| 一什么骆驼| 7月10号什么星座| 脑溢血有什么症状| 太极贵人是什么意思| 医生说忌生冷是指什么| 泵头是什么| 头出汗多至头发湿透是什么原因| 芈月和秦始皇是什么关系| 四月初八是什么日子| 腿总是抽筋是什么原因| 尿肌酐低说明什么原因| 泥鳅吃什么东西| 腿肿是什么病的前兆| 虾仁炒什么好吃| 垂死病中惊坐起什么意思| 三亚是什么海| 促甲状腺素高是什么原因| 头孢有什么作用| 小腿浮肿吃什么药最好| hsv是什么病毒| 小肚子疼是什么原因引起的| 辛亥革命是什么时候| 平均血红蛋白含量偏低是什么意思| 撮鸟是什么意思| 前白蛋白低是什么意思| 双鱼座的幸运色是什么| 艺术有什么用| 太古里是什么意思| 10月15号是什么星座| 血氧饱和度是什么意思| 送葬后回家注意什么| 去医院看膝盖挂什么科| 包含是什么意思| 总是嗳气是什么原因| 海马用什么呼吸| 依托是什么意思| 小肚子一直疼是什么原因| 思密达是什么药| 加拿大现在什么季节| 枫叶的花语是什么| 九点是什么时辰| 无眠是什么意思| 花卉是什么| 鱼生是什么| 西葫芦是什么| 2015属什么| 口苦口臭吃什么药效果最佳| ambush是什么牌子| 脑供血不足是什么原因引起的| 忌讳什么意思| 暴跳如雷是什么意思| 暨怎么读什么意思| 碘过量会导致什么疾病| 糖皮质激素是什么药| 什么是腹泻| 什么样的红点是艾滋病| 呵呵的含义是什么意思| 有什么国家| 吃榴莲对女人有什么好处| 韫字五行属什么| 10月11是什么星座| 颈椎生理曲度变直是什么意思| 化疗期间吃什么水果好| 唐僧取经取的是什么经| ras医学上是什么意思| 肺气肿用什么药效果好| 为什么会有痣| 低血压吃什么药效果好| 爱马仕是什么意思| 肉什么结构| 阴道发炎用什么药| 糖五行属什么| 属龙和什么属相最配| 鼻烟为什么没人吸了| 光影什么| 绿茶有什么好处| 玛尼是什么意思| 肺结节不能吃什么| 吃什么才能减肥| eob是什么意思| 丈夫的弟弟叫什么| 为什么端午节要吃粽子| 属牛本命佛是什么佛| 马帮是什么意思| 聿读什么| 胃有幽门螺旋杆菌是什么症状| 现在的节气是什么| 什么是私人会所| 乌龟能吃什么| 女人尿多是什么原因| ft是什么单位| 身上起疙瘩是什么原因| 枸杞泡茶喝有什么功效| 暂缓参军是什么意思| 红参对子宫有什么作用| 常喝黑苦荞茶有什么好处| 外甥女是什么关系| 脑梗有什么后遗症| 为什么要做羊水穿刺检查| 中年人吃什么钙片补钙效果好| 什么叫消融手术| 注意地看的词语是什么| 性冷淡是什么意思| 月经病是什么意思啊| 中医考证需要什么条件| crp医学上是什么意思| 姑息性化疗什么意思| 哺乳期什么东西不能吃| 正常的包皮什么样子| 乐得什么填词语| 三月初六是什么星座| 乳突炎是什么病| 哮喘病应该注意什么| 宝宝为什么老是吐奶| vb是什么| 梦见很多狗是什么意思| 津是什么意思| 脂溢性皮炎是什么原因引起的| 黄疸肝炎有什么症状| 钾低吃什么| 胆大包天是什么生肖| 厘清和理清的区别是什么| 姜黄粉是什么做的| 九十岁老人称什么| 猴子偷桃是什么生肖| 胆经不通吃什么中成药| 白天不懂夜的黑什么意思| 光是什么| 干爹是什么意思| yp是什么| 芹菜和什么菜搭配最好| 10.30是什么星座| 身上痒是什么情况| 99是什么意思| 吃什么药可以提高性功能| 石女是什么意思啊| 尾戒代表什么| 猫的五行属什么| 激素六项是查什么的| 子宫出血是什么原因造成的| 咖喱是什么味道| 血常规是什么| 消化不良吃什么中药| 14年属什么| 人为什么会困| 什么情| 天珠是什么| fredperry是什么牌子| 谈婚论嫁什么意思| 秋葵什么时候种植最好| 照见五蕴皆空什么意思| 猫什么时候传入中国| 为什么下巴经常长痘痘| 结局he是什么意思| 医师是什么意思| 脑梗是什么引起的| 跟腱炎挂什么科| 男生为什么会勃起| 狗是什么属性| 治疗晕病有什么好方法| 血沉偏高是什么原因| 黄瓜可以和什么一起榨汁| 什么虫子咬了会起水泡| 吃什么容易放屁| 硕的拼音是什么| 血光之灾是什么意思| 牙龈肿痛挂什么科| 什么是随机血糖| 水指什么生肖| 黑色属于什么五行属性| 丹参泡水喝有什么功效| 五月七日是什么星座| psd是什么意思| 宝宝手脚冰凉是什么原因| 猫咪冠状病毒什么症状| 鼠目寸光是什么意思| 6.8什么星座| 嗨体水光针有什么功效| 蓝姓是什么民族| 属蛇和什么属相相冲| 肠憩室是什么意思| 宫颈hpv感染是什么病| 暂住证和居住证有什么区别| 嘴巴发苦是什么原因造成的| 什么东西补铁效果好而且最快| ara是什么| 屈光检查是什么| 湿气重吃什么水果好| 梦见自己得了重病预示什么| 肿瘤吃什么中药能消除| b超和阴超有什么区别| 百度Jump to content

西南交大:全力支撑一带一路沿线国家人才培养

From Wikipedia, the free encyclopedia
百度 中国驻马来西亚大使馆领事参赞刘东源抵达麻坡搜救指挥中心后,立即开始与现场我领保官员和马方现场搜救指挥中心人员对接,开始协调配合督促搜救工作。

In computer science, algebraic semantics is a formal approach to programming language theory that uses algebraic methods for defining, specifying, and reasoning about the behavior of programs. It is a form of axiomatic semantics that provides a mathematical framework for analyzing programs through the use of algebraic structures and equational logic.[1][2][3][4]

Algebraic semantics represents programs and data types as algebras—mathematical structures consisting of sets equipped with operations that satisfy certain equational laws. This approach enables rigorous formal verification of software by treating program properties as algebraic properties that can be proven through mathematical reasoning. A key advantage of algebraic semantics is its ability to separate the specification of what a program does from how it is implemented, supporting abstraction and modularity in software design.

Syntax

[edit]

The syntax of an algebraic specification is formulated in two steps: (1) defining a formal signature of data types and operation symbols, and (2) interpreting the signature through sets and functions.

Definition of a signature

[edit]

The signature of an algebraic specification defines its formal syntax. The word "signature" is used like the concept of "key signature" in musical notation.

A signature consists of a set of data types, known as sorts, together with a family of sets, each set containing operation symbols (or simply symbols) that relate the sorts. We use to denote the set of operation symbols relating the sorts to the sort .

For example, for the signature of integer stacks, we define two sorts, namely, and , and the following family of operation symbols:

where denotes the empty string.

Set-theoretic interpretation of signature

[edit]

An algebra interprets the sorts and operation symbols as sets and functions. Each sort is interpreted as a set , which is called the carrier of of sort , and each symbol in is mapped to a function , which is called an operation of .

With respect to the signature of integer stacks, we interpret the sort as the set of integers, and interpret the sort as the set of integer stacks. We further interpret the family of operation symbols as the following functions:

Semantics

[edit]

Semantics refers to the meaning or behavior. An algebraic specification provides both the meaning and behavior of the object in question.

Equational axioms

[edit]

The semantics of an algebraic specifications is defined by axioms in the form of conditional equations.[1]

With respect to the signature of integer stacks, we have the following axioms:

For any and ,
where "" indicates "not found".

Mathematical semantics

[edit]

The mathematical semantics (also known as denotational semantics)[5] of a specification refers to its mathematical meaning.

The mathematical semantics of an algebraic specification is the class of all algebras that satisfy the specification. In particular, the classic approach by Goguen et al.[1][2] takes the initial algebra (unique up to isomorphism) as the "most representative" model of the algebraic specification.

Operational semantics

[edit]

The operational semantics[6] of a specification means how to interpret it as a sequence of computational steps.

We define a ground term as an algebraic expression without variables. The operational semantics of an algebraic specification refers to how ground terms can be transformed using the given equational axioms as left-to-right rewrite rules, until such terms reach their normal forms, where no more rewriting is possible.

Consider the axioms for integer stacks. Let "" denote "rewrites to".

Canonical property

[edit]

An algebraic specification is said to be confluent (also known as Church-Rosser) if the rewriting of any ground term leads to the same normal form. It is said to be terminating if the rewriting of any ground term will lead to a normal form after a finite number of steps. The algebraic specification is said to be canonical (also known as convergent) if it is both confluent and terminating. In other words, it is canonical if the rewriting of any ground term leads to a unique normal form after a finite number of steps.

Given any canonical algebraic specification, the mathematical semantics agrees with the operational semantics.[7]

As a result, canonical algebraic specifications have been widely applied to address program correctness issues. For example, numerous researchers have applied such specifications to the testing of observational equivalence of objects in object-oriented programming. See Chen and Tse[8] as a secondary source that provides a historical review of prominent research from 1981 to 2013.

See also

[edit]

References

[edit]
  1. ^ a b c J.A. Goguen; J.W. Thatcher; E.G. Wagner; J.B. Wright (1977). "Initial algebra semantics and continuous algebras". Journal of the ACM. 24 (1): 68–95. doi:10.1145/321992.321997. S2CID 11060837.
  2. ^ a b J.A. Goguen; J.W. Thatcher; E.G. Wagner (1978). "An initial algebra approach to the specification, correctness and implementation of abstract data types". In R.T. Yeh (ed.). Current Trends in Programming Methodology, Vol. IV: Data Structuring. Prentice Hall. pp. 80–149.
  3. ^ J.A. Goguen; C. Kirchner; H. Kirchner; A. Megrelis; J. Meseguer (1988). "An introduction to OBJ3". Proceedings of the First Workshop on Conditional Term Rewriting Systems. Lecture Notes in Computer Science. Vol. 308. Springer. pp. 258–263. doi:10.1007/3-540-19242-5_22. ISBN 978-3-540-19242-8.
  4. ^ J.A. Goguen; G. Malcolm (1996). Algebraic Semantics of Imperative Programs. MIT Press. ISBN 9780262071727.
  5. ^ David A. Schmidt (1986). Denotational Semantics: A Methodology for Language Development. William C. Brown Publishers. ISBN 9780205104505.
  6. ^ Gordon D. Plotkin (1981). "A structural approach to operational semantics" (Technical Report DAIMI FN-19). Computer Science Department, Aarhus University.
  7. ^ S. Lucas; J. Meseguer (2014). "Strong and Weak Operational Termination of Order-Sorted Rewrite Theories". In S. Escobar (ed.). Rewriting Logic and Its Applications. Lecture Notes in Computer Science. Vol. 8663. Cham: Springer. pp. 178–194. doi:10.1007/978-3-319-12904-4_10. ISBN 978-3-319-12903-7.
  8. ^ H.Y. Chen; T.H. Tse (2013). "Equality to equals and unequals: A revisit of the equivalence and nonequivalence criteria in class-level testing of object-oriented software". IEEE Transactions on Software Engineering. 39 (11): 1549–1563. doi:10.1109/TSE.2013.33. hdl:10722/187124. S2CID 8694513.
高考分数什么时候出来 夏天能干什么 什么是早泄 牙根变黑是什么原因 红和绿混合是什么颜色
脸上白一块一块的是什么原因 1109是什么星座 越国在现在的什么地方 bpm是什么 乳糖不耐受吃什么药
裙摆是什么 打call是什么意思 什么树 直接胆红素偏低是什么原因 什么叫制动
月经不调吃什么调理 69岁属什么 闷是什么意思 酸萝卜别吃什么意思 梦见自己大出血是什么征兆
罗汉果有什么功效和作用96micro.com soho是什么意思beikeqingting.com 制冰机不制冰是什么原因hcv8jop3ns1r.cn 什么烧肉好吃hcv8jop6ns6r.cn 吃毓婷有什么副作用hcv8jop5ns6r.cn
观音菩萨叫什么名字hcv8jop4ns4r.cn 生化妊娠是什么意思fenrenren.com 衡于虑的衡什么意思hcv9jop7ns2r.cn 生肖兔和什么生肖相冲hcv9jop0ns1r.cn 副乳是什么原因造成的hcv8jop9ns1r.cn
睡觉爱流口水是什么原因weuuu.com 肺胃热盛吃什么中成药hcv8jop3ns0r.cn 男生生日礼物送什么hcv9jop6ns8r.cn 牙痛是什么原因hcv8jop9ns4r.cn 妹妹的女儿叫什么imcecn.com
回头是什么意思hcv9jop1ns7r.cn 胃不好适合吃什么水果hcv7jop4ns5r.cn 病毒性感染是什么原因hcv8jop3ns1r.cn miracle是什么意思hcv9jop8ns0r.cn 雷贝拉唑钠肠溶片什么时候吃hcv7jop6ns7r.cn
百度