University of Tasmania
Browse

File(s) not publicly available

A Variable Typed Logic of Effects

journal contribution
posted on 2023-05-16, 09:45 authored by Honsell, F, Mason, IA, Smith, SF, Talcott, CL
In this paper we introduce a variable typed logic of effects inspired by the variable type systems of Feferman for purely functional languages. VTLoE (Variable Typed Logic of Effects) is introduced in two stages. The first stage is the first-order theory of individuals built on assertions of equality (operational equivalence à la Plotkin), and contextual assertions. The second stage extends the logic to include classes and class membership. The logic we present provides an expressive language for defining and studying properties of programs including program equivalences, in a uniform framework. The logic combines the features and benefits of equational calculi as well as program and specification logics. In addition to the usual first-order formula constructions, we add contextual assertions. Contextual assertions generalize Hoare′s triples in that they can be nested, they can be used as assumptions, and their free variables can be quantified. They are similar in spirit to program modalities in dynamic logic. We use the logic to establish the validity of the Meyer Sieber examples in an operational setting. The theory allows for the construction of inductively defined sets and derivation of the corresponding induction principles. We hope that classes may serve as a starting point for studying semantic notions of type. Naive attempts to represent ML types as classes fail in the sense that ML inference rules are not valid. © 1995 Academic Press. All rights reserved.

History

Publication title

Information and Computation

Volume

119

Pagination

55-90

ISSN

0890-5401

Department/School

School of Natural Sciences

Publisher

Academic Press Inc Elsevier Science

Place of publication

New York

Repository Status

  • Restricted

Socio-economic Objectives

Other information and communication services not elsewhere classified

Usage metrics

    University Of Tasmania

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC