A Logic for Reasoning About LF Specifications

06/30/2021
by   Gopalan Nadathur, et al.
0

We present a logic named L_LF whose intended use is to formalize properties of specifications developed in the dependently typed lambda calculus LF. The logic is parameterized by the LF signature that constitutes the specification. Atomic formulas correspond to typing derivations relative to this signature. The logic includes a collection of propositional connectives and quantifiers. Quantification ranges over expressions that denote LF terms and LF contexts. Quantifiers of the first variety are qualified by simple types that describe the functional structure associated with the variables they bind; deeper, dependency related properties are expressed by the body of the formula. Context-level quantifiers are qualified by context schemas that identify patterns of declarations out of which actual contexts may be constructed. The semantics of variable-free atomic formulas is articulated via the derivability in LF of the judgements they encode. Propositional constants and connectives are understood in the usual manner and the meaning of quantifiers is explicated through substitutions of expressions that adhere to the type qualifications. The logic is complemented by a proof system that enables reasoning that is sound with respect to the described semantics. The main novelties of the proof system are the provision for case-analysis style reasoning about LF judgements, support for inductive reasoning over the heights of LF derivations and the encoding of LF meta-theorems. The logic is motivated by the paradigmatic example of type assignment in the simply-typed lambda calculus and the proof system is illustrated through the formalization of a proof of type uniqueness for this calculus.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/16/2021

Adelfa: A System for Reasoning about LF Specifications

We present a system called Adelfa that provides mechanized support for r...
research
08/24/2021

On Encoding LF in a Predicate Logic over Simply-Typed Lambda Terms

Felty and Miller have described what they claim to be a faithful encodin...
research
05/10/2021

A Framework for Reasoning About LF Specifications

This thesis develops a framework for formalizing reasoning about specifi...
research
06/20/2018

Schematic Polymorphism in the Abella Proof Assistant

The Abella interactive theorem prover has proven to be an effective vehi...
research
03/24/2018

A Resourceful Reframing of Behavior Trees

Designers of autonomous agents, whether in physical or virtual environme...
research
06/26/2018

Towards a Logic for Reasoning About LF Specifications

We describe the development of a logic for reasoning about specification...
research
05/03/2021

What's Decidable about (Atomic) Polymorphism

Due to the undecidability of most type-related properties of System F li...

Please sign up or login with your details

Forgot password? Click here to reset