Skip to main content
U

Seman effectiventic formations are often outlined in terms of a certain set away from datatypes, denoted because of the DTS

By 2022년 08월 11일No Comments

Seman effectiventic formations are often outlined in terms of a certain set away from datatypes, denoted because of the DTS

A semantic structure, I, is a tuple of the form <TV, DTS, D, I

  • a related lay, known as value room, and you may
  • an excellent mapping in the lexical space of icon place to the significance space, entitled lexical-to-value-space mapping. ?

For the a concrete dialect, DTS always includes the brand new datatypes backed by one dialect. Every RIF dialects need secure the datatypes that will be placed in Part Datatypes off [RIF-DTB]. Their worthy of rooms in addition to lexical-to-value-room mappings for these datatypes try revealed in the same part.

Although the lexical and the value spaces might sometimes look similar, one should not confuse them. Lexical spaces define the syntax of the constant symbols in the RIF language. Value spaces define the meaning of the constants. The lexical and the value spaces are often not even isomorphic. For example, 1.2^^xs:quantitative and step one.20^^xs:decimal are two legal — and distinct — constants in RIF because step 1.dos and 1.20 belong to the lexical space of xs:decimal. However, these two constants are interpreted by the same element of the value space of the xs:decimal type. Therefore, step one.2^^xs:decimal = step 1.20^^xs:decimal is a RIF tautology. Likewise, RIF semantics for datatypes implies certain inequalities. For instance, abc^^xs:sequence ? abcd^^xs:sequence is a tautology, since the lexical-to-value-space mapping of the xs:string type maps these two constants into distinct elements in the value space of xs:sequence.

step 3.4 Semantic Structures

The newest main part of indicating a design-theoretical semantics for a reason-established words is determining the thought of a beneficial semantic structure. Semantic formations are widely used to designate specifics viewpoints to RIF-FLD algorithms.

Definition (Semantic structure). C, IV, IF, INF, Ilist, Itail, Iframe, Isub, Iisa, I=, Iexternal, Iconnective, Itruth>. Here D is a non-empty set of elements called the domain of I. We will continue to use Const to refer to the set of all constant symbols and Var to refer to the set of all variable symbols. TV denotes the set of truth values that the semantic structure uses and DTS is a set of identifiers for datatypes.

A semantic structure, I, is a tuple of the form <TV, DTS, D, I

  • Each pair <s,v> ? ArgNames ? D represents an argument/value pair instead of just a value in the case of a positional term.
  • The fresh dispute so you can a term which have titled arguments try a small purse out-of argument/value sets in www.datingranking.net/ashley-madison-review lieu of a limited ordered succession of effortless facets.
  • Bags are used here because the order of the argument/value pairs in a term with named arguments is immaterial and the pairs may repeat: p(a->b good->b). (However, p(a->b an effective->b) is not equivalent to p(a->b), as we shall see later.)

To see why such repetition can occur, note that argument names may repeat: p(a->b a->c). This can be understood as treating a as a bag-valued argument. Identical argument/value pairs can then arise as a result of a substitution. For instance, p(a->?A beneficial good->?B) becomes p(a->b good->b) if the variables ?An excellent and ?B are both instantiated with the symbol b.

A semantic structure, I, is a tuple of the form <TV, DTS, D, I

  • Ilist : D * > D
  • Itail : D + ?D > D

A semantic structure, I, is a tuple of the form <TV, DTS, D, I

  • The function Ilist is injective (one-to-one).
  • The set Ilist(D * ), henceforth denoted Dlist , is disjoint from the value spaces of all data types in DTS.
  • Itail(a1, . ak, Ilist(ak+1, . ak+yards)) = Ilist(a1, . ak, ak+1, . ak+meters).

Note that the last condition above restricts Itail only when its last argument is in Dlist. If the last argument of Itail is not in Dlist, then the list is a general open one and there are no restrictions on the value of Itail except that it must be in D.

천소현

Author 천소현

More posts by 천소현