Compositional Methods Alex Rabinovich Department of Computer - - PowerPoint PPT Presentation

compositional methods
SMART_READER_LITE
LIVE PREVIEW

Compositional Methods Alex Rabinovich Department of Computer - - PowerPoint PPT Presentation

Compositional Methods Alex Rabinovich Department of Computer Science Tel-Aviv University p.1/30 Composition Theorem s Composition Theorems are tools which reduce sentences about some compound structures to sentences about their parts.


slide-1
SLIDE 1

Compositional Methods

Alex Rabinovich Department of Computer Science Tel-Aviv University

– p.1/30

slide-2
SLIDE 2

Composition Theorem s

Composition Theorems are tools which reduce sentences about some compound structures to sentences about their parts.

– p.2/30

slide-3
SLIDE 3

Composition Theorem s

Composition Theorems are tools which reduce sentences about some compound structures to sentences about their parts. Reduce verification of

  • n FO structure
✁ ✂ ✄ ☎ ✆ ✝ ✝ ✝ ✄ ✞ ✟

to verification of

  • n
✄ ☎

. . .

  • n
✄ ✞

.

– p.2/30

slide-4
SLIDE 4

Composition Theorem s

Composition Theorems are tools which reduce sentences about some compound structures to sentences about their parts. Reduce verification of

  • n FO structure
✁ ✂ ✄ ☎ ✆ ✝ ✝ ✝ ✄ ✞ ✟

to verification of

  • n
✄ ☎

. . .

  • n
✄ ✞

. Composition theorems (1)Provide a very powerful technique for decidability/definability.

– p.2/30

slide-5
SLIDE 5

Composition Theorem s

Composition Theorems are tools which reduce sentences about some compound structures to sentences about their parts. Reduce verification of

  • n FO structure
✁ ✂ ✄ ☎ ✆ ✝ ✝ ✝ ✄ ✞ ✟

to verification of

  • n
✄ ☎

. . .

  • n
✄ ✞

. Composition theorems (1)Provide a very powerful technique for decidability/definability. (2) Among few fundamental theorems which hold in finite models

– p.2/30

slide-6
SLIDE 6

Landmark papers

Mostowski 1952 - Direct products and power

– p.3/30

slide-7
SLIDE 7

Landmark papers

Mostowski 1952 - Direct products and power Feferman - Vaught 1959 -generalized product

– p.3/30

slide-8
SLIDE 8

Landmark papers

Mostowski 1952 - Direct products and power Feferman - Vaught 1959 -generalized product Shelah 1975 -generalized sum.

– p.3/30

slide-9
SLIDE 9

Plan

Generalized Product (Feferman Vaught 1959). Generalized Sum (Shelah 1975, Rabinovich 1997). Applications to decidability and definability. Recursively (inductively?) Defined Types.

– p.4/30

slide-10
SLIDE 10

The Aim of this talk:

  • 1. explain the definitions and
  • 2. state the composition theorems.

– p.5/30

slide-11
SLIDE 11

Generalized Product - Two examples

Example 1 Cartesian Product. Let

✠ ✡

(

☛ ☞ ✌

) be a family of structures for

✍ ✎ ✏ ✑ ✒

.

✠ ✓ ✔ ✡ ✕ ✖ ✠ ✡
  • Cartesian product.

– p.6/30

slide-12
SLIDE 12

Generalized Product - Two examples

Example 1 Cartesian Product. Let

✠ ✡

(

☛ ☞ ✌

) be a family of structures for

✍ ✎ ✏ ✑ ✒

.

✠ ✓ ✔ ✡ ✕ ✖ ✠ ✡
  • Cartesian product.

Universe: all functions

with domain

such that

✗ ✂ ☛ ✟ ☞ ✠ ✡

.

– p.6/30

slide-13
SLIDE 13

Generalized Product - Two examples

Example 1 Cartesian Product. Let

✠ ✡

(

☛ ☞ ✌

) be a family of structures for

✍ ✎ ✏ ✑ ✒

.

✠ ✓ ✔ ✡ ✕ ✖ ✠ ✡
  • Cartesian product.

Universe: all functions

with domain

such that

✗ ✂ ☛ ✟ ☞ ✠ ✡

. Interpretation of the relations: e.g.

binary symbol,

✘ ✙ ✂ ✗ ✆ ✚ ✟

iff

✘ ✙ ✛ ✂ ✗ ✂ ☛ ✟ ✆ ✚ ✂ ☛ ✟ ✟

for every

☛ ☞ ✌

.

– p.6/30

slide-14
SLIDE 14

Generalized Product - Two examples

Example 2 Ordinal Product.

✌ ✜ ✢

a linear order and

✠ ✡

(

☛ ☞ ✌ ✜ ✢

) a family of linear orders.

✠ ✓ ✔ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is a structure for

.

– p.7/30

slide-15
SLIDE 15

Generalized Product - Two examples

Example 2 Ordinal Product.

✌ ✜ ✢

a linear order and

✠ ✡

(

☛ ☞ ✌ ✜ ✢

) a family of linear orders.

✠ ✓ ✔ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is a structure for

. Universe: like before, all functions

with domain

such that

✗ ✂ ☛ ✟ ☞ ✠ ✡

.

– p.7/30

slide-16
SLIDE 16

Generalized Product - Two examples

Example 2 Ordinal Product.

✌ ✜ ✢

a linear order and

✠ ✡

(

☛ ☞ ✌ ✜ ✢

) a family of linear orders.

✠ ✓ ✔ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is a structure for

. Universe: like before, all functions

with domain

such that

✗ ✂ ☛ ✟ ☞ ✠ ✡

. Interpretation of

(lexicographical order):

✗ ✤ ✙ ✚

iff there is

✥ ☞ ✌ ✜ ✢

such that

✗ ✂ ✥ ✟ ✤ ✙ ✦ ✚ ✂ ✥ ✟

and

✗ ✂ ☛ ✟ ✓ ✚ ✂ ☛ ✟

for all

☛ ✤ ✖ ✞ ✣ ✥

.

– p.7/30

slide-17
SLIDE 17

Generalized Product

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

;

– p.8/30

slide-18
SLIDE 18

Generalized Product

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✎ ✏ ✑ ✒

;

– p.8/30

slide-19
SLIDE 19

Generalized Product

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✎ ✏ ✑ ✒

; A structure

for

✍ ✧ ★ ✩

to be defined.

– p.8/30

slide-20
SLIDE 20

Generalized Product

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✎ ✏ ✑ ✒

; A structure

for

✍ ✧ ★ ✩

to be defined. Universe of the product:

✔ ✡ ✕ ✖ ✞ ✣ ✠ ✡

.

– p.8/30

slide-21
SLIDE 21

Generalized Product

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✎ ✏ ✑ ✒

; A structure

for

✍ ✧ ★ ✩

to be defined. Universe of the product:

✔ ✡ ✕ ✖ ✞ ✣ ✠ ✡

. The interpretation of the relational symbols in

✍ ✧ ★ ✩

will be defined by “Conditions”.

– p.8/30

slide-22
SLIDE 22

Conditions

  • ary Condition - Syntax

– p.9/30

slide-23
SLIDE 23

Conditions

  • ary Condition - Syntax

1.

✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✪ ✬ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✝ ✝ ✝ ✆ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟

formulas in

✍ ✎ ✏ ✑ ✒

.

– p.9/30

slide-24
SLIDE 24

Conditions

  • ary Condition - Syntax

1.

✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✪ ✬ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✝ ✝ ✝ ✆ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟

formulas in

✍ ✎ ✏ ✑ ✒

. 2.

✮ ✂ ✯ ☎ ✆ ✝ ✝ ✝ ✯ ✭ ✟

a formula in the second-order monadic language for

✍ ✖ ✞ ✣

.

– p.9/30

slide-25
SLIDE 25

Conditions

  • ary Condition - Syntax

1.

✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✪ ✬ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✝ ✝ ✝ ✆ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟

formulas in

✍ ✎ ✏ ✑ ✒

. 2.

✮ ✂ ✯ ☎ ✆ ✝ ✝ ✝ ✯ ✭ ✟

a formula in the second-order monadic language for

✍ ✖ ✞ ✣

.

  • ary Condition - Semantics

– p.9/30

slide-26
SLIDE 26

Conditions

  • ary Condition - Syntax

1.

✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✪ ✬ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✝ ✝ ✝ ✆ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟

formulas in

✍ ✎ ✏ ✑ ✒

. 2.

✮ ✂ ✯ ☎ ✆ ✝ ✝ ✝ ✯ ✭ ✟

a formula in the second-order monadic language for

✍ ✖ ✞ ✣

.

  • ary Condition - Semantics

We have to define when

✗ ☎ ✆ ✝ ✝ ✝ ✗ ✞

satisfies the condition.

– p.9/30

slide-27
SLIDE 27

Conditions

  • ary Condition - Syntax

1.

✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✪ ✬ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✝ ✝ ✝ ✆ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟

formulas in

✍ ✎ ✏ ✑ ✒

. 2.

✮ ✂ ✯ ☎ ✆ ✝ ✝ ✝ ✯ ✭ ✟

a formula in the second-order monadic language for

✍ ✖ ✞ ✣

.

  • ary Condition - Semantics

We have to define when

✗ ☎ ✆ ✝ ✝ ✝ ✗ ✞

satisfies the condition. Let

✰ ☎ ✓ ✱ ☛ ☞ ✌ ✜ ✢ ✲ ✠ ✡ ✆ ✗ ☎ ✂ ☛ ✟ ✆ ✝ ✝ ✝ ✗ ✞ ✂ ☛ ✟ ✳ ✓ ✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✴

. . .

✰ ✭ ✓ ✱ ☛ ☞ ✌ ✜ ✢ ✲ ✠ ✡ ✆ ✗ ☎ ✂ ☛ ✟ ✆ ✝ ✝ ✝ ✗ ✞ ✂ ☛ ✟ ✳ ✓ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✴

.

– p.9/30

slide-28
SLIDE 28

Conditions

  • ary Condition - Syntax

1.

✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✪ ✬ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✆ ✝ ✝ ✝ ✆ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟

formulas in

✍ ✎ ✏ ✑ ✒

. 2.

✮ ✂ ✯ ☎ ✆ ✝ ✝ ✝ ✯ ✭ ✟

a formula in the second-order monadic language for

✍ ✖ ✞ ✣

.

  • ary Condition - Semantics

We have to define when

✗ ☎ ✆ ✝ ✝ ✝ ✗ ✞

satisfies the condition. Let

✰ ☎ ✓ ✱ ☛ ☞ ✌ ✜ ✢ ✲ ✠ ✡ ✆ ✗ ☎ ✂ ☛ ✟ ✆ ✝ ✝ ✝ ✗ ✞ ✂ ☛ ✟ ✳ ✓ ✪ ☎ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✴

. . .

✰ ✭ ✓ ✱ ☛ ☞ ✌ ✜ ✢ ✲ ✠ ✡ ✆ ✗ ☎ ✂ ☛ ✟ ✆ ✝ ✝ ✝ ✗ ✞ ✂ ☛ ✟ ✳ ✓ ✪ ✭ ✂ ✫ ☎ ✆ ✝ ✝ ✝ ✫ ✞ ✟ ✴

. Def.

✗ ☎ ✆ ✝ ✝ ✝ ✗ ✞

satisfies the condition iff

✌ ✜ ✢ ✆ ✰ ☎ ✆ ✝ ✝ ✝ ✰ ✭ ✳ ✓ ✮ ✂ ✯ ☎ ✆ ✝ ✝ ✝ ✯ ✭ ✟

.

– p.9/30

slide-29
SLIDE 29

Two Examples

Conditions for Cartesian Product. E.g.

binary relation 1.

✪ ☎ ✂ ✫ ☎ ✆ ✫ ✬ ✟

is defined as

✘ ✂ ✫ ☎ ✆ ✫ ✬ ✟

. 2.

✮ ✂ ✯ ☎ ✟

is

✵ ✫ ✝ ✯ ☎ ✂ ✫ ✟

. The condition for ordinal product (

✍ ✧ ★ ✩ ✓ ✱ ✤ ✴

). 1.

✪ ☎

is

✫ ☎ ✤ ✫ ✬

and

✪ ✬

is

✫ ☎ ✓ ✫ ✬

2.

✮ ✂ ✯ ☎ ✆ ✯ ✬ ✟

is

✶ ✷ ✝ ✯ ☎ ✂ ✷ ✟ ✸ ✵ ✹ ✤ ✷ ✝ ✯ ✬ ✂ ✹ ✟

– p.10/30

slide-30
SLIDE 30

Rules for Generalized Product

– p.11/30

slide-31
SLIDE 31

Rules for Generalized Product

Syntax.

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✎ ✏ ✑ ✒ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

, where

assigns to every

  • ary symbol in
✍ ✧ ★ ✩

a finite set of

  • ary conditions.

– p.11/30

slide-32
SLIDE 32

Rules for Generalized Product

Syntax.

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✎ ✏ ✑ ✒ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

, where

assigns to every

  • ary symbol in
✍ ✧ ★ ✩

a finite set of

  • ary conditions.
  • Semantics. Given
✌ ✜ ✢

and

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

define

✠ ✓ ✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

as follows:

– p.11/30

slide-33
SLIDE 33

Rules for Generalized Product

Syntax.

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✎ ✏ ✑ ✒ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

, where

assigns to every

  • ary symbol in
✍ ✧ ★ ✩

a finite set of

  • ary conditions.
  • Semantics. Given
✌ ✜ ✢

and

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

define

✠ ✓ ✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

as follows: The universe

✔ ✡ ✕ ✖ ✞ ✣ ✠ ✡

.

– p.11/30

slide-34
SLIDE 34

Rules for Generalized Product

Syntax.

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✎ ✏ ✑ ✒ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

, where

assigns to every

  • ary symbol in
✍ ✧ ★ ✩

a finite set of

  • ary conditions.
  • Semantics. Given
✌ ✜ ✢

and

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

define

✠ ✓ ✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

as follows: The universe

✔ ✡ ✕ ✖ ✞ ✣ ✠ ✡

. The interpretation of

✘ ☞ ✍ ✧ ★ ✩ ✘ ✙

consists of all the tuples that satisfy at least one condition assigned by

to

.

– p.11/30

slide-35
SLIDE 35

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

– p.12/30

slide-36
SLIDE 36

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

The full statement of the theorem is:

– p.12/30

slide-37
SLIDE 37

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

The full statement of the theorem is: Theorem Let

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✎ ✏ ✑ ✒ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

be a rule and let

✫ ☎ ✆ ✝ ✝ ✝ ✫ ✭ ✟

be a formula in

✍ ✧ ★ ✩

. Then there exists a finite set

✄ ✿
  • f conditions such that for every
✌ ✜ ✢

and every family

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

the relation definable by

  • in
✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is the same as the relation definable by

✄ ✿

in

✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

.

– p.12/30

slide-38
SLIDE 38

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

The full statement of the theorem is: Theorem Let

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✎ ✏ ✑ ✒ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

be a rule and let

✫ ☎ ✆ ✝ ✝ ✝ ✫ ✭ ✟

be a formula in

✍ ✧ ★ ✩

. Then there exists a finite set

✄ ✿
  • f conditions such that for every
✌ ✜ ✢

and every family

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

the relation definable by

  • in
✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is the same as the relation definable by

✄ ✿

in

✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

. Moreover,

✄ ✿

is computable from

and

  • .

– p.12/30

slide-39
SLIDE 39

Consequences

  • Corollary. if
✠ ✡ ❀ ★ ★ ❁ ✡

then

✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡ ❀ ★ ★ ✔ ✾ ✡ ✕ ✖ ✞ ✣ ❁ ✡

– p.13/30

slide-40
SLIDE 40

Consequences

  • Corollary. if
✠ ✡ ❀ ★ ★ ❁ ✡

then

✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡ ❀ ★ ★ ✔ ✾ ✡ ✕ ✖ ✞ ✣ ❁ ✡
  • Def. Generalized Power
✠ ✖ ✞ ✣

.

– p.13/30

slide-41
SLIDE 41

Consequences

  • Corollary. if
✠ ✡ ❀ ★ ★ ❁ ✡

then

✔ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡ ❀ ★ ★ ✔ ✾ ✡ ✕ ✖ ✞ ✣ ❁ ✡
  • Def. Generalized Power
✠ ✖ ✞ ✣

.

  • Corollary. Theory of
✠ ✖ ✞ ✣

is recursive in the theory of

and the monadic theory of

✌ ✜ ✢

.

– p.13/30

slide-42
SLIDE 42

Example

Direct Power (Mostowski 1952). The number of such examples could be multiplied indefinitely. It must be said, however, that only exceptionally does one come to a really interesting example

  • f a power theory

Decidability of

❂ ✏ ✒

with multiplication

. Reduce to

❂ ✏ ✒

with + (Presburger Arithmetic) Represent a number as the product of prime factors

✞ ❄ ❅ ❆ ❇ ❈ ❃ ❅ ❆ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❆
■ ❄ ❅ ❏ ❇ ❈ ❃ ❅ ❏ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❏

Hence

✞ ❃ ■ ❄ ❅ ❆ ❇ ❑ ❏ ❇ ❈ ❃ ❅ ❆ ❉ ❑ ❏ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❆
❏ ▲ ❍

– p.14/30

slide-43
SLIDE 43

Example

Direct Power (Mostowski 1952). The number of such examples could be multiplied indefinitely. It must be said, however, that only exceptionally does one come to a really interesting example

  • f a power theory

Decidability of

❂ ✏ ✒

with multiplication

. Reduce to

❂ ✏ ✒

with + (Presburger Arithmetic) Represent a number as the product of prime factors

✞ ❄ ❅ ❆ ❇ ❈ ❃ ❅ ❆ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❆
■ ❄ ❅ ❏ ❇ ❈ ❃ ❅ ❏ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❏

Hence

✞ ❃ ■ ❄ ❅ ❆ ❇ ❑ ❏ ❇ ❈ ❃ ❅ ❆ ❉ ❑ ❏ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❆
❏ ▲ ❍

The structure

▼ ❂ ✏ ✒ ◆ ❃ ❖

can be represented as the (weak) power of

▼ ❂ ✏ ✒ ◆ P ❖
  • ver the

index structure

▼ ❂ ✏ ✒ ◆ ❄ ❖

.

– p.14/30

slide-44
SLIDE 44

Example

Direct Power (Mostowski 1952). The number of such examples could be multiplied indefinitely. It must be said, however, that only exceptionally does one come to a really interesting example

  • f a power theory

Decidability of

❂ ✏ ✒

with multiplication

. Reduce to

❂ ✏ ✒

with + (Presburger Arithmetic) Represent a number as the product of prime factors

✞ ❄ ❅ ❆ ❇ ❈ ❃ ❅ ❆ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❆
■ ❄ ❅ ❏ ❇ ❈ ❃ ❅ ❏ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❏

Hence

✞ ❃ ■ ❄ ❅ ❆ ❇ ❑ ❏ ❇ ❈ ❃ ❅ ❆ ❉ ❑ ❏ ❉ ❊ ❃ ❋ ❋ ❋ ❃ ❅ ❆
❏ ▲ ❍

The structure

▼ ❂ ✏ ✒ ◆ ❃ ❖

can be represented as the (weak) power of

▼ ❂ ✏ ✒ ◆ P ❖
  • ver the

index structure

▼ ❂ ✏ ✒ ◆ ❄ ❖

. Hence

▼ ❂ ✏ ✒ ◆ ❃ ❖

is decidable

– p.14/30

slide-45
SLIDE 45

Generalized Sum - Two examples

Example 1 Disjoint Union.

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

a family of (disjoint) structures for the summand language

✍ ✩ ◗ ■ ■ ✏ ✞ ✣

. Universe.

✠ ✓ ❘ ✡ ✕ ✖ ✞ ✣ ✠ ✡

has the universe

❙ ✠ ✡

. Interpretation of a relation

✘ ✙ ✂ ❚ ✆ ❯ ✟

iff there is

such that

❚ ✆ ❯ ☞ ✠ ✡

and

✘ ✙ ✛ ✂ ❚ ✆ ❯ ✟

.

– p.15/30

slide-46
SLIDE 46

Generalized Sum - examples

Example 2 Lexicographical Sum

✌ ✜ ✢
  • a linearly ordered set.
✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

a family of linearly ordered sets.

✠ ✓ ❘ ❱ ★ ❲ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is defined as follows: Universe;

✠ ✓ ✡ ✕ ✖ ✞ ✣ ✠ ✡

Interpretation of <:

❚ ✤ ❯

if either 1.

❚ ✆ ❯ ☞ ✠ ✡

for some

☛ ☞ ✌ ✜ ✢

and

❚ ✤ ✙ ✛ ❯
  • r

2.

❚ ☞ ✠ ✡

,

❯ ☞ ✠ ❳

and

☛ ✤ ✡ ✞ ✣ ✥

.

– p.16/30

slide-47
SLIDE 47

Generalized Sum

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

;

– p.17/30

slide-48
SLIDE 48

Generalized Sum

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✩ ◗ ■ ■ ✏ ✞ ✣

;

– p.17/30

slide-49
SLIDE 49

Generalized Sum

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✩ ◗ ■ ■ ✏ ✞ ✣

; A structure

for

✍ ✧ ★ ✩

to be defined.

– p.17/30

slide-50
SLIDE 50

Generalized Sum

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✩ ◗ ■ ■ ✏ ✞ ✣

; A structure

for

✍ ✧ ★ ✩

to be defined. Universe of the sum:

❙ ✡ ✕ ✖ ✞ ✣ ✠ ✡

(

✠ ✡

are assumed to be disjoint).

– p.17/30

slide-51
SLIDE 51

Generalized Sum

Ingredients:

✌ ✜ ✢

a structure for

✍ ✡ ✞ ✣

; A family

✠ ✡

(

☛ ☞ ✌ ✜ ✢ ✟
  • f structures for
✍ ✩ ◗ ■ ■ ✏ ✞ ✣

; A structure

for

✍ ✧ ★ ✩

to be defined. Universe of the sum:

❙ ✡ ✕ ✖ ✞ ✣ ✠ ✡

(

✠ ✡

are assumed to be disjoint). The interpretation of symbols in

✍ ✧ ★ ✩

will be defined by “Conditions”.

– p.17/30

slide-52
SLIDE 52

Conditions for binary relations

For

❚ ☎ ✆ ❚ ✬ ☞ ❙ ✡ ✕ ✖ ✞ ✣ ✠ ✡

we have to specify when

✘ ✂ ❚ ☎ ✆ ❚ ✬ ✟

holds. Two type of conditions:

– p.18/30

slide-53
SLIDE 53

Conditions for binary relations

For

❚ ☎ ✆ ❚ ✬ ☞ ❙ ✡ ✕ ✖ ✞ ✣ ✠ ✡

we have to specify when

✘ ✂ ❚ ☎ ✆ ❚ ✬ ✟

holds. Two type of conditions: case 1

❚ ☎

and

❚ ✬

are in the same component (say

✠ ✡

). In this case a condition consists of

✪ ✂ ✫ ☎ ✆ ✫ ✬ ✟ ☞ ✍ ✩ ◗ ■ ■ ✏ ✞ ✣

and

✮ ✂ ✷ ✟ ☞ ✍ ✡ ✞ ✣

. The pair

✂ ❚ ☎ ✆ ❚ ✬ ✟

satisfies the condition if

✠ ✡ ✳ ✓ ✪ ✂ ❚ ☎ ✆ ❚ ✬ ✟

and

✌ ✜ ✢ ✳ ✓ ✮ ✂ ☛ ✟

.

– p.18/30

slide-54
SLIDE 54

Conditions for binary relations

For

❚ ☎ ✆ ❚ ✬ ☞ ❙ ✡ ✕ ✖ ✞ ✣ ✠ ✡

we have to specify when

✘ ✂ ❚ ☎ ✆ ❚ ✬ ✟

holds. Two type of conditions: case 1

❚ ☎

and

❚ ✬

are in the same component (say

✠ ✡

). In this case a condition consists of

✪ ✂ ✫ ☎ ✆ ✫ ✬ ✟ ☞ ✍ ✩ ◗ ■ ■ ✏ ✞ ✣

and

✮ ✂ ✷ ✟ ☞ ✍ ✡ ✞ ✣

. The pair

✂ ❚ ☎ ✆ ❚ ✬ ✟

satisfies the condition if

✠ ✡ ✳ ✓ ✪ ✂ ❚ ☎ ✆ ❚ ✬ ✟

and

✌ ✜ ✢ ✳ ✓ ✮ ✂ ☛ ✟

. case 2

❚ ☎

and

❚ ✬

are in the distinct summands (say in

✠ ✡ ❈

and

✠ ✡ ❊

). In this case a condition consists of

✪ ☎ ✂ ✫ ☎ ✟ ✆ ✪ ✬ ✂ ✫ ✬ ✟ ☞ ✍ ✩ ◗ ■ ■ ✏ ✞ ✣

and

✮ ✂ ✷ ☎ ✆ ✷ ✬ ✟ ☞ ✍ ✡ ✞ ✣

. The pair

✂ ❚ ☎ ✆ ❚ ✬ ✟

satisfies the condition if

✠ ✡ ❈ ✳ ✓ ✪ ☎ ✂ ❚ ☎ ✟ ✠ ✡ ❊ ✳ ✓ ✪ ✬ ✂ ❚ ✬ ✟

and

✌ ✜ ✢ ✳ ✓ ✮ ✂ ☛ ☎ ✆ ☛ ✬ ✟

.

– p.18/30

slide-55
SLIDE 55

General

  • ary Conditions

For

❚ ☎ ✝ ✝ ✝ ❚ ✞

define an equivalence

  • n
✱ ❬ ✆ ✝ ✝ ✝ ✜ ✴

.

❭ ❩ ❪

iff

❚ ✭

and

❚ ❱

are in the same summand.

specifies the distribution of

❚ ☎ ✆ ✝ ✝ ✝ ❚ ✞

among the summands. For every equivalence

we will define

  • conditions.

– p.19/30

slide-56
SLIDE 56
  • Condition

Let

be an equivalence relation on

✱ ❬ ✆ ✝ ✝ ✝ ✜ ✴

. Let

✁ ☎ ✆ ✝ ✝ ✝ ✁ ✭

be

  • equivalence classes. Let
✫ ☎

be

✻ ✫ ❳ ❈ ✆ ✝ ✝ ✝ ✫ ❳ ❫ ✽

where

✥ ☎ ✤ ✥ ✬ ✤ ✥ ■

are all elements of

✁ ☎

. (

✫ ❱

are defined similarly.)

  • Condition -Syntax

1.

✪ ☎ ✂ ✫ ☎ ✟ ✝ ✝ ✝ ✪ ✭ ✂ ✫ ✭ ✟

formulas from

✍ ✩ ◗ ■ ■ ✏ ✞ ✣

.

  • 2. Sentences
❴ ☎ ✆ ✝ ✝ ✝ ❴ ■

from

✍ ✩ ◗ ■ ■ ✏ ✞ ✣

3.

✮ ✂ ✷ ☎ ✆ ✝ ✝ ✝ ✷ ✭ ✆ ✯ ☎ ✆ ✝ ✝ ✝ ✆ ✯ ■ ✟

a formula from

✍ ✡ ✞ ✣ ✂ ✯ ☎ ✆ ✝ ✝ ✝ ✯ ■ ✟

– p.20/30

slide-57
SLIDE 57
  • condition - Semantics
❚ ☎

, . . . ,

❚ ✞

satisfy the

condition iff

  • 1. They agree with

, i.e., there are

☛ ☎ ✆ ✝ ✝ ✝ ☛ ✭

s.t

❵ ☞ ✁ ❳

iff

❚ ■ ☞ ✠ ✡ ✦

. 2.

✠ ✡ ✦ ✆ ❚ ❳ ✳ ✓ ✪ ❳ ✂ ✫ ❳ ✟

for

✥ ✓ ❬ ✆ ✝ ✝ ✝ ✆ ❭

. 3.

✌ ✜ ✢ ✆ ☛ ☎ ✆ ✝ ✝ ✝ ☛ ✭ ✆ ✰ ☎ ✆ ✝ ✝ ✝ ✰ ■ ✳ ✓ ✮ ✂ ✷ ☎ ✆ ✝ ✝ ✝ ✷ ✭ ✆ ✯ ☎ ✆ ✝ ✝ ✝ ✆ ✯ ■ ✟

, where

✰ ✧ ✓ ✱ ☛ ☞ ✌ ✜ ✢ ✲ ✠ ✡ ✳ ✓ ❴ ✧ ✴

– p.21/30

slide-58
SLIDE 58

Rules Generalized Sum

Syntax.

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✩ ◗ ■ ■ ✏ ✞ ✣ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

, where

assigns to every

  • ary symbol in
✍ ✧ ★ ✩

a finite set of

  • ary conditions.
  • Semantics. Given
✌ ✜ ✢

and

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

define

✠ ✓ ❘ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

as follows: The universe

❙ ✡ ✕ ✖ ✞ ✣ ✠ ✡

. The interpretation of

✘ ☞ ✍ ✧ ★ ✩ ✘ ✙

consists of all the tuples that satisfy at least one condition assigned by

to

.

– p.22/30

slide-59
SLIDE 59

Example - Tree Sum

Let

✌ ✜ ✢ ✓ ✻ ✌ ✆ ✤ ✡ ✞ ✣ ✽

be a tree. Let

❛ ✡ ✓ ✻ ❜ ✡ ✆ ✤ ✡ ✽

(

☛ ☞ ✌

) be a family of trees. The sum of

❛ ✡
  • ver
✌ ✜ ✢

is a tree defined as follows: The universe:

✡ ✕ ✖ ❜ ✡

. The interpretation of

:

✜ ☎ ✤ ✜ ✬

if either

✜ ☎

and

✜ ✬

are in the the summand

❛ ✡

and

✜ ☎ ✤ ✡ ✜ ✬
  • r
✜ ☎

is a root of

❛ ✡ ❈

,

✜ ✬

is in

❛ ✡ ❊

and

☛ ☎ ✤ ✡ ✞ ✣ ☛ ✬

.

– p.23/30

slide-60
SLIDE 60

Example - Tree Sum

Let

✌ ✜ ✢ ✓ ✻ ✌ ✆ ✤ ✡ ✞ ✣ ✽

be a tree. Let

❛ ✡ ✓ ✻ ❜ ✡ ✆ ✤ ✡ ✽

(

☛ ☞ ✌

) be a family of trees. The sum of

❛ ✡
  • ver
✌ ✜ ✢

is a tree defined as follows: The universe:

✡ ✕ ✖ ❜ ✡

. The interpretation of

:

✜ ☎ ✤ ✜ ✬

if either

✜ ☎

and

✜ ✬

are in the the summand

❛ ✡

and

✜ ☎ ✤ ✡ ✜ ✬
  • r
✜ ☎

is a root of

❛ ✡ ❈

,

✜ ✬

is in

❛ ✡ ❊

and

☛ ☎ ✤ ✡ ✞ ✣ ☛ ✬

. Formal conditions:

✍ ✡ ✞ ✣ ✓ ✍ ✩ ◗ ■ ■ ✏ ✞ ✣ ✓ ✍ ✧ ★ ✩ ✓ ✱ ✤ ✴

One condition for the first case: The formulas:

✪ ☎ ✂ ✫ ☎ ✆ ✫ ✬ ✟

is defined to be

✫ ☎ ✤ ✫ ✬

and

is TRUE One condition for the second case:

✪ ☎ ✂ ✫ ☎ ✟

is

✵ ✫ ✝ ✫ ☎ ❝ ✫ ✪ ✬ ✂ ✫ ✬ ✟

is TRUE

– p.23/30

slide-61
SLIDE 61

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

– p.24/30

slide-62
SLIDE 62

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

The full statement of the theorem is as follows:

– p.24/30

slide-63
SLIDE 63

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

The full statement of the theorem is as follows: Theorem Let

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✩ ◗ ■ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

be a rule and let

✫ ☎ ✆ ✝ ✝ ✝ ✫ ✭ ✟

be a formula in

✍ ✧ ★ ✩

. Then there exists a finite set

✄ ✿
  • f conditions such that for every
✌ ✜ ✢

and every family

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

the relation definable by

  • in
❘ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is the same as the relation definable by

✄ ✿

in

❘ ✡ ✕ ✖ ✞ ✣ ✠ ✡

.

– p.24/30

slide-64
SLIDE 64

Composition Theorem

The composition theorem expresses a fundamental property of the first-order language: if every atomic relation in

✍ ✧ ★ ✩

is expressed by a finite set of conditions, then for every formula

  • in
✍ ✧ ★ ✩

the relation definable by

  • is also definable by a finite set of conditions.

The full statement of the theorem is as follows: Theorem Let

✺ ✓ ✻ ✍ ✡ ✞ ✣ ✆ ✍ ✩ ◗ ■ ✆ ✍ ✧ ★ ✩ ✆ ✼ ✽

be a rule and let

✫ ☎ ✆ ✝ ✝ ✝ ✫ ✭ ✟

be a formula in

✍ ✧ ★ ✩

. Then there exists a finite set

✄ ✿
  • f conditions such that for every
✌ ✜ ✢

and every family

✠ ✡ ✂ ☛ ☞ ✌ ✜ ✢ ✟

the relation definable by

  • in
❘ ✾ ✡ ✕ ✖ ✞ ✣ ✠ ✡

is the same as the relation definable by

✄ ✿

in

❘ ✡ ✕ ✖ ✞ ✣ ✠ ✡

. Moreover,

✄ ✿

is computable from

and

  • .

– p.24/30

slide-65
SLIDE 65

The

❞ ❡

formulas

The structure of formulas in

✄ ✿

faithfully reflects the structure of

  • .

If

is quantifier free, then (1) qr of all

✄ ✿

formulas is bounded by qr of

  • .

(2) if

  • has

variables then

✄ ✿

formulas have

variables. (3) if

contains only positive formulas (

✶ ✵

,

,

), then in

✄ ✿

there are only positive formulas. (4) the alternation rank of all

✄ ✿

formulas is bounded by the alternation rank of

  • .

(5) etc.

– p.25/30

slide-66
SLIDE 66

Simple Applications To Definability

Two important Theorem For

  • f qr
❝ ❭

and

❵ ✆ ✜ ❣ ❭ ✄ ■ ✳ ✓
  • iff
✄ ✞ ✳ ✓
  • Theorem For
  • f qr
❝ ❭

and

❵ ✆ ✜ ❣ ❤ ✭ ✍ ■ ✳ ✓
  • iff
✍ ✞ ✳ ✓
  • Many theorems in Descriptive Complexity can be reduced

in a modular way to these theorems by the compositional method.

– p.26/30

slide-67
SLIDE 67

Modular reduction - Example

For

  • f qr
❝ ❭
  • 1. if
❵ ✆ ✜ ❣ ❭ ❁ ☛ ✐ ✂ ❥ ✆ ✜ ✟ ✳ ✓
  • iff
❁ ☛ ✐ ✂ ❥ ✆ ❵ ✟ ✳ ✓
  • 2. if
❵ ✆ ✜ ❣ ❤ ✭ ✁ ☛ ❥ ❦ ■ ✳ ✓
  • iff
✁ ☛ ❥ ❦ ✞ ✳ ✓
☛ ❥ ❦ ■ ✳ ✓
  • iff
✁ ☛ ❥ ❦ ✞ ❧ ✁ ☛ ❥ ❦ ■ ✳ ✓
  • – p.27/30
slide-68
SLIDE 68

Recursively defined Structures

♠ ♥ ♦ ♣ q r ♠ ♥ ♦ s ♠ ♥ ♦ t ✉ ✈ ♣ q r ❏ ✇ ① s ♠ ♥ ♦ t ✉ ✈

. So

s ♠ ♥ ♦ t ✉ ✈

is a solution of the equation

② ♣ q r ❏ ✇ ① ②

It is the least solution. The composition theorem implies that

③ ④ ⑤ ♠ ♥ ♦ t ✉ ⑥

is computable from the FO theories of the components (here structures

s q t ✉ ✈

and

s ⑦ t ✉ ✈

). The rationals satisfy the equation:

s ⑧ t ✉ ✈ ♣ ⑤ ⑧ t ✉ ⑥ r ❏ ✇ ① q r ❏ ✇ ① s ⑧ t ✉ ✈

Moreover

s ⑧ t ✉ ✈

is the least solution of

② ♣ ② r ❏ ✇ ① q r ❏ ✇ ① ②

The composition theorem implies that

③ ④ ⑤ ⑧ t ✉ ⑥

is computable from the FO theories of the components (here structures

s q t ✉ ✈

and

s ⑨ t ✉ ✈

).

– p.28/30

slide-69
SLIDE 69

I found composition theorems for a variety of recursive equations constructed from sum and product. The solution is taken as the least solution.

– p.29/30

slide-70
SLIDE 70

Further Problems

What should be a general recursive definition for relational structures?

– p.30/30

slide-71
SLIDE 71

Further Problems

What should be a general recursive definition for relational structures? How to treat the greatest solution for recursive definitions.

– p.30/30

slide-72
SLIDE 72

Further Problems

What should be a general recursive definition for relational structures? How to treat the greatest solution for recursive definitions. Interesting Examples of recursively defined structures.

– p.30/30

slide-73
SLIDE 73

Further Problems

What should be a general recursive definition for relational structures? How to treat the greatest solution for recursive definitions. Interesting Examples of recursively defined structures. Possible lack of examples: maybe recursive definitions can be reduced to the generalized products and sums?

– p.30/30

slide-74
SLIDE 74

Further Problems

What should be a general recursive definition for relational structures? How to treat the greatest solution for recursive definitions. Interesting Examples of recursively defined structures. Possible lack of examples: maybe recursive definitions can be reduced to the generalized products and sums? THANK YOU

– p.30/30