Operational and Denotational Semantics
ثبت نشده
چکیده
The types are , ::= Nat ∣ → . All the terms in the language come with explicit types. In particular, we assume an infinite, countable set of variables of each type , and write x for a variable of type . The terms t of type (in short, t : ) are defined by induction on their size by : – every variable x is of type ; – if N : , then x ⋅N is a term of type → ; – if M : → and N : , then MN is a term of type ; – for each n ∈ N, there is a distinct constant n : Nat ; – there are distinct constants pred : Nat → Nat (subtract one), succ : Nat (add one), ifz : Nat → → → (test if first argument equals 0), and Y : ( → ) → (fixpoint, recursion). As in the -calculus, the terms are understood up to -renaming. This takes the special form that x can be replaced by any fresh variable y of the same type in x ⋅ t. We drop type indices whenever they are irrelevant or can be reconstructed from context.
منابع مشابه
Deriving Operational Semantics from Denotational Semantics for Verilog
This paper presents the derivation of an operational semantics from a denotational semantics for a subset of the widely used hardware description language Verilog. Our aim is to build equivalence between the operational and denotational semantics. We propose a discrete denotational semantic model for Verilog. A phase semantics is provided for each type of transition in order to derive the opera...
متن کاملApproaching the Denotational Semantics of Behavioral VHDL Descriptions
In this paper, we present a framework for de ning the formal semantics of behavioral VHDL92 descriptions. We propose a complementary application of denotational and operational semantics. The static semantics is de ned by denotational means. The de nition of the dynamic semantics is based on an operational model using Interval Event Structures.
متن کاملFrom Operational Semantics to Denotational Semantics for Verilog
This paper presents the derivation of a denotational semantics from an operational semantics for a subset of the widely used hardware description language Verilog. Our aim is to build an equivalence between the operational and denotational semantics. We propose a discrete time semantic model for Verilog. Algebraic laws are also investigated in this paper, with the ultimate aim of providing a un...
متن کاملSemantics of Interaction
The “classical” paradigm for denotational semantics models data types as domains, i.e. structured sets of some kind, and programs as (suitable) functions between domains. The semantic universe in which the denotational modelling is carried out is thus a category with domains as objects, functions as morphisms, and composition of morphisms given by function composition. A sharp distinction is th...
متن کاملSoundness, Completeness and Non-redundancy of Operational Semantics for Verilog Based on Denotational Semantics
This paper investigates three significant questions of Verilog’s operational semantics: soundness, completeness and non-redundancy. Our understanding for these three questions is denotational-based. We provide an operational semantics for Verilog and prove that our operational semantics is sound, complete and non-redundant.
متن کاملFrom Operational to Denotational Semantics
In this paper it is shown how operational semantic methods may be naturally extended to encompass many of the concepts of denotational semantics. This work builds on the standard development of an operational semantics as an interpreter and operational equivalence. The key addition is an operational ordering on sets of terms. From properties of this ordering a closure construction directly yiel...
متن کامل