encyclopegia.org

Algebraic Logic Functional programming language

Algebraic Logic Functional (ALF) programming language combines functional and logic programming techniques.[src] Its foundation is Horn clause logic with equality, which consists of predicates and Horn clauses for logic programming, and functions and equations for functional programming.[src] ALF was designed to be genuine integration of both programming paradigms, and thus any functional expression can be used in a goal literal and arbitrary predicates can occur in conditions of equations.[src] ALF's operational semantics is based on the resolution rule to solve literals and narrowing to evaluate functional expressions.[src] To reduce the number of possible narrowing steps, a leftmost-innermost basic narrowing strategy is used which, it is claimed, can be efficiently implemented.[src] Terms are simplified by rewriting before a narrowing step is applied and equations are rejected if the two sides have different constructors at the top.[src] Rewriting and rejection are supposed to result in a large reduction of the search tree and produce an operational semantics that is more efficient than Prolog's resolution strategy.[src] Similarly to Prolog, ALF uses a backtracking strategy corresponding to a depth-first search in the derivation tree.[src] The ALF system was designed to be an efficient implementation of the combination of resolution, narrowing, rewriting, and rejection.…[src]

Algebraic Logic Functional (ALF) programming language combines functional and logic programming techniques.[src] Its foundation is Horn clause logic with equality, which consists of predicates and Horn clauses for logic programming, and functions and equations for functional programming.[src] ALF was designed to be genuine integration of both programming paradigms, and thus any functional expression can be used in a goal literal and arbitrary predicates can occur in conditions of equations.[src] ALF's operational semantics is based on the resolution rule to solve literals and narrowing to evaluate functional expressions.[src] To reduce the number of possible narrowing steps, a leftmost-innermost basic narrowing strategy is used which, it is claimed, can be efficiently implemented.[src] Terms are simplified by rewriting before a narrowing step is applied and equations are rejected if the two sides have different constructors at the top.[src] Rewriting and rejection are supposed to result in a large reduction of the search tree and produce an operational semantics that is more efficient than Prolog's resolution strategy.[src] Similarly to Prolog, ALF uses a backtracking strategy corresponding to a depth-first search in the derivation tree.[src] The ALF system was designed to be an efficient implementation of the combination of resolution, narrowing, rewriting, and rejection.[src] ALF programs are compiled into instructions of an abstract machine, which is based on the Warren Abstract Machine (WAM) with several extensions to implement narrowing and rewriting.[src] In the current ALF implementation programs of this abstract machine are executed by an emulator written in C.[src] In the Carnegie Mellon University Artificial Intelligence Repository, ALF is included as an AI programming language, more so as a functional/logic programming language Prolog implementation.[src] A user manual describing the language and the use of the system is available.[src] The ALF System runs on Unix and is available under a custom proprietary software license that grants the right to use for "evaluation, research and teaching purposes" but not commercial or military use.[src] ==References== ==External links== Publications of Michael Hanus, including many articles relevant to the design and theory of ALF Information about getting and installing the ALF system[src]

24 sentences · 24 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Algebraic Logic Functional programming language." encyclopegia.org, 2024, https://encyclopegia.org/wiki/algebraic-logic-functional-programming-language. Accessed 02 December 2026.

Chicago

"Algebraic Logic Functional programming language." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/algebraic-logic-functional-programming-language.

APA

encyclopegia.org. (2024). Algebraic Logic Functional programming language. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/algebraic-logic-functional-programming-language

Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

algebraic equation

stub · references available

resistor–transistor logic

stub · references available

functional analysis

stub · references available

algebraic topology

stub · references available

provability logic

stub · references available

logic programming

stub · references available

Animal Logic

stub · references available

NOR logic

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1254249640 · 0.5 · snapshot enwiki-001254249640

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.