fbpx
Wikipedia

Structure (mathematical logic)

In universal algebra and in model theory, a structure consists of a set along with a collection of finitary operations and relations that are defined on it.

Universal algebra studies structures that generalize the algebraic structures such as groups, rings, fields and vector spaces. The term universal algebra is used for structures of first-order theories with no relation symbols.[1] Model theory has a different scope that encompasses more arbitrary first-order theories, including foundational structures such as models of set theory.

From the model-theoretic point of view, structures are the objects used to define the semantics of first-order logic, cf. also Tarski's theory of truth or Tarskian semantics.

For a given theory in model theory, a structure is called a model if it satisfies the defining axioms of that theory, although it is sometimes disambiguated as a semantic model when one discusses the notion in the more general setting of mathematical models. Logicians sometimes refer to structures as "interpretations",[2] whereas the term "interpretation" generally has a different (although related) meaning in model theory, see interpretation (model theory).

In database theory, structures with no functions are studied as models for relational databases, in the form of relational models.

History Edit

In the context of mathematical logic, the term "model" was first applied in 1940 by the philosopher Willard Van Orman Quine, in a reference to mathematician Richard Dedekind (1831 – 1916), a pioneer in the development of set theory.[3][4] Since the 19th century, one main method for proving the consistency of a set of axioms has been to provide a model for it.

Definition Edit

Formally, a structure can be defined as a triple   consisting of a domain   a signature   and an interpretation function   that indicates how the signature is to be interpreted on the domain. To indicate that a structure has a particular signature   one can refer to it as a  -structure.

Domain Edit

The domain of a structure is an arbitrary set; it is also called the underlying set of the structure, its carrier (especially in universal algebra), its universe (especially in model theory, cf. universe), or its domain of discourse. In classical first-order logic, the definition of a structure prohibits the empty domain.[citation needed][5]

Sometimes the notation   or   is used for the domain of   but often no notational distinction is made between a structure and its domain (that is, the same symbol   refers both to the structure and its domain.)[6]

Signature Edit

The signature   of a structure consists of:

  • a set   of function symbols and relation symbols, along with
  • a function   that ascribes to each symbol   a natural number  

The natural number   of a symbol   is called the arity of   because it is the arity of the interpretation[clarification needed] of  

Since the signatures that arise in algebra often contain only function symbols, a signature with no relation symbols is called an algebraic signature. A structure with such a signature is also called an algebra; this should not be confused with the notion of an algebra over a field.

Interpretation function Edit

The interpretation function   of   assigns functions and relations to the symbols of the signature. Each function symbol   of arity   is assigned an  -ary function   on the domain. Each relation symbol   of arity   is assigned an  -ary relation   on the domain. A nullary ( -ary) function symbol   is called a constant symbol, because its interpretation   can be identified with a constant element of the domain.

When a structure (and hence an interpretation function) is given by context, no notational distinction is made between a symbol   and its interpretation   For example, if   is a binary function symbol of   one simply writes   rather than  

Examples Edit

The standard signature   for fields consists of two binary function symbols   and   where additional symbols can be derived, such as a unary function symbol   (uniquely determined by  ) and the two constant symbols   and   (uniquely determined by   and   respectively). Thus a structure (algebra) for this signature consists of a set of elements   together with two binary functions, that can be enhanced with a unary function, and two distinguished elements; but there is no requirement that it satisfy any of the field axioms. The rational numbers   the real numbers   and the complex numbers   like any other field, can be regarded as  -structures in an obvious way:

 

In all three cases we have the standard signature given by

 
with[7]   and
 

The interpretation function   is:

  is addition of rational numbers,
  is multiplication of rational numbers,
  is the function that takes each rational number   to   and
  is the number   and
  is the number  

and   and   are similarly defined.[7]

But the ring   of integers, which is not a field, is also a  -structure in the same way. In fact, there is no requirement that any of the field axioms hold in a  -structure.

A signature for ordered fields needs an additional binary relation such as   or   and therefore structures for such a signature are not algebras, even though they are of course algebraic structures in the usual, loose sense of the word.

The ordinary signature for set theory includes a single binary relation   A structure for this signature consists of a set of elements and an interpretation of the   relation as a binary relation on these elements.

Induced substructures and closed subsets Edit

  is called an (induced) substructure of   if

  •   and   have the same signature  
  • the domain of   is contained in the domain of     and
  • the interpretations of all function and relation symbols agree on  

The usual notation for this relation is  

A subset   of the domain of a structure   is called closed if it is closed under the functions of   that is, if the following condition is satisfied: for every natural number   every  -ary function symbol   (in the signature of  ) and all elements   the result of applying   to the  -tuple   is again an element of    

For every subset   there is a smallest closed subset of   that contains   It is called the closed subset generated by   or the hull of   and denoted by   or  . The operator   is a finitary closure operator on the set of subsets of  .

If   and   is a closed subset, then   is an induced substructure of   where   assigns to every symbol of σ the restriction to   of its interpretation in   Conversely, the domain of an induced substructure is a closed subset.

The closed subsets (or induced substructures) of a structure form a lattice. The meet of two subsets is their intersection. The join of two subsets is the closed subset generated by their union. Universal algebra studies the lattice of substructures of a structure in detail.

Examples Edit

Let   be again the standard signature for fields. When regarded as  -structures in the natural way, the rational numbers form a substructure of the real numbers, and the real numbers form a substructure of the complex numbers. The rational numbers are the smallest substructure of the real (or complex) numbers that also satisfies the field axioms.

The set of integers gives an even smaller substructure of the real numbers which is not a field. Indeed, the integers are the substructure of the real numbers generated by the empty set, using this signature. The notion in abstract algebra that corresponds to a substructure of a field, in this signature, is that of a subring, rather than that of a subfield.

The most obvious way to define a graph is a structure with a signature   consisting of a single binary relation symbol   The vertices of the graph form the domain of the structure, and for two vertices   and     means that   and   are connected by an edge. In this encoding, the notion of induced substructure is more restrictive than the notion of subgraph. For example, let   be a graph consisting of two vertices connected by an edge, and let   be the graph consisting of the same vertices but no edges.   is a subgraph of   but not an induced substructure. The notion in graph theory that corresponds to induced substructures is that of induced subgraphs.

Homomorphisms and embeddings Edit

Homomorphisms Edit

Given two structures   and   of the same signature σ, a (σ-)homomorphism from   to   is a map   that preserves the functions and relations. More precisely:

  • For every n-ary function symbol f of σ and any elements  , the following equation holds:
 .
  • For every n-ary relation symbol R of σ and any elements  , the following implication holds:
 

where  ,   is the interpretation of the relation symbol   of the object theory in the structure  ,   respectively.

A homomorphism h from   to   is typically denoted as  , although technically the function h is between the domains  ,   of the two structures  ,  .

For every signature σ there is a concrete category σ-Hom which has σ-structures as objects and σ-homomorphisms as morphisms.

A homomorphism   is sometimes called strong if:

  • For every n-ary relation symbol R of the object theory and any elements   such that  , there are   such that   and  [citation needed][dubious ]

The strong homomorphisms give rise to a subcategory of the category σ-Hom that was defiend above.

Embeddings Edit

A (σ-)homomorphism   is called a (σ-)embedding if it is one-to-one and

  • for every n-ary relation symbol R of σ and any elements  , the following equivalence holds:
 

(where as before  ,   refers to the interpretation of the relation symbol R of the object theory σ in the structure  ,   respectively).

Thus an embedding is the same thing as a strong homomorphism which is one-to-one. The category σ-Emb of σ-structures and σ-embeddings is a concrete subcategory of σ-Hom.

Induced substructures correspond to subobjects in σ-Emb. If σ has only function symbols, σ-Emb is the subcategory of monomorphisms of σ-Hom. In this case induced substructures also correspond to subobjects in σ-Hom.

Example Edit

As seen above, in the standard encoding of graphs as structures the induced substructures are precisely the induced subgraphs. However, a homomorphism between graphs is the same thing as a homomorphism between the two structures coding the graph. In the example of the previous section, even though the subgraph H of G is not induced, the identity map id: H → G is a homomorphism. This map is in fact a monomorphism in the category σ-Hom, and therefore H is a subobject of G which is not an induced substructure.

Homomorphism problem Edit

The following problem is known as the homomorphism problem:

Given two finite structures   and   of a finite relational signature, find a homomorphism   or show that no such homomorphism exists.

Every constraint satisfaction problem (CSP) has a translation into the homomorphism problem.[8] Therefore, the complexity of CSP can be studied using the methods of finite model theory.

Another application is in database theory, where a relational model of a database is essentially the same thing as a relational structure. It turns out that a conjunctive query on a database can be described by another structure in the same signature as the database model. A homomorphism from the relational model to the structure representing the query is the same thing as a solution to the query. This shows that the conjunctive query problem is also equivalent to the homomorphism problem.

Structures and first-order logic Edit

Structures are sometimes referred to as "first-order structures". This is misleading, as nothing in their definition ties them to any specific logic, and in fact they are suitable as semantic objects both for very restricted fragments of first-order logic such as that used in universal algebra, and for second-order logic. In connection with first-order logic and model theory, structures are often called models, even when the question "models of what?" has no obvious answer.

Satisfaction relation Edit

Each first-order structure   has a satisfaction relation   defined for all formulas   in the language consisting of the language of   together with a constant symbol for each element of   which is interpreted as that element. This relation is defined inductively using Tarski's T-schema.

A structure   is said to be a model of a theory   if the language of   is the same as the language of   and every sentence in   is satisfied by   Thus, for example, a "ring" is a structure for the language of rings that satisfies each of the ring axioms, and a model of ZFC set theory is a structure in the language of set theory that satisfies each of the ZFC axioms.

Definable relations Edit

An  -ary relation   on the universe (i.e. domain)   of the structure   is said to be definable (or explicitly definable cf. Beth definability, or  -definable, or definable with parameters from   cf. below) if there is a formula   such that

 
In other words,   is definable if and only if there is a formula   such that
 
is correct.

An important special case is the definability of specific elements. An element   of   is definable in   if and only if there is a formula   such that

 

Definability with parameters Edit

A relation   is said to be definable with parameters (or  -definable) if there is a formula   with parameters[clarification needed] from   such that   is definable using   Every element of a structure is definable using the element itself as a parameter.

Some authors use definable to mean definable without parameters,[citation needed] while other authors mean definable with parameters.[citation needed] Broadly speaking, the convention that definable means definable without parameters is more common amongst set theorists, while the opposite convention is more common amongst model theorists.

Implicit definability Edit

Recall from above that an  -ary relation   on the universe   of   is explicitly definable if there is a formula   such that

 

Here the formula   used to define a relation   must be over the signature of   and so   may not mention   itself, since   is not in the signature of   If there is a formula   in the extended language containing the language of   and a new symbol   and the relation   is the only relation on   such that   then   is said to be implicitly definable over  

By Beth's theorem, every implicitly definable relation is explicitly definable.

Many-sorted structures Edit

Structures as defined above are sometimes called one-sorted structures to distinguish them from the more general many-sorted structures. A many-sorted structure can have an arbitrary number of domains. The sorts are part of the signature, and they play the role of names for the different domains. Many-sorted signatures also prescribe on which sorts the functions and relations of a many-sorted structure are defined. Therefore, the arities of function symbols or relation symbols must be more complicated objects such as tuples of sorts rather than natural numbers.

Vector spaces, for example, can be regarded as two-sorted structures in the following way. The two-sorted signature of vector spaces consists of two sorts V (for vectors) and S (for scalars) and the following function symbols:

  • +S and ×S of arity (SSS).
  • S of arity (SS).
  • 0S and 1S of arity (S).
  • +V of arity (VVV).
  • V of arity (VV).
  • 0V of arity (V).
  • × of arity (SVV).

If V is a vector space over a field F, the corresponding two-sorted structure   consists of the vector domain  , the scalar domain  , and the obvious functions, such as the vector zero  , the scalar zero  , or scalar multiplication  .

Many-sorted structures are often used as a convenient tool even when they could be avoided with a little effort. But they are rarely defined in a rigorous way, because it is straightforward and tedious (hence unrewarding) to carry out the generalization explicitly.

In most mathematical endeavours, not much attention is paid to the sorts. A many-sorted logic however naturally leads to a type theory. As Bart Jacobs puts it: "A logic is always a logic over a type theory." This emphasis in turn leads to categorical logic because a logic over a type theory categorically corresponds to one ("total") category, capturing the logic, being fibred over another ("base") category, capturing the type theory.[9]

Other generalizations Edit

Partial algebras Edit

Both universal algebra and model theory study classes of (structures or) algebras that are defined by a signature and a set of axioms. In the case of model theory these axioms have the form of first-order sentences. The formalism of universal algebra is much more restrictive; essentially it only allows first-order sentences that have the form of universally quantified equations between terms, e.g.   x  y (x + y = y + x). One consequence is that the choice of a signature is more significant in universal algebra than it is in model theory. For example, the class of groups, in the signature consisting of the binary function symbol × and the constant symbol 1, is an elementary class, but it is not a variety. Universal algebra solves this problem by adding a unary function symbol −1.

In the case of fields this strategy works only for addition. For multiplication it fails because 0 does not have a multiplicative inverse. An ad hoc attempt to deal with this would be to define 0−1 = 0. (This attempt fails, essentially because with this definition 0 × 0−1 = 1 is not true.) Therefore, one is naturally led to allow partial functions, i.e., functions that are defined only on a subset of their domain. However, there are several obvious ways to generalize notions such as substructure, homomorphism and identity.

Structures for typed languages Edit

In type theory, there are many sorts of variables, each of which has a type. Types are inductively defined; given two types δ and σ there is also a type σ → δ that represents functions from objects of type σ to objects of type δ. A structure for a typed language (in the ordinary first-order semantics) must include a separate set of objects of each type, and for a function type the structure must have complete information about the function represented by each object of that type.

Higher-order languages Edit

There is more than one possible semantics for higher-order logic, as discussed in the article on second-order logic. When using full higher-order semantics, a structure need only have a universe for objects of type 0, and the T-schema is extended so that a quantifier over a higher-order type is satisfied by the model if and only if it is disquotationally true. When using first-order semantics, an additional sort is added for each higher-order type, as in the case of a many sorted first order language.

Structures that are proper classes Edit

In the study of set theory and category theory, it is sometimes useful to consider structures in which the domain of discourse is a proper class instead of a set. These structures are sometimes called class models to distinguish them from the "set models" discussed above. When the domain is a proper class, each function and relation symbol may also be represented by a proper class.

In Bertrand Russell's Principia Mathematica, structures were also allowed to have a proper class as their domain.

See also Edit

Notes Edit

  1. ^ Some authors refer to structures as "algebras" when generalizing universal algebra to allow relations as well as functions.
  2. ^ Hodges, Wilfrid (2009). "Functional Modelling and Mathematical Models". In Meijers, Anthonie (ed.). Philosophy of technology and engineering sciences. Handbook of the Philosophy of Science. Vol. 9. Elsevier. ISBN 978-0-444-51667-1.
  3. ^ Oxford English Dictionary, , s.v. “model, n., sense I.8.b”, July 2023. Oxford University Press. The fact that such classes constitute a model of the traditional real number system was pointed out by Dedekind.[1]
  4. ^ Quine, Willard V.O. (1940). Mathematical logic. Vol. vi. Norton.
  5. ^ A logical system that allows the empty domain is known as an inclusive logic.
  6. ^ As a consequence of these conventions, the notation   may also be used to refer to the cardinality of the domain of   In practice this never leads to confusion.
  7. ^ a b Note:   and   on the left refer to signs of     and   on the right refer to natural numbers of   and to the unary operation minus in  
  8. ^ Jeavons, Peter; Cohen, David; Pearson, Justin (1998), "Constraints and universal algebra", Annals of Mathematics and Artificial Intelligence, 24: 51–67, doi:10.1023/A:1018941030227, S2CID 15244028.
  9. ^ Jacobs, Bart (1999), Categorical Logic and Type Theory, Elsevier, pp. 1–4, ISBN 9780080528700

References Edit

External links Edit

  • Semantics section in Classical Logic (an entry of Stanford Encyclopedia of Philosophy)

structure, mathematical, logic, confused, with, mathematical, model, this, article, includes, list, general, references, lacks, sufficient, corresponding, inline, citations, please, help, improve, this, article, introducing, more, precise, citations, april, 20. Not to be confused with Mathematical model This article includes a list of general references but it lacks sufficient corresponding inline citations Please help to improve this article by introducing more precise citations April 2010 Learn how and when to remove this template message In universal algebra and in model theory a structure consists of a set along with a collection of finitary operations and relations that are defined on it Universal algebra studies structures that generalize the algebraic structures such as groups rings fields and vector spaces The term universal algebra is used for structures of first order theories with no relation symbols 1 Model theory has a different scope that encompasses more arbitrary first order theories including foundational structures such as models of set theory From the model theoretic point of view structures are the objects used to define the semantics of first order logic cf also Tarski s theory of truth or Tarskian semantics For a given theory in model theory a structure is called a model if it satisfies the defining axioms of that theory although it is sometimes disambiguated as a semantic model when one discusses the notion in the more general setting of mathematical models Logicians sometimes refer to structures as interpretations 2 whereas the term interpretation generally has a different although related meaning in model theory see interpretation model theory In database theory structures with no functions are studied as models for relational databases in the form of relational models Contents 1 History 2 Definition 2 1 Domain 2 2 Signature 2 3 Interpretation function 2 4 Examples 3 Induced substructures and closed subsets 3 1 Examples 4 Homomorphisms and embeddings 4 1 Homomorphisms 4 2 Embeddings 4 3 Example 4 4 Homomorphism problem 5 Structures and first order logic 5 1 Satisfaction relation 5 2 Definable relations 5 2 1 Definability with parameters 5 2 2 Implicit definability 6 Many sorted structures 7 Other generalizations 7 1 Partial algebras 7 2 Structures for typed languages 7 3 Higher order languages 7 4 Structures that are proper classes 8 See also 9 Notes 10 References 11 External linksHistory EditIn the context of mathematical logic the term model was first applied in 1940 by the philosopher Willard Van Orman Quine in a reference to mathematician Richard Dedekind 1831 1916 a pioneer in the development of set theory 3 4 Since the 19th century one main method for proving the consistency of a set of axioms has been to provide a model for it Definition EditFormally a structure can be defined as a triple A A s I displaystyle mathcal A A sigma I nbsp consisting of a domain A displaystyle A nbsp a signature s displaystyle sigma nbsp and an interpretation function I displaystyle I nbsp that indicates how the signature is to be interpreted on the domain To indicate that a structure has a particular signature s displaystyle sigma nbsp one can refer to it as a s displaystyle sigma nbsp structure Domain Edit The domain of a structure is an arbitrary set it is also called the underlying set of the structure its carrier especially in universal algebra its universe especially in model theory cf universe or its domain of discourse In classical first order logic the definition of a structure prohibits the empty domain citation needed 5 Sometimes the notation dom A displaystyle operatorname dom mathcal A nbsp or A displaystyle mathcal A nbsp is used for the domain of A displaystyle mathcal A nbsp but often no notational distinction is made between a structure and its domain that is the same symbol A displaystyle mathcal A nbsp refers both to the structure and its domain 6 Signature Edit Main article Signature logic The signature s S ar displaystyle sigma S operatorname ar nbsp of a structure consists of a set S displaystyle S nbsp of function symbols and relation symbols along with a function ar S N 0 displaystyle operatorname ar S to mathbb N 0 nbsp that ascribes to each symbol s displaystyle s nbsp a natural number n ar s displaystyle n operatorname ar s nbsp The natural number n ar s displaystyle n operatorname ar s nbsp of a symbol s displaystyle s nbsp is called the arity of s displaystyle s nbsp because it is the arity of the interpretation clarification needed of s displaystyle s nbsp Since the signatures that arise in algebra often contain only function symbols a signature with no relation symbols is called an algebraic signature A structure with such a signature is also called an algebra this should not be confused with the notion of an algebra over a field Interpretation function Edit Not to be confused with an interpretation of a model in another model The interpretation function I displaystyle I nbsp of A displaystyle mathcal A nbsp assigns functions and relations to the symbols of the signature Each function symbol f displaystyle f nbsp of arity n displaystyle n nbsp is assigned an n displaystyle n nbsp ary function f A I f displaystyle f mathcal A I f nbsp on the domain Each relation symbol R displaystyle R nbsp of arity n displaystyle n nbsp is assigned an n displaystyle n nbsp ary relation R A I R A a r R displaystyle R mathcal A I R subseteq A operatorname ar R nbsp on the domain A nullary 0 displaystyle 0 nbsp ary function symbol c displaystyle c nbsp is called a constant symbol because its interpretation I c displaystyle I c nbsp can be identified with a constant element of the domain When a structure and hence an interpretation function is given by context no notational distinction is made between a symbol s displaystyle s nbsp and its interpretation I s displaystyle I s nbsp For example if f displaystyle f nbsp is a binary function symbol of A displaystyle mathcal A nbsp one simply writes f A 2 A displaystyle f mathcal A 2 to mathcal A nbsp rather than f A A 2 A displaystyle f mathcal A mathcal A 2 to mathcal A nbsp Examples Edit The standard signature s f displaystyle sigma f nbsp for fields consists of two binary function symbols displaystyle mathbf nbsp and displaystyle mathbf times nbsp where additional symbols can be derived such as a unary function symbol displaystyle mathbf nbsp uniquely determined by displaystyle mathbf nbsp and the two constant symbols 0 displaystyle mathbf 0 nbsp and 1 displaystyle mathbf 1 nbsp uniquely determined by displaystyle mathbf nbsp and displaystyle mathbf times nbsp respectively Thus a structure algebra for this signature consists of a set of elements A displaystyle A nbsp together with two binary functions that can be enhanced with a unary function and two distinguished elements but there is no requirement that it satisfy any of the field axioms The rational numbers Q displaystyle mathbb Q nbsp the real numbers R displaystyle mathbb R nbsp and the complex numbers C displaystyle mathbb C nbsp like any other field can be regarded as s displaystyle sigma nbsp structures in an obvious way Q Q s f I Q R R s f I R C C s f I C displaystyle begin alignedat 3 mathcal Q amp mathbb Q sigma f I mathcal Q mathcal R amp mathbb R sigma f I mathcal R mathcal C amp mathbb C sigma f I mathcal C end alignedat nbsp In all three cases we have the standard signature given bys f S f ar f displaystyle sigma f S f operatorname ar f nbsp with 7 S f 0 1 displaystyle S f times 0 1 nbsp and ar f 2 ar f 2 ar f 1 ar f 0 0 ar f 1 0 displaystyle begin alignedat 3 operatorname ar f amp amp amp 2 operatorname ar f amp times amp amp 2 operatorname ar f amp amp amp 1 operatorname ar f amp 0 amp amp 0 operatorname ar f amp 1 amp amp 0 end alignedat nbsp The interpretation function I Q displaystyle I mathcal Q nbsp is I Q Q Q Q displaystyle I mathcal Q mathbb Q times mathbb Q to mathbb Q nbsp is addition of rational numbers I Q Q Q Q displaystyle I mathcal Q times mathbb Q times mathbb Q to mathbb Q nbsp is multiplication of rational numbers I Q Q Q displaystyle I mathcal Q mathbb Q to mathbb Q nbsp is the function that takes each rational number x displaystyle x nbsp to x displaystyle x nbsp and I Q 0 Q displaystyle I mathcal Q 0 in mathbb Q nbsp is the number 0 displaystyle 0 nbsp and I Q 1 Q displaystyle I mathcal Q 1 in mathbb Q nbsp is the number 1 displaystyle 1 nbsp and I R displaystyle I mathcal R nbsp and I C displaystyle I mathcal C nbsp are similarly defined 7 But the ring Z displaystyle mathbb Z nbsp of integers which is not a field is also a s f displaystyle sigma f nbsp structure in the same way In fact there is no requirement that any of the field axioms hold in a s f displaystyle sigma f nbsp structure A signature for ordered fields needs an additional binary relation such as lt displaystyle lt nbsp or displaystyle leq nbsp and therefore structures for such a signature are not algebras even though they are of course algebraic structures in the usual loose sense of the word The ordinary signature for set theory includes a single binary relation displaystyle in nbsp A structure for this signature consists of a set of elements and an interpretation of the displaystyle in nbsp relation as a binary relation on these elements Induced substructures and closed subsets EditA displaystyle mathcal A nbsp is called an induced substructure of B displaystyle mathcal B nbsp if A displaystyle mathcal A nbsp and B displaystyle mathcal B nbsp have the same signature s A s B displaystyle sigma mathcal A sigma mathcal B nbsp the domain of A displaystyle mathcal A nbsp is contained in the domain of B displaystyle mathcal B nbsp A B displaystyle mathcal A subseteq mathcal B nbsp and the interpretations of all function and relation symbols agree on A displaystyle mathcal A nbsp The usual notation for this relation is A B displaystyle mathcal A subseteq mathcal B nbsp A subset B A displaystyle B subseteq mathcal A nbsp of the domain of a structure A displaystyle mathcal A nbsp is called closed if it is closed under the functions of A displaystyle mathcal A nbsp that is if the following condition is satisfied for every natural number n displaystyle n nbsp every n displaystyle n nbsp ary function symbol f displaystyle f nbsp in the signature of A displaystyle mathcal A nbsp and all elements b 1 b 2 b n B displaystyle b 1 b 2 dots b n in B nbsp the result of applying f displaystyle f nbsp to the n displaystyle n nbsp tuple b 1 b 2 b n displaystyle b 1 b 2 dots b n nbsp is again an element of B displaystyle B nbsp f b 1 b 2 b n B displaystyle f b 1 b 2 dots b n in B nbsp For every subset B A displaystyle B subseteq mathcal A nbsp there is a smallest closed subset of A displaystyle mathcal A nbsp that contains B displaystyle B nbsp It is called the closed subset generated by B displaystyle B nbsp or the hull of B displaystyle B nbsp and denoted by B displaystyle langle B rangle nbsp or B A displaystyle langle B rangle mathcal A nbsp The operator displaystyle langle rangle nbsp is a finitary closure operator on the set of subsets of A displaystyle mathcal A nbsp If A A s I displaystyle mathcal A A sigma I nbsp and B A displaystyle B subseteq A nbsp is a closed subset then B s I displaystyle B sigma I nbsp is an induced substructure of A displaystyle mathcal A nbsp where I displaystyle I nbsp assigns to every symbol of s the restriction to B displaystyle B nbsp of its interpretation in A displaystyle mathcal A nbsp Conversely the domain of an induced substructure is a closed subset The closed subsets or induced substructures of a structure form a lattice The meet of two subsets is their intersection The join of two subsets is the closed subset generated by their union Universal algebra studies the lattice of substructures of a structure in detail Examples Edit Let s 0 1 displaystyle sigma times 0 1 nbsp be again the standard signature for fields When regarded as s displaystyle sigma nbsp structures in the natural way the rational numbers form a substructure of the real numbers and the real numbers form a substructure of the complex numbers The rational numbers are the smallest substructure of the real or complex numbers that also satisfies the field axioms The set of integers gives an even smaller substructure of the real numbers which is not a field Indeed the integers are the substructure of the real numbers generated by the empty set using this signature The notion in abstract algebra that corresponds to a substructure of a field in this signature is that of a subring rather than that of a subfield The most obvious way to define a graph is a structure with a signature s displaystyle sigma nbsp consisting of a single binary relation symbol E displaystyle E nbsp The vertices of the graph form the domain of the structure and for two vertices a displaystyle a nbsp and b displaystyle b nbsp a b E displaystyle a b in text E nbsp means that a displaystyle a nbsp and b displaystyle b nbsp are connected by an edge In this encoding the notion of induced substructure is more restrictive than the notion of subgraph For example let G displaystyle G nbsp be a graph consisting of two vertices connected by an edge and let H displaystyle H nbsp be the graph consisting of the same vertices but no edges H displaystyle H nbsp is a subgraph of G displaystyle G nbsp but not an induced substructure The notion in graph theory that corresponds to induced substructures is that of induced subgraphs Homomorphisms and embeddings EditSee also Universal algebra Basic constructions Homomorphisms Edit Given two structures A displaystyle mathcal A nbsp and B displaystyle mathcal B nbsp of the same signature s a s homomorphism from A displaystyle mathcal A nbsp to B displaystyle mathcal B nbsp is a map h A B displaystyle h mathcal A rightarrow mathcal B nbsp that preserves the functions and relations More precisely For every n ary function symbol f of s and any elements a 1 a 2 a n A displaystyle a 1 a 2 dots a n in mathcal A nbsp the following equation holds h f a 1 a 2 a n f h a 1 h a 2 h a n displaystyle h f a 1 a 2 dots a n f h a 1 h a 2 dots h a n nbsp dd For every n ary relation symbol R of s and any elements a 1 a 2 a n A displaystyle a 1 a 2 dots a n in mathcal A nbsp the following implication holds a 1 a 2 a n R A h a 1 h a 2 h a n R B displaystyle a 1 a 2 dots a n in R mathcal A implies h a 1 h a 2 dots h a n in R mathcal B nbsp dd where R A displaystyle R mathcal A nbsp R B displaystyle R mathcal B nbsp is the interpretation of the relation symbol R displaystyle R nbsp of the object theory in the structure A displaystyle mathcal A nbsp B displaystyle mathcal B nbsp respectively A homomorphism h from A displaystyle mathcal A nbsp to B displaystyle mathcal B nbsp is typically denoted as h A B displaystyle h mathcal A rightarrow mathcal B nbsp although technically the function h is between the domains A displaystyle mathcal A nbsp B displaystyle mathcal B nbsp of the two structures A displaystyle mathcal A nbsp B displaystyle mathcal B nbsp For every signature s there is a concrete category s Hom which has s structures as objects and s homomorphisms as morphisms A homomorphism h A B displaystyle h mathcal A rightarrow mathcal B nbsp is sometimes called strong if For every n ary relation symbol R of the object theory and any elements b 1 b 2 b n B displaystyle b 1 b 2 dots b n in mathcal B nbsp such that b 1 b 2 b n R B displaystyle b 1 b 2 dots b n in R mathcal B nbsp there are a 1 a 2 a n A displaystyle a 1 a 2 dots a n in mathcal A nbsp such that a 1 a 2 a n R A displaystyle a 1 a 2 dots a n in R mathcal A nbsp and b 1 h a 1 b 2 h a 2 b n h a n displaystyle b 1 h a 1 b 2 h a 2 dots b n h a n nbsp citation needed dubious discuss The strong homomorphisms give rise to a subcategory of the category s Hom that was defiend above Embeddings Edit A s homomorphism h A B displaystyle h mathcal A rightarrow mathcal B nbsp is called a s embedding if it is one to one and for every n ary relation symbol R of s and any elements a 1 a 2 a n displaystyle a 1 a 2 dots a n nbsp the following equivalence holds a 1 a 2 a n R A h a 1 h a 2 h a n R B displaystyle a 1 a 2 dots a n in R mathcal A iff h a 1 h a 2 dots h a n in R mathcal B nbsp dd where as before R A displaystyle R mathcal A nbsp R B displaystyle R mathcal B nbsp refers to the interpretation of the relation symbol R of the object theory s in the structure A displaystyle mathcal A nbsp B displaystyle mathcal B nbsp respectively Thus an embedding is the same thing as a strong homomorphism which is one to one The category s Emb of s structures and s embeddings is a concrete subcategory of s Hom Induced substructures correspond to subobjects in s Emb If s has only function symbols s Emb is the subcategory of monomorphisms of s Hom In this case induced substructures also correspond to subobjects in s Hom Example Edit As seen above in the standard encoding of graphs as structures the induced substructures are precisely the induced subgraphs However a homomorphism between graphs is the same thing as a homomorphism between the two structures coding the graph In the example of the previous section even though the subgraph H of G is not induced the identity map id H G is a homomorphism This map is in fact a monomorphism in the category s Hom and therefore H is a subobject of G which is not an induced substructure Homomorphism problem Edit The following problem is known as the homomorphism problem Given two finite structures A displaystyle mathcal A nbsp and B displaystyle mathcal B nbsp of a finite relational signature find a homomorphism h A B displaystyle h mathcal A rightarrow mathcal B nbsp or show that no such homomorphism exists Every constraint satisfaction problem CSP has a translation into the homomorphism problem 8 Therefore the complexity of CSP can be studied using the methods of finite model theory Another application is in database theory where a relational model of a database is essentially the same thing as a relational structure It turns out that a conjunctive query on a database can be described by another structure in the same signature as the database model A homomorphism from the relational model to the structure representing the query is the same thing as a solution to the query This shows that the conjunctive query problem is also equivalent to the homomorphism problem Structures and first order logic EditSee also Model theory First order logic and Model theory Definability Structures are sometimes referred to as first order structures This is misleading as nothing in their definition ties them to any specific logic and in fact they are suitable as semantic objects both for very restricted fragments of first order logic such as that used in universal algebra and for second order logic In connection with first order logic and model theory structures are often called models even when the question models of what has no obvious answer Satisfaction relation Edit Each first order structure M M s I displaystyle mathcal M M sigma I nbsp has a satisfaction relation M ϕ displaystyle mathcal M vDash phi nbsp defined for all formulas ϕ displaystyle phi nbsp in the language consisting of the language of M displaystyle mathcal M nbsp together with a constant symbol for each element of M displaystyle M nbsp which is interpreted as that element This relation is defined inductively using Tarski s T schema A structure M displaystyle mathcal M nbsp is said to be a model of a theory T displaystyle T nbsp if the language of M displaystyle mathcal M nbsp is the same as the language of T displaystyle T nbsp and every sentence in T displaystyle T nbsp is satisfied by M displaystyle mathcal M nbsp Thus for example a ring is a structure for the language of rings that satisfies each of the ring axioms and a model of ZFC set theory is a structure in the language of set theory that satisfies each of the ZFC axioms Definable relations Edit An n displaystyle n nbsp ary relation R displaystyle R nbsp on the universe i e domain M displaystyle M nbsp of the structure M displaystyle mathcal M nbsp is said to be definable or explicitly definable cf Beth definability or displaystyle emptyset nbsp definable or definable with parameters from displaystyle emptyset nbsp cf below if there is a formula f x 1 x n displaystyle varphi x 1 ldots x n nbsp such thatR a 1 a n M n M f a 1 a n displaystyle R a 1 ldots a n in M n mathcal M vDash varphi a 1 ldots a n nbsp In other words R displaystyle R nbsp is definable if and only if there is a formula f displaystyle varphi nbsp such that a 1 a n R M f a 1 a n displaystyle a 1 ldots a n in R Leftrightarrow mathcal M vDash varphi a 1 ldots a n nbsp is correct An important special case is the definability of specific elements An element m displaystyle m nbsp of M displaystyle M nbsp is definable in M displaystyle mathcal M nbsp if and only if there is a formula f x displaystyle varphi x nbsp such thatM x x m f x displaystyle mathcal M vDash forall x x m leftrightarrow varphi x nbsp Definability with parameters Edit A relation R displaystyle R nbsp is said to be definable with parameters or M displaystyle mathcal M nbsp definable if there is a formula f displaystyle varphi nbsp with parameters clarification needed from M displaystyle mathcal M nbsp such that R displaystyle R nbsp is definable using f displaystyle varphi nbsp Every element of a structure is definable using the element itself as a parameter Some authors use definable to mean definable without parameters citation needed while other authors mean definable with parameters citation needed Broadly speaking the convention that definable means definable without parameters is more common amongst set theorists while the opposite convention is more common amongst model theorists Implicit definability Edit Recall from above that an n displaystyle n nbsp ary relation R displaystyle R nbsp on the universe M displaystyle M nbsp of M displaystyle mathcal M nbsp is explicitly definable if there is a formula f x 1 x n displaystyle varphi x 1 ldots x n nbsp such thatR a 1 a n M n M f a 1 a n displaystyle R a 1 ldots a n in M n mathcal M vDash varphi a 1 ldots a n nbsp Here the formula f displaystyle varphi nbsp used to define a relation R displaystyle R nbsp must be over the signature of M displaystyle mathcal M nbsp and so f displaystyle varphi nbsp may not mention R displaystyle R nbsp itself since R displaystyle R nbsp is not in the signature of M displaystyle mathcal M nbsp If there is a formula f displaystyle varphi nbsp in the extended language containing the language of M displaystyle mathcal M nbsp and a new symbol R displaystyle R nbsp and the relation R displaystyle R nbsp is the only relation on M displaystyle mathcal M nbsp such that M f displaystyle mathcal M vDash varphi nbsp then R displaystyle R nbsp is said to be implicitly definable over M displaystyle mathcal M nbsp By Beth s theorem every implicitly definable relation is explicitly definable Many sorted structures EditStructures as defined above are sometimes called one sorted structure s to distinguish them from the more general many sorted structure s A many sorted structure can have an arbitrary number of domains The sorts are part of the signature and they play the role of names for the different domains Many sorted signatures also prescribe on which sorts the functions and relations of a many sorted structure are defined Therefore the arities of function symbols or relation symbols must be more complicated objects such as tuples of sorts rather than natural numbers Vector spaces for example can be regarded as two sorted structures in the following way The two sorted signature of vector spaces consists of two sorts V for vectors and S for scalars and the following function symbols S and S of arity S S S S of arity S S 0S and 1S of arity S V of arity V V V V of arity V V 0V of arity V of arity S V V If V is a vector space over a field F the corresponding two sorted structure V displaystyle mathcal V nbsp consists of the vector domain V V V displaystyle mathcal V V V nbsp the scalar domain V S F displaystyle mathcal V S F nbsp and the obvious functions such as the vector zero 0 V V 0 V V displaystyle 0 V mathcal V 0 in mathcal V V nbsp the scalar zero 0 S V 0 V S displaystyle 0 S mathcal V 0 in mathcal V S nbsp or scalar multiplication V V S V V V V displaystyle times mathcal V mathcal V S times mathcal V V rightarrow mathcal V V nbsp Many sorted structures are often used as a convenient tool even when they could be avoided with a little effort But they are rarely defined in a rigorous way because it is straightforward and tedious hence unrewarding to carry out the generalization explicitly In most mathematical endeavours not much attention is paid to the sorts A many sorted logic however naturally leads to a type theory As Bart Jacobs puts it A logic is always a logic over a type theory This emphasis in turn leads to categorical logic because a logic over a type theory categorically corresponds to one total category capturing the logic being fibred over another base category capturing the type theory 9 Other generalizations EditPartial algebras Edit Both universal algebra and model theory study classes of structures or algebras that are defined by a signature and a set of axioms In the case of model theory these axioms have the form of first order sentences The formalism of universal algebra is much more restrictive essentially it only allows first order sentences that have the form of universally quantified equations between terms e g displaystyle forall nbsp x displaystyle forall nbsp y x y y x One consequence is that the choice of a signature is more significant in universal algebra than it is in model theory For example the class of groups in the signature consisting of the binary function symbol and the constant symbol 1 is an elementary class but it is not a variety Universal algebra solves this problem by adding a unary function symbol 1 In the case of fields this strategy works only for addition For multiplication it fails because 0 does not have a multiplicative inverse An ad hoc attempt to deal with this would be to define 0 1 0 This attempt fails essentially because with this definition 0 0 1 1 is not true Therefore one is naturally led to allow partial functions i e functions that are defined only on a subset of their domain However there are several obvious ways to generalize notions such as substructure homomorphism and identity Structures for typed languages Edit In type theory there are many sorts of variables each of which has a type Types are inductively defined given two types d and s there is also a type s d that represents functions from objects of type s to objects of type d A structure for a typed language in the ordinary first order semantics must include a separate set of objects of each type and for a function type the structure must have complete information about the function represented by each object of that type Higher order languages Edit Main article Second order logic There is more than one possible semantics for higher order logic as discussed in the article on second order logic When using full higher order semantics a structure need only have a universe for objects of type 0 and the T schema is extended so that a quantifier over a higher order type is satisfied by the model if and only if it is disquotationally true When using first order semantics an additional sort is added for each higher order type as in the case of a many sorted first order language Structures that are proper classes Edit In the study of set theory and category theory it is sometimes useful to consider structures in which the domain of discourse is a proper class instead of a set These structures are sometimes called class models to distinguish them from the set models discussed above When the domain is a proper class each function and relation symbol may also be represented by a proper class In Bertrand Russell s Principia Mathematica structures were also allowed to have a proper class as their domain See also EditMathematical structure Additional mathematical objectNotes Edit Some authors refer to structures as algebras when generalizing universal algebra to allow relations as well as functions Hodges Wilfrid 2009 Functional Modelling and Mathematical Models In Meijers Anthonie ed Philosophy of technology and engineering sciences Handbook of the Philosophy of Science Vol 9 Elsevier ISBN 978 0 444 51667 1 Oxford English Dictionary s v model n sense I 8 b July 2023 Oxford University Press The fact that such classes constitute a model of the traditional real number system was pointed out by Dedekind 1 Quine Willard V O 1940 Mathematical logic Vol vi Norton A logical system that allows the empty domain is known as an inclusive logic As a consequence of these conventions the notation A displaystyle mathcal A nbsp may also be used to refer to the cardinality of the domain of A displaystyle mathcal A nbsp In practice this never leads to confusion a b Note 0 1 displaystyle mathbf 0 mathbf 1 nbsp and displaystyle mathbf nbsp on the left refer to signs of S f displaystyle S f nbsp 0 1 2 displaystyle 0 1 2 nbsp and displaystyle nbsp on the right refer to natural numbers of N 0 displaystyle N 0 nbsp and to the unary operation minus in Q displaystyle mathbb Q nbsp Jeavons Peter Cohen David Pearson Justin 1998 Constraints and universal algebra Annals of Mathematics and Artificial Intelligence 24 51 67 doi 10 1023 A 1018941030227 S2CID 15244028 Jacobs Bart 1999 Categorical Logic and Type Theory Elsevier pp 1 4 ISBN 9780080528700References EditBurris Stanley N Sankappanavar H P 1981 A Course in Universal Algebra Berlin New York Springer Verlag Chang Chen Chung Keisler H Jerome 1989 1973 Model Theory Elsevier ISBN 978 0 7204 0692 4 Diestel Reinhard 2005 1997 Graph Theory Graduate Texts in Mathematics vol 173 3rd ed Berlin New York Springer Verlag ISBN 978 3 540 26183 4 Ebbinghaus Heinz Dieter Flum Jorg Thomas Wolfgang 1994 Mathematical Logic 2nd ed New York Springer ISBN 978 0 387 94258 2 Hinman P 2005 Fundamentals of Mathematical Logic A K Peters ISBN 978 1 56881 262 5 Hodges Wilfrid 1993 Model theory Cambridge Cambridge University Press ISBN 978 0 521 30442 9 Hodges Wilfrid 1997 A shorter model theory Cambridge Cambridge University Press ISBN 978 0 521 58713 6 Marker David 2002 Model Theory An Introduction Berlin New York Springer Verlag ISBN 978 0 387 98760 6 Poizat Bruno 2000 A Course in Model Theory An Introduction to Contemporary Mathematical Logic Berlin New York Springer Verlag ISBN 978 0 387 98655 5 Rautenberg Wolfgang 2010 A Concise Introduction to Mathematical Logic 3rd ed New York Springer Science Business Media doi 10 1007 978 1 4419 1221 3 ISBN 978 1 4419 1220 6 Rothmaler Philipp 2000 Introduction to Model Theory London CRC Press ISBN 978 90 5699 313 9External links EditSemantics section in Classical Logic an entry of Stanford Encyclopedia of Philosophy Retrieved from https en wikipedia org w index php title Structure mathematical logic amp oldid 1174590087, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.