Compu&ng with Chemical Reac&on Networks. Nikhil Gopalkrishnan
|
|
- Beverley Brooks
- 6 years ago
- Views:
Transcription
1 Compu&ng with Chemical Reac&on Networks Nikhil Gopalkrishnan
2 The programming language of chemical kinetics Use the language of coupled chemical reactions prescriptively as a programming language for engineering new systems (rather than descriptively as a modeling language for existing systems) These gloves came free with my toilet brush! (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 2
3 Chemical Reaction Networks (CRN) syntax: we use only stochastic CRNs in this talk 4 (From presenta&on of Chen, Doty, Soloveichik, Determinis&c
4 (From presenta&on of Chen, Doty, Soloveichik, Determinis&c
5 (From presenta&on of Chen, Doty, Soloveichik, Determinis&c
6 Cells are smart: controlled by signaling and regulatory networks Human neutrophil chasing a bacterium through red blood cells source: David Rogers, Vanderbilt University Want to understand principles of chemical computation Engineer embedded controllers for biochemical systems, wet robots, smart drugs, etc. (From presenta&on of Chen, Doty, Soloveichik, Determinis&c
7 Are CRNs an implementable programming language? I don't believe that every crazy CRN you write down actually describes real chemicals! Response to objection: Soloveichik, Seelig, Winfree [PNAS 2010] found a physical implementation (high-accuracy approximation) of any CRN, using nucleic-acid strand displacement cascades (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 7
8 Formal Defini&on of Discrete (Stochas&c) CRN Model Finite set of species {X, Y, Z, } A state is a nonnegative integer vector c indicating the count (number of molecules) of each species: write counts as # c X, # c Y, Finite set of reactions: e.g. X W + Y + Z A + B C (assume all rate constants are 1, and all reactions are unimolecular or bimolecular) (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 8
9 Stochas(c Chemical Reac(on Network Stochastic Chemical Reaction Network(SCRN): defined as a finite set of d reactions acting on a finite number m of species. Each reaction α is defined as: A vector of nonnegative integers specifying the stoichiometry of the reactants, r α = (r α,1,..., r α,m ), Together with another vector of nonnegative integers specifying the stoichiometry of the products, p α = (p α, 1,..., p α,m ). The stoichiometry is the nonnegative number of copies of each species required for the reaction to take place, or 9 produced when the reaction does take place.
10 Stochas(c Chemical Reac(on Network We will use capital letters to refer to various species and we will use standard chemical notation to describe reactions. Example: The reaction A + D A + 2E consumes 1 molecule of species A and 1 molecule of species D and produces 1 molecule of species A and 2 molecules of species E. In this reaction, A acts catalytically because it must be present for the reaction to occur, but its number is unchanged when the reaction does occur. 10
11 Stochas(c Chemical Reac(on Network The state of the network: defined as a vector of nonnegative integers specifying the quantities present of each species, A = (q 1,..., q m ). A reaction is possible in state A: Only if there are enough reactants present, that is, i, q i r α,i. When reaction α occurs in state A, The reactant molecules are used up and the products are produced. The new state is: B = A α = (q 1 r α,1 + p α,1,..., q m r α,m + p α,m ). 11
12 Stochas(c Chemical Reac(on Network Reaction Notation: We write A C B if there is some reaction in the Stochastic Chemical Reaction Network C that can change A to B. We write C* for the reflexive transitive closure of C. Probabilistic Reactions: We write Pr[A C B] to indicate the probability that, given that the state is initially A, the next reaction will transition to the state to B. Pr[A B] refers to the probability that at some time in the future, the system is in state B. 12
13 Discrete (Stochas&c) CRN Model System evolves via a continuous time Poisson process: Reaction j A #A Propensity ρ j A + B (1/v) #A #B v = volume A + A (1/v) #A (#A 1) / 2 Time until next reaction is exponential random variable with rate Σ j ρ j (and expected value 1 / Σ j ρ j ) Probability that the next reaction is j* is ρ j* / Σ j ρ j 13
14 Stochas(c Chemical Reac(on Networks Papers Computation With Finite Stochastic Chemical Reaction Networks (Soloveichik,Cook, Winfree, Bruck, 1985) DNA as a universal substrate for chemical kinetics(soloveichik, Seelig, Winfree, PNAS2010) Programmability of Chemical Reaction Networks(Chen, Doty, Soloveichik) 14
15 Simula&on of Boolean circuits using CRNs Programmability of Chemical Reac(on Networks(Chen, Doty, Soloveichik) Given: Boolean Circuit: The Boolean Circuit suffices to use only one type of Boolean opera&on: NAND: Construct: Simula(ng CRN: It determinis&cally computes the same func&on as the given Boolean circuit, despite the uncontrollable order in which reac&ons occur. The presence of a single A i molecule represents that x i = 0, the presence of a single B i molecule represents that x i = 1, and the presence of neither indicates that x i has not yet been computed. If one starts with a single A or B molecule for each input variable, then with probability 1 the correct species will be eventually produced for each output variable.
16 Computa&ons using CRNs Programmability of Chemical Reac(on Networks(Chen, Doty, Soloveichik) Four representa(ons of the same computa(on. Star&ng with 1 A and n C s, the maximum number of D s that can be produced is 2n. (a) A Stochas(c Chemical Reac(on Network: (b) A Petri net: Each circle corresponds to a place (a molecular species), and each black bar corresponds to a transi,on (a reac(on). (c) A Vector Addi(on System: Note that dimensions F and G must be added to the Vector Addi(on System to capture the two reac(ons that are catalyzed by A and B. (d) A Fractran program: The numerators correspond to the reac(on products, and the denominators correspond to the reactants. The first seven prime numbers are used here in correspondence to the lemers A through G in the other examples. As in the previous example, F (13) and G (17) must be introduced here to avoid unreduced frac(ons for the catalyzed reac(ons
17 Determinis&c Func&on Computa&on with Chemical Reac&on Networks Ho-Lin Chen 1, David Doty 2, David Soloveichik 3 1 National Taiwan University 2 Caltech 3 UCSF 17
18 Determinis&c func&on computa&on with CRNs (defini&on) task: compute function z = f(x) (x N k, z N l ) initial state: input counts X 1, X 2,, X k (and fixed counts of non-input species) output: counts of Z 1, Z 2,, Z l output-stable state: all states reachable from it have same counts of Z 1, Z 2,, Z l deterministic computation: a correct output-stable state always reached in the limit t (infinitely often reachable states are infinitely often reached) (From presenta&on of Chen, Doty, Soloveichik, Determinis&c
19 Example 1 of Determinis&c func&on computa&on with CRNs z f(x) = 2x start with x (input amount) of X X Z + Z (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 19
20 Example 2 of Determinis&c func&on computa&on with CRNs f(x 1,x 2 ) = if x 1 > x 2 then y = 1 else y = 0 start with 1 N and input amounts of X 1,X 2 X 1 + N Y X 2 + Y N (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 20
21 Example 3 of Determinis&c func&on computa&on with CRNs f(x 1,x 2 ) = max {x 1,x 2 } start with input amounts of X 1,X 2 Z X 1 Z 1 + Z X 2 Z 2 + Z Z 1 + Z 2 K K + Z Ø (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 21
22 Other func&ons? f(x) = x/2? f(x) = x 2? f(x 1,x 2 ) = x 1 x 2? f(x) = 2 x? (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 22
23 Main result Theorem: Functions f: N k N l deterministically computable by CRNs are precisely those with a semilinear graph. graph(f) = { (x,z) N k+l f(x)=z } A N k+l is linear if there are vectors b, u 1,, u p so that A = { b + n 1 u n p u p n 1,...,n p N } A is semilinear if it is a finite union of linear sets. Intuitively, semilinear functions are piecewise linear functions with a finite number of pieces (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 23
24 Non-semilinear examples Others: f(x) = x 2 f(x) = 2 x (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 24
25 How do we show this? Theorem [Angluin, Aspnes, Eisenstat, PODC 2006]: The predicates decidable by CRNs are precisely the semilinear predicates. We connect computation of functions (integer output) to computation of predicates (YES/NO output) (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 25
26 Determinis&c predicate computa&on with stochas&c CRNs: task: decide predicate b = φ(x) (x N k, b {yes,no}) initial state: input counts X 1, X 2,, X k (and fixed counts of non-input species) output: either #Y > 0 and #N = 0 (yes) or #Y = 0 and #N > 0 (no) output-stable state: all states reachable from it have same yes/no answer set decided by CRN: S yes = { x N k φ(x) = yes } (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 26
27 Theorem [Angluin, Aspnes, Eisenstat, PODC 2006]: The sets decidable by CRNs are precisely the semilinear sets. Two direc(ons of proof Only semilinear functions can be computed: f computed by CRN C graph(f) decided by CRN D All semilinear functions can be computed: graph(f) decided by CRN D f computed by CRN C (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 27
28 f computed by CRN C graph(f) decided by CRN D Want to decide, given input (x,z), is f(x) = z? Keep track of total number of Z's ever produced or consumed: A + B Z + W A + Z B becomes A + B Z + W + Z P becomes A + Z B + Z C Initial state has z copies of Z C Z P + Z C Y Z P + Y Z P + N Y + N Y Z C + Y Z C + N If Z P or Z C are left over, change answer to NO Eventually all Z P and Z C go away (if equal) or one is left over (if unequal) If neither is left over, change answer to YES (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 28
29 graph(f) decided by CRN D f computed by CRN C Want: given x copies of X, produce f(x) copies of Z If graph(f) = { (x,z) N 2 f(x) = z } is semilinear, then so is the set F diff = { (x,z P,z C ) N 3 f(x) = z P z C } So some CRN D diff decides F diff Start with 0 of Z, Z P, Z C, and add to D diff the reactions N only present when D diff thinks answer is NO N N + Z P + Z N + Z N + Z C (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 29
30 CRN Simula(ons of: Minsky s register machine (RM) Finite state machine with a fixed number of registers Each register can store a non-nega&ve integer Inc(i,r,j) : Increment register r and move from state i to j Dec(I,r,j,k): Decrement register r if r > 0 and move from state i to j; else move to state k
31 Minsky s register machine (RM) Finite state machine with a fixed number of registers Each register can store a non-nega&ve integer Inc(i,r,j) : Increment register r and move from state i to j Dec(I,r,j,k): Decrement register r if r > 0 and move from state i to j; else move to state k A register machine comparing the value of register R 1 to R 2. If R 1 R 2, then it outputs 1 in register R 3. If R 1 > R 2 then it outputs 2 in register R 3. The start state is indicated with start and the hal&ng states are those without outgoing arrows
32 Computa&ons using CRNs Programmability of Chemical Reac(on Networks(Chen, Doty, Soloveichik) Simula(ng a register machine: (a) The communica(on between the clock and the register logic modules is through single molecules of species C and T. (b) The clock module is responsible for producing a C molecule once every so oden. The clock module is designed so that the length of &me between receiving a T and producing a C slowly increases throughout the computa&on, thus slowing down the register logic module to help it avoid error. The more A s there are, the longer the delay. The clock starts out with n 0 A s and one each of B, Bʹ, and Bʹʹ and T. Every clock cycle not only produces a C, but increases the number of A s by one. Thus, at the beginning of the kth cycle, there are n = k + n 0 molecules of A. (c) The register logic module simulates the register machine state transi(ons. The register logic module starts out with quan&&es of molec ules of R i indica&ng the star&ng value of register i, and a single molecule of species S a where a is the start state of the register machine. Note that at all &mes the en&re system contains at most a single molecule of any species other than the A and R i species. All rate constants are 1 (The construc&on will work with any rate constants)
33 Computa&ons using CRNs Programmability of Chemical Reac(on Networks(Chen, Doty, Soloveichik) Simula(ng a register machine: The state diagram for a single decrement opera&on when: There are n A s and the register to be decremented holds the value 1, and The corresponding system of differen&al equa&ons governing the instantaneous probabili&es of being in a given state. The numbers on the arrows are the transi&on rates. The instantaneous probability of being in state T is s, in state T ʹ is sʹ, and in state T ʹʹ is sʹʹ. The instantaneous probability of being in the error-possible state is p and the probability of being in the no-error state is q
34 What if we allow error? Any function computable by an algorithm is computable by a randomized CRN with arbitrarily small positive probability of error. [Soloveichik, Cook, Winfree, Bruck, Natural Computing 2008] [Angluin, Aspnes, Eisenstat, Distributed Computing 2006] Moral: disallowing error hurts chemical algorithms much more than it hurts conventional algorithms randomized finite-state algorithms deterministic finite-state algorithms finite-state computable deterministic CRNs semilinear deterministic poly-time (P) algorithms randomized poly-time (BPP) algorithms polynomial-time computable exponential-time computable randomized algorithms deterministic algorithms randomized CRNs algorithmically computable function's computational complexity (From presenta&on of Chen, Doty, Soloveichik, Determinis&c 34 18
35 Computa(on With Finite Stochas(c Chemical Reac(on Networks (Soloveichik,Cook, Winfree, Bruck, 1985) SCRNs are Turing universal and thus can compute any computable func&on without error, reac4on. assuming fast reac4ons are guaranteed to occur before any slow SCRNs can compute any computable func(on with probability of error less than ε for any ε > 0, but for ε = 0 universal computa4on is impossible. SCRNs are NOT capable of universal computa(on with any fixed bounded probability of success, if each reac4on s probability of occuring depends only on what reac4ons are possible (but not on the concentra4ons). SCRNs are capable of compu(ng exactly the class of primi(ve recursive func(ons without error, if we take the result of the longest possible sequence of reac4ons as the answer. The (me and space requirements for Stochas&c Chemical Reac&on Networks doing computa&on, compared to a Turing Machine, are a simple polynomial slowdown in 4me, but an exponen4al increase in space.
36 Computa(on With Finite Stochas(c Chemical Reac(on Networks (Soloveichik,Cook, Winfree, Bruck, 1985) Turing-universal computa&on using molecular counts Fast and reliable Small number of dis&nct molecular species Probability of error can be made arbitrarily small (> 0) by increasing molecular counts
37 Naive Simula&on of Register Machine (RM) by Stochas&c CRN Error Worse when M r = 1 Error per step = K 2 / (K 1 /v+k 2 ) K 1 = rate constant for dec 1 K 2 = rate constant for dec 2
38 Improved Bounded RM Simula&on Rxn Logical function (inc) (dec 1 ) (dec 2 ) Bounded RM simula(on. Species C (#C = 1) acts a dummy catalyst to ensure that all reac&ons are bimolecular, simplifying the analysis of how the simula&on scales with the volume. Ini(al molecular counts are: if i is the start state then #S = 1, i #S = 0 for j i, and j #M is the ini&al value of register r. r
39 Improved Bounded RM Simula&on Rxn Catalysts Clock module for the RM simula(on: Dummy Catalyst A : acts as a dummy catalyst to ensure that all reac&ons in the clock module are bimolecular and thus scale equivalently with the volume, ensuring that the error probability is independent of the volume. Clock Module: The clock module maintains the average concentra&on of C i at approximately (#A ) i /(#A) i 1. Ini(al molecular counts are: #C i = 1, and #C 1 = = #C i 1 = 0. For the RM simula&on #A = 1, and #A = Θ(1/ε i/(i 1) ).
Molecular Programming Models. Based on notes by Dave Doty
Molecular Programming Models Based on notes by Dave Doty Outline Stable predicate decidability Stably computable predicates == semilinear predicates (and stably computable func
More informationProgrammability of Chemical Reaction Networks
Programmability of Chemical Reaction Networks Matthew Cook 1, David Soloveichik 2, Erik Winfree 2, and Jehoshua Bruck 2 1 Institute of Neuroinformatics, UZH, ETH Zürich, Switzerland cook@ini.phys.ethz.ch
More informationDeterministic Function Computation with Chemical Reaction Networks
Deterministic Function Computation with Chemical Reaction Networks Ho-Lin Chen David Doty David Soloveichik Abstract Chemical reaction networks (CRNs) formally model chemistry in a well-mixed solution.
More informationSpeed faults in computation by chemical reaction networks
Speed faults in computation by chemical reaction networks Ho-Lin Chen Rachel Cummings David Doty David Soloveichik Abstract Chemical reaction networks (CRNs) formally model chemistry in a well-mixed solution.
More informationCOMPUTATION WITH FINITE STOCHASTIC CHEMICAL REACTION NETWORKS
COMPUTATION WITH FINITE STOCHASTIC CHEMICAL REACTION NETWORKS DAVID SOLOVEICHIK, MATTHEW COOK, ERIK WINFREE, AND JEHOSHUA BRUCK Abstract. A highly desired part of the synthetic biology toolbox is an embedded
More informationChemical Reaction Networks for Computing Polynomials
Chemical Reaction Networks for Computing Polynomials Ahmad Salehi, Keshab Parhi, and Marc D. Riedel University of Minnesota Abstract. Chemical reaction networks (CRNs) are a fundamental model in the study
More informationSpeed faults in computation by chemical reaction networks
Speed faults in computation by chemical reaction networks Ho-Lin Chen Rachel Cummings David Doty David Soloveichik Abstract Chemical reaction networks (CRNs) formally model chemistry in a well-mixed solution.
More informationProbability 1 computation with chemical reaction networks
Probability 1 computation with chemical reaction networks Rachel Cummings David Doty David Soloveichik Abstract The computational power of stochastic chemical reaction networks (CRNs) varies significantly
More informationProbability 1 computation with chemical reaction networks
Probability 1 computation with chemical reaction networks Rachel Cummings David Doty David Soloveichik Abstract The computational power of stochastic chemical reaction networks (CRNs) varies significantly
More informationCPSC 506: Complexity of Computa5on
CPSC 506: Complexity of Computa5on On the founda5ons of our field, connec5ons between Science and Compu5ng, where our field might be headed in the future CPSC 506 MW 9-10:30, DMP 101 cs.ubc.ca/~condon/cpsc506/
More informationarxiv: v2 [cs.et] 10 Jul 2017
Democratic, Existential, and Consensus-Based Output Conventions in Stable Computation by Chemical Reaction Networks Robert Brijder 1, David Doty 2, and David Soloveichik 3 1 Hasselt University, Diepenbeek,
More informationPSPACE, NPSPACE, L, NL, Savitch's Theorem. More new problems that are representa=ve of space bounded complexity classes
PSPACE, NPSPACE, L, NL, Savitch's Theorem More new problems that are representa=ve of space bounded complexity classes Outline for today How we'll count space usage Space bounded complexity classes New
More informationDesigning a molecular watchdog timer for safety critical systems
Graduate Theses and Dissertations Iowa State University Capstones, Theses and Dissertations 2014 Designing a molecular watchdog timer for safety critical systems Samuel Jay Ellis Iowa State University
More informationStable Leader Election in Population Protocols Requires Linear Time
Stable Leader Election in Population Protocols Requires Linear Time David Doty 1, and David Soloveichik 2, 1 University of California, Davis, Davis, CA, USA, doty@ucdavis.edu 2 University of Texas at Austin,
More information20.1 2SAT. CS125 Lecture 20 Fall 2016
CS125 Lecture 20 Fall 2016 20.1 2SAT We show yet another possible way to solve the 2SAT problem. Recall that the input to 2SAT is a logical expression that is the conunction (AND) of a set of clauses,
More informationVerifying polymer reaction networks using bisimulation
Verifying polymer reaction networks using bisimulation Robert Johnson 1 and Erik Winfree 2 1 Biology, California Institute of echnology 1 Computer Science & Bioengineering, California Institute of echnology
More informationComputation with finite stochastic chemical reaction networks
Nat Comput (2008) 7:615 633 DOI 10.1007/s11047-008-9067-y Computation with finite stochastic chemical reaction networks David Soloveichik Æ Matthew Cook Æ Erik Winfree Æ Jehoshua Bruck Published online:
More information6.841/18.405J: Advanced Complexity Wednesday, February 12, Lecture Lecture 3
6.841/18.405J: Advanced Complexity Wednesday, February 12, 2003 Lecture Lecture 3 Instructor: Madhu Sudan Scribe: Bobby Kleinberg 1 The language MinDNF At the end of the last lecture, we introduced the
More informationUmans Complexity Theory Lectures
Umans Complexity Theory Lectures Lecture 12: The Polynomial-Time Hierarchy Oracle Turing Machines Oracle Turing Machine (OTM): Deterministic multitape TM M with special query tape special states q?, q
More informationOpleiding Informatica
Opleiding Informatica Tape-quantifying Turing machines in the arithmetical hierarchy Simon Heijungs Supervisors: H.J. Hoogeboom & R. van Vliet BACHELOR THESIS Leiden Institute of Advanced Computer Science
More informationUmans Complexity Theory Lectures
Complexity Theory Umans Complexity Theory Lectures Lecture 1a: Problems and Languages Classify problems according to the computational resources required running time storage space parallelism randomness
More informationTiming in chemical reaction networks
Timing in chemical reaction networks David Doty Abstract Chemical reaction networks CRNs) formally model chemistry in a well-mixed solution. CRNs are widely used to describe information processing occurring
More informationComplexity. Complexity Theory Lecture 3. Decidability and Complexity. Complexity Classes
Complexity Theory 1 Complexity Theory 2 Complexity Theory Lecture 3 Complexity For any function f : IN IN, we say that a language L is in TIME(f(n)) if there is a machine M = (Q, Σ, s, δ), such that: L
More informationCS151 Complexity Theory. Lecture 1 April 3, 2017
CS151 Complexity Theory Lecture 1 April 3, 2017 Complexity Theory Classify problems according to the computational resources required running time storage space parallelism randomness rounds of interaction,
More informationEssential facts about NP-completeness:
CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions
More informationRATE-INDEPENDENT CONSTRUCTS FOR CHEMICAL COMPUTATION
RATE-INDEPENDENT CONSTRUCTS FOR CHEMICAL COMPUTATION PHILLIP SENUM and MARC RIEDEL Electrical and Computer Engineering, University of Minnesota Minneapolis, MN 55455 http://cctbio.ece.umn.edu E-mail: {senu0004,
More informationCSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010
CSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010 Computational complexity studies the amount of resources necessary to perform given computations.
More informationAdvanced topic: Space complexity
Advanced topic: Space complexity CSCI 3130 Formal Languages and Automata Theory Siu On CHAN Chinese University of Hong Kong Fall 2016 1/28 Review: time complexity We have looked at how long it takes to
More informationLecture 8: Complete Problems for Other Complexity Classes
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 8: Complete Problems for Other Complexity Classes David Mix Barrington and Alexis Maciel
More informationCSCI 1010 Models of Computa3on. Lecture 11 Proving Languages NP-Complete
CSCI 1010 Models of Computa3on Lecture 11 Proving Languages NP-Complete Overview P-3me reduc3ons Composi3on of P-3me reduc3ons Reduc3on from CIRCUIT SAT to SAT SAT is NP-complete. 3-SAT is NP-complete.
More informationModelling in Systems Biology
Modelling in Systems Biology Maria Grazia Vigliotti thanks to my students Anton Stefanek, Ahmed Guecioueur Imperial College Formal representation of chemical reactions precise qualitative and quantitative
More informationITCS:CCT09 : Computational Complexity Theory Apr 8, Lecture 7
ITCS:CCT09 : Computational Complexity Theory Apr 8, 2009 Lecturer: Jayalal Sarma M.N. Lecture 7 Scribe: Shiteng Chen In this lecture, we will discuss one of the basic concepts in complexity theory; namely
More informationComputability and Complexity Theory: An Introduction
Computability and Complexity Theory: An Introduction meena@imsc.res.in http://www.imsc.res.in/ meena IMI-IISc, 20 July 2006 p. 1 Understanding Computation Kinds of questions we seek answers to: Is a given
More informationRandomized Complexity Classes; RP
Randomized Complexity Classes; RP Let N be a polynomial-time precise NTM that runs in time p(n) and has 2 nondeterministic choices at each step. N is a polynomial Monte Carlo Turing machine for a language
More informationCSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits
CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits Chris Calabro January 13, 2016 1 RAM model There are many possible, roughly equivalent RAM models. Below we will define one in the fashion
More informationDe Morgan s a Laws. De Morgan s laws say that. (φ 1 φ 2 ) = φ 1 φ 2, (φ 1 φ 2 ) = φ 1 φ 2.
De Morgan s a Laws De Morgan s laws say that (φ 1 φ 2 ) = φ 1 φ 2, (φ 1 φ 2 ) = φ 1 φ 2. Here is a proof for the first law: φ 1 φ 2 (φ 1 φ 2 ) φ 1 φ 2 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 0 a Augustus DeMorgan
More information1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions
CS 6743 Lecture 15 1 Fall 2007 1 Circuit Complexity 1.1 Definitions A Boolean circuit C on n inputs x 1,..., x n is a directed acyclic graph (DAG) with n nodes of in-degree 0 (the inputs x 1,..., x n ),
More information6-1 Computational Complexity
6-1 Computational Complexity 6. Computational Complexity Computational models Turing Machines Time complexity Non-determinism, witnesses, and short proofs. Complexity classes: P, NP, conp Polynomial-time
More informationNotes for Lecture 3... x 4
Stanford University CS254: Computational Complexity Notes 3 Luca Trevisan January 18, 2012 Notes for Lecture 3 In this lecture we introduce the computational model of boolean circuits and prove that polynomial
More informationIntroduction to Turing Machines. Reading: Chapters 8 & 9
Introduction to Turing Machines Reading: Chapters 8 & 9 1 Turing Machines (TM) Generalize the class of CFLs: Recursively Enumerable Languages Recursive Languages Context-Free Languages Regular Languages
More informationarxiv: v3 [cs.cc] 28 Jan 2009
Robust Stochastic Chemical Reaction Networks and Bounded Tau-Leaping arxiv:0803.1030v3 [cs.cc] 28 Jan 2009 David Soloveichik dsolov@caltech.edu Abstract The behavior of some stochastic chemical reaction
More informationLecture 22: Quantum computational complexity
CPSC 519/619: Quantum Computation John Watrous, University of Calgary Lecture 22: Quantum computational complexity April 11, 2006 This will be the last lecture of the course I hope you have enjoyed the
More informationCS6750: Cryptography and Communica7on Security
CS6750: Cryptography and Communica7on Security Class 6: Simple Number Theory Dr. Erik- Oliver Blass Plan 1. Role of number theory in cryptography 2. Classical problems in computa7onal number theory 3.
More informationChemical Reaction Network Designs for Asynchronous Logic Circuits
Chemical Reaction Network Designs for Asynchronous Logic Circuits Luca Cardelli 1,2, Marta Kwiatkowska 1, and Max Whitby 1 1 Department of Computer Science, University of Oxford 2 Microsoft Research Abstract.
More informationStrain Profile and Size Dependent Electronic Band Structure of GeSn/SiSn Quantum Dots for Optoelectronic Application
12 th International Conference on Fiber Optics and Photonics, 2014 Indian Institute of Technology (IIT) Kharagpur, India Paper Title Time : 2.30 PM Date : 14 Dec 2014 Strain Profile and Size Dependent
More information1 More finite deterministic automata
CS 125 Section #6 Finite automata October 18, 2016 1 More finite deterministic automata Exercise. Consider the following game with two players: Repeatedly flip a coin. On heads, player 1 gets a point.
More informationReduced Models for Process Simula2on and Op2miza2on
Reduced Models for Process Simulaon and Opmizaon Yidong Lang, Lorenz T. Biegler and David Miller ESI annual meeng March, 0 Models are mapping Equaon set or Module simulators Input space Reduced model Surrogate
More informationAnnouncements. Problem Set Four due Thursday at 7:00PM (right before the midterm).
Finite Automata Announcements Problem Set Four due Thursday at 7:PM (right before the midterm). Stop by OH with questions! Email cs3@cs.stanford.edu with questions! Review session tonight, 7PM until whenever
More informationLanguages, regular languages, finite automata
Notes on Computer Theory Last updated: January, 2018 Languages, regular languages, finite automata Content largely taken from Richards [1] and Sipser [2] 1 Languages An alphabet is a finite set of characters,
More informationBINARY COUNTING WITH CHEMICAL REACTIONS
BINARY COUNTING WITH CHEMICAL REACTIONS ALEKSANDRA KHARAM, HUA JIANG, MARC RIEDEL, and KESHAB PARHI Electrical and Computer Engineering, University of Minnesota Minneapolis, MN 55455 http://cctbio.ece.umn.edu
More informationDNA as a Universal Substrate for Chemical Kinetics (Extended Abstract)
DNA as a Universal Substrate for Chemical Kinetics (Extended Abstract) David Soloveichik, Georg Seelig, and Erik Winfree California Institute of Technology, Pasadena, CA, USA dsolov@caltech.edu, seelig@dna.caltech.edu,
More informationResearch Statement. Donald M. Stull. December 29, 2016
Research Statement Donald M. Stull December 29, 2016 1 Overview My research is focused on the interaction between analysis and theoretical computer science. Typically, theoretical computer science is concerned
More informationFoundations of Query Languages
Foundations of Query Languages SS 2011 2. 2. Foundations of Query Languages Dr. Fang Wei Lehrstuhl für Datenbanken und Informationssysteme Universität Freiburg SS 2011 Dr. Fang Wei 30. Mai 2011 Seite 1
More informationLecture 7: The Polynomial-Time Hierarchy. 1 Nondeterministic Space is Closed under Complement
CS 710: Complexity Theory 9/29/2011 Lecture 7: The Polynomial-Time Hierarchy Instructor: Dieter van Melkebeek Scribe: Xi Wu In this lecture we first finish the discussion of space-bounded nondeterminism
More informationAutomata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS
Automata Theory Lecture on Discussion Course of CS2 This Lecture is about Mathematical Models of Computation. Why Should I Care? - Ways of thinking. - Theory can drive practice. - Don t be an Instrumentalist.
More informationComputer Sciences Department
Computer Sciences Department 1 Reference Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Computer Sciences Department 3 ADVANCED TOPICS IN C O M P U T A B I L I T Y
More informationLecture 20: conp and Friends, Oracles in Complexity Theory
6.045 Lecture 20: conp and Friends, Oracles in Complexity Theory 1 Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode:
More informationAnnouncements. Problem Set 6 due next Monday, February 25, at 12:50PM. Midterm graded, will be returned at end of lecture.
Turing Machines Hello Hello Condensed Slide Slide Readers! Readers! This This lecture lecture is is almost almost entirely entirely animations that that show show how how each each Turing Turing machine
More informationCS154, Lecture 17: conp, Oracles again, Space Complexity
CS154, Lecture 17: conp, Oracles again, Space Complexity Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode: Guess string
More information6.045: Automata, Computability, and Complexity (GITCS) Class 17 Nancy Lynch
6.045: Automata, Computability, and Complexity (GITCS) Class 17 Nancy Lynch Today Probabilistic Turing Machines and Probabilistic Time Complexity Classes Now add a new capability to standard TMs: random
More informationconp, Oracles, Space Complexity
conp, Oracles, Space Complexity 1 What s next? A few possibilities CS161 Design and Analysis of Algorithms CS254 Complexity Theory (next year) CS354 Topics in Circuit Complexity For your favorite course
More informationNP-Completeness. Algorithmique Fall semester 2011/12
NP-Completeness Algorithmique Fall semester 2011/12 1 What is an Algorithm? We haven t really answered this question in this course. Informally, an algorithm is a step-by-step procedure for computing a
More informationP, NP, NP-Complete, and NPhard
P, NP, NP-Complete, and NPhard Problems Zhenjiang Li 21/09/2011 Outline Algorithm time complicity P and NP problems NP-Complete and NP-Hard problems Algorithm time complicity Outline What is this course
More informationCSC : Homework #3
CSC 707-001: Homework #3 William J. Cook wjcook@math.ncsu.edu Monday, March 15, 2004 1 Exercise 4.13 on page 118 (3-Register RAM) Exercise 4.13 Verify that a RAM need not have an unbounded number of registers.
More informationLecture 19: Finish NP-Completeness, conp and Friends
6.045 Lecture 19: Finish NP-Completeness, conp and Friends 1 Polynomial Time Reducibility f : Σ* Σ* is a polynomial time computable function if there is a poly-time Turing machine M that on every input
More informationPolynomial Time Computation. Topics in Logic and Complexity Handout 2. Nondeterministic Polynomial Time. Succinct Certificates.
1 2 Topics in Logic and Complexity Handout 2 Anuj Dawar MPhil Advanced Computer Science, Lent 2010 Polynomial Time Computation P = TIME(n k ) k=1 The class of languages decidable in polynomial time. The
More information/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: NP-Completeness I Date: 11/13/18
601.433/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: NP-Completeness I Date: 11/13/18 20.1 Introduction Definition 20.1.1 We say that an algorithm runs in polynomial time if its running
More informationProgrammability and versatility are essential properties of
pubs.acs.org/synthbio Analog Computation by DNA Strand Displacement Circuits Tianqi Song, Sudhanshu Garg, Reem Mokhtar, Hieu Bui, and John Reif* Department of Computer Science, Duke University, Durham,
More informationRegister Machines Storing Ordinals and Running for Ordinal Time
2488 Register Machines Storing Ordinals and Running for Ordinal Time Ryan Siders 6/106 0 Outline Assumptions about Motion and Limits on Programming Without well-structured programming: Well-Structured
More informationMin/Max-Poly Weighting Schemes and the NL vs UL Problem
Min/Max-Poly Weighting Schemes and the NL vs UL Problem Anant Dhayal Jayalal Sarma Saurabh Sawlani May 3, 2016 Abstract For a graph G(V, E) ( V = n) and a vertex s V, a weighting scheme (w : E N) is called
More informationuring Reducibility Dept. of Computer Sc. & Engg., IIT Kharagpur 1 Turing Reducibility
uring Reducibility Dept. of Computer Sc. & Engg., IIT Kharagpur 1 Turing Reducibility uring Reducibility Dept. of Computer Sc. & Engg., IIT Kharagpur 2 FINITE We have already seen that the language FINITE
More informationAn Epistemic Characterization of Zero Knowledge
An Epistemic Characterization of Zero Knowledge Joseph Y. Halpern, Rafael Pass, and Vasumathi Raman Computer Science Department Cornell University Ithaca, NY, 14853, U.S.A. e-mail: {halpern, rafael, vraman}@cs.cornell.edu
More informationDefinition: conp = { L L NP } What does a conp computation look like?
Space Complexity 28 Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode: Guess string y of x k length and the machine accepts
More informationTuring Machine Variants
CS311 Computational Structures Turing Machine Variants Lecture 12 Andrew Black Andrew Tolmach 1 The Church-Turing Thesis The problems that can be decided by an algorithm are exactly those that can be decided
More informationU.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan 1/29/2002. Notes for Lecture 3
U.C. Bereley CS278: Computational Complexity Handout N3 Professor Luca Trevisan 1/29/2002 Notes for Lecture 3 In this lecture we will define the probabilistic complexity classes BPP, RP, ZPP and we will
More informationTheory of Computation Lecture Notes. Problems and Algorithms. Class Information
Theory of Computation Lecture Notes Prof. Yuh-Dauh Lyuu Dept. Computer Science & Information Engineering and Department of Finance National Taiwan University Problems and Algorithms c 2004 Prof. Yuh-Dauh
More informationsatisfiability (sat) Satisfiability unsatisfiability (unsat or sat complement) and validity Any Expression φ Can Be Converted into CNFs and DNFs
Any Expression φ Can Be Converted into CNFs and DNFs φ = x j : This is trivially true. φ = φ 1 and a CNF is sought: Turn φ 1 into a DNF and apply de Morgan s laws to make a CNF for φ. φ = φ 1 and a DNF
More informationHybrid Transition Modes in (Tissue) P Systems
Hybrid Transition Modes in (Tissue) P Systems Rudolf Freund and Marian Kogler Faculty of Informatics, Vienna University of Technology Favoritenstr. 9, 1040 Vienna, Austria {rudi,marian}@emcc.at Summary.
More informationTuring Machine Recap
Turing Machine Recap DFA with (infinite) tape. One move: read, write, move, change state. High-level Points Church-Turing thesis: TMs are the most general computing devices. So far no counter example Every
More informationTheory of Computing Tamás Herendi
Theory of Computing Tamás Herendi Theory of Computing Tamás Herendi Publication date 2014 Table of Contents 1 Preface 1 2 Formal languages 2 3 Order of growth rate 9 4 Turing machines 16 1 The definition
More information1 Acceptance, Rejection, and I/O for Turing Machines
1 Acceptance, Rejection, and I/O for Turing Machines Definition 1.1 (Initial Configuration) If M = (K,Σ,δ,s,H) is a Turing machine and w (Σ {, }) then the initial configuration of M on input w is (s, w).
More informationComputational Complexity of Bayesian Networks
Computational Complexity of Bayesian Networks UAI, 2015 Complexity theory Many computations on Bayesian networks are NP-hard Meaning (no more, no less) that we cannot hope for poly time algorithms that
More informationComplexity Theory. Knowledge Representation and Reasoning. November 2, 2005
Complexity Theory Knowledge Representation and Reasoning November 2, 2005 (Knowledge Representation and Reasoning) Complexity Theory November 2, 2005 1 / 22 Outline Motivation Reminder: Basic Notions Algorithms
More informationLecture 2: From Classical to Quantum Model of Computation
CS 880: Quantum Information Processing 9/7/10 Lecture : From Classical to Quantum Model of Computation Instructor: Dieter van Melkebeek Scribe: Tyson Williams Last class we introduced two models for deterministic
More informationComputational Models for Wireless Sensor Networks: A Survey
Computational Models for Wireless Sensor Networks: A Survey Apostolos Filippas 2, Stavros Nikolaou 2, Andreas Pavlogiannis 2, Othon Michail 1,2, Ioannis Chatzigiannakis 1,2, and Paul G. Spirakis 1,2 1
More informationCOMP/MATH 300 Topics for Spring 2017 June 5, Review and Regular Languages
COMP/MATH 300 Topics for Spring 2017 June 5, 2017 Review and Regular Languages Exam I I. Introductory and review information from Chapter 0 II. Problems and Languages A. Computable problems can be expressed
More informationNP Completeness and Approximation Algorithms
Chapter 10 NP Completeness and Approximation Algorithms Let C() be a class of problems defined by some property. We are interested in characterizing the hardest problems in the class, so that if we can
More informationDigital Signal Processing with Protein Molecules and DNA Strands
Digital Signal Processing with Protein Molecules and DNA Strands Keshab K. Parhi Electrical and Computer Engineering University of Minnesota, Minneapolis Nov. 10, 2010 Talk at EECS Dept., Berkeley Acknowledgements
More informationLecture 3: Reductions and Completeness
CS 710: Complexity Theory 9/13/2011 Lecture 3: Reductions and Completeness Instructor: Dieter van Melkebeek Scribe: Brian Nixon Last lecture we introduced the notion of a universal Turing machine for deterministic
More informationLecture 3. 1 Terminology. 2 Non-Deterministic Space Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, 2005.
Notes on Complexity Theory: Fall 2005 Last updated: September, 2005 Jonathan Katz Lecture 3 1 Terminology For any complexity class C, we define the class coc as follows: coc def = { L L C }. One class
More informationNP-Completeness. CptS 223 Advanced Data Structures. Larry Holder School of Electrical Engineering and Computer Science Washington State University
NP-Completeness CptS 223 Advanced Data Structures Larry Holder School of Electrical Engineering and Computer Science Washington State University 1 Hard Graph Problems Hard means no known solutions with
More informationNP Complete Problems. COMP 215 Lecture 20
NP Complete Problems COMP 215 Lecture 20 Complexity Theory Complexity theory is a research area unto itself. The central project is classifying problems as either tractable or intractable. Tractable Worst
More informationCSCE 551 Final Exam, Spring 2004 Answer Key
CSCE 551 Final Exam, Spring 2004 Answer Key 1. (10 points) Using any method you like (including intuition), give the unique minimal DFA equivalent to the following NFA: 0 1 2 0 5 1 3 4 If your answer is
More informationAlgorithms 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 informationDAVID SOLOVEICHIK ABSTRACT
JOURNAL OF COMPUTATIONAL BIOLOGY Volume 16, Number 3, 2009 Mary Ann Liebert, Inc. Pp. 501 522 DOI: 10.1089/cmb.2008.0063 Robust Stochastic Chemical Reaction Networks and Bounded Tau-Leaping DAVID SOLOVEICHIK
More informationLecture 24: Randomized Complexity, Course Summary
6.045 Lecture 24: Randomized Complexity, Course Summary 1 1/4 1/16 1/4 1/4 1/32 1/16 1/32 Probabilistic TMs 1/16 A probabilistic TM M is a nondeterministic TM where: Each nondeterministic step is called
More informationNP-Completeness. NP-Completeness 1
NP-Completeness x x x 2 x 2 x 3 x 3 x 4 x 4 2 22 32 3 2 23 3 33 NP-Completeness Outline and Reading P and NP ( 3.) Definition of P Definition of NP Alternate definition of NP NP-completeness ( 3.2) Definition
More informationCSE 311 Lecture 28: Undecidability of the Halting Problem. Emina Torlak and Kevin Zatloukal
CSE 311 Lecture 28: Undecidability of the Halting Problem Emina Torlak and Kevin Zatloukal 1 Topics Final exam Logistics, format, and topics. Countability and uncomputability A quick recap of Lecture 27.
More informationComputational Models Lecture 8 1
Computational Models Lecture 8 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. May 11/13, 2015 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice
More informationLecture 1: Course Overview and Turing machine complexity
CSE 531: Computational Complexity I Winter 2016 Lecture 1: Course Overview and Turing machine complexity January 6, 2016 Lecturer: Paul Beame Scribe: Paul Beame 1 Course Outline 1. Basic properties of
More information