• Home
  • Search
  • Type declarations as subtype constraints in logic programming
  • Open Access IconOpen Access
  • Cite Icon1
  • https://doi.org/10.1145/93548.93563Copy DOI Icon

Type declarations as subtype constraints in logic programming

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

This paper presents a type system for logic programs that supports parametric polymorphism and subtypes. This system follows most knowledge representation and object-oriented schemes in that subtyping is name-based , i.e., τ 1 is considered to be a subtype of τ 2 iff it is declared as such. We take this as a fundamental principle in the sense that type declarations have the form of subtype constraints. Types are assigned meaning by viewing such constraints as Horn clauses that, together with a few basic axioms, define a subtype predicate. This technique provides a (least) model for types and, at the same time, a sound and complete proof system for deriving subtypes. Using this proof system, we define well-typedness conditions which ensure that a logic program/query respects a set of predicate types. We prove that these conditions are consistent in the sense that every atom of every resolvent produced during the execution of a well-typed program is consistent with its type.

Similar Papers
  • Research Article
  • Citations16

Knowledge Representation Methods for Dairy Decision Support Systems

  • Dec 01, 1994
  • Journal of Dairy Science
  • H Hogeveen +5
  • Conference Article
  • Citations5

Proving proof rules: a proof system for concurrent programs

  • Jan 01, 1990
  • D.M Goldschlag
  • Research Article
  • Citations2

Revealing Sources of (Memory) Errors via Backward Analysis

  • Apr 09, 2025
  • Proceedings of the ACM on Programming Languages
  • Flavio Ascari +3
  • Book Chapter
  • Citations11

Read-Once Resolutions in Horn Formulas

  • Jan 01, 2019
  • Hans Kleine Büning +2
  • Conference Article
  • Citations4

A model for fuzzy temporal knowledge representation and reasoning

  • Jan 01, 1999
  • S Ribaric +2
  • Book Chapter
  • Citations33

A Cut-Free Cyclic Proof System for Kleene Algebra

  • Jan 01, 2017
  • Anupam Das +1
  • Book Chapter
  • Citations17

Syllogistic Logic with “Most”

  • Jan 01, 2015
  • Jörg Endrullis +1
  • Research Article
  • Citations8

The characterization problem for Hoare logics

  • Oct 01, 1984
  • Philosophical Transactions of the Royal Society of London. Series A, Mathematical and Physical Sciences
  • Edmund M Clarke
  • Book Chapter
  • Citations15

Optimal Proofs for Linear Temporal Logic on Lasso Words

  • Jan 01, 2018
  • David Basin +2
  • Book Chapter
  • Citations4

Scheme for Unstructured Knowledge Representation in Medical Expert System for Low Back Pain Management

  • Nov 05, 2018
  • Debarpita Santra +5
  • Book Chapter

Logic Programming and Constraint Logic Programming

  • Jun 28, 2004
  • Jacques Cohen
  • Research Article
  • Citations18

Logic Programming Using Parallel Associative Operations

  • Jan 01, 2011
  • Columbia Academic Commons (Columbia University)
  • Stephen Taylor +3
  • Book Chapter
  • Citations15

Knowledge Based Systems for Speech Understanding

  • Jan 01, 1988
  • G. Sagerer +1
  • Book Chapter
  • Citations14

Specification=program+types

  • Jan 01, 1987
  • Lee Naish
  • Research Article

A CRITICISM BASED SYSTEM FOR CONCEPTUAL DESIGN OF CONCRETE BRIDGES

  • Jan 01, 1996
  • Civil Engineering Systems
  • H Shiva Kumar +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.