• Cite Icon10
  • https://doi.org/10.1145/3236950.3236972Copy DOI Icon

Pattern Matching and Fixed Points

  • Sep 3, 2018
  • Pablo Barenbaum +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Resource types are types that statically quantify some aspect of program execution. They come in various guises; this paper focusses on a manifestation of resource types known as non-idempotent intersection types. We use them to characterize weak normalisation for a type-erased lambda calculus for the Calculus of Inductive Construction (λe), as introduced by Gregoire and Leroy. The λe calculus consists of the lambda calculus together with constructors, pattern matching and a fixed-point operator. The characterization is then used to prove the completeness of a strong call-by-need strategy for λe. This strategy operates on open terms: rather than having evaluation stop when it reaches an abstraction, as in weak call-by-need, it computes strong normal forms by admitting reduction inside the body of abstractions and substitutions. Moreover, argument evaluation is by-need: arguments are evaluated when needed and at most once. Such a notion of reduction is of interest in areas such as partial evaluation and proof-checkers such as Coq.

Similar Papers
  • Research Article
  • Citations147

A partial evaluator for the untyped lambda-calculus

  • Jan 01, 1991
  • Journal of Functional Programming
  • Carsten K Gomard +1
  • Conference Article
  • Citations19

A type-directed, on-line, partial evaluator for a polymorphic language

  • Dec 01, 1997
  • Tim Sheard
  • PDF
  • Book Chapter
  • Citations6

Non-idempotent Intersection Types in Logical Form

  • Jan 01, 2020
  • Thomas Ehrhard
  • Research Article
  • Citations11

Non-existent Statman's Double Fixed Point Combinator Does Not Exist, Indeed

  • Aug 01, 1997
  • Information and Computation
  • Benedetto Intrigila
  • Research Article
  • Citations22

Efficient Implementations of Software Architectures via Partial Evaluation

  • Oct 01, 1999
  • Automated Software Engineering
  • Renaud Marlet +2
  • Book Chapter

Quantitative Weak Linearisation

  • Jan 01, 2022
  • Sandra Alves +1
  • Book Chapter
  • Citations34

Reasoning About Call-by-need by Means of Types

  • Jan 01, 2016
  • Delia Kesner
  • Research Article
  • Citations5

A resource aware semantics for a focused intuitionistic calculus

  • May 22, 2017
  • Mathematical Structures in Computer Science
  • Delia Kesner +1
  • Research Article
  • Citations4

Non-idempotent types for classical calculi in natural deduction style

  • Jan 14, 2020
  • Logical Methods in Computer Science
  • Delia Kesner +1
  • Research Article
  • Citations30

Foundations of strong call by need

  • Aug 29, 2017
  • Proceedings of the ACM on Programming Languages
  • Thibaut Balabonski +3
  • Conference Article
  • Citations26

On compiling embedded languages in LISP

  • Jan 01, 1980
  • Pär Emanuelson +1
  • Research Article
  • Citations19

Partial evaluation of pattern matching in strings, revisited

  • Dec 01, 2001
  • Nordic Journal of Computing
  • Bernd Grobauer +1
  • Research Article
  • Citations35

Specifying the correctness of binding-time analysis

  • Jul 01, 1993
  • Journal of Functional Programming
  • Mitchell Wand
  • PDF
  • Research Article
  • Citations5

Quantitative Inhabitation for Different Lambda Calculi in a Unifying Framework

  • Jan 09, 2023
  • Proceedings of the ACM on Programming Languages
  • Victor Arrial +2
  • Research Article

Dissertatio 15C revisited: Concept and Body in Kant’s Problems of Directionality

  • Nov 18, 2024
  • Kant-Studien
  • Guillermo Villaverde López
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.