Integrating Dependent and Linear Types

نویسندگان

  • Neelakantan R. Krishnaswami
  • Pierre Pradic
  • Nick Benton
چکیده

In this paper, we show how to integrate linear types with type dependency, by extending the linear/non-linear calculus of Benton to support type dependency. Next, we give an application of this calculus by giving a proof-theoretic account of imperative programming, which requires extending the calculus with computationally irrelevant quantification, proof irrelevance, and a monad of computations. We show the soundness of our theory by giving a realizability model in the style of Nuprl, which permits us to validate not only the β-laws for each type, but also the η-laws. These extensions permit us to decompose Hoare triples into a collection of simpler type-theoretic connectives, yielding a rich equational theory for dependently-typed higherorder imperative programs. Furthermore, both the type theory and its model are relatively simple, even when all of the extensions are considered.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Proofs for “Integrating Dependent and Linear Types”

The basic approach of this paper is to build a realizability model of dependent LNL in the style of Harper [4]. Essentially, we give an untyped operational semantics for the language, and then construct a PER for the syntactic types, and a function mapping each semantic type to a PER giving the equality relation for that type. For linear types, we give a map from semantic types to a map from mo...

متن کامل

Integrating Goal Programming, Taylor Series, Kuhn-Tucker Conditions, and Penalty Function Approaches to Solve Linear Fractional Bi-level Programming Problems

In this paper, we integrate goal programming (GP), Taylor Series, Kuhn-Tucker conditions and Penalty Function approaches to solve linear fractional bi-level programming (LFBLP)problems. As we know, the Taylor Series is having the property of transforming fractional functions to a polynomial. In the present article by Taylor Series we obtain polynomial objective functions which are equivalent...

متن کامل

Vibration Analysis of Different Types of Porous FG Conical Sandwich Shells in Various Thermal Surroundings

Vibration behavior of different types of porous functionally graded (FG) conical sandwich shells are investigated based on a modified high order sandwich shells theory for the first time. Sandwich shell includes FG face sheets covering a homogeneous core and the second one includes homogeneous face sheets and a FG core. Power law rule modified by considering two types of porosity distributions ...

متن کامل

Effects of integrating physical and financial flows through a closed-loop supply chain network under uncertain demand and return

The impact of financial challenges on the profit of a supply chain, have caused the researcher to model the supply chain network by considering the operational and financial dimensions. Also, the establishment of a closed loop supply chain (CLSC) network has a high effect on economic profit. So, the purpose of this study is to design a stochastic closed loop supply chain network by considering ...

متن کامل

A Study of the Relationship between the Styles of Conflict Management and the Quality of Dyadic manager-employee Communication in Sport Organizations. A Case Study in Mazandaran Province

Purpose of this research was to study of the relationship between the styles of conflict management and the quality of the relationship between manager and employee, emphasizing on their demographic attributes. The methodology of this research was descriptive, present-based and practical. The sampling frame for this study consists of 100 managers and employees who are in administration of physi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014