Global Information Lookup Global Information

Safety and liveness properties information


Properties of an execution of a computer program—particularly for concurrent and distributed systems—have long been formulated by giving safety properties ("bad things don't happen") and liveness properties ("good things do happen").[1]

A program is totally correct with respect to a precondition and postcondition if any execution started in a state satisfying terminates in a state satisfying . Total correctness is a conjunction of a safety property and a liveness property:[2]

  • The safety property prohibits these "bad things": executions that start in a state satisfying and terminate in a final state that does not satisfy . For a program , this safety property is usually written using the Hoare triple .
  • The liveness property, the "good thing", is that execution that starts in a state satisfying terminates.

Note that a bad thing is discrete,[3] since it happens at a particular place during execution. A "good thing" need not be discrete, but the liveness property of termination is discrete.

Formal definitions that were ultimately proposed for safety properties[4] and liveness properties[5] demonstrated that this decomposition is not only intuitively appealing but is also complete: all properties of an execution are a conjunction of safety and liveness properties.[5] Moreover, undertaking the decomposition can be helpful, because the formal definitions enable a proof that different methods must be used for verifying safety properties versus for verifying liveness properties.[6][7]

  1. ^ Lamport, Leslie (March 1977). "Proving the correctness of multiprocess programs". IEEE Transactions on Software Engineering. SE-3 (2): 125–143. CiteSeerX 10.1.1.137.9454. doi:10.1109/TSE.1977.229904. S2CID 9985552.
  2. ^ Manna, Zohar; Pnueli, Amir (September 1974). "Axiomatic approach to total correctness of programs". Acta Informatica. 3 (3): 243–263. doi:10.1007/BF00288637. S2CID 2988073.
  3. ^ i.e. it has finite duration
  4. ^ Alford, Mack W.; Lamport, Leslie; Mullery, Geoff P. (3 April 1984). "Basic concepts". Distributed Systems: Methods and Tools for Specification, An Advanced Course. Lecture Notes in Computer Science. Vol. 190. Munich, Germany: Springer Verlag. pp. 7–43. ISBN 3-540-15216-4.
  5. ^ a b c Alpern, Bowen; Schneider, Fred B. (1985). "Defining liveness". Information Processing Letters. 21 (4): 181–185. doi:10.1016/0020-0190(85)90056-0.
  6. ^ Alpern, Bowen; Schneider, Fred B. (1987). "Recognizing safety and liveness". Distributed Computing. 2 (3): 117–126. doi:10.1007/BF01782772. hdl:1813/6567. S2CID 9717112.
  7. ^ The paper[5] received the 2018 Dijkstra Prize ("for outstanding papers on the principles of distributed computing whose significance and impact on the theory and/or practice of distributed computing have been evident for at least a decade"), for the formal decomposition into safety and liveness properties was crucial to future research into proving properties of programs.

and 24 Related for: Safety and liveness properties information

Request time (Page generated in 0.8954 seconds.)

Safety and liveness properties

Last Update:

the liveness property of termination is discrete. Formal definitions that were ultimately proposed for safety properties and liveness properties demonstrated...

Word Count : 1738

Hyperproperty

Last Update:

for describing properties of computational systems. Hyperproperties generalize safety and liveness properties, and can express properties such as non-interference...

Word Count : 958

Linear time property

Last Update:

has been entered" (a safety property) or "the computer program eventually terminates" (a liveness property). Fairness properties can be used to rule out...

Word Count : 1982

Linear temporal logic

Last Update:

Action language Metric temporal logic Safety and liveness properties Logic in Computer Science: Modelling and Reasoning about Systems: page 175 "Linear-time...

Word Count : 1657

Concurrent data structure

Last Update:

structures properties sequentially, and map its concurrent executions to a collection of sequential ones. To guarantee the safety and liveness properties, concurrent...

Word Count : 1073

Timed automaton

Last Update:

model and analyse the timing behavior of computer systems, e.g., real-time systems or networks. Methods for checking both safety and liveness properties have...

Word Count : 1603

Gbcast

Last Update:

(computer science) Reliable multicast Safety and liveness properties Birman, Kenneth (Dec 1985). Replication and Fault-Tolerance in the ISIS System. 10th...

Word Count : 9697

Computation tree logic

Last Update:

model checkers, which determine if a given artifact possesses safety or liveness properties. For example, CTL can specify that when some initial condition...

Word Count : 2908

Device driver synthesis and verification

Last Update:

interfaces, Termite can generate the driver code which holds the safety and liveness properties. Another very interesting hacking effort has been done by RevNIC...

Word Count : 3035

Model checking

Last Update:

systems, where the specification contains liveness requirements (such as avoidance of livelock) as well as safety requirements (such as avoidance of states...

Word Count : 2717

Interference freedom

Last Update:

tool in developing and proving concurrent programs. A connection to temporal logic is given, so arbitrary safety and liveness properties can be proven. Control...

Word Count : 5613

Intellectual property

Last Update:

property (IP) is a category of property that includes intangible creations of the human intellect. There are many types of intellectual property, and...

Word Count : 11216

Bully algorithm

Last Update:

leaders in the system at any given time is false, and that shows that the bully algorithm is safe. Liveness is also guaranteed in the synchronous, crash-recovery...

Word Count : 785

Aviation safety

Last Update:

Aviation safety is the study and practice of managing risks in aviation. This includes preventing aviation accidents and incidents through research, educating...

Word Count : 9362

Lightning strike

Last Update:

"Lightning Safety". www.weather.gov. Retrieved 11 March 2023. "Thunderstorm Safety | NWCG". www.nwcg.gov. Retrieved 12 March 2023. Rakov and Uman, p. 2...

Word Count : 6079

Static program analysis

Last Update:

static analysis is in the verification of properties of software used in safety-critical computer systems and locating potentially vulnerable code. For...

Word Count : 1864

Properties of water

Last Update:

responsible for several of the water's physical properties. These properties include its relatively high melting and boiling point temperatures: more energy is...

Word Count : 9563

Health effects of electronic cigarettes

Last Update:

disease are unclear. There is little data about safety, and considerable variation among e-cigarettes and the liquid ingredients. Electronic cigarettes...

Word Count : 34558

Gallium

Last Update:

several properties of eka-aluminium that correspond closely to the real properties of gallium, such as its density, melting point, oxide character, and bonding...

Word Count : 8753

Beryllium

Last Update:

improves many physical properties. For example, tools and components made of beryllium copper alloys are strong and hard and do not create sparks when...

Word Count : 9944

Hydrogen safety

Last Update:

Hydrogen safety covers the safe production, handling and use of hydrogen, particularly hydrogen gas fuel and liquid hydrogen. Hydrogen possesses the NFPA...

Word Count : 4300

Program analysis

Last Update:

regarding a property such as correctness, robustness, safety and liveness. Program analysis focuses on two major areas: program optimization and program correctness...

Word Count : 1310

Copper

Last Update:

"Copper, Chemical Element – Overview, Discovery and naming, Physical properties, Chemical properties, Occurrence in nature, Isotopes". Chemistryexplained...

Word Count : 13743

LiveLeak

Last Update:

Hewitt's family and safety had been improved. However, the video was soon removed again over a copyright claim. On 24 March 2014, LiveLeak and Ruptly announced...

Word Count : 923

PDF Search Engine © AllGlobal.net