Previous Up Next

Appendix E  Adaptors

The Adaptors help to make a logic satisfy some properties. They are usually inserted lately in the process of designing a logic, after the syntax and semantics structures have been stabilized. So, they do not usually change a lot the syntax, but may change the semantics in a significant way (while preserving the existing structure).

E.1  Set/1

This functor extends the interpretation domain of a logic to its powerset. This has the side effect of replacing the need for the property reduced by the weaker property reduced.right. A common use example is between the functor Prop and a concrete domain or a logic of values.

E.1.1  Parameters

EL:
a logic of elements.

E.1.2  Syntax

AS = ASE
TELL =def TELLE
ASK =def ASKE

E.1.3  Semantics

domain:
I = 2IE \ {∅}.

satisfaction:
if =defiEi: iE f.

E.1.4  Operations

subsumption:
fg =def fE g,

tautology:
⊤ =defE,

contradiction:
⊥ =defE,

disjunction:
fg =def fE g.

E.1.5  Properties

E.2  Bottom/1

This functor adds a bottom to the language, and make it the result of the conjunction of a TELL-formula and a non-subsuming ASK-formula. This functor is useful to ensure the property reduced', given the properties sg', and cp'.

E.2.1  Parameters

XL:
a logic, whose TELL-formulas have a single model.

E.2.2  Syntax

AS =def ASX ⊎ {0}.
TELL =def TELLX.
ASK =def ASKX.

E.2.3  Semantics

domain:
I =def IX.

satisfaction:
if =def iX f, for all fASX.

E.2.4  Operations

subsumption:
fg =def

true if f = 0
fX g if f,gASX
false otherwise


tautology:
⊤ =defX.

contradiction:
⊥ =def 0.

conjunction:
fg =def



0  if  f = 0
0  if  g = 0
0  if  fTELL gASK f ¬ ⊑g
0  if  gTELL fASK g ¬ ⊑f
fX g  if  f,gASX

E.2.5  Properties

E.3  Single/1

This functor ensures that the property sg' is satisfied. The property df is required on the argument logic in order to satisfy the partial completeness cp'. This functor is based on the epistemic closure [Fer06], which is itself derived from the logic AIK (All I Know [Lev90]).

E.3.1  Parameters

XL:
a logic.

E.3.2  Syntax


AS   →   ASX   ∣   [ASX]
TELL   →   [TELLX]
ASK   →   ASKX   ∣   [TELLX]

The square brackets denote the modal operator O that is specific to AIK. The usual modal operator K implicitly applies in other cases.

E.3.3  Semantics

domain:
I =def 2IX.

satisfaction:
if =def iMX(f) ,     M(f) =def 2MX(f)
i ⊨ [f] =def i = MX(f) ,     M([f]) =def {MX(f)}

E.3.4  Operations

subsumption:
 
g [g]
f fX g false
[f] fX g fX g


tautology:
⊤ =defX.

E.3.5  Properties

E.4  Id/1

This functor ensures that the property df is satisfied. This is done by adding an identifier in descriptors, and in interpretations. As every identifier maps to only one TELL-sub-formula, it becomes possible to have a complete entailment between TELL-formulas, and so to include them in the set of ASK-formulas.

E.4.1  Parameters

XL:
a logic.

E.4.2  Syntax

AS =def ASX ∪ (N × ASX)
TELL =def N × TELLX
ASK =def ASKX ∪ (N × TELLX)
In addition to these definitions, we state the following invariant:
∀ (n,f), (m,g) ∈ AS: n = mf = g.


E.4.3  Semantics

domain:
I =def N × IX.

satisfaction:
(m,i) ⊨ f =def iX f ,     M(f) =def N × MX(f)
(m,i) ⊨ (n,f) =def m=n iX f ,     M((n,f)) =def {n} × MX(f)

E.4.4  Operations

subsumption:
 
g (m,g)
f fX g false
(n,f) fX g n = m


tautology:
⊤ =defX.

contradiction:
⊥ =defX.

E.4.5  Properties

E.5  Aik/1 = λ X.Prop(Bottom(Single(X)))

This combinator is commonly applied in logical information systems on the logic of object descriptions and features. This produces a full querying language with boolean connectives matching set operations on sets of answers, i.e., queries are interpreted under the Closed World Assumption.


Previous Up Next