Specification of Parametrized Programs - Persistency Revisited
نویسندگان
چکیده
The important distinction between parameterized specifications and specifications of parameterized programs has been originally pointed out in [12]. An important difference concerns the objects which the two kinds of parameterization allow one to reuse. A parameterized specification, “PSP”, e.g., of stacks parameterized by elements, Stack(El), allows one, under some conditions, to instantiate the formal parameter specification El with an actual parameter specification, sayNat, to obtain a new specification Stack(Nat). What is reused is the text of the parameterized specification. Except for that, the model classes of Stack(El) and Stack(Nat) are just model classes of two different specifications, related merely by the existence of a reduct functor from the latter to the former, e.g. [2]. Specification of a parameterized data type, “PDT” [12, 13], on the other hand, is a specification which requires a reusable implementation. E.g., specification of a data type stack parameterized by elements, Stack[El], requires an implementation of a data type with a parameter, i.e., one capable of taking any implementation of El and resulting in an implementation of Stack[El]. The model class of such a specification should be thus seen as consisting of some – perhaps all – functors sending models of the formal parameter specification X to models of the parameterized specification P[X] : FMod(P[X]) ⊆ {F : Mod(X) → Mod(P[X])}. (1)
منابع مشابه
On the rank of certain parametrized elliptic curves
In this paper the family of elliptic curves over Q given by the equation Ep :Y2 = (X - p)3 + X3 + (X + p)3 where p is a prime number, is studied. Itis shown that the maximal rank of the elliptic curves is at most 3 and someconditions under which we have rank(Ep(Q)) = 0 or rank(Ep(Q)) = 1 orrank(Ep(Q))≥2 are given.
متن کاملParametrized Equilibrium Logic
Equilibrium logic provides a logical foundation for the stable model approach to the semantics of logic programs. Recently, parametrized logic programming was introduced with the aim of presenting the syntax and natural semantics for parametrized logic programs, which are very expressive logic programs, in the sense that complex formulas are allowed to appear in the body and head of rules. Stab...
متن کاملFlexible Topology Description Language for Simulation Programs
The article proposes a language for the description of model topologies in discrete event simulators. The language contains an efficient way to create parametrized, flexible topologies. The language has been implemented as part of the OMNeT++ simulator. In most simulators, the support for defining the topology of the model can be improved upon. For this task, simulators either (1) do not provid...
متن کاملCombining Rules and Ontologies via Parametrized Logic Programs
Parametrized logic programs are very expressive logic programs that generalize normal logic programs under the stable model semantics, by allowing complex formulas of a parameter logic to appear in the body and head of rules. In this paper we explore the use of description logics as parameter logics, and show the expressivity of this framework for combining rules and ontologies. Introduction Pa...
متن کاملالگــوهای فضــایی اهمیـت تــداوم بــارش ایــران
Iran is located in dry zone of mid-latitude in which the mean rainfall is 250 mm and it has dramatic tempo-spatial changes. Rainfalls with short persistency are of characteristics of dry regions and it is also tangible in Iran. However, Iran’s rainfalls persistency ranges from 1 to 45 days and have dramatic tempo-spatial changes, but the maximum amount and days of rainfalls are supplied by rain...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Nord. J. Comput.
دوره 8 شماره
صفحات -
تاریخ انتشار 2001