2016
DOI: 10.1017/s0956796816000034
|View full text |Cite
|
Sign up to set email alerts
|

Efficiency of lambda-encodings in total type theory

Abstract: This paper proposes a new typed lambda-encoding for inductive types which, for Peano numerals, has the expected time complexities for basic operations like addition and multiplication, has a constant-time predecessor function, and requires only quadratic space to encode a numeral. This improves on the exponential space required by the Parigot encoding. Like the Parigot encoding, the new encoding is typable in System F-omega plus positive-recursive type definitions, a total type theory. The new encoding is comp… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
9
0

Year Published

2017
2017
2021
2021

Publication Types

Select...
4
2
1

Relationship

5
2

Authors

Journals

citations
Cited by 8 publications
(9 citation statements)
references
References 11 publications
0
9
0
Order By: Relevance
“…Unfortunately, Church-style and Mendler-style encodings suffer from the linear time predecessor function. The possible alternatives are Parigot and Stump-Fu encodings [15,20]. Parigot encoding represents datatypes as their own recursors which allows to have a constant time predecessor.…”
Section: Discussionmentioning
confidence: 99%
“…Unfortunately, Church-style and Mendler-style encodings suffer from the linear time predecessor function. The possible alternatives are Parigot and Stump-Fu encodings [15,20]. Parigot encoding represents datatypes as their own recursors which allows to have a constant time predecessor.…”
Section: Discussionmentioning
confidence: 99%
“…s 1 (s 0 z). While in theory the space required for normal forms is exponential, in practice closure-based implementations of lambda calculus compute efficiently with Parigot encodings, as has been found in several studies (Koopman et al, 2014;Stump & Fu, 2016). And Parigot encodings can be typed in a normalizing extension of System F with positive-recursive types (cf.…”
Section: The Problems In More Detailmentioning
confidence: 99%
“…This is not the final definition of algebra, though, because as formulated so far, there is no support for iteration. So the encoding would be more like a Scott encoding than a Church encoding (see [30] for a comparison). To support iteration, the algebra must be given a way to evaluate the value of type Trmga · Alg ·Y returned by its input.…”
Section: A Solution Using Kripke Function Spacesmentioning
confidence: 99%