(Pre-)Algebras for Linguistics 2. Introducing Preordered Algebras - - PowerPoint PPT Presentation

pre algebras for linguistics
SMART_READER_LITE
LIVE PREVIEW

(Pre-)Algebras for Linguistics 2. Introducing Preordered Algebras - - PowerPoint PPT Presentation

(Pre-)Algebras for Linguistics 2. Introducing Preordered Algebras Carl Pollard Linguistics 680: Formal Foundations Autumn 2010 Carl Pollard (Pre-)Algebras for Linguistics Algebras A (one-sorted) algebra is a set with one or more operations


slide-1
SLIDE 1

(Pre-)Algebras for Linguistics

  • 2. Introducing Preordered Algebras

Carl Pollard

Linguistics 680: Formal Foundations

Autumn 2010

Carl Pollard (Pre-)Algebras for Linguistics

slide-2
SLIDE 2

Algebras

A (one-sorted) algebra is a set with one or more

  • perations (where ‘special elements’ are thought of as

nullary operations).

Carl Pollard (Pre-)Algebras for Linguistics

slide-3
SLIDE 3

Algebras

A (one-sorted) algebra is a set with one or more

  • perations (where ‘special elements’ are thought of as

nullary operations). Some of the simplest algebras are ones with just a single binary operation ◦. Some important examples:

Groupoids: no restrictions on ◦.

Carl Pollard (Pre-)Algebras for Linguistics

slide-4
SLIDE 4

Algebras

A (one-sorted) algebra is a set with one or more

  • perations (where ‘special elements’ are thought of as

nullary operations). Some of the simplest algebras are ones with just a single binary operation ◦. Some important examples:

Groupoids: no restrictions on ◦. Semigroups: ◦ is associative.

Carl Pollard (Pre-)Algebras for Linguistics

slide-5
SLIDE 5

Algebras

A (one-sorted) algebra is a set with one or more

  • perations (where ‘special elements’ are thought of as

nullary operations). Some of the simplest algebras are ones with just a single binary operation ◦. Some important examples:

Groupoids: no restrictions on ◦. Semigroups: ◦ is associative. Commutative semigroups: ◦ is associative and commutative.

Carl Pollard (Pre-)Algebras for Linguistics

slide-6
SLIDE 6

Algebras

A (one-sorted) algebra is a set with one or more

  • perations (where ‘special elements’ are thought of as

nullary operations). Some of the simplest algebras are ones with just a single binary operation ◦. Some important examples:

Groupoids: no restrictions on ◦. Semigroups: ◦ is associative. Commutative semigroups: ◦ is associative and commutative. Semilattices: ◦ is associative, commutative, and idempotent.

Carl Pollard (Pre-)Algebras for Linguistics

slide-7
SLIDE 7

Algebras

A (one-sorted) algebra is a set with one or more

  • perations (where ‘special elements’ are thought of as

nullary operations). Some of the simplest algebras are ones with just a single binary operation ◦. Some important examples:

Groupoids: no restrictions on ◦. Semigroups: ◦ is associative. Commutative semigroups: ◦ is associative and commutative. Semilattices: ◦ is associative, commutative, and idempotent.

A monoid is a semigroup with a two-sided identity element e.

Carl Pollard (Pre-)Algebras for Linguistics

slide-8
SLIDE 8

Tonicity Generalized

Recall: a unary operation on a (pre)order is called tonic provided it is either monotonic or antitonic.

Carl Pollard (Pre-)Algebras for Linguistics

slide-9
SLIDE 9

Tonicity Generalized

Recall: a unary operation on a (pre)order is called tonic provided it is either monotonic or antitonic. An operation of arbitrary arity on a (pre)order is called tonic if it is ‘tonic in each argument as the other arguments are held fixed’.

All nullary operations are (trivially) tonic.

Carl Pollard (Pre-)Algebras for Linguistics

slide-10
SLIDE 10

Tonicity Generalized

Recall: a unary operation on a (pre)order is called tonic provided it is either monotonic or antitonic. An operation of arbitrary arity on a (pre)order is called tonic if it is ‘tonic in each argument as the other arguments are held fixed’.

All nullary operations are (trivially) tonic. The two definitions coincide in the unary case.

Carl Pollard (Pre-)Algebras for Linguistics

slide-11
SLIDE 11

Tonicity Generalized

Recall: a unary operation on a (pre)order is called tonic provided it is either monotonic or antitonic. An operation of arbitrary arity on a (pre)order is called tonic if it is ‘tonic in each argument as the other arguments are held fixed’.

All nullary operations are (trivially) tonic. The two definitions coincide in the unary case. a binary operation ◦ is tonic iff (1) for each a, the function that maps each b to a ◦ b is tonic, and (2) for each b, the function that maps each a to a ◦ b is tonic.

Carl Pollard (Pre-)Algebras for Linguistics

slide-12
SLIDE 12

(Pre)ordered Algebras

A (pre)ordered algebra is a (pre)order which is also an algebra whose operations are all tonic.

Carl Pollard (Pre-)Algebras for Linguistics

slide-13
SLIDE 13

(Pre)ordered Algebras

A (pre)ordered algebra is a (pre)order which is also an algebra whose operations are all tonic. An operation in a preordered algebra is said to have a property up to equivalence (u.t.e.) if it holds with = replaced by ≡, where ≡ is the equivalence relation induced by the preorder.

Carl Pollard (Pre-)Algebras for Linguistics

slide-14
SLIDE 14

(Pre)ordered Algebras

A (pre)ordered algebra is a (pre)order which is also an algebra whose operations are all tonic. An operation in a preordered algebra is said to have a property up to equivalence (u.t.e.) if it holds with = replaced by ≡, where ≡ is the equivalence relation induced by the preorder. For example, ◦ is commutative u.t.e. iff for all a and b, a ◦ b ≡ b ◦ a.

Carl Pollard (Pre-)Algebras for Linguistics

slide-15
SLIDE 15

Some Kinds of Preordered Algebras

For future reference: A pregroupoid is a preorder with one binary operation ◦ which is monotonic on both arguments.

Carl Pollard (Pre-)Algebras for Linguistics

slide-16
SLIDE 16

Some Kinds of Preordered Algebras

For future reference: A pregroupoid is a preorder with one binary operation ◦ which is monotonic on both arguments. A presemigroup is a pregroupoid whose operation is associative u.t.e.

Carl Pollard (Pre-)Algebras for Linguistics

slide-17
SLIDE 17

Some Kinds of Preordered Algebras

For future reference: A pregroupoid is a preorder with one binary operation ◦ which is monotonic on both arguments. A presemigroup is a pregroupoid whose operation is associative u.t.e. A presemilattice is a presemigroup which is both commutative u.t.e. and idempotent u.t.e.

Carl Pollard (Pre-)Algebras for Linguistics

slide-18
SLIDE 18

Some Kinds of Preordered Algebras

For future reference: A pregroupoid is a preorder with one binary operation ◦ which is monotonic on both arguments. A presemigroup is a pregroupoid whose operation is associative u.t.e. A presemilattice is a presemigroup which is both commutative u.t.e. and idempotent u.t.e. A premonoid is a presemigroup with an additional unary

  • peration e which is a two-sided identity u.t.e.

Carl Pollard (Pre-)Algebras for Linguistics

slide-19
SLIDE 19

Some Kinds of Preordered Algebras

For future reference: A pregroupoid is a preorder with one binary operation ◦ which is monotonic on both arguments. A presemigroup is a pregroupoid whose operation is associative u.t.e. A presemilattice is a presemigroup which is both commutative u.t.e. and idempotent u.t.e. A premonoid is a presemigroup with an additional unary

  • peration e which is a two-sided identity u.t.e.

Note: A ‘prewidget’ is a widget if it is antisymmetric, but not otherwise!

Carl Pollard (Pre-)Algebras for Linguistics

slide-20
SLIDE 20

Substitutivity u.t.e

Preordered algebras enjoy the property of substitutivity u.t.e, i.e. replacing the arguments of any operation by equivalents yields an equivalent result.

Carl Pollard (Pre-)Algebras for Linguistics

slide-21
SLIDE 21

Substitutivity u.t.e

Preordered algebras enjoy the property of substitutivity u.t.e, i.e. replacing the arguments of any operation by equivalents yields an equivalent result. For example, in the binary case, this means that if a ≡ b and c ≡ d, then a ◦ c ≡ b ◦ d.

Carl Pollard (Pre-)Algebras for Linguistics

slide-22
SLIDE 22

Some Kinds of Ordered Algebras

For future reference: An ordered groupoid is an antisymmetric pregroupoid.

Carl Pollard (Pre-)Algebras for Linguistics

slide-23
SLIDE 23

Some Kinds of Ordered Algebras

For future reference: An ordered groupoid is an antisymmetric pregroupoid. An ordered semigroup is an antisymmetric presemigroup.

Carl Pollard (Pre-)Algebras for Linguistics

slide-24
SLIDE 24

Some Kinds of Ordered Algebras

For future reference: An ordered groupoid is an antisymmetric pregroupoid. An ordered semigroup is an antisymmetric presemigroup. An ordered semilattice is an antisymmetric presemilattice.

Carl Pollard (Pre-)Algebras for Linguistics

slide-25
SLIDE 25

Some Kinds of Ordered Algebras

For future reference: An ordered groupoid is an antisymmetric pregroupoid. An ordered semigroup is an antisymmetric presemigroup. An ordered semilattice is an antisymmetric presemilattice. An ordered monoid is an antisymmetric premonoid.

Carl Pollard (Pre-)Algebras for Linguistics

slide-26
SLIDE 26

An Important Example of an Ordered Monoid

For any set A, we have seen that ℘(A∗) forms a monoid with A-languages as the elements

Carl Pollard (Pre-)Algebras for Linguistics

slide-27
SLIDE 27

An Important Example of an Ordered Monoid

For any set A, we have seen that ℘(A∗) forms a monoid with A-languages as the elements

  • (language concatenation) as the binary operation

Carl Pollard (Pre-)Algebras for Linguistics

slide-28
SLIDE 28

An Important Example of an Ordered Monoid

For any set A, we have seen that ℘(A∗) forms a monoid with A-languages as the elements

  • (language concatenation) as the binary operation

1A as the two-sided identity.

Carl Pollard (Pre-)Algebras for Linguistics

slide-29
SLIDE 29

An Important Example of an Ordered Monoid

For any set A, we have seen that ℘(A∗) forms a monoid with A-languages as the elements

  • (language concatenation) as the binary operation

1A as the two-sided identity. We turn this into an ordered monoid by taking the order to be subset inclusion of languages. (You need to check that • is monotonic in both arguments.)

Carl Pollard (Pre-)Algebras for Linguistics

slide-30
SLIDE 30

Two Important Examples of an Ordered Semilattice

In both examples, we take the order to be the subset inclusion

  • rdering on ℘(A), for some set A.

Example 1: take the binary operation to be set intersection. Observation: a ⊆ b iff a ∩ b = a.

Carl Pollard (Pre-)Algebras for Linguistics

slide-31
SLIDE 31

Two Important Examples of an Ordered Semilattice

In both examples, we take the order to be the subset inclusion

  • rdering on ℘(A), for some set A.

Example 1: take the binary operation to be set intersection. Observation: a ⊆ b iff a ∩ b = a. Example 2: take the binary operation to be set union. Observation: a ⊆ b iff a ∪ b = b. These observations motivate the following definitions.

Carl Pollard (Pre-)Algebras for Linguistics

slide-32
SLIDE 32

Two Kinds of Presemilattices

Suppose P, ⊑, ◦ is a presemilattice, i.e. ◦ is monotonic in both arguments, associative u.t.e., commutative u.t.e., and idempotent u.t.e. Then it is called: upper iff, for all a, b ∈ P, a ⊑ b iff a ◦ b ≡ b.

Carl Pollard (Pre-)Algebras for Linguistics

slide-33
SLIDE 33

Two Kinds of Presemilattices

Suppose P, ⊑, ◦ is a presemilattice, i.e. ◦ is monotonic in both arguments, associative u.t.e., commutative u.t.e., and idempotent u.t.e. Then it is called: upper iff, for all a, b ∈ P, a ⊑ b iff a ◦ b ≡ b. lower iff, for all a, b ∈ P, a ⊑ b iff a ◦ b ≡ a.

Carl Pollard (Pre-)Algebras for Linguistics

slide-34
SLIDE 34

A Theorem about Presemilattices

In an upper presemilattice, ◦ is a lub operation (hence usually written ⊔).

Carl Pollard (Pre-)Algebras for Linguistics

slide-35
SLIDE 35

A Theorem about Presemilattices

In an upper presemilattice, ◦ is a lub operation (hence usually written ⊔). In a lower presemilattice, ◦ is a glb operation. (hence usually written ⊓).

Carl Pollard (Pre-)Algebras for Linguistics

slide-36
SLIDE 36

A Theorem about lubs and glbs

Suppose P, ⊑, ◦ is a preorder with a (not necessarily tonic) binary operation. Then if ◦ is a lub operation, then in fact P, ⊑, ◦ is an upper presemilattice.

Carl Pollard (Pre-)Algebras for Linguistics

slide-37
SLIDE 37

A Theorem about lubs and glbs

Suppose P, ⊑, ◦ is a preorder with a (not necessarily tonic) binary operation. Then if ◦ is a lub operation, then in fact P, ⊑, ◦ is an upper presemilattice. if ◦ is a glb operation, then in fact P, ⊑, ◦ is a lower presemilattice.

Carl Pollard (Pre-)Algebras for Linguistics

slide-38
SLIDE 38

The Semantics of and and or

We can use presemilattices to analyze the meanings of the two English words and and or (in-class exercise).

Carl Pollard (Pre-)Algebras for Linguistics