Previous Up Next

Appendix B  Initiators

The Initiators are 0-ary logic functors. They correspond to symbols, constants, and values in concrete domains. They can also introduce patterns on these values (e.g., in String). They usually satisfy many properties, and so can easily be integrated in various logics.

B.1  Unit/0 = {unit}

Minimal logic with only one interpretation, and only one formula. Useful to make optional some properties in logics. {unit} is an equivalent notation of this functor, where unit can be replaced by any symbol.

B.1.1  Parameters

No parameters.

B.1.2  Syntax

There is a unique formula:
AS =def {unit}

B.1.3  Semantics

domain:
I =def {unit}.

satisfaction:
M(unit) =def {unit}.

B.1.4  Operations

subsumption:
unitunit.

tautology:
⊤ =def unit.

conjunction:
unitunit =def unit

disjunction:
unitunit =def unit

B.1.5  Properties

B.2  Atom/0

The logic whose formulas and interpretations are the usual atoms. Each atom is interpreted by itself. It is useful to represent abstract atomic properties (as opposed to concrete properties).

B.2.1  Parameters

No parameters.

B.2.2  Syntax

AS is a set of atoms.

B.2.3  Semantics

domain:
I = AS.

satisfaction:
ia =def i = a.

B.2.4  Operations

subsumption:
ab =def a = b,

conjunction:
ab =def

a if a = b
undef otherwise


disjunction:
ab =def

{a} if a = b
{a,b} otherwise

B.2.5  Properties

B.3  Int/0

Formulas and models are simple integers. Each integer is interpreted by itself. Interpretations are ordered according to the usual ordering on integers.

B.3.1  Parameters

No parameters.

B.3.2  Syntax

AS =def Z

B.3.3  Semantics

domain:
I =def Z

satisfaction:
if =def i = f

B.3.4  Operations

subsumption:
fg =def f = g

lower ordering:
fg =def fg

upper ordering:
fg =def fg

B.3.5  Properties

B.4  Card/0

Formulas expressing cardinals, i.e. “at least” properties. So formulas and interpretations are natural numbers, and both the satisfaction and subsumption relations are the decreasing ordering on natural numbers.

B.4.1  Parameters

No parameters.

B.4.2  Syntax

AS =def N

B.4.3  Semantics

domain:
I =def N

satisfaction:
if =def if

B.4.4  Operations

subsumption:
fg =def fg

top:
⊤ =def 0

conjunction:
fg =def max(f,g)

disjunction:
fg =def {min(f,g)}

B.4.5  Properties

B.5  String/0

Formulas are strings and substrings over an arbitrary alphabet plus 2 special characters for representing the beginning and the end of a string. Interpretations are closed strings, i.e., strings having a beginning and an end. Both satisfaction and subsumption relations are based on exact string matching.

B.5.1  Parameters

Σ:
an alphabet.

B.5.2  Syntax

AS =def <?Σ*>?: formulas are strings and substrings

B.5.3  Semantics

domain:
I =def*>: interpretations are also strings, but closed with a beginning and an end

satisfaction:
if =defu,vAS: i = u.f.v: f is a substring of i

B.5.4  Operations

subsumption:
fg =defu,vAS: f = u.g.v

tautology:
⊤ =def є (the empty string)

B.5.5  Properties


Previous Up Next