DeepAI AI Chat
Log In Sign Up

A Logic for Reasoning About LF Specifications

by   Gopalan Nadathur, et al.

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.


page 1

page 2

page 3

page 4


Adelfa: A System for Reasoning about LF Specifications

We present a system called Adelfa that provides mechanized support for r...

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...

A Framework for Reasoning About LF Specifications

This thesis develops a framework for formalizing reasoning about specifi...

Schematic Polymorphism in the Abella Proof Assistant

The Abella interactive theorem prover has proven to be an effective vehi...

A Resourceful Reframing of Behavior Trees

Designers of autonomous agents, whether in physical or virtual environme...

Towards a Logic for Reasoning About LF Specifications

We describe the development of a logic for reasoning about specification...

What's Decidable about (Atomic) Polymorphism

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