No label defined (Q3768375)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

scientific article; zbMATH DE number 4026804
Language Label Description Also known as
default for all languages
No label defined
    English
    No label defined
    scientific article; zbMATH DE number 4026804

      Statements

      0 references
      1987
      0 references
      logic programs
      0 references
      type correct
      0 references
      programming errors
      0 references
      semantics
      0 references
      type declarations
      0 references
      type schemes
      0 references
      implementation
      0 references
      [For the entire collection see Zbl 0625.00019.] It has been claimed that logic programs are equivalent to or consequences of specifications. We argue this is generally not correct. Programs often make implicit assumptions about types, leading to the possibility of incorrect answers. If the assumptions are made explicit, so that the program is equivalent to the specification, the program is less efficient. We define when programs with type declarations are type correct and show all well typed answers returned by such programs are correct. As well as making the relationship between programs and specifications clear, this type scheme can be used to detect certain programming errors. The semantics we define for type declarations can also be applied to other type schemes. This leads to a simple characterization of what errors are detected by these schemes, and a way to generalize these schemes to allow arbitrary type definitions. One such implementation is discussed.
      0 references

      Identifiers

      0 references
      0 references
      0 references
      0 references