<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Constructive Modal Semantics for Contextual Veri cation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Giuseppe Primiero?</string-name>
          <email>Giuseppe.Primiero@UGent.be</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Centre for Logic and Philosophy of Science University of Ghent (Belgium) Blandijnberg 2</institution>
          ,
          <addr-line>room 231, 9000 Gent</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper introduces a non-standard semantics for a modal version of constructive KT for contextual (assumptions-based) veri cation. The modal fragment expresses veri ability under extensions of contexts, enjoying adapted validity and (weak) monotonocity properties depending on satisfaction of the contextual data. ? Postdoctoral Fellow of the Research Foundation - Flanders (FWO). A liated Senior Researcher IEG, Oxford and GPI, Hertfordshire (UK).</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Modelling contexts is a crucial issue for knowledge representation and problem
solving tasks ([
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]). The constructive treatment of contexts, interpreted as
meaning determining environments in a pragmatic setting for indexical expressions
([
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]) or as databases for information retrieval, is characterized by the reduction
of assumptions to veri ed instances. From a logical viewpoint, the formulation
of a constructive contextual possible worlds semantics is an interesting challenge
to pair the syntactic calculi presented in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] for staged computation, in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] for an
operational semantics that quanti es over contexts and in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] for a constructive
type theory with refutable assumptions.
      </p>
      <p>Our constructive contextual semantics presents two novel aspects: the
representation of veri cation processes under open (non reduced) assumptions, and
their modelling in a contextual dynamics. These properties are given by
interpreting necessity as veri ability in the empty context of assumptions preserved
to all extensions, and possibility as restricted validity. When performing queries
on ontologies, one wants the theory to deal with validity of varying contextual
values:
[x=Straight, y=3Km, z=NoObstacles :: Path, n::Nat]
prop P = Veichle
Time(P(x, y, z)) ==&gt; Value :: n
[x=Bordeaux :: Wine, Red :: Colour]
prop x = Bordeaux ==&gt; Red(x) :: Bool</p>
      <p>This dynamics should be admitted both at the typing level (e.g. with type
declaration City in place of W ine, resulting in a di erent output) and at the value
level (e.g. with type value 30km in place of 3km, resulting in a di erent
computation z). The main applications are knowledge processes with unveri ed
information, programming under contextual veri cation and output correcteness in
distributed and staged computation.
2</p>
      <p>Knowledge with Local and Global Contexts
The language Lint is the union of two fragments Lint = fLver; Linf g. Lver is
a positive (intuitionistic) language for direct veri cation processes, built in a
standard way from propositional variables P = fA; B; C; : : :g, the propositional
constant &gt;, propositional unary and binary connectives :; &amp;; _; . Linf is an
extension of the previous language with ? and modal operators ; , obtained
by de ning the satisfaction relation in a context . A set of knowledge states
K = fKi j i 2 Ig is a nitely enumerable collection of nite sets of evaluated
(modal and non-modal) formulas from Lint; each state is decorated with indices
I = fi; j; k; : : :g; V = fx1; x2; : : :g denotes a nite set of free variables.</p>
      <p>A model M ver = fK; ; R; vg is normal model with an accessibility relation
on ordered states Ki Ki 2 K on which monotonicity is preserved for valuating
propositional letters by a standard function v. Contexts ; 0 are sets of valuation
functions from V to contents in a knowledge state. The partial order holds
for knowledge states on the basis of the relevant informational contexts, where
the function de nes the extension of holding for a given Ki to 0 of Kj
(Ki Kj ), with at least one new propositional content assumed in Kj i.
Each value obtained in context can be seen as the parametric module of the
new language, collected into a strucutred list. vMinf ; Ki A is read as: \A
is veri ed in Ki on the basis of information " and is based on the function
:= V 7! K, such that veri es A 2 Kj i M ver(Kiji j2I) 2 :A. A model
M inf = fK; ; R; vg, has R as a symmetric accessibility relation on K induced
by and v.</p>
      <p>An informational context is the dynamic structure of information which
speci es the actual program (or theory) against which the knowledge state is valid.
The additional two speci c clauses for modalities in this language interpret
contextual dynamics:
{ vM ; Ki
{ vM ; Ki</p>
      <p>A i for any function
A i there is a function
it holds Ki A;
for which it holds Ki</p>
      <p>A.</p>
      <p>Monotonicity for Linf is expressed under contextual constraints:
Lemma 1 (Contextual Monotonicity for Linf ). If Ki
0 &gt;, then Kj 0 &gt; and if Ki j= A then Kj j= 0 A.
&gt; and for all ,</p>
      <p>
        Introducing the distinction between global and local assumptions (see [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ])
allows to reduce derivability and consequence relations of the two procols to a
uni ed frame.
      </p>
      <p>De nition 1 (Global Context). For any context , the global context
given by Sf A1; : : : ; Ang such that := x 7! Ai 2 .
De nition 2 (Local Context). For any context , the local context is
given by Sf A1; : : : ; An j = f ; gg and := x 7! Ai 2 and 9Ai such that
The resulting system has a correspondingly formulated consequence relation:
Ki A; Ki A i for some it holds
AAi. Tfhoer celvaesrsyof ,miotdheolsldMsK(Liver[Linf ) is equivalent to that of contextual
`CKT ;
Theorem 1. The system CKT ; is sound and complete with respect to the
union class M(Lver[Linf ); i.e. for every set of formulae and formula A, it
holds A i either V A, or A, or A.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Alechina</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Mendler</surname>
          </string-name>
          , M.,
          <string-name>
            <surname>de Paiva</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ritter</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          , \
          <article-title>Categorical and Kripke Semantics for Constructive S4 Modal Logic"</article-title>
          ,
          <source>Proceedings 15th Int. Workshop on Computer Science Logic, CSL'01</source>
          , Paris, France,
          <volume>10</volume>
          {13 Sept.
          <year>2001</year>
          , pp.
          <volume>292</volume>
          {
          <issue>307</issue>
          , Springer-Verlag,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Davies</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pfenning</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <article-title>\A modal Analysis of Staged Computation"</article-title>
          ,
          <source>Journal of the ACM</source>
          , vol.
          <volume>48</volume>
          , n.3, pp.
          <fpage>555</fpage>
          -
          <lpage>604</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>de Paiva</surname>
          </string-name>
          , V., \
          <article-title>Natural deduction and context as (constructive) modality"</article-title>
          ,
          <source>in Proceedings of the 4th International and Interdisciplinary Conference - CONTEXT03</source>
          , Stanford, vol.
          <source>2680 of Lecture Notes in Arti cial Intelligence</source>
          , Springer Verlag,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Fitting</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Basic Modal Logic, in D.M.
          <string-name>
            <surname>Gabbay</surname>
            ,
            <given-names>C.J.</given-names>
          </string-name>
          <string-name>
            <surname>Hogger</surname>
            ,
            <given-names>J.A</given-names>
          </string-name>
          . Robinson (eds),
          <source>Handbook of Logic in Arti cial Intelligence and Logic Programming</source>
          , vol.
          <volume>4</volume>
          ,
          <issue>368</issue>
          {
          <fpage>449</fpage>
          , Oxford University Press,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Giunchiglia</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bouquet</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , \
          <article-title>Introduction to contextual reasoning. An Arti cial Intelligence perspective"</article-title>
          , in: B.
          <string-name>
            <surname>Kokinov</surname>
          </string-name>
          (ed.),
          <source>Perspectives on Cognitive Science</source>
          , vol.
          <volume>3</volume>
          , NBU Press, So a,
          <year>1997</year>
          , pp.
          <fpage>138</fpage>
          -
          <lpage>159</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>McCarthy</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <source>\Notes on formalizing context"</source>
          ,
          <source>in Proceedings of the 13th Joint Conference on Arti cial Intelligence (IJCAI-93)</source>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Mendler</surname>
          </string-name>
          , M.,
          <string-name>
            <surname>de Paiva</surname>
          </string-name>
          , V., \
          <article-title>Constructive CK for Contexts"</article-title>
          ,
          <source>in Proceedings of the rst Workshop on Context Representation and Reasoning - CONTEXT05</source>
          , Stanford,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Nanevski</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pfenning</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pientka</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          , \
          <article-title>Contextual Modal Type Theory"</article-title>
          ,
          <source>in ACM Transactions on Computational Logic</source>
          , vol.
          <volume>9</volume>
          (
          <issue>3</issue>
          ), pp.
          <fpage>1</fpage>
          -
          <lpage>48</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Pientka</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dun</surname>
            <given-names>eld</given-names>
          </string-name>
          , J., \
          <article-title>Programming with Proofs and Explicit Contexts"</article-title>
          ,
          <source>Proceedings of the 10th international ACM SIGPLAN Conference on Principles and Practice of Declarative Programming</source>
          , Valencia, SPain, ACM, pp.
          <fpage>163</fpage>
          -
          <lpage>173</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Primiero</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <article-title>\Constructive contextual modal judgments for reasoning from open assumptions"</article-title>
          ,
          <source>Technical Report 542</source>
          ,
          <article-title>Centre for Logic and</article-title>
          Philosophy of Science, Ghent University,
          <year>2009</year>
          ; http://logica.ugent.be/centrum/preprints/primiero open assumptions.
          <source>pdf.</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>