• Home
  • Search
  • The Head Condition and Polymorphic Recursion
  • https://doi.org/10.1007/3-540-45788-7_16Copy DOI Icon

The Head Condition and Polymorphic Recursion

  • Jan 1, 2002
  • Jan-Georg Smaus
Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

In typed logic programming, the head condition states that for each clause defining a predicate p, the arguments of the clause head must have the declared type of p, rather than a proper polymorphic instance. In typed functional programming, polymorphic recursion means that in a recursive definition of a function f, the recursive call to f uses a type which is a proper instance of the declared type of f. We show that both notions are also meaningful in the respectively other paradigm. We observe a symmetry between the head condition and the “monomorphic recursion condition” (meaning absence of polymorphic recursion). We discuss arguments for and against each condition in both paradigms.KeywordsLogic ProgramType SystemLogic ProgrammingRecursive CallTyping RuleThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Similar Papers
  • Book Chapter
  • Citations8

Well-Typed Logic Programs Are not Wrong

  • Jan 01, 2001
  • Pierre Deransart +1
  • Book Chapter
  • Citations20

Typed norms for typed logic programs

  • Jan 01, 1997
  • Jonathan C Martin +2
  • Conference Article
  • Citations24

Inference of polymorphic and conditional strictness properties

  • Jan 01, 1998
  • Thomas P Jensen
  • Book Chapter
  • Citations24

A fibrational semantics for logic programs

  • Jan 01, 1996
  • Y Kinoshita +1
  • Book Chapter
  • Citations8

Introducing Constraint Functional Logic Programming

  • Jan 01, 1992
  • John Darlington +2
  • Research Article
  • Citations101

Partial evaluation of functional logic programs

  • Jul 01, 1998
  • ACM Transactions on Programming Languages and Systems
  • María Alpuente +2
  • Book Chapter
  • Citations22

Termination Analysis with Types Is More Accurate

  • Jan 01, 2003
  • Vitaly Lagoon +2
  • Book Chapter
  • Citations1

Default Rules for Curry

  • Jan 01, 2016
  • Sergio Antoy +1
  • Research Article
  • Citations8

Default rules for Curry

  • Jul 01, 2016
  • Theory and Practice of Logic Programming
  • Sergio Antoy +1
  • Conference Article

The functional perspective on advanced logic programming

  • Nov 01, 2016
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Alexander Vandenbroucke
  • Book Chapter
  • Citations37

A PolyTime Functional Language from Light Linear Logic

  • Jan 01, 2010
  • Patrick Baillot +2
  • Conference Article
  • Citations128

What are principal typings and what are they good for?

  • Jan 01, 1996
  • Trevor Jim
  • Research Article
  • Citations4

A Survey of the Proof-Theoretic Foundations of Logic Programming

  • Nov 18, 2021
  • Theory and Practice of Logic Programming
  • Dale Miller
  • Book Chapter

The Complexity of Inductive Definability

  • Jan 01, 2005
  • Douglas Cenzer +1
  • Book Chapter

Temporal Logic Semantics for Teleo-Reactive Robotic Agent Programs

  • Jan 01, 2020
  • Keith Clark +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.