Chapter 5 Linear Temporal Logic (LTL) - Colorado State University

1y ago
6 Views
2 Downloads
621.31 KB
15 Pages
Last View : 2m ago
Last Download : 3m ago
Upload by : Aliana Wahl
Transcription

CHAPTER 5LINEAR TEMPORAL LOGIC (LTL)1Presented byRehab AshariSahar Habib

CONTENTTemporal Logic & Linear Temporal Logic (LTL) Syntax Semantics Equivalence of LTL Formulae Fairness in LTL Automata-Based LTL Model Checking NBA & Generalized NBA (GNBA) GNBA and Closure of ϕ LTL Satisfiability and Validity checking 2

TEMPORAL LOGIC & LINEAR TEMPORAL LOGIC Temporal logics (TL) is a convenient formalism for specifying andverifying properties of reactive systems. We can say that themodalities in Temporal Logic are Time abstractlinear temporal logic (LTL) that is an infinite sequence of stateswhere each point in time has a unique successor, based on alinear-time perspective.Linear temporal property is a temporal logic formula thatdescribes a set of infinite sequences for which it is truePurpose Translate the properties which are written using thenatural languages into LTL by using special syntax. By given theTS and LTL formula φ, we can check if φ hold in TS or not.Model checking tools SPINAn important way to model check is to express desired properties(such as the ones described above) using LTL operators andactually check if the model satisfies this property. One techniqueis to obtain a Büchi automaton that is "equivalent" to the modeland one that is "equivalent" to the negation of the property. Theintersection of the two non-deterministic Büchi automata isempty if the model satisfies the property.3

SYNTAXLTL formula is built up from : A finite set of Atomic propositions (State label “a” ϵ AP in thetransition system) Basic Logical Operators Basic Temporal Operators O (next) , U (until) , true (negation) , (conjunction)There are additional logical operators are (disjunction), (implication), (equivalence)There are additional temporal operators are :By combining the temporal modalities and , new temporalmodalities are obtained.4

SYNTAX5

SYNTAX “F” Finally which means something in the future. “G” Globally which means globally in the future. “X” NeXt time.LTL can be extended with past operators -1 Always in the past. -1 sometimes in the past. -1 Previous state. ( red -1 yellow)Weak until (a W b),requires that a remains true until b becomes true, but does notrequire that b ever does becomes true (i.e. a remains trueforever). It follows the expansion law of until. Release (a R b),informally means that b is true until a becomes true, or b istrue forever. 6

SEMANTICS LTL formulae φ stands for properties of paths (Traces) and The path can beeither fulfill the LTL formula or not. First, The semantics of φ is defined as a language Words(φ). Where Words(φ)contains all infinite words over the alphabet 2AP that satisfy φ Then, the semantics of φ is extended to an interpretation over paths and statesof a TS. Thus, a transition system TS satisfies the LT property P if all its traces respectP, i.e., if all its behaviors are admissible. A state satisfies P whenever all tracesstarting in this state fulfill P.The transition system TS satisfies ϕ if TS satisfies the LT property Words(ϕ).i.e., if all initial paths of TS paths starting in an initial state s0 I satisfy ϕ.Thus, it is possible that a TS (or si) satisfies neither ϕ nor ϕAny LTL formula can be transformed into a canonical form, the so-calledpositive normal form (PNF). In order to transform any LTL formula into PNF,for each operator, a dual operator needs to be incorporated into the syntax ofPNFformulae.7

EQUIVALENCE OF LTL FORMULAE8

FAIRNESS IN LTL LTL Fairness Constrains and AssumptionsΦ stands for“something isenabled”; Ψ for“something istaken” That is to say , rather than determining for transition system TSand LTL formula ϕ whether TS ϕ, we focus on the fairexecutions of TS.An LTL fairness assumption is a conjunction of LTL fairnessconstraints.9

AUTOMATA-BASED LTL MODELCHECKINGTo check whether ϕ holds for TSConstructs an NBA for the negation of the input formula ϕ (representingthe ”bad behaviors”)10

GENERALIZED BÜCHI AUTOMATA Generalized Büchi automaton (GBA) is a variant of BüchiautomatonThe difference with the Büchi automaton is its acceptingcondition, i.e., a set of sets of states.A run is accepted by the automaton if it visits at least one state ofevery set of the accepting condition infinitely often.Generalized Büchi automata (GBA) is equivalent in expressivepower with Büchi automataA generalized Buchi automaton (GBA) over Σ isA (S, Σ , T, I, F)S is a finite set of statesΣ {a, b, . . .} is a finite alphabet set of AT S Σ S is a transition relationI S is a set of initial statesF {F1, . . . , Fk} 2S is a set of sets of final states.A accepts exactly those runs in which the set of infinitely oftenoccurring states contains at least a state from each F1,.,Fn.A run π of a GBA is said to be accepting iff,for all 1 i k, we have inf(π) Fi 11

NBA & GENERALIZED NBA (GNBA)12

NBA & GENERALIZED NBA (GNBA)A GNBA for the property”both processes areinfinitely often in theircritical section”F { {q1 }, { q2 }}13

NBA & GENERALIZED & CLOSURE ϕ GNBA are like NBA, but have a distinct acceptance criteriona GNBA requires to visit several sets F1, . . . , Fk (k 0) infinitelyoften for k 0, all runs are accepting for k 1 this boils down to an NBAGNBA are useful to relate temporal logic and automata, but they areequally expressive as NBAClosure ϕ Consisting of all subformulae ψ of ϕ and their negation ψThe Satisfiability Problem: for a given LTL formula , there exists a model for which holds.That is, we have Words( ) .The Validity problem: Formula is valid whenever holds under all interpretations, i.e.,ϕ true.14

LTL SATISFIABILITY AND VALIDITY CHECKINGPSPACE Complexity: In computer science, the space complexity of an algorithmquantifies the amount of memory space that an algorithm needs torun as a function of the size of the input to solve the problem.The space complexity of an algorithm is commonly expressed using bigO notation.In complexity theory, PSPACE is the set of all decision problemswhich can be solved by an algorithm using a polynomial amount ofmemory space.In complexity theory, a decision problem is PSPACE-complete if it isin the complexity class PSPACE, and every problem in PSPACE canbe reduced to it in polynomial spaceA problem can be PSPACE-hard but not PSPACE-complete because itmay not be in PSPACE.More efficient technique cannot be achieved as both the validity andsatisfiability problems are PSPACE-hard. In fact, both problems areeven PSPACE-complete.15

SEMANTICS LTL formulae φ stands for properties of paths (Traces) and The path can be either fulfill the LTL formula or not. First, The semantics of φ is defined as a language Words(φ). Where Words(φ) contains all infinite words over the alphabet 2AP that satisfy φ Then, the semantics of φ is extended to an interpretation over paths and states

Related Documents:

Part One: Heir of Ash Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 Chapter 28 Chapter 29 Chapter 30 .

TO KILL A MOCKINGBIRD. Contents Dedication Epigraph Part One Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Part Two Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18. Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26

Dynamic Logic Dynamic Circuits will be introduced and their performance in terms of power, area, delay, energy and AT2 will be reviewed. We will review the following logic families: Domino logic P-E logic NORA logic 2-phase logic Multiple O/P domino logic Cascode logic

process in a database with temporal data dependencies and schema versioning. The update process supports the evolution of dependencies over time and the use of temporal operators within temporal data dependencies. The temporal dependency language is presented, along with the temporal

DEDICATION PART ONE Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 PART TWO Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 .

MOSFET Logic Revised: March 22, 2020 ECE2274 Pre-Lab for MOSFET logic LTspice NAND Logic Gate, NOR Logic Gate, and CMOS Inverter Include CRN # and schematics. 1. NMOS NMOSNAND Logic Gate Use Vdd 10Vdc. For the NMOS NAND LOGIC GATE shown below, use the 2N7000 MOSFET LTspice model that has a gate to source voltage Vgs threshold of 2V (Vto 2.0).File Size: 586KB

Digital Logic Fundamentals Unit 1 – Introduction to the Circuit Board 2 LOGIC STATES The output logic state (level) of a gate depends on the logic state of the input(s). There are two logic states: logic 1, or high, and logic 0, or low. The output of some gates can also be in a high-Z (high impedance) state, which is neither a high

categorical and hypothetical syllogism, and modal and inductive logic. It is also associated with the Stoics and their propositional logic, and their work on implication. Syllogistic logic and propositional logic led later to the development of predicate logic (or first order logic, i.e. the foundational logic for mathematics)