Galton-Watson trees and probabilities of local neighbourhoods of the root

Size: px
Start display at page:

Download "Galton-Watson trees and probabilities of local neighbourhoods of the root"

Transcription

1 probabilities probabilities Courant Institute Mathematical Sciences New York University 14th Annual Northeast Probability Seminar November 20, 2015

2 The First Order (F.O.) World probabilities T rom Watson tree, Poisson(λ) fspring distribution.

3 The First Order (F.O.) World probabilities T rom Watson tree, Poisson(λ) fspring distribution. Constant Symbol: root Equality: x = y, Parent: π(y) = x (x is parent y, binary predicate), Variable Symbols x, y, z..., Boolean,,,,, etc, Quantification x, y over vertices only.

4 The First Order (F.O.) World probabilities T rom Watson tree, Poisson(λ) fspring distribution. Constant Symbol: root Equality: x = y, Parent: π(y) = x (x is parent y, binary predicate), Variable Symbols x, y, z..., Boolean,,,,, etc, Quantification x, y over vertices only. Example a node with exactly one child one grchild.

5 Ehrenfeucht games probabilities Definition 1 Trees T 1, T 2, roots R 1, R 2, # moves = k.

6 Ehrenfeucht games probabilities Definition 1 Trees T 1, T 2, roots R 1, R 2, # moves = k. 2 Spoiler picks any one tree a node from it. Duplicator chooses a node from the other tree.

7 Ehrenfeucht games probabilities Definition 1 Trees T 1, T 2, roots R 1, R 2, # moves = k. 2 Spoiler picks any one tree a node from it. Duplicator chooses a node from the other tree. 3 (x i, y i ) T 1 T 2, 1 i k, pairs nodes selected.

8 Ehrenfeucht games probabilities Definition 1 Trees T 1, T 2, roots R 1, R 2, # moves = k. 2 Spoiler picks any one tree a node from it. Duplicator chooses a node from the other tree. 3 (x i, y i ) T 1 T 2, 1 i k, pairs nodes selected. 4 Duplicator wins if x i = R 1 y i = R 2,

9 Ehrenfeucht games probabilities Definition 1 Trees T 1, T 2, roots R 1, R 2, # moves = k. 2 Spoiler picks any one tree a node from it. Duplicator chooses a node from the other tree. 3 (x i, y i ) T 1 T 2, 1 i k, pairs nodes selected. 4 Duplicator wins if x i = R 1 y i = R 2, π(x j ) = x i π(y j ) = y i,

10 Ehrenfeucht games probabilities Definition 1 Trees T 1, T 2, roots R 1, R 2, # moves = k. 2 Spoiler picks any one tree a node from it. Duplicator chooses a node from the other tree. 3 (x i, y i ) T 1 T 2, 1 i k, pairs nodes selected. 4 Duplicator wins if x i = R 1 y i = R 2, π(x j ) = x i π(y j ) = y i, x i = x j y i = y j.

11 Ehrenfeucht games probabilities Definition 1 Trees T 1, T 2, roots R 1, R 2, # moves = k. 2 Spoiler picks any one tree a node from it. Duplicator chooses a node from the other tree. 3 (x i, y i ) T 1 T 2, 1 i k, pairs nodes selected. 4 Duplicator wins if x i = R 1 y i = R 2, π(x j ) = x i π(y j ) = y i, x i = x j y i = y j. Theorem If Duplicator wins EHR[T 1, T 2, k] then T 1 = A T 2 = A for F.O. A depth k.

12 Ehrenfeucht value probabilities Definition T 1 k T 2 if Duplicator wins EHR[T 1, T 2, k].

13 Ehrenfeucht value probabilities Definition T 1 k T 2 if Duplicator wins EHR[T 1, T 2, k]. Theorem Fix k. Only finitely many equivalence classes.

14 Ehrenfeucht value probabilities Definition T 1 k T 2 if Duplicator wins EHR[T 1, T 2, k]. Theorem Fix k. Only finitely many equivalence classes. Definition Equivalence class T its Ehrenfeucht value.

15 Our results on almost sure theory for F.O. probabilities Theorem Fix k N. Fix a finite tree T 0. A[T 0 ] := { a subtree = T 0 in T }. Conditioned on the tree being infinte, A is almost surely true. Schema A = {A[T 0 ] : T 0 finite tree} gives almost sure theory for infinite trees.

16 Consequence previous result probabilities Corollary Fix k N. Condition on T being infinite. Ehrenfeucht value T depends on the local neighbourhood, radius 3 k+2. For all A = A[T 0 ], P[A] = P[A ] where A only depends on the local neighbourhood.

17 First generation probability conditioned on infiniteness probabilities 1 Only concerned with Γ 1 = {0, 1, 2,... k 1, ω}, ω indicates k.

18 First generation probability conditioned on infiniteness probabilities 1 Only concerned with Γ 1 = {0, 1, 2,... k 1, ω}, ω indicates k. 2 A i = {R has i children}, i = 1, 2,... k 1, ω.

19 First generation probability conditioned on infiniteness probabilities 1 Only concerned with Γ 1 = {0, 1, 2,... k 1, ω}, ω indicates k. 2 A i = {R has i children}, i = 1, 2,... k 1, ω. 3 B = {T is finite}, P[B] = p.

20 First generation probability conditioned on infiniteness probabilities 1 Only concerned with Γ 1 = {0, 1, 2,... k 1, ω}, ω indicates k. 2 A i = {R has i children}, i = 1, 2,... k 1, ω. 3 B = {T is finite}, P[B] = p. 4 For i {0, 1,... k 1} P[A i B c ] =P[A i ] P[A i B] =e λ λi i! (1 pi ).

21 First generation probability conditioned on infiniteness probabilities 1 Only concerned with Γ 1 = {0, 1, 2,... k 1, ω}, ω indicates k. 2 A i = {R has i children}, i = 1, 2,... k 1, ω. 3 B = {T is finite}, P[B] = p. 4 For i {0, 1,... k 1} P[A i B c ] =P[A i ] P[A i B] =e λ λi i! (1 pi ). 5 For ω children: P[A ω B c ] =P[A ω ] P[A ω B] = e λ λj j! [1 pj ]. j=k

22 Some definitions probabilities Definition

23 Some definitions probabilities Definition 1 For 0 i k 1, P i (x) = P[Poi(x) = i] = e x x i i!.

24 Some definitions probabilities Definition 1 For 0 i k 1, P i (x) = P[Poi(x) = i] = e x x i i!. 2 For k, P ω (x) = P[Poi(x) k] = e x j=k x j j!.

25 Some definitions probabilities Definition 1 For 0 i k 1, P i (x) = P[Poi(x) = i] = e x x i i!. 2 For k, P ω (x) = P[Poi(x) k] = e x j=k x j j!. 3 (i + 1)-generation neighbourhood Γ i+1 = {g : Γ i Γ 1 }.

26 Some definitions probabilities Definition 1 For 0 i k 1, P i (x) = P[Poi(x) = i] = e x x i i!. 2 For k, P ω (x) = P[Poi(x) k] = e x j=k x j j!. 3 (i + 1)-generation neighbourhood Γ i+1 = {g : Γ i Γ 1 }. 4 For τ Γ i, P τ (x) = P[i generation neighbourhood τ for Poi(x)].

27 Example + Illustration probabilities

28 Example + Illustration probabilities

29 Example + Illustration probabilities k = 3, g(0) = 0, g(1) = ω, g(2) = 1, g(ω) = 1.

30 Example + Illustration probabilities k = 3, g(0) = 0, g(1) = ω, g(2) = 1, g(ω) = 1. 2 P σ (x) = P g(i) (xp i (x)) P g(ω) (xp ω (x)) i=0 =e x (xp 1 (x)) j j! (xp 2(x)) (xp ω (x)) j=3

31 Recursive computation probabilities probabilities

32 Recursive computation probabilities probabilities Theorem P σ (x) = τ Γ i P g(τ) (xp τ (x)) σ = g Γ i+1.

33 Recursive computation probabilities probabilities Theorem P σ (x) = P g(τ) (xp τ (x)) σ = g Γ i+1. τ Γ i Theorem B = {T is finite}, P[B] = p.

34 Recursive computation probabilities probabilities Theorem P σ (x) = P g(τ) (xp τ (x)) σ = g Γ i+1. τ Γ i Theorem B = {T is finite}, P[B] = p. By duality for, P[{i generation neighbourhood = σ} B] = P σ (pλ).

35 Recursive computation probabilities probabilities Theorem P σ (x) = P g(τ) (xp τ (x)) σ = g Γ i+1. τ Γ i Theorem B = {T is finite}, P[B] = p. By duality for, P[{i generation neighbourhood = σ} B] = P σ (pλ). If P [σ] = P[{i generation neighbourhood = σ} B c ], then P [σ] = P σ(λ) p P σ (pλ). 1 p

36 The probabilities are nice functions probabilities Remark For all i σ Γ i, P σ (x) nice function. Consists polynomials in p, x, e x, base e exponentiation.

37 The probabilities are nice functions probabilities Remark For all i σ Γ i, P σ (x) nice function. Consists polynomials in p, x, e x, base e exponentiation. Example 1 A := {Root has no child with no child}, k 1.

38 The probabilities are nice functions probabilities Remark For all i σ Γ i, P σ (x) nice function. Consists polynomials in p, x, e x, base e exponentiation. Example 1 A := {Root has no child with no child}, k 1. 2 A = {g(0) = 0}.

39 The probabilities are nice functions probabilities Remark For all i σ Γ i, P σ (x) nice function. Consists polynomials in p, x, e x, base e exponentiation. Example 1 A := {Root has no child with no child}, k 1. 2 A = {g(0) = 0}. 3 P[A] = P 0 [λp 0 (λ)] = e λp 0(λ) = e λe λ.

40 probabilities Thank you.

First order logic on Galton-Watson trees

First order logic on Galton-Watson trees First order logic on Galton-Watson trees Moumanti Podder Georgia Institute of Technology Joint work with Joel Spencer January 9, 2018 Mathematics Seminar, Indian Institute of Science, Bangalore 1 / 20

More information

Finite and Algorithmic Model Theory II: Automata-Based Methods

Finite and Algorithmic Model Theory II: Automata-Based Methods Finite and Algorithmic Model Theory II: Automata-Based Methods Anuj Dawar University of Cambridge Computer Laboratory Simons Institute, 30 August 2016 Review We aim to develop tools for studying the expressive

More information

Modern Discrete Probability Branching processes

Modern Discrete Probability Branching processes Modern Discrete Probability IV - Branching processes Review Sébastien Roch UW Madison Mathematics November 15, 2014 1 Basic definitions 2 3 4 Galton-Watson branching processes I Definition A Galton-Watson

More information

Connectivity. Corollary. GRAPH CONNECTIVITY is not FO definable

Connectivity. Corollary. GRAPH CONNECTIVITY is not FO definable Connectivity Corollary. GRAPH CONNECTIVITY is not FO definable Connectivity Corollary. GRAPH CONNECTIVITY is not FO definable If A is a linear order of size n, let G(A) be the graph with edges { i, i+2

More information

THE STRANGE LOGIC OF RANDOM GRAPHS. Joel Spencer. Courant Institute

THE STRANGE LOGIC OF RANDOM GRAPHS. Joel Spencer. Courant Institute WoLLIC 2005 THE STRANGE LOGIC OF RANDOM GRAPHS Joel Spencer Courant Institute 1 What is a Graph? Vertex Set V Edge Set E of {v, w} V Equivalently: Areflexive Symmetric Relation Write: v w Read: v, w are

More information

Expressiveness of predicate logic: Some motivation

Expressiveness of predicate logic: Some motivation Expressiveness of predicate logic: Some motivation In computer science the analysis of the expressiveness of predicate logic (a.k.a. first-order logic) is of particular importance, for instance In database

More information

Connectivity. Topics in Logic and Complexity Handout 7. Proof. Proof. Consider the signature (E, <).

Connectivity. Topics in Logic and Complexity Handout 7. Proof. Proof. Consider the signature (E, <). 1 2 Topics in Logic and Complexity Handout 7 Anuj Dawar MPhil Advanced Computer Science, Lent 2010 Consider the signature (E,

More information

Friendly Logics, Fall 2015, Lecture Notes 5

Friendly Logics, Fall 2015, Lecture Notes 5 Friendly Logics, Fall 2015, Lecture Notes 5 Val Tannen 1 FO definability In these lecture notes we restrict attention to relational vocabularies i.e., vocabularies consisting only of relation symbols (or

More information

Finite Model Theory: First-Order Logic on the Class of Finite Models

Finite Model Theory: First-Order Logic on the Class of Finite Models 1 Finite Model Theory: First-Order Logic on the Class of Finite Models Anuj Dawar University of Cambridge Modnet Tutorial, La Roche, 21 April 2008 2 Finite Model Theory In the 1980s, the term finite model

More information

4.8 Huffman Codes. These lecture slides are supplied by Mathijs de Weerd

4.8 Huffman Codes. These lecture slides are supplied by Mathijs de Weerd 4.8 Huffman Codes These lecture slides are supplied by Mathijs de Weerd Data Compression Q. Given a text that uses 32 symbols (26 different letters, space, and some punctuation characters), how can we

More information

Learning Theory. Machine Learning CSE546 Carlos Guestrin University of Washington. November 25, Carlos Guestrin

Learning Theory. Machine Learning CSE546 Carlos Guestrin University of Washington. November 25, Carlos Guestrin Learning Theory Machine Learning CSE546 Carlos Guestrin University of Washington November 25, 2013 Carlos Guestrin 2005-2013 1 What now n We have explored many ways of learning from data n But How good

More information

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 7. Ehrenfeucht-Fraïssé Games Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Pichler 15

More information

Dynamic Programming on Trees. Example: Independent Set on T = (V, E) rooted at r V.

Dynamic Programming on Trees. Example: Independent Set on T = (V, E) rooted at r V. Dynamic Programming on Trees Example: Independent Set on T = (V, E) rooted at r V. For v V let T v denote the subtree rooted at v. Let f + (v) be the size of a maximum independent set for T v that contains

More information

Sums of Products. Pasi Rastas November 15, 2005

Sums of Products. Pasi Rastas November 15, 2005 Sums of Products Pasi Rastas November 15, 2005 1 Introduction This presentation is mainly based on 1. Bacchus, Dalmao and Pitassi : Algorithms and Complexity results for #SAT and Bayesian inference 2.

More information

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic Introduction to EF-games Inexpressivity results for first-order logic Normal forms for first-order logic Algorithms and complexity for specific classes of structures General complexity bounds Preliminaries

More information

Alternating nonzero automata

Alternating nonzero automata Alternating nonzero automata Application to the satisfiability of CTL [,, P >0, P =1 ] Hugo Gimbert, joint work with Paulin Fournier LaBRI, Université de Bordeaux ANR Stoch-MC 06/07/2017 Control and verification

More information

On the Expressive Power of Logics on Finite Models

On the Expressive Power of Logics on Finite Models On the Expressive Power of Logics on Finite Models Phokion G. Kolaitis Computer Science Department University of California, Santa Cruz Santa Cruz, CA 95064, USA kolaitis@cs.ucsc.edu August 1, 2003 Partially

More information

Learning Decision Trees

Learning Decision Trees Learning Decision Trees CS194-10 Fall 2011 Lecture 8 CS194-10 Fall 2011 Lecture 8 1 Outline Decision tree models Tree construction Tree pruning Continuous input features CS194-10 Fall 2011 Lecture 8 2

More information

On the size of shortest modal descriptions

On the size of shortest modal descriptions On the size of shortest modal descriptions Santiago Figueira 1 Departamento de Computación, FCEyN, Universidad de Buenos Aires and CONICET Pabellón I, Ciudad Universitaria (C1428EGA), Buenos Aires, Argentina

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers mlq header will be provided by the publisher Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers H. Jerome Keisler 1 and Wafik Boulos Lotfallah 2 1 Department of Mathematics University

More information

Efficient Reasoning about Data Trees via Integer Linear Programming

Efficient Reasoning about Data Trees via Integer Linear Programming Efficient Reasoning about Data Trees via Integer Linear Programming Claire David Université Paris-Est Claire.David@univ-mlv.fr Leonid Libkin University of Edinburgh libkin@inf.ed.ac.uk Tony Tan University

More information

Dualities for Constraint Satisfaction Problems

Dualities for Constraint Satisfaction Problems Dualities for Constraint Satisfaction Problems Andrei Bulatov 1, Andrei Krokhin 2, and Benoit Larose 3 1 School of Computing Science Simon Fraser University Burnaby, BC, Canada, V5A 1S6 abulatov@cs.sfu.ca

More information

Playing with forcing

Playing with forcing Winterschool, 2 February 2009 Idealized forcings Many forcing notions arise as quotient Boolean algebras of the form P I = Bor(X )/I, where X is a Polish space and I is an ideal of Borel sets. Idealized

More information

Random trees and branching processes

Random trees and branching processes Random trees and branching processes Svante Janson IMS Medallion Lecture 12 th Vilnius Conference and 2018 IMS Annual Meeting Vilnius, 5 July, 2018 Part I. Galton Watson trees Let ξ be a random variable

More information

Algebra for Infinite Forests with an Application to the Temporal Logic EF

Algebra for Infinite Forests with an Application to the Temporal Logic EF Algebra for Infinite Forests with an Application to the Temporal Logic EF Miko laj Bojańczyk and Tomasz Idziaszek University of Warsaw, Poland {bojan,idziaszek}@mimuw.edu.pl Abstract. We define an extension

More information

Binary Search Trees. Motivation

Binary Search Trees. Motivation Binary Search Trees Motivation Searching for a particular record in an unordered list takes O(n), too slow for large lists (databases) If the list is ordered, can use an array implementation and use binary

More information

Notes on induction proofs and recursive definitions

Notes on induction proofs and recursive definitions Notes on induction proofs and recursive definitions James Aspnes December 13, 2010 1 Simple induction Most of the proof techniques we ve talked about so far are only really useful for proving a property

More information

Optimal Tree-decomposition Balancing and Reachability on Low Treewidth Graphs

Optimal Tree-decomposition Balancing and Reachability on Low Treewidth Graphs Optimal Tree-decomposition Balancing and Reachability on Low Treewidth Graphs Krishnendu Chatterjee Rasmus Ibsen-Jensen Andreas Pavlogiannis IST Austria Abstract. We consider graphs with n nodes together

More information

ENS Lyon Camp. Day 2. Basic group. Cartesian Tree. 26 October

ENS Lyon Camp. Day 2. Basic group. Cartesian Tree. 26 October ENS Lyon Camp. Day 2. Basic group. Cartesian Tree. 26 October Contents 1 Cartesian Tree. Definition. 1 2 Cartesian Tree. Construction 1 3 Cartesian Tree. Operations. 2 3.1 Split............................................

More information

Games and Isomorphism in Finite Model Theory. Part 1

Games and Isomorphism in Finite Model Theory. Part 1 1 Games and Isomorphism in Finite Model Theory Part 1 Anuj Dawar University of Cambridge Games Winter School, Champéry, 6 February 2013 2 Model Comparison Games Games in Finite Model Theory are generally

More information

Monadic Datalog Containment on Trees Using the Descendant-Axis

Monadic Datalog Containment on Trees Using the Descendant-Axis Monadic Datalog Containment on Trees Using the Descendant-Axis André Frochaux and Nicole Schweikardt Institut für Informatik, Humboldt-Universität zu Berlin {frochaua,schweikn}@informatik.hu-berlin.de

More information

Finite Model Theory Tutorial. Lecture 1

Finite Model Theory Tutorial. Lecture 1 1 Finite Model Theory Tutorial Lecture 1 Anuj Dawar University of Cambridge Modnet Summer School, Manchester, 14-18 July 2008 2 Finite Model Theory In the 1980s, the term finite model theory came to be

More information

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99 98 First-Order Logic 6.6 The Model Existence Game In this section we learn a new game associated with trying to construct a model for a sentence or a set of sentences. This is of fundamental importance

More information

A GEOMETRIC ZERO-ONE LAW

A GEOMETRIC ZERO-ONE LAW A GEOMETRIC ZERO-ONE LAW ROBERT H. GILMAN, YURI GUREVICH, AND ALEXEI MIASNIKOV Abstract. Each relational structure X has an associated Gaifman graph, which endows X with the properties of a graph. If x

More information

Infinite and Finite Model Theory Part II

Infinite and Finite Model Theory Part II Infinite and Finite Model Theory Part II Anuj Dawar Computer Laboratory University of Cambridge Lent 2002 3/2002 0 Finite Model Theory Finite Model Theory motivated by computational issues; relationship

More information

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 11: From random walk to quantum walk We now turn to a second major topic in quantum algorithms, the concept

More information

Languages, logics and automata

Languages, logics and automata Languages, logics and automata Anca Muscholl LaBRI, Bordeaux, France EWM summer school, Leiden 2011 1 / 89 Before all that.. Sonia Kowalewskaya Emmy Noether Julia Robinson All this attention has been gratifying

More information

Extreme Point Solutions for Infinite Network Flow Problems

Extreme Point Solutions for Infinite Network Flow Problems Extreme Point Solutions for Infinite Network Flow Problems H. Edwin Romeijn Dushyant Sharma Robert L. Smith January 3, 004 Abstract We study capacitated network flow problems with supplies and demands

More information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

Well-foundedness of Countable Ordinals and the Hydra Game

Well-foundedness of Countable Ordinals and the Hydra Game Well-foundedness of Countable Ordinals and the Hydra Game Noah Schoem September 11, 2014 1 Abstract An argument involving the Hydra game shows why ACA 0 is insufficient for a theory of ordinals in which

More information

Binary Decision Diagrams

Binary Decision Diagrams Binary Decision Diagrams Logic Circuits Design Seminars WS2010/2011, Lecture 2 Ing. Petr Fišer, Ph.D. Department of Digital Design Faculty of Information Technology Czech Technical University in Prague

More information

Binary Search Trees. Lecture 29 Section Robb T. Koether. Hampden-Sydney College. Fri, Apr 8, 2016

Binary Search Trees. Lecture 29 Section Robb T. Koether. Hampden-Sydney College. Fri, Apr 8, 2016 Binary Search Trees Lecture 29 Section 19.2 Robb T. Koether Hampden-Sydney College Fri, Apr 8, 2016 Robb T. Koether (Hampden-Sydney College) Binary Search Trees Fri, Apr 8, 2016 1 / 40 1 Binary Search

More information

Assignment 5: Solutions

Assignment 5: Solutions Comp 21: Algorithms and Data Structures Assignment : Solutions 1. Heaps. (a) First we remove the minimum key 1 (which we know is located at the root of the heap). We then replace it by the key in the position

More information

Datalog and Constraint Satisfaction with Infinite Templates

Datalog and Constraint Satisfaction with Infinite Templates Datalog and Constraint Satisfaction with Infinite Templates Manuel Bodirsky 1 and Víctor Dalmau 2 1 CNRS/LIX, École Polytechnique, bodirsky@lix.polytechnique.fr 2 Universitat Pompeu Fabra, victor.dalmau@upf.edu

More information

Fundamental Algorithms

Fundamental Algorithms Fundamental Algorithms Chapter 5: Searching Michael Bader Winter 2014/15 Chapter 5: Searching, Winter 2014/15 1 Searching Definition (Search Problem) Input: a sequence or set A of n elements (objects)

More information

Hierarchical Matrices. Jon Cockayne April 18, 2017

Hierarchical Matrices. Jon Cockayne April 18, 2017 Hierarchical Matrices Jon Cockayne April 18, 2017 1 Sources Introduction to Hierarchical Matrices with Applications [Börm et al., 2003] 2 Sources Introduction to Hierarchical Matrices with Applications

More information

Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements.

Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements. Lecture: Hélène Barcelo Analytic Combinatorics ECCO 202, Bogotá Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements.. Tuesday, June 2, 202 Combinatorics is the study of finite structures that

More information

FIRST ORDER SENTENCES ON G(n, p), ZERO-ONE LAWS, ALMOST SURE AND COMPLETE THEORIES ON SPARSE RANDOM GRAPHS

FIRST ORDER SENTENCES ON G(n, p), ZERO-ONE LAWS, ALMOST SURE AND COMPLETE THEORIES ON SPARSE RANDOM GRAPHS FIRST ORDER SENTENCES ON G(n, p), ZERO-ONE LAWS, ALMOST SURE AND COMPLETE THEORIES ON SPARSE RANDOM GRAPHS MOUMANTI PODDER 1. First order theory on G(n, p) We start with a very simple property of G(n,

More information

Spectra of Monadic Second-Order Formulas with One Unary Function

Spectra of Monadic Second-Order Formulas with One Unary Function Spectra of Monadic Second-Order Formulas with One Unary Function Yuri Gurevich Saharon Shelah Abstract We establish the eventual periodicity of the spectrum of any monadic second-order formula where (i)

More information

k-protected VERTICES IN BINARY SEARCH TREES

k-protected VERTICES IN BINARY SEARCH TREES k-protected VERTICES IN BINARY SEARCH TREES MIKLÓS BÓNA Abstract. We show that for every k, the probability that a randomly selected vertex of a random binary search tree on n nodes is at distance k from

More information

Chapter 5 Data Structures Algorithm Theory WS 2017/18 Fabian Kuhn

Chapter 5 Data Structures Algorithm Theory WS 2017/18 Fabian Kuhn Chapter 5 Data Structures Algorithm Theory WS 2017/18 Fabian Kuhn Priority Queue / Heap Stores (key,data) pairs (like dictionary) But, different set of operations: Initialize-Heap: creates new empty heap

More information

The Lefthanded Local Lemma characterizes chordal dependency graphs

The Lefthanded Local Lemma characterizes chordal dependency graphs The Lefthanded Local Lemma characterizes chordal dependency graphs Wesley Pegden March 30, 2012 Abstract Shearer gave a general theorem characterizing the family L of dependency graphs labeled with probabilities

More information

CSC236H Lecture 2. Ilir Dema. September 19, 2018

CSC236H Lecture 2. Ilir Dema. September 19, 2018 CSC236H Lecture 2 Ilir Dema September 19, 2018 Simple Induction Useful to prove statements depending on natural numbers Define a predicate P(n) Prove the base case P(b) Prove that for all n b, P(n) P(n

More information

Complexity (Pre Lecture)

Complexity (Pre Lecture) Complexity (Pre Lecture) Dr. Neil T. Dantam CSCI-561, Colorado School of Mines Fall 2018 Dantam (Mines CSCI-561) Complexity (Pre Lecture) Fall 2018 1 / 70 Why? What can we always compute efficiently? What

More information

EXACT DOUBLE DOMINATION IN GRAPHS

EXACT DOUBLE DOMINATION IN GRAPHS Discussiones Mathematicae Graph Theory 25 (2005 ) 291 302 EXACT DOUBLE DOMINATION IN GRAPHS Mustapha Chellali Department of Mathematics, University of Blida B.P. 270, Blida, Algeria e-mail: mchellali@hotmail.com

More information

POLYNOMIAL SPACE QSAT. Games. Polynomial space cont d

POLYNOMIAL SPACE QSAT. Games. Polynomial space cont d T-79.5103 / Autumn 2008 Polynomial Space 1 T-79.5103 / Autumn 2008 Polynomial Space 3 POLYNOMIAL SPACE Polynomial space cont d Polynomial space-bounded computation has a variety of alternative characterizations

More information

Analysis of Algorithms. Outline 1 Introduction Basic Definitions Ordered Trees. Fibonacci Heaps. Andres Mendez-Vazquez. October 29, Notes.

Analysis of Algorithms. Outline 1 Introduction Basic Definitions Ordered Trees. Fibonacci Heaps. Andres Mendez-Vazquez. October 29, Notes. Analysis of Algorithms Fibonacci Heaps Andres Mendez-Vazquez October 29, 2015 1 / 119 Outline 1 Introduction Basic Definitions Ordered Trees 2 Binomial Trees Example 3 Fibonacci Heap Operations Fibonacci

More information

HW #4. (mostly by) Salim Sarımurat. 1) Insert 6 2) Insert 8 3) Insert 30. 4) Insert S a.

HW #4. (mostly by) Salim Sarımurat. 1) Insert 6 2) Insert 8 3) Insert 30. 4) Insert S a. HW #4 (mostly by) Salim Sarımurat 04.12.2009 S. 1. 1. a. 1) Insert 6 2) Insert 8 3) Insert 30 4) Insert 40 2 5) Insert 50 6) Insert 61 7) Insert 70 1. b. 1) Insert 12 2) Insert 29 3) Insert 30 4) Insert

More information

FIRST-ORDER AND TEMPORAL LOGICS FOR NESTED WORDS

FIRST-ORDER AND TEMPORAL LOGICS FOR NESTED WORDS FIRST-ORDER AND TEMPORAL LOGICS FOR NESTED WORDS RAJEEV ALUR, MARCELO ARENAS, PABLO BARCELÓ, KOUSHA ETESSAMI, NEIL IMMERMAN, AND LEONID LIBKIN Department of Computer and Information Science, University

More information

Rewriting XPath Queries Using Materialized XPath Views

Rewriting XPath Queries Using Materialized XPath Views Rewriting XPath Queries Using Materialized XPath Views Prakash Ramanan EECS Department Wichita State University Wichita, KS 67260 0083 ramanan@cs.wichita.edu Abstract Let XP(/, //, [ ]) be the fragment

More information

Heaps Induction. Heaps. Heaps. Tirgul 6

Heaps Induction. Heaps. Heaps. Tirgul 6 Tirgul 6 Induction A binary heap is a nearly complete binary tree stored in an array object In a max heap, the value of each node that of its children (In a min heap, the value of each node that of its

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

Reckhow s Theorem. Yuval Filmus. November 2010

Reckhow s Theorem. Yuval Filmus. November 2010 Reckhow s Theorem Yuval Filmus November 2010 1 Introduction In 5.3.1 of his thesis [2], Reckhow showed that any two Frege systems p-simulate each other. One of the difficulties involves translation of

More information

Exercises 1 - Solutions

Exercises 1 - Solutions Exercises 1 - Solutions SAV 2013 1 PL validity For each of the following propositional logic formulae determine whether it is valid or not. If it is valid prove it, otherwise give a counterexample. Note

More information

First-Order Predicate Logic. Basics

First-Order Predicate Logic. Basics First-Order Predicate Logic Basics 1 Syntax of predicate logic: terms A variable is a symbol of the form x i where i = 1, 2, 3.... A function symbol is of the form fi k where i = 1, 2, 3... und k = 0,

More information

A short tutorial on order-invariant first-order logic

A short tutorial on order-invariant first-order logic A short tutorial on order-invariant first-order logic Nicole Schweikardt Goethe-Universität Frankfurt am Main, Germany schweika@informatik.uni-frankfurt.de Abstract. This paper gives a short introduction

More information

Even More on Dynamic Programming

Even More on Dynamic Programming Algorithms & Models of Computation CS/ECE 374, Fall 2017 Even More on Dynamic Programming Lecture 15 Thursday, October 19, 2017 Sariel Har-Peled (UIUC) CS374 1 Fall 2017 1 / 26 Part I Longest Common Subsequence

More information

Descriptive Complexity: An overview of the field, key results, techniques, and applications.

Descriptive Complexity: An overview of the field, key results, techniques, and applications. Descriptive Complexity: An overview of the field, key results, techniques, and applications. Ryan Flannery http://cs.uc.edu/~flannert 22 May 2009 Abstract In 1974 Ronald Fagin proved that problems in the

More information

An n! Lower Bound On Formula Size

An n! Lower Bound On Formula Size An n! Lower Bound On Formula Size Micah Adler Computer Science Dept. UMass, Amherst, USA http://www.cs.umass.edu/ micah Neil Immerman Computer Science Dept. UMass, Amherst, USA http://www.cs.umass.edu/

More information

Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from

Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from 1 pile (any of the two). The player who removes the

More information

On the Isomorphism Problem for Decision Trees and Decision Lists

On the Isomorphism Problem for Decision Trees and Decision Lists On the Isomorphism Problem for Decision Trees and Decision Lists V. Arvind 1, Johannes Köbler 2, Sebastian Kuhnert 2, Gaurav Rattan 1, and Yadu Vasudev 1 1 The Institute of Mathematical Sciences, Chennai,

More information

Algorithms for quantum computers. Andrew Childs Department of Combinatorics & Optimization and Institute for Quantum Computing University of Waterloo

Algorithms for quantum computers. Andrew Childs Department of Combinatorics & Optimization and Institute for Quantum Computing University of Waterloo Algorithms for quantum computers Andrew Childs Department of Combinatorics & Optimization and Institute for Quantum Computing University of Waterloo What is a computer? A means for performing calculations

More information

Model Theory on Finite Structures

Model Theory on Finite Structures Model Theory on Finite Structures Anuj Dawar Department of Computer Science University of Wales Swansea Swansea, SA2 8PP, U.K. e-mail: a.dawar@swansea.ac.uk 1 Introduction In mathematical logic, the notions

More information

A An Overview of Complexity Theory for the Algorithm Designer

A An Overview of Complexity Theory for the Algorithm Designer A An Overview of Complexity Theory for the Algorithm Designer A.1 Certificates and the class NP A decision problem is one whose answer is either yes or no. Two examples are: SAT: Given a Boolean formula

More information

ON THE COMPUTABILITY OF PERFECT SUBSETS OF SETS WITH POSITIVE MEASURE

ON THE COMPUTABILITY OF PERFECT SUBSETS OF SETS WITH POSITIVE MEASURE ON THE COMPUTABILITY OF PERFECT SUBSETS OF SETS WITH POSITIVE MEASURE C. T. CHONG, WEI LI, WEI WANG, AND YUE YANG Abstract. A set X 2 ω with positive measure contains a perfect subset. We study such perfect

More information

Classes of Boolean Functions

Classes of Boolean Functions Classes of Boolean Functions Nader H. Bshouty Eyal Kushilevitz Abstract Here we give classes of Boolean functions that considered in COLT. Classes of Functions Here we introduce the basic classes of functions

More information

Rabin Theory and Game Automata An Introduction

Rabin Theory and Game Automata An Introduction Rabin Theory and Game Automata An Introduction Ting Zhang Stanford University November 2002 Logic Seminar 1 Outline 1. Monadic second-order theory of two successors (S2S) 2. Rabin Automata 3. Game Automata

More information

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Overview Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://andrew.cmu.edu/

More information

Decision-Theoretic Specification of Credal Networks: A Unified Language for Uncertain Modeling with Sets of Bayesian Networks

Decision-Theoretic Specification of Credal Networks: A Unified Language for Uncertain Modeling with Sets of Bayesian Networks Decision-Theoretic Specification of Credal Networks: A Unified Language for Uncertain Modeling with Sets of Bayesian Networks Alessandro Antonucci Marco Zaffalon IDSIA, Istituto Dalle Molle di Studi sull

More information

Using first-order logic, formalize the following knowledge:

Using first-order logic, formalize the following knowledge: Probabilistic Artificial Intelligence Final Exam Feb 2, 2016 Time limit: 120 minutes Number of pages: 19 Total points: 100 You can use the back of the pages if you run out of space. Collaboration on the

More information

Part 2: First-Order Logic

Part 2: First-Order Logic Part 2: First-Order Logic First-order logic formalizes fundamental mathematical concepts is expressive (Turing-complete) is not too expressive (e. g. not axiomatizable: natural numbers, uncountable sets)

More information

Lecture 2: Proof of Switching Lemma

Lecture 2: Proof of Switching Lemma Lecture 2: oof of Switching Lemma Yuan Li June 25, 2014 1 Decision Tree Instead of bounding the probability that f can be written as some s-dnf, we estimate the probability that f can be computed by a

More information

Applied Automata Theory

Applied Automata Theory Applied Automata Theory Roland Meyer TU Kaiserslautern Roland Meyer (TU KL) Applied Automata Theory (WiSe 2013) 1 / 161 Table of Contents I 1 Regular Languages and Finite Automata Regular Languages Finite

More information

Hard-Core Model on Random Graphs

Hard-Core Model on Random Graphs Hard-Core Model on Random Graphs Antar Bandyopadhyay Theoretical Statistics and Mathematics Unit Seminar Theoretical Statistics and Mathematics Unit Indian Statistical Institute, New Delhi Centre New Delhi,

More information

Ogden s Lemma for ET0L Languages

Ogden s Lemma for ET0L Languages March 2012 Overview Introduction to ET0Ls 1 Introduction to ET0Ls Definition Motivation 2 The original lemma Generalising to ET0Ls 3 Direct application Corollary 4 What are ET0Ls? Introduction to ET0Ls

More information

PAC-learning, VC Dimension and Margin-based Bounds

PAC-learning, VC Dimension and Margin-based Bounds More details: General: http://www.learning-with-kernels.org/ Example of more complex bounds: http://www.research.ibm.com/people/t/tzhang/papers/jmlr02_cover.ps.gz PAC-learning, VC Dimension and Margin-based

More information

Outline. Computer Science 331. Cost of Binary Search Tree Operations. Bounds on Height: Worst- and Average-Case

Outline. Computer Science 331. Cost of Binary Search Tree Operations. Bounds on Height: Worst- and Average-Case Outline Computer Science Average Case Analysis: Binary Search Trees Mike Jacobson Department of Computer Science University of Calgary Lecture #7 Motivation and Objective Definition 4 Mike Jacobson (University

More information

Locality of queries definable in invariant first-order logic with arbitrary built-in predicates

Locality of queries definable in invariant first-order logic with arbitrary built-in predicates Locality of queries definable in invariant first-order logic with arbitrary built-in predicates Matthew Anderson 1,, Dieter van Melkebeek 1,, Nicole Schweikardt 2, Luc Segoufin 3 1 University of Wisconsin

More information

The Tenacity of Zero-One Laws

The Tenacity of Zero-One Laws The Tenacity of Zero-One Laws Joel H. Spencer Courant Institute New York University 251 Mercer Street New York, NY 10012 spencer@cs.nyu.edu Katherine St. John Dept of Math & Computer Science Graduate Center

More information

Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms

Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms Approximation Algorithms Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms Jens Egeblad November 29th, 2006 Agenda First lesson (Asymptotic Approximation): Bin-Packing

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Jan Stelovsky based on slides by Dr. Baek and Dr. Still Originals by Dr. M. P. Frank and Dr. J.L. Gross Provided by

More information

Binary Decision Diagrams. Graphs. Boolean Functions

Binary Decision Diagrams. Graphs. Boolean Functions Binary Decision Diagrams Graphs Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant

More information

Proof of Theorem 1. Tao Lei CSAIL,MIT. Here we give the proofs of Theorem 1 and other necessary lemmas or corollaries.

Proof of Theorem 1. Tao Lei CSAIL,MIT. Here we give the proofs of Theorem 1 and other necessary lemmas or corollaries. Proof of Theorem 1 Tao Lei CSAIL,MIT Here we give the proofs of Theorem 1 and other necessary lemmas or corollaries. Lemma 1 (Reachability) Any two trees y, y are reachable to each other. Specifically,

More information

Random Dyadic Tilings of the Unit Square

Random Dyadic Tilings of the Unit Square Random Dyadic Tilings of the Unit Square Svante Janson, Dana Randall and Joel Spencer June 24, 2002 Abstract A dyadic rectangle is a set of the form R = [a2 s, (a+1)2 s ] [b2 t, (b+1)2 t ], where s and

More information

THE COMPLEXITY OF RANDOM ORDERED STRUCTURES

THE COMPLEXITY OF RANDOM ORDERED STRUCTURES THE COMPLEXITY OF RANDOM ORDERED STRUCTURES JOEL H. SPENCER AND KATHERINE ST. JOHN Abstract. We show that for random bit strings, U p (n), with probability, p = 1 2, the first-order quantifier depth D(U

More information

CMPSCI 240: Reasoning about Uncertainty

CMPSCI 240: Reasoning about Uncertainty CMPSCI 240: Reasoning about Uncertainty Lecture 4: Sequential experiments Andrew McGregor University of Massachusetts Last Compiled: February 2, 2017 Outline 1 Recap 2 Sequential Experiments 3 Total Probability

More information

An n! Lower Bound on Formula Size

An n! Lower Bound on Formula Size An n! Lower Bound on Formula Size MICAH ADLER and NEIL IMMERMAN UMass We introduce a new Ehrenfeucht Fraïssé game for proving lower bounds on the size of first-order formulas. Up until now, such games

More information

Circuits. Lecture 11 Uniform Circuit Complexity

Circuits. Lecture 11 Uniform Circuit Complexity Circuits Lecture 11 Uniform Circuit Complexity 1 Recall 2 Recall Non-uniform complexity 2 Recall Non-uniform complexity P/1 Decidable 2 Recall Non-uniform complexity P/1 Decidable NP P/log NP = P 2 Recall

More information

Finite variable logics

Finite variable logics Finite variable logics Ian Hodkinson Department of Computing Imperial College 180 Queen s Gate, London SW7 2BZ, England. Email: imh@doc.ic.ac.uk Abstract In this survey article we discuss some aspects

More information