<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
  <responseDate>2026-09-22T21:02:36Z</responseDate>
  <request identifier="8460" metadataPrefix="oai_dc" verb="GetRecord">https://drops.dagstuhl.de/oai</request>
  <GetRecord>
    <record>
      <header>
        <identifier>oai:drops-oai.dagstuhl.de:8460</identifier>
        <datestamp>2026-09-22T15:04:31Z</datestamp>
        <setSpec>ddc:004</setSpec>
        <setSpec>open_access</setSpec>
      </header>
      <metadata>
        <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
          <dc:title>Towards Run-time Checks Simplification via Term Hiding</dc:title>
          <dc:creator>Stulova, Nataliia</dc:creator>
          <dc:creator>Morales, Jose F.</dc:creator>
          <dc:creator>Hermenegildo, Manuel V.</dc:creator>
          <dc:subject>Module Systems</dc:subject>
          <dc:subject>Implementation</dc:subject>
          <dc:subject>Run-time Checking</dc:subject>
          <dc:subject>Assertion-based Debugging and Validation</dc:subject>
          <dc:subject>Static Analysis</dc:subject>
          <dc:description>One of the most attractive features of untyped languages for programmers&#13;
is the flexibility in term creation and manipulation.&#13;
However, with such power comes the responsibility of ensuring&#13;
correctness of operations.&#13;
A solution is adding run-time checks to the program via assertions, but&#13;
this can introduce overheads that are in many cases impractical.&#13;
While such overheads can be greatly reduced with static analysis, the&#13;
gains depend strongly on the quality of the information inferred.&#13;
Reusable libraries, i.e., library modules that are pre-compiled&#13;
independently of the client, pose special challenges in this context.&#13;
We propose a relaxed form of atom-based module system (which hides only&#13;
a selected set of functor symbols but still provides a strict mechanism&#13;
to prevent breaking visibility rules across modules) that can enrich&#13;
significantly the shape information that can be inferred in reusable&#13;
modular programs.&#13;
We also propose an improved run-time checking approach that takes&#13;
advantage of the proposed mechanisms to achieve large reductions in&#13;
overhead, closer to those of static languages even in the&#13;
reusable-library context.&#13;
While the approach is general and system-independent, we present it for&#13;
concreteness in the context of the Ciao assertion language and combined&#13;
static/dynamic checking framework.&#13;
Our method maintains full expressiveness of the checks in this context.&#13;
Contrary to other approaches it does not introduce the need to switch&#13;
the language to (static) type systems, which is known to change the&#13;
semantics in languages like Prolog.&#13;
We also study the approach experimentally and evaluate the overhead&#13;
reduction achieved in the run-time checks.</dc:description>
          <dc:publisher>Schloss Dagstuhl – Leibniz-Zentrum für Informatik</dc:publisher>
          <dc:contributor>Nataliia Stulova and Jose F. Morales and Manuel V. Hermenegildo</dc:contributor>
          <dc:date>2018</dc:date>
          <dc:relation>Is Part Of OASIcs, Volume 58, Technical Communications of the 33rd International Conference on Logic Programming (ICLP 2017)</dc:relation>
          <dc:type>InProceedings</dc:type>
          <dc:type>Text</dc:type>
          <dc:type>doc-type:ResearchArticle</dc:type>
          <dc:type>publishedVersion</dc:type>
          <dc:format>application/pdf</dc:format>
          <dc:identifier>doi:10.4230/OASIcs.ICLP.2017.9</dc:identifier>
          <dc:identifier>urn:nbn:de:0030-drops-84601</dc:identifier>
          <dc:identifier>https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.ICLP.2017.9</dc:identifier>
          <dc:language>eng</dc:language>
          <dc:rights>https://creativecommons.org/licenses/by/3.0/legalcode</dc:rights>
        </oai_dc:dc>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>
