An object-based logic calculus is outlined in this paper, which is built on the trace calculus based on dynamic entities with local states. Compared with dynamic entities, objects have more good properties, such as encapsulation. To formalize the concept of encapsulation, a new concept of valid action is introduced. It is only through these valid actions declared by the very object that the state of the object can be accessed or modified. An axiomatization of the object calculus as an extension of the axiom system of the trace calculus is also contributed in this paper. Finally, the object semantics description and property deduction are shown.
[1]黄涛,钱军,倪彬.Trace演算.软件学报,1999,10(8):790~799
(Huang Tao, Qian Jun, Ni Bin. Trace calculus. Journal of Software, 1999,10(8):790~799)
[2]黄涛.对象形式语义理论研究[博士学位论文].合肥:中国科技大学,1994
(Huang Tao. Theoretical research on object formal semantics [Ph.D. Thesis]. Hefei: University of Science and Technology of China, 1994)
[3]Ehrig H, Mahr B. Fundamentals of Algebraic Specifications 1: Equations and Initial Semantics. Berlin: Springer-Verlag, 1985
[4]Kroger Fred. Temporal Logic of Programs. Berlin:Springer-Verlag, 1987