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

08/24/2021
by   Gopalan Nadathur, et al.
0

Felty and Miller have described what they claim to be a faithful encoding of the dependently typed lambda calculus LF in the logic of hereditary Harrop formulas, a sublogic of an intuitionistic variant of Church's Simple Theory of Types. Their encoding is based roughly on translating object expressions in LF into terms in a simply typed lambda calculus by erasing dependencies in typing and then recapturing the erased dependencies through the use of predicates. Unfortunately, this idea does not quite work. In particular, we provide a counterexample to the claim that the described encoding is faithful. The underlying reason for the falsity of the claim is that the mapping from dependently typed lambda terms to simply typed ones is not one-to-one and hence the inverse transformation is ambiguous. This observation has a broad implication for other related encodings.

READ FULL TEXT

page 1

page 2

page 3

research
06/30/2021

A Logic for Reasoning About LF Specifications

We present a logic named L_LF whose intended use is to formalize propert...
research
10/08/2019

Understanding the Expressive Power of Unhygienic Substitution in Metaprogramming via Combinatory Logic

Recent work on combinatory logic demonstrates a compositional translatio...
research
08/23/2020

Gentzen-Mints-Zucker duality

The Curry-Howard correspondence is often described as relating proofs (i...
research
08/13/2020

SynthETIC: an individual insurance claim simulator with feature control

A simulator of individual claim experience called SynthETIC is described...
research
07/15/2019

Time-Stamped Claim Logic

The main objective of this paper is to define a logic for reasoning abou...
research
08/01/2018

Explicit Auditing

The Calculus of Audited Units (CAU) is a typed lambda calculus resulting...
research
04/24/2023

Two Decreasing Measures for Simply Typed Lambda-Terms (Extended Version)

This paper defines two decreasing measures for terms of the simply typed...

Please sign up or login with your details

Forgot password? Click here to reset