Computation and Logic on Dynamic Random Graphs Wesley Calvert - - PowerPoint PPT Presentation

computation and logic on dynamic random graphs
SMART_READER_LITE
LIVE PREVIEW

Computation and Logic on Dynamic Random Graphs Wesley Calvert - - PowerPoint PPT Presentation

Computation and Logic on Dynamic Random Graphs Wesley Calvert Southern Illinois University ASL North American Annual Meeting Berkeley, California March 26, 2011 Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 1


slide-1
SLIDE 1

Computation and Logic on Dynamic Random Graphs

Wesley Calvert

Southern Illinois University

ASL North American Annual Meeting Berkeley, California March 26, 2011

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 1 / 26

slide-2
SLIDE 2

Theorem (0-1 Law) Every sentence in the language of graphs is true for either almost all finite graphs or almost none of them.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 2 / 26

slide-3
SLIDE 3

Theorem (0-1 Law) Every sentence in the language of graphs is true for either almost all finite graphs or almost none of them. Definition The theory of the random graph is the set of all sentences in the language

  • f graphs which are true for almost all finite graphs.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 2 / 26

slide-4
SLIDE 4

Theorem The theory of the random graph is decidable.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 3 / 26

slide-5
SLIDE 5

Theorem The theory of the random graph is decidable. Theorem The theory of the random graph is ℵ0-categorical.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 3 / 26

slide-6
SLIDE 6

Theorem The theory of the random graph is decidable. Theorem The theory of the random graph is ℵ0-categorical. Proof. Back-and-forth

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 3 / 26

slide-7
SLIDE 7

Theorem The theory of the random graph is decidable. Theorem The theory of the random graph is ℵ0-categorical. Proof. Back-and-forth Theorem The theory of the random graph is computably categorical.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 3 / 26

slide-8
SLIDE 8

Theorem The theory of the random graph is decidable. Theorem The theory of the random graph is ℵ0-categorical. Proof. Back-and-forth Theorem The theory of the random graph is computably categorical. Theorem The theory of the random graph is properly simple.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 3 / 26

slide-9
SLIDE 9

When I showed this to some colleagues in my department, they didn’t like it much.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 4 / 26

slide-10
SLIDE 10

When I showed this to some colleagues in my department, they didn’t like it much. “There’s nothing random in it!”

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 4 / 26

slide-11
SLIDE 11

When I showed this to some colleagues in my department, they didn’t like it much. “There’s nothing random in it!” “A model of that theory isn’t a random graph!”

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 4 / 26

slide-12
SLIDE 12

When I showed this to some colleagues in my department, they didn’t like it much. “There’s nothing random in it!” “A model of that theory isn’t a random graph!” “You mean your random graphs can be infinite?”

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 4 / 26

slide-13
SLIDE 13

When I showed this to some colleagues in my department, they didn’t like it much. “There’s nothing random in it!” “A model of that theory isn’t a random graph!” “You mean your random graphs can be infinite?” “Maybe a better name would be ’random theory of graphs.’ ”

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 4 / 26

slide-14
SLIDE 14

Here’s what they’re used to as a random graph: Definition The Erd˝

  • s-Renyi random graph Gp(n) is constructed by taking n vertices

and connecting each pair independently with probability p.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 5 / 26

slide-15
SLIDE 15

Here’s what they’re used to as a random graph: Definition The Erd˝

  • s-Renyi random graph Gp(n) is constructed by taking n vertices

and connecting each pair independently with probability p. Proposition The theory of the random graph is the almost-sure theory of Gp(ω) if p ∈ (0, 1).

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 5 / 26

slide-16
SLIDE 16

Definition Continuous first-order logic is a logic taking truth values on [0, 1], and having all continuous functions on [0, 1] for its Boolean connectives and sup and inf for its quantifiers. We typically also include a metric d in the signature.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 6 / 26

slide-17
SLIDE 17

Definition Continuous first-order logic is a logic taking truth values on [0, 1], and having all continuous functions on [0, 1] for its Boolean connectives and sup and inf for its quantifiers. We typically also include a metric d in the signature. Proposition (Ben Yaacov-Berenstein-Henson-Usvyatsov) Any continuous function [0, 1]n → [0, 1] can be approximated by ( . −, ¬ = x → 1 − x, 1

2).

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 6 / 26

slide-18
SLIDE 18

Definition A continuous structure M is a metric space (M, d)

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 7 / 26

slide-19
SLIDE 19

Definition A continuous structure M is a metric space (M, d) with Some distinguished uniformly continuous functions f : Mn → M

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 7 / 26

slide-20
SLIDE 20

Definition A continuous structure M is a metric space (M, d) with Some distinguished uniformly continuous functions f : Mn → M , and Some distinguished uniformly continuous predicates R : Mn → [0, 1].

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 7 / 26

slide-21
SLIDE 21

Example Consider the set {0, 1, . . . , n}, with the discrete metric.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 8 / 26

slide-22
SLIDE 22

Example Consider the set {0, 1, . . . , n}, with the discrete metric. Define a predicate R such that R(x, y) = 1 − p if x = y

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 8 / 26

slide-23
SLIDE 23

Example Consider the set {0, 1, . . . , n}, with the discrete metric. Define a predicate R such that R(x, y) = 1 − p if x = y R(x, x) = 1.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 8 / 26

slide-24
SLIDE 24

Example Consider the set {0, 1, . . . , n}, with the discrete metric. Define a predicate R such that R(x, y) = 1 − p if x = y R(x, x) = 1. Note that this is a continuous structure, and “is” the Erd˝

  • s-Renyi random

graph Gp(n).

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 8 / 26

slide-25
SLIDE 25

Definition Let 2ω be the set of infinite binary sequences, with the usual Lebesgue probability measure µ.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 9 / 26

slide-26
SLIDE 26

Definition Let 2ω be the set of infinite binary sequences, with the usual Lebesgue probability measure µ.

1 A randomized Turing machine is a Turing machine equipped with an

  • racle for an element of 2ω, called the random bits, with output in

{0, 1}.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 9 / 26

slide-27
SLIDE 27

Definition Let 2ω be the set of infinite binary sequences, with the usual Lebesgue probability measure µ.

1 A randomized Turing machine is a Turing machine equipped with an

  • racle for an element of 2ω, called the random bits, with output in

{0, 1}.

2 We say that a randomized Turing machine M accepts n with

probability p if and only if µ{x ∈ 2ω : Mx(n) ↓= 0} = p.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 9 / 26

slide-28
SLIDE 28

Definition Let 2ω be the set of infinite binary sequences, with the usual Lebesgue probability measure µ.

1 A randomized Turing machine is a Turing machine equipped with an

  • racle for an element of 2ω, called the random bits, with output in

{0, 1}.

2 We say that a randomized Turing machine M accepts n with

probability p if and only if µ{x ∈ 2ω : Mx(n) ↓= 0} = p.

3 We say that a randomized Turing machine M rejects n with

probability p if and only if µ{x ∈ 2ω : Mx(n) ↓= 1} = p.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 9 / 26

slide-29
SLIDE 29

Definition The continuous atomic diagram D(M) of a continuous structure M is the set of pairs (ϕ, p), where ϕ is an atomic CFO formula (in M with unary distance) and the truth value of ϕ in M is equal to p.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 10 / 26

slide-30
SLIDE 30

Definition The continuous atomic diagram D(M) of a continuous structure M is the set of pairs (ϕ, p), where ϕ is an atomic CFO formula (in M with unary distance) and the truth value of ϕ in M is equal to p. Definition A probabilistically computable structure M is a continuous structure equipped with a randomized Turing machine which, for any pair (ϕ, p) ∈ D(M), accepts ϕ with probability equal to p.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 10 / 26

slide-31
SLIDE 31

Proposition Every classically computable structure, with the discrete metric, is a probabilistically computable structure.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 11 / 26

slide-32
SLIDE 32

Proposition Every classically computable structure, with the discrete metric, is a probabilistically computable structure. Theorem Classically computable structures are to RCA0 as probabilistically computable structures are to ACA0.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 11 / 26

slide-33
SLIDE 33

Note that the Erd˝

  • s-Renyi random graph we described earlier is

probabilistically computable.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 12 / 26

slide-34
SLIDE 34

But, the Erd˝

  • s-Renyi graphs are too homogeneous.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 13 / 26

slide-35
SLIDE 35

But, the Erd˝

  • s-Renyi graphs are too homogeneous.

Example The FaceBook friend graph.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 13 / 26

slide-36
SLIDE 36

But, the Erd˝

  • s-Renyi graphs are too homogeneous.

Example The FaceBook friend graph. Example The web graph.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 13 / 26

slide-37
SLIDE 37

But, the Erd˝

  • s-Renyi graphs are too homogeneous.

Example The FaceBook friend graph. Example The web graph. Example The collaboration graph.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 13 / 26

slide-38
SLIDE 38

But, the Erd˝

  • s-Renyi graphs are too homogeneous.

Example The FaceBook friend graph. Example The web graph. Example The collaboration graph. Example Consider the reactions catalyzed by E. Coli. Make a node for each collection of reactants and products, and a connection for any two that share a metabolite (intermediate compound).

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 13 / 26

slide-39
SLIDE 39

Major features we want to capture:

1 Development over time Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 14 / 26

slide-40
SLIDE 40

Major features we want to capture:

1 Development over time 2 Non-homogeneity [number of vertices of degree k proportional to

1 kβ

for fixed β]

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 14 / 26

slide-41
SLIDE 41

The language: Infinitely many predicates (Vi)i∈ω, which will be interpreted as the vertex set at stage i.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 15 / 26

slide-42
SLIDE 42

The language: Infinitely many predicates (Vi)i∈ω, which will be interpreted as the vertex set at stage i. Infinitely many predicates (Ei)i∈ω, interpreted as the edge set at stage i.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 15 / 26

slide-43
SLIDE 43

Definition Let G0 be a finite graph with vertex set V∗ and edge set E∗. The preferential attachment graph G(p, G0) is the random graph process with V0 = V∗, with E0 = E∗, and with the following property:

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 16 / 26

slide-44
SLIDE 44

Definition Let G0 be a finite graph with vertex set V∗ and edge set E∗. The preferential attachment graph G(p, G0) is the random graph process with V0 = V∗, with E0 = E∗, and with the following property: For each t > 0, we form Gt by independently

With probability p let Vt consist of Vt−1 plus a single new element v, and independently choose a vertex u in proportion to its degree in Gt−1, setting Et = Et+1 ∪ {(u, v)}.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 16 / 26

slide-45
SLIDE 45

Definition Let G0 be a finite graph with vertex set V∗ and edge set E∗. The preferential attachment graph G(p, G0) is the random graph process with V0 = V∗, with E0 = E∗, and with the following property: For each t > 0, we form Gt by independently

With probability p let Vt consist of Vt−1 plus a single new element v, and independently choose a vertex u in proportion to its degree in Gt−1, setting Et = Et+1 ∪ {(u, v)}. Otherwise, independently choose two vertices u, v with probability proportional to their degrees in Gt−1, and set Vt = Vt−1 and Et = Et−1 ∪ {(u, v)}.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 16 / 26

slide-46
SLIDE 46

Proposition There is an effective procedure which, given σ ∈ 2ω, will produce an index for the sample path corresponding to σ; that is, for the uniformly computable sequence of (classical) relations (V σ

i , E σ i )i∈ω.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 17 / 26

slide-47
SLIDE 47

Lemma For any p ∈ [0, 1], there exists an infinite uniformly computable sequence

  • f subsets (Sp

i )i∈ω of 2ω which are independent, such that Sp i has

probability p.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 18 / 26

slide-48
SLIDE 48

Lemma For any p ∈ [0, 1], there exists an infinite uniformly computable sequence

  • f subsets (Sp

i )i∈ω of 2ω which are independent, such that Sp i has

probability p. Lemma For any positive integer n, there exist infinite independent uniformly computable sequences of tuples (Qn

t )t∈ω and (Pn t )t∈ω, where each Qn t and

each Pn

t has the form (Qn t,k)k<n and the Qn t,k are disjoint subsets of 2ω,

each with measure 1

n.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 18 / 26

slide-49
SLIDE 49

Proof of Proposition. Start with G0.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 19 / 26

slide-50
SLIDE 50

Proof of Proposition. Start with G0. Check σ against Sp to decide whether to do a vertex step

  • r an edge step.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 19 / 26

slide-51
SLIDE 51

Proof of Proposition. Start with G0. Check σ against Sp to decide whether to do a vertex step

  • r an edge step. If a vertex step, check with the appropriate Q to figure
  • ut where the new vertex should connect.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 19 / 26

slide-52
SLIDE 52

Proof of Proposition. Start with G0. Check σ against Sp to decide whether to do a vertex step

  • r an edge step. If a vertex step, check with the appropriate Q to figure
  • ut where the new vertex should connect. If an edge step, check with the

appropriate P.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 19 / 26

slide-53
SLIDE 53

Theorem For any p ∈ [0, 1] and any finite graph G0, there is a probabilistically computable random graph process of form G(p, G0).

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 20 / 26

slide-54
SLIDE 54

Theorem For any p ∈ [0, 1] and any finite graph G0, there is a probabilistically computable random graph process of form G(p, G0). Proof. Take the Turing machine we just built, and let it work over all oracles.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 20 / 26

slide-55
SLIDE 55

Problem What is Th (G(p, G0))?

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 21 / 26

slide-56
SLIDE 56

Proposition The axioms of preferential attachment are neither complete nor categorical.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 22 / 26

slide-57
SLIDE 57

Proposition The axioms of preferential attachment are neither complete nor categorical. Proof. Do the same construction as before, but arrange that individual numbers have small probability of coming in as vertices at stage t.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 22 / 26

slide-58
SLIDE 58

The metabolic pathway graphs tend to look different.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 23 / 26

slide-59
SLIDE 59

The metabolic pathway graphs tend to look different. Recall: nk ∝

1 kβ .

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 23 / 26

slide-60
SLIDE 60

The metabolic pathway graphs tend to look different. Recall: nk ∝

1 kβ .

Preferential attachment β ≥ 2 (generally) Metabolic Networks β ≈ 1.5.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 23 / 26

slide-61
SLIDE 61

Definition Let G0 be a finite graph with vertex set V∗ and edge set E∗. The duplication graph B(p, G0) is the random graph process with V0 = V∗, with E0 = E∗, and with the following property: For each t > 0, we form Gt by Independently selecting a vertex vt from Vt−1 uniformly at random, add a new vertex yt, and For each neighbor u connected to vt at stage t − 1, we independently attach u to yt with probability p.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 24 / 26

slide-62
SLIDE 62

Theorem For any p ∈ [0, 1] and any finite graph G0, there is a probabilistically computable random graph process of the form B(p, G0).

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 25 / 26

slide-63
SLIDE 63

Theorem For any p ∈ [0, 1] and any finite graph G0, there is a probabilistically computable random graph process of the form B(p, G0). And it has all the same issues with completeness.

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 25 / 26

slide-64
SLIDE 64

Computation and Logic on Dynamic Random Graphs

Wesley Calvert

Southern Illinois University

ASL North American Annual Meeting Berkeley, California March 26, 2011

Wesley Calvert (Southern Illinois University) Dynamic Random Graphs ASL 2011 26 / 26