<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Comput. Neurosci.</journal-id>
<journal-title>Frontiers in Computational Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Comput. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-5188</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fncom.2013.00058</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Methods Article</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Mathematical analysis and algorithms for efficiently and accurately implementing stochastic simulations of short-term synaptic depression and facilitation</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>McDonnell</surname> <given-names>Mark D.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn001"><sup>&#x0002A;</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Mohan</surname> <given-names>Ashutosh</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Stricker</surname> <given-names>Christian</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Computational and Theoretical Neuroscience Laboratory, Institute for Telecommunications Research, University of South Australia</institution> <country>Mawson Lakes, SA, Australia</country></aff>
<aff id="aff2"><sup>2</sup><institution>John Curtin School of Medical Research, Australian National University</institution> <country>Canberra, ACT, Australia</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Si Wu, Beijing Normal University, China</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Takuma Tanaka, Tokyo Institute of Technology, Japan; Victor Matveev, New Jersey Institute of Technology, USA; Joaqu&#x000ED;n J. Torres, University of Granada, Spain</p></fn>
<fn fn-type="corresp" id="fn001"><p>&#x0002A;Correspondence: Mark D. McDonnell, Computational and Theoretical Neuroscience Laboratory, Institute for Telecommunications Research, University of South Australia, Building W, Mawson Lakes Boulevard, Mawson Lakes, SA 5095, Australia. e-mail: <email>mark.mcdonnell&#x00040;unisa.edu.au</email></p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>10</day>
<month>05</month>
<year>2013</year>
</pub-date>
<pub-date pub-type="collection">
<year>2013</year>
</pub-date>
<volume>7</volume>
<elocation-id>58</elocation-id>
<history>
<date date-type="received">
<day>10</day>
<month>12</month>
<year>2012</year>
</date>
<date date-type="accepted">
<day>22</day>
<month>04</month>
<year>2013</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2013 McDonnell, Mohan and Stricker.</copyright-statement>
<copyright-year>2013</copyright-year>
<license license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/3.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in other forums, provided the original authors and source are credited and subject to any copyright notices concerning any third-party graphics etc.</p>
</license>
</permissions>
<abstract><p>The release of neurotransmitter vesicles after arrival of a pre-synaptic action potential (AP) at cortical synapses is known to be a stochastic process, as is the availability of vesicles for release. These processes are known to also depend on the recent history of AP arrivals, and this can be described in terms of time-varying probabilities of vesicle release. Mathematical models of such synaptic dynamics frequently are based only on the mean number of vesicles released by each pre-synaptic AP, since if it is assumed there are sufficiently many vesicle sites, then variance is small. However, it has been shown recently that variance across sites can be significant for neuron and network dynamics, and this suggests the potential importance of studying short-term plasticity using simulations that do generate trial-to-trial variability. Therefore, in this paper we study several well-known conceptual models for stochastic availability and release. We state explicitly the random variables that these models describe and propose efficient algorithms for accurately implementing stochastic simulations of these random variables in software or hardware. Our results are complemented by mathematical analysis and statement of pseudo-code algorithms.</p></abstract>
<kwd-group>
<kwd>short term synaptic dynamics</kwd>
<kwd>short term depression</kwd>
<kwd>facilitation</kwd>
<kwd>stochastic simulation</kwd>
<kwd>stochastic synapse</kwd>
<kwd>vesicle site model</kwd>
<kwd>synaptic plasticity models</kwd>
<kwd>short term plasticity</kwd>
</kwd-group>
<counts>
<fig-count count="6"/>
<table-count count="1"/>
<equation-count count="20"/>
<ref-count count="40"/>
<page-count count="14"/>
<word-count count="11194"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="introduction" id="s1">
<title>1. Introduction</title>
<p>The release of vesicles following arrival of a pre-synaptic action potential (AP) at a synapse is inherently probabilistic (Vere-Jones, <xref ref-type="bibr" rid="B38">1966</xref>; Melkonian and Kostopoulos, <xref ref-type="bibr" rid="B24">1996</xref>; Branco and Staras, <xref ref-type="bibr" rid="B3">2009</xref>). The amount of neurotransmitter released by each AP can also vary stochastically over time, in a manner dependent on the timing of previously arriving APs (Dobrunz and Stevens, <xref ref-type="bibr" rid="B6">1997</xref>). These effects result in what is called short-term synaptic plasticity (Zucker et al., <xref ref-type="bibr" rid="B40">2002</xref>; Klug et al., <xref ref-type="bibr" rid="B15">2012</xref>; Regehr, <xref ref-type="bibr" rid="B29">2012</xref>). It has been suggested that the short term dynamics such plasticity introduces may play an important role in information processing in the cortex (Abbott and Regehr, <xref ref-type="bibr" rid="B1">2004</xref>; Branco and Staras, <xref ref-type="bibr" rid="B3">2009</xref>). This has been demonstrated in studies of the influence of short-term plasticity on: gain control (Abbott et al., <xref ref-type="bibr" rid="B2">1997</xref>); coding and detection mechanisms (Tsodyks and Markram, <xref ref-type="bibr" rid="B37">1997</xref>; Maass and Zador, <xref ref-type="bibr" rid="B17">1999</xref>); filtering effects (Matveev and Wang, <xref ref-type="bibr" rid="B19">2000a</xref>; Merkel and Lindner, <xref ref-type="bibr" rid="B25">2010</xref>; Rosenbaum et al., <xref ref-type="bibr" rid="B31">2012</xref>); redundancy reduction (Goldman et al., <xref ref-type="bibr" rid="B13">2002</xref>); information transmission (Goldman et al., <xref ref-type="bibr" rid="B12">2004</xref>); membrane potential estimation (Pfister et al., <xref ref-type="bibr" rid="B27">2010</xref>); attractor networks (Fung et al., <xref ref-type="bibr" rid="B10">2012</xref>); and correlations in neural activity (Rosenbaum et al., <xref ref-type="bibr" rid="B32">2013</xref>).</p>
<p>Popular mathematical models of short term synaptic plasticity effects, such as depression and facilitation, typically are expressed in term of differential equations that describe how the mean number of available and/or released vesicles changes with time in response to pre-synaptic spiking (Tsodyks and Markram, <xref ref-type="bibr" rid="B37">1997</xref>; Tsodyks et al., <xref ref-type="bibr" rid="B36">1998</xref>). The mean is an ensemble-average over multiple repeats of the same pre-synaptic spike train, and is often the focus of study because if the number of vesicles in the model is large, the variance across trials is small and assumed to be negligible in its impact. The consequence of this assumption is that simulations of this type of model of short term plasticity provides deterministic outcomes, in the sense that they do not produce varying outcomes if repeated trials with identical initial conditions are simulated.</p>
<p>However, variability in the number of vesicles available/released has also been studied mathematically (Vere-Jones, <xref ref-type="bibr" rid="B38">1966</xref>), as has the covariance in the response to consecutive pre-synaptic APs (Quastel, <xref ref-type="bibr" rid="B28">1997</xref>). Recently, it has been shown mathematically that explicit inclusion of the variance in models of short-term plasticity leads to significant differences in terms of frequency-dependent information transmission, in comparison with models that study only the mean (Rosenbaum et al., <xref ref-type="bibr" rid="B31">2012</xref>). This mathematical finding that variance can be influential is consistent with previous simulation results (discussed in following paragraphs) that found that the mean-model underestimates post-synaptic firing rate (de la Rocha and Parga, <xref ref-type="bibr" rid="B5">2005</xref>).</p>
<p>As well as mathematical analysis, the conceptual models of stochastic vesicle availability and release that these models are based on can also be studied by implementing stochastic simulations. We use the term &#x0201C;stochastic simulation&#x0201D; to mean a software (or, potentially, hardware) implementation that explicitly generates random or pseudo-random numbers for the purposes of simulating outcomes of a model&#x00027;s random variables (Gillesple et al., <xref ref-type="bibr" rid="B11">1977</xref>). By doing this, repeated runs with identical initial conditions and identical external input to the model results in randomly varying outcomes, i.e., trial-to-trial variability. Such simulations have, for example, been used to study ion-channel noise and its impact on AP generation (Faisal and Laughlin, <xref ref-type="bibr" rid="B7">2007</xref>).</p>
<p>Although the mean model described above has been used frequently, results based on stochastic simulations of short term plasticity models have also been described previously (Melkonian and Kostopoulos, <xref ref-type="bibr" rid="B24">1996</xref>; Quastel, <xref ref-type="bibr" rid="B28">1997</xref>; Matveev and Wang, <xref ref-type="bibr" rid="B20">2000b</xref>, <xref ref-type="bibr" rid="B19">a</xref>; Fuhrmann et al., <xref ref-type="bibr" rid="B9">2002</xref>; de la Rocha and Parga, <xref ref-type="bibr" rid="B5">2005</xref>; Loebel et al., <xref ref-type="bibr" rid="B16">2009</xref>; Rosenbaum et al., <xref ref-type="bibr" rid="B31">2012</xref>, <xref ref-type="bibr" rid="B32">2013</xref>; Scott et al., <xref ref-type="bibr" rid="B33">2012</xref>; Reich and Rosenbaum, <xref ref-type="bibr" rid="B30">2013</xref>) and comparisons between simulations of the deterministic and stochastic models have been shown to give rise to different outcomes in neural activity (de la Rocha and Parga, <xref ref-type="bibr" rid="B5">2005</xref>; Rosenbaum et al., <xref ref-type="bibr" rid="B31">2012</xref>; Scott et al., <xref ref-type="bibr" rid="B33">2012</xref>).</p>
<p>In general, it may be important to implement stochastic simulations for synaptic connections where only a very small number of vesicles are available for release, which is often the case (Branco and Staras, <xref ref-type="bibr" rid="B3">2009</xref>). In this case the mean model might be very inaccurate in scenarios where ensemble averaging across multiple repeated trials is not possible, such as in large network simulations.</p>
<p>As noted above, previous work has published results from stochastic simulations as a complement to mathematical analysis. However, as far as we are aware, the implementation details have not been discussed at a level of detail that will enable researchers whose primary expertise and experience is not in implementing stochastic simulations, or who have little mathematical training, to introduce trial-to-trial variation in simulations.</p>
<p>The primary aim of this paper is, therefore, to articulate precisely how to efficiently implement stochastic simulations that accurately reflect several of the most well-known conceptual models of vesicle availability and release processes. In our discussion, and associated pseudo-code algorithms, we assume that the algorithms would be applied under conditions where the number of vesicles available may be small, and that therefore stochastic simulation of all random variables in the conceptual models may be important. We also aim to present mathematical descriptions of key random variables that must be simulated in stochastic models, as well as relating these descriptions to existing equations describing mean numbers of vesicles. A secondary aim is to show how existing algorithms may be made more efficient and general.</p>
<p>As well as the usual models of release dependent depression and facilitation, the content of this paper is equally applicable to the case of release-independent depression and associated frequency dependent recovery (Fuhrmann et al., <xref ref-type="bibr" rid="B8">2004</xref>; Scott et al., <xref ref-type="bibr" rid="B33">2012</xref>; Mohan et al., <xref ref-type="bibr" rid="B26">2013</xref>).</p>
<p>The paper is organized as follows. In section 2, we review conceptual models that we will use in this paper and in section 3 we mathematically introduce notation to describe the random variables implied by each conceptual model. Next, section 4 contains descriptions of correct and incorrect implementations of stochastic simulations of the conceptual models, and relates these to the random variables we described. Section 5 describes example simulation results, and shows that incorrect implementations can significantly miscalculate the number of vesicles that should be released in response to sequences of pre-synaptic AP arrivals. Finally, the conclusions drawn from our paper are summarized in section 6.</p>
</sec>
<sec>
<title>2. Conceptual models of short term plasticity</title>
<p>The first step in computational modeling is to state a conceptual model; once stated, a primary goal of computational modeling is to faithfully implement simulations of the conceptual model (Carnevale and Hines, <xref ref-type="bibr" rid="B4">2005</xref>). We therefore first clearly articulate conceptual stochastic models in this section, and discuss algorithms for faithfully implementing stochastic simulations of them in the following sections. Other conceptual models exist, but the ones we consider serve to illustrate important principles that should be reflected in stochastic simulations.</p>
<sec>
<title>2.1. Availability of a single vesicle following relase</title>
<p>In this paper we consider two conceptual &#x0201C;release-site&#x0201D; models (Sterratt et al., <xref ref-type="bibr" rid="B34">2011</xref>) for short term synaptic depression, due to stochastic unavailability of a vesicle:
<list list-type="bullet">
<list-item><p><bold>Availability Model 1:</bold> In this model it is assumed that once a specific vesicle is released, the time at which it is next available for release is a random variable that depends only on the time since it was released. This random variable is not affected by subsequent pre-synaptic spikes.</p></list-item>
<list-item><p><bold>Availability Model 2:</bold> Like Availability Model 1, it is also assumed that after the vesicle is released, the time that passes before it is next available for release is a random variable. However, now if a pre-synaptic spike arrives before the vesicle becomes available, the time before the unavailable vesicle then becomes available is recalculated in a manner dependent only on the time of the latest pre-synaptic spike.</p></list-item>
</list>
</p>
<p>Note that these models treat a single vesicle as if it is a conserved object that switches between two states. Of course in reality the vesicle is not conserved, and a more accurate description is to say that a vesicle release site that can contain at most a single vesicle either (1) does contain a vesicle, or (2) does not contain one.</p>
<p>Below we show that Availability Model 1 and Availability Model 2 are mathematically equivalent, given an assumption that the random variable describing availability times is exponential. This is a standard assumption, because it provides good fits to experimental data, and therefore underpins models developed in conjunction with experimental data on short term depression (for example, Tsodyks and Markram, <xref ref-type="bibr" rid="B37">1997</xref>). However, it is feasible that better fits to data might discard the exponential assumption, and in that case it would be necessary to consider how stochastic simulations need to differ for each model. As we show below for a non-exponential example (Figure <xref ref-type="fig" rid="F6">6</xref>), the two models provide significantly different outcomes.</p>
</sec>
<sec>
<title>2.2. Release of a single vesicle upon arrival of a pre-synaptic spike</title>
<p>In this paper we consider two conceptual models for the stochastic release of a single vesicle upon arrival of a pre-synaptic spike:
<list list-type="bullet">
<list-item><p><bold>Release Model 1:</bold> In this model it is assumed that if the single vesicle is available, then it is released with a constant probability upon arrival of a pre-synaptic spike, and this probability does not change over time.</p></list-item>
<list-item><p><bold>Release Model 2:</bold> In this model it is assumed that if the single vesicle is available, then it is released upon arrival of a pre-synaptic spike with a certain time-varying probability.</p></list-item>
</list>
</p>
<p>Release Model 1 is a classical model of probabilistic release (Vere-Jones, <xref ref-type="bibr" rid="B38">1966</xref>). Release Model 2 is appropriate when a synapse is known to exhibit facilitation. Usually, based on experimental evidence (see, for example, Markram et al., <xref ref-type="bibr" rid="B18">1998</xref>), the change in release probability (given availability) over time is modeled as increasing by a percentage of the current probability of non-release, whenever a pre-synaptic spike arrives (usually independently of whether a vesicle is available or released) and then decaying exponentially over time to a constant rest probability, for as long as no more pre-synaptic APs arrive (Tsodyks et al., <xref ref-type="bibr" rid="B36">1998</xref>).</p>
<p>Release Model 2 is also appropriate when a synapse is known to exhibit a different form of short term depression to that modeled by the lack of vesicle availability. In this type of depression, known as &#x0201C;release-independent depression,&#x0201D; the probability of vesicle release (given its availability) is reduced by arriving pre-synaptic spikes independently of whether the vesicle is released, due to different mechanisms from those that cause facilitation (Fuhrmann et al., <xref ref-type="bibr" rid="B8">2004</xref>). In some models, facilitation and release-independent depression are assumed to be present simultaneously (Graham and Stricker, <xref ref-type="bibr" rid="B14">2008</xref>; Scott et al., <xref ref-type="bibr" rid="B33">2012</xref>).</p>
</sec>
<sec>
<title>2.3. Combining availability and release</title>
<p>A single vesicle obviously cannot be released if it is not available, but it is assumed that an available vesicle remains available until released. This is the key feature of the conceptual models we study where both availability and release are modeled as stochastic.</p>
</sec>
<sec>
<title>2.4. Availability and release for a pool of <italic>N</italic> vesicles</title>
<p>In this paper, when we consider a conceptual model where there is a pool consisting of at most <italic>N</italic> vesicle release sites, each containing at most a single vesicle, we use the typical assumption that the release and availability of each single vesicle occurs independently of that in the other vesicle release sites. Note that although this model is typical, it may not always be accurate (Quastel, <xref ref-type="bibr" rid="B28">1997</xref>).</p>
</sec>
<sec>
<title>2.5. Multiple trials of availability and release</title>
<p>In this paper, when we consider a conceptual model where there are <italic>N</italic> repeated trials for the same sequence of pre-synaptic APs, and a single vesicle in a single release site, we assume that the availability or release of the vesicle is independent for each trial.</p>
<p>Note that the outcome for a model where there are <italic>N</italic> such repeated trials is equivalent mathematically to a conceptual model where there is a pool of <italic>N</italic> vesicle release sites with at most a single vesicle available, for a single trial of the sequence of APs.</p>
<p>Since an experimental protocol is more amenable to studying repeated trials for a single release site and the same sequence of APs, we will refer to the case of <italic>N</italic> trials rather than <italic>N</italic> release sites.</p>
</sec>
<sec>
<title>2.6. Vesicle release sites containing multiple vesicles</title>
<p>The content of this paper regarding stochastic simulations can be extended to a scenario where multiple vesicles are available in a release site, and also where multiple such sites are available, potentially each with different numbers of vesicles. However, we do not discuss this further, as the most important observations are relevant to sites containing single vesicles. Further discussion of evidence for multiple release sites can be found in Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>).</p>
</sec>
</sec>
<sec>
<title>3. Random variables implied by stochastic conceptual models</title>
<p>The purpose of this section is to explicitly describe all random variables inherent in the conceptual models we study, since correct stochastic simulations of the models relies on correct simulation of outcomes from these random variables.</p>
<sec>
<title>3.1. Availability models</title>
<p>There is a specific random variable that exists in both conceptual availability models: the time taken for vesicle to become available following a successful release at time <italic>t</italic> &#x0003D; <italic>t</italic><sub>s</sub>. We label this random variable as <italic>T</italic><sub>a1</sub> for Availability Model 1, and as <italic>T</italic><sub>a2</sub> Availability Model 2.</p>
<sec>
<title>3.1.1. Availability model 1</title>
<p>In standard existing models, the random variable describing the time until a release site contains an available vesicle, following release of its vesicle, is exponentially distributed with a known mean, &#x003C4;<sub>a</sub>. In this section we generalize to arbitrary positive and continuously valued distributions for the availability time. We write the probability density function describing the random variable <italic>T</italic><sub>a1</sub> as <italic>f</italic><sub><italic>T</italic><sub>a1</sub></sub>(<italic>T</italic><sub>a1</sub> &#x0003D; <italic>x</italic>), and its cumulative distribution function [describing Prob(<italic>T</italic><sub>a1</sub> &#x02264; <italic>y</italic>)] as <italic>F</italic><sub><italic>T</italic><sub>a1</sub></sub>(<italic>y</italic>). We introduce <italic>P</italic><sub>a,1</sub>(<italic>t</italic>|<italic>t</italic><sub>s</sub>) to describe the probability of availability at time <italic>t</italic>, given that the most recent successful release was at time <italic>t</italic><sub>s</sub>. We can write
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>a</mml:mtext><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02265;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
Below, we note how this probability describes a distribution of the potential times, immediately following a successful release at <italic>t</italic> &#x0003D; <italic>t</italic><sub>s</sub>, at which the released vesicle will next become available. However, it is crucial to note that for a stochastic simulation to be faithful to Availability Model 1, the released vesicle must always be in one of two states (available or not available) and that once it switches from not-available to available, it must stay available, until released again. Ignoring this fact can lead to incorrect implementations of the conceptual model.</p>
<p>We now derive an expression for a conditional probability that is potentially useful in some stochastic simulation implementations. Suppose a vesicle was released at the <italic>i</italic>&#x02013;th AP. We introduce notation for the time interval between APs, <italic>i</italic> and <italic>j</italic> as &#x003B8;<sub><italic>i</italic>, <italic>j</italic></sub> &#x0003D; <italic>t</italic><sub>AP, <italic>j</italic></sub> &#x02212; <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x0003E; 0, where <italic>j</italic> may be any AP after the <italic>i</italic>&#x02013;th one. The probability that the vesicle becomes available by the <italic>j</italic>-th AP is Prob(<italic>T</italic><sub>a1</sub> &#x02264; &#x003B8;<sub><italic>i</italic>, <italic>j</italic></sub>) &#x0003D; <italic>F</italic><sub><italic>T</italic><sub>a1</sub></sub>(&#x003B8;<sub><italic>i</italic>, <italic>j</italic></sub>), <italic>j</italic> &#x0003D; <italic>i</italic> &#x0002B; 1, <italic>i</italic> &#x0002B; 2, &#x02026;. However, we also are interested in Prob(<italic>T</italic><sub>a1</sub> &#x02264; &#x003B8;<sub><italic>i</italic>, <italic>j</italic></sub>|<italic>T</italic><sub>a1</sub> &#x0003E; &#x003B8;<sub><italic>i</italic>, <italic>j</italic> &#x02212; 1</sub>) <italic>j</italic> &#x0003D; <italic>i</italic> &#x0002B; 2, <italic>i</italic> &#x0002B; 3, &#x02026;, which is the probability that the vesicle does not become available before the <italic>j</italic> &#x02212; 1&#x02013;th AP, but does becomes available before the <italic>j</italic>&#x02013;th AP. By Bayes&#x00027; rule, this probability can be written as
<disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x02208;</mml:mo><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mtext>&#x0200A;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>]</mml:mo><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mtext>&#x0200A;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a1</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>&#x003B8;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<bold>Special Case:</bold> For the case where <italic>F</italic><sub><italic>T</italic><sub>a1</sub></sub>(<italic>y</italic>) &#x0003D; 1 &#x02212; exp(&#x02212;<italic>y</italic>/&#x003C4;<sub>a</sub>), i.e., <italic>T</italic><sub>a1</sub> is exponentially distributed with mean equal to &#x003C4;<sub>a</sub>, it is simple to derive Prob(<italic>T</italic><sub>a1</sub> &#x02264; &#x003B8;<sub><italic>i</italic>, <italic>j</italic></sub>|<italic>T</italic><sub>a1</sub> &#x0003E; &#x003B8;<sub><italic>i</italic>, <italic>j</italic> &#x02212; 1</sub>) &#x0003D; <italic>F</italic><sub><italic>T</italic><sub>a1</sub></sub>(<italic>t</italic><sub>AP</sub>, <italic>j</italic> &#x02212; <italic>t</italic><sub>AP</sub>,<italic>j</italic> &#x02212; 1). So, in this special case, the probability of a vesicle becoming available after the <italic>j</italic>&#x02013;th spike, given it wasn&#x00027;t available at the time of the <italic>j</italic> &#x02212; 1&#x02013;th spike, is independent of the time at which the vesicle actually became unavailable in the first place. This observation is actually a well known property of Poisson point processes: events in every increment of time are independent of the past history of the process. These processes have exponentially distributed inter-event distributions, as we assumed in this discussion.</p>
</sec>
<sec>
<title>3.1.2. Availability model 2</title>
<p>A direct translation of this conceptual model implies that a random variable must be evaluated for every pre-synaptic AP that arrives while a vesicle remains unavailable. We write the time of the <italic>k</italic>&#x02013;th pre-synaptic AP after the most recent release as <italic>t</italic><sub>AP</sub>, <italic>k</italic>, where <italic>k</italic> &#x0003D; 0, 1, 2, &#x02026;, <italic>K</italic>, <italic>t</italic><sub>AP, 0</sub> &#x0003D; <italic>t</italic><sub>s</sub> is the time at which the vesicle was previously released, and <italic>K</italic> is the number of AP arrivals before the vesicle actually becomes available. We write the random variable evaluated at the <italic>k</italic>&#x02013;th AP as <italic>T</italic><sub>a2</sub>, <italic>k</italic>.</p>
<p>Under Availability Model 2, we can write that if the vesicle did not become available by the <italic>k</italic>&#x02013;th AP, then the conditional probability that a vesicle is available by time <italic>t</italic> is
<disp-formula id="E3"><label>(3)</label><mml:math id="M3"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>a</mml:mtext><mml:mo>,</mml:mo><mml:mtext>2</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a2</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02264;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a2</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x000A0;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>]</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
where it is assumed that each <italic>T</italic><sub>a2</sub>, <italic>k</italic> is drawn independently from the same distribution with cumulative distribution function <italic>F</italic><sub><italic>T</italic><sub>a2</sub></sub>(<italic>y</italic>).</p>
<p>For this model, the probability of availability by time <italic>t</italic>, given only the most recent release time, <italic>t</italic><sub>s</sub> is given by
<disp-formula id="E4"><label>(4)</label><mml:math id="M4"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>a</mml:mtext><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a2</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x0220F;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>K</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:munderover><mml:mo>&#x000D7;</mml:mo></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mtext>a2</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
which clearly in general is different from <italic>P</italic><sub>a, 1</sub>(<italic>t</italic>|<italic>t</italic><sub>s</sub>) for Availability Model 1.</p>
<p>This direct translation of the conceptual model to obtain <italic>P</italic><sub>a,2</sub>(<italic>t</italic>|<italic>t</italic> &#x0003E; <italic>t</italic><sub>AP</sub>, <italic>k</italic>) suggests a stochastic simulation implementation where a new random number is drawn for an unavailable vesicle, upon every AP arrival. However, if we can derive the cumulative distribution function of the total time to availability under this release model, <italic>T</italic><sub>a2</sub>, a stochastic simulation that only draws a single random number upon every vesicle release is feasible. Such a random variable would have to produce <italic>P</italic><sub>a, 2</sub>(<italic>t</italic>|<italic>t</italic><sub>s</sub>) according to the above expression, and in general such a random variable is not readily obtainable. The following describes a special case where it is.</p>
<p><bold>Special case:</bold> For an exponential distribution of <italic>T</italic><sub>a</sub> we can easily derive from Equation (4) that
<disp-formula id="E5"><label>(5)</label><mml:math id="M5"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>a</mml:mtext><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>exp</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mo>&#x000A0;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02265;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
Consequently, by inspection of Equation (1), Availability Model 1 is equivalent to Availability Model 2, for exponential availability times. This equivalence can also be seen by considering Equation (2).</p>
<p>There are, of course, other possible models for the distribution of the release time, such as a Rayleigh or lognormal model, and it is feasible that such models may be a better fit to data than the assumed exponential model. For example, more complex models exist that describe the biophysics of vesicle generation, and how release probability depends on calcium concentration (Meddis, <xref ref-type="bibr" rid="B23">1986</xref>; Sumner et al., <xref ref-type="bibr" rid="B35">2002</xref>; McDonnell et al., <xref ref-type="bibr" rid="B22">2008</xref>). Discussing the accuracy of simplifying such models to the phenomenological model used here is beyond the scope of this paper. In general, however, any non-exponentially distributed <italic>T</italic><sub>a</sub> will not lead to equivalence between Availability Model 1 and Availability Model 2.</p>
</sec>
</sec>
<sec>
<title>3.2. Release models</title>
<p>There is a specific random variable that exists in both conceptual release models: the event that a vesicle is released, or not released, upon arrival of the <italic>i</italic>&#x02013;th pre-synaptic AP at time <italic>t</italic> &#x0003D; <italic>t</italic><sub>AP, <italic>i</italic></sub>. We label this random variable as <italic>R</italic>(<italic>t</italic><sub>AP, <italic>i</italic>)</sub>. This random variable is binary, it exists only at each AP time, it depends on the last time at which a vesicle was released, <italic>t</italic><sub>s</sub>, and we denote its outcomes as &#x003B1; if a vesicle is released and as &#x003B2; if it is not. We denote the probability that the event &#x003B1; occurs at time <italic>t</italic>, given the vesicle is available, as <italic>P</italic><sub>r|a</sub>(<italic>t</italic>). The random variable has a probability mass function, and this is given for Availability Model 1 by
<disp-formula id="E6"><label>(6)</label><mml:math id="M6"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mi>&#x003B1;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mi>&#x003B2;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
where <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x0003E; <italic>t</italic><sub>s</sub>, and for Availability Model 2 by
<disp-formula id="E7"><label>(7)</label><mml:math id="M7"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mi>&#x003B1;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>a</mml:mtext><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mi>&#x003B2;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>a</mml:mtext><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
Note that in Release Model 1, <italic>P</italic><sub>r|a</sub> has no time dependence [i.e., <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>i</italic></sub>) &#x0003D; <italic>P</italic><sub>r|a</sub>], but this is the only difference in comparison with Release Model 2 (see Equation 1). Consequently, provided the release probability has been calculated correctly at each point in time during a simulation, there are no other differences in a stochastic simulation implementation in comparison with Release Model 2.</p>
</sec>
<sec>
<title>3.3. Combining availability and release</title>
<p>A relevant binary-valued stochastic process can be stated based on the random variables described above, namely, the process describing whether a vesicle is available at any point in time. A succinct description of this process is given in Loebel et al., (<xref ref-type="bibr" rid="B16">2009</xref>, Equation 4), where it is expressed in terms of a differential equation. Following the notation used in that description, we label the stochastic process as &#x003C3;(<italic>t</italic>), and let &#x003C3;(<italic>t</italic>) &#x0003D; 1 when the vesicle is available and let &#x003C3;(<italic>t</italic>) &#x0003D; 0 otherwise. The process is fully described by the following equation:
<disp-formula id="E8"><label>(8)</label><mml:math id="M8"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>&#x003C3;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mi>&#x003C3;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mi>R</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mi>&#x003B4;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>+</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>&#x003C3;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mi>&#x003B4;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
where the notation <sup>&#x02212;</sup> in <italic>t</italic><sup>&#x02212;</sup> is used as shorthand to represent <italic>t</italic><sup>&#x02212;</sup> &#x0003D; <italic>t</italic> &#x02212; &#x02208;, where &#x02208; is a very short time period; thus when <italic>t</italic> &#x0003D; <italic>t</italic><sub>AP, <italic>i</italic></sub> then <italic>t</italic><sup>&#x02212;</sup> is the time instant immediately prior to AP <italic>i</italic> arriving. We have assigned &#x003B1; &#x0003D; 1 and &#x003B2; &#x0003D; 0 as the possible values of the random variable <italic>R</italic>(<italic>t</italic>). During intervals of time for which &#x003C3;(<italic>t</italic>) &#x0003D; 0, the right hand side of Equation (8) is just &#x003B4;(<italic>t</italic> &#x02212; <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x02212; <italic>T</italic><sub>a</sub>), and mathematically, the remaining terms in Equation (8) describe the fact that &#x003C3;(<italic>t</italic>) can jump from 0 to 1 only at the time <italic>t</italic> &#x0003D; <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x0002B; <italic>T</italic><sub>a</sub>. Similarly, Equation (8) is such that &#x003C3;(<italic>t</italic>) can jump from 1 to 0 only when both <italic>R</italic>(<italic>t</italic>) &#x0003D; &#x003B1; &#x0003D; 1 and <italic>t</italic> &#x0003D; <italic>t</italic><sub>AP, <italic>i</italic></sub>, or equivalently, <italic>R</italic>(<italic>t</italic><sub>AP, <italic>i</italic></sub>) &#x0003D; 1, which means a vesicle is released when AP <italic>i</italic> arrives.</p>
<p>Note that in Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>), the event where &#x003C3;(<italic>t</italic>) jumps from 0 to 1 is stated to be modeled as a Poisson process. A Poisson process has exponentially distributed times between events, and therefore the conceptual model in Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>) is in this sense the same as our Availability Model 1 with exponentially distributed <italic>T</italic><sub>a1</sub>, with mean &#x003C4;<sub>a</sub>. However, for an actual Poisson process, events will continue to occur for all time, not just when vesicles are currently unavailable, which is at odds with our stated conceptual model. Nevertheless, it can be inferred that in Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>) that Poisson events are ignored when &#x003C3;(<italic>t</italic>) &#x0003D; 1.</p>
<p>Does this mean that the distribution of times until a vesicle becomes available is different in each conceptual model, since in the Poisson process, the exponential time to arrival begins at the time of the previous Poisson event, whereas in Availability Model 1 begins at the most recent release time? The answer is no, due to the independence of events in Poisson processes (the same reason that Availability Models 1 and 2 are equivalent for exponentially distributed availability times). Therefore, there will be no difference when a stochastic simulation implementation of the Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>) conceptual model is carried out, compared with an implementation of our Availability Model 1 with exponentially distributed arrival times. However, if the arrival times are not exponential, and the corresponding non-Poisson process replaces the Poisson process in the Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>) conceptual model, the results will not be the same.</p>
</sec>
<sec>
<title>3.4. Deterministic mean models for availability models 1 and 2</title>
<p>Differential equation notation is often used to express how the mean fraction of available vesicles, <italic>N</italic><sub>a</sub>(<italic>t</italic>), changes over time in two ways: either upon a spike arrival, or between spike arrivals (Tsodyks and Markram, <xref ref-type="bibr" rid="B37">1997</xref>; Fuhrmann et al., <xref ref-type="bibr" rid="B9">2002</xref>; Scott et al., <xref ref-type="bibr" rid="B33">2012</xref>). The typical form of such expressions is
<disp-formula id="E9"><mml:math id="M9"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mtext>r&#x0007C;a</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:munderover><mml:mi>&#x003B4;</mml:mi></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
where <italic>t</italic><sub>AP, <italic>i</italic></sub> is the arrival time of the <italic>i</italic>&#x02013;th AP, out of a total of <italic>K</italic>, and <italic>N</italic><sub>r|a</sub> is the mean fraction of available vesicles released by the <italic>i</italic>&#x02013;th AP. This differential equation can be easily solved in closed form (e.g., Tsodyks and Markram, <xref ref-type="bibr" rid="B37">1997</xref>) to get
<disp-formula id="E10"><label>(9)</label><mml:math id="M10"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x0003C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mtext>&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>exp</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
where <italic>i</italic> &#x0003D; 1, &#x02026;, <italic>K</italic>.</p>
<p>Note that the change over time in the fraction of trials in which the vesicle is available clearly has a dependence on both (1) the time since the most recent pre-synaptic AP and (2) on the fraction of vesicles available at the time of the most-recent pre-synaptic AP. Consequently, the deterministic mean model should be interpreted as explicitly solving for the <italic>conditional</italic> mean number of vesicles released at each AP arrival, <italic>given</italic> the number that are available for release.</p>
<p><bold>Remark 1:</bold> It is clear that the mean model accurately reflects Availability Model 2 generally, and in the specific case stated above, assumes exponential availability times following each AP arrival. Moreover, we have discussed that Availability Models 1 and 2 are equivalent for exponentially distributed availability times, and hence the stated mean model also accurately reflects Availability Model 1 for this specific case.</p>
<p><bold>Remark 2:</bold> The deterministic mean model does not, however, accurately reflect Availability Model 1 for non-exponentially distributed availability times, since under Availability Model 1, the fraction of trials in which a vesicle should be released, given that it is available, should be based on the trial-dependent time since a vesicle was released, not solely on the time since the most recent AP. Therefore, the right hand side of a differential equation describing the mean number of trials in which a vesicle is available should have an additional term for each AP that occurs prior to the current AP. Moreover, if each additional term describes the mean number of trials in which vesicles have not become available since the <italic>i</italic>&#x02013;th AP, the results will potentially become increasingly inaccurate with the time elapsed since the <italic>i</italic>&#x02013;th AP.</p>
<p>One possibly useful element in any extension of mathematical analysis to this case of multiple trials might be an iterative expression articulated in a different context by McDonnell et al. (<xref ref-type="bibr" rid="B21">2002</xref>, <xref ref-type="bibr" rid="B22">2008</xref>), that can be adapted to describe the conditional probability that <italic>u</italic> vesicles are available across <italic>Z</italic> trials, even if the time they were released differs. This approach does not suggest a straightforward method for implementing a stochastic simulation, but as described by McDonnell et al. (<xref ref-type="bibr" rid="B21">2002</xref>, <xref ref-type="bibr" rid="B22">2008</xref>), there are simple expressions for the conditional mean and variance, and these could potentially be used within a deterministic equation that describes how the mean number of trials in which a vesicle is available changes with time.</p>
<p>In section 5, we compare the results of stochastic simulations with results for the mean obtained from Equation (9). We also use a result for a scenario where pre-synaptic APs arrive at the synapse periodically with frequency <italic>f</italic> Hz so that the AP times are <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x0003D; <italic>i</italic>/<italic>f</italic>, <italic>i</italic> &#x0003D; 1, 2, &#x02026;. In this case, it is well known that the mean fraction of vesicles available quickly decays to a constant steady state value, <italic>N</italic><sup>&#x02212;</sup><sub>ss</sub> :&#x0003D; <italic>N</italic><sub>a</sub>(<italic>t</italic><sup>&#x02212;</sup><sub>AP, <italic>i</italic> &#x0002B; 1</sub>) &#x0003D; <italic>N</italic><sub>a</sub>(<italic>t</italic><sup>&#x02212;</sup><sub>AP, <italic>i</italic></sub>). As shown in (Abbott et al., <xref ref-type="bibr" rid="B2">1997</xref>; Matveev and Wang, <xref ref-type="bibr" rid="B20">2000b</xref>), this can be obtained from Equation (9) (which hold for Availability Model 2 generally, and for Availability Model 1 with exponentially distributed availability times) to get the mean fraction of vesicles available for release just prior to a pre-synaptic spike as
<disp-formula id="E11"><label>(10)</label><mml:math id="M11"><mml:mrow><mml:msubsup><mml:mi>N</mml:mi><mml:mrow><mml:mtext>ss</mml:mtext></mml:mrow><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>exp</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>exp</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
</sec>
</sec>
<sec>
<title>4. Correct and incorrect stochastic simulations, in response to pre-synaptic spike trains</title>
<p>We consider how a synaptic vesicle release site, containing at most a single vesicle, responds over time (<italic>t</italic> &#x02265; 0), to a sequence of <italic>K</italic> arriving pre-synaptic APs. A stochastic simulation implementation that is faithful to the conceptual models is one that accurately produces vesicle releases that reflect the probabilities stated in Equation (6) or in (7).</p>
<p>In order to carry this out, it is necessary at every time step of the simulation to have a determined state of the availability of the vesicle. In other words, the vesicle is either available or not available. It switches from available to not available in the event that it is released, and it switches from not-available to available once, and only once, in the time following its last release. Therefore, once the vesicle becomes available according to the stochastic simulation, after a time <italic>T</italic> since the previous release, the probability of availability that must be used within the simulation is given by
<disp-formula id="E12"><label>(11)</label><mml:math id="M12"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>a</mml:mtext><mml:mo>,</mml:mo><mml:mtext>f</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x02265;</mml:mo><mml:mi>T</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x0003C;</mml:mo><mml:mi>T</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
This holds for both Availability Model 1 and Availability Model 2.</p>
<p>There are a number of parameter values that are required to be set in order to simulate a stochastic synapse model, as introduced above. These are summarized in Table <xref ref-type="table" rid="T1">1</xref>.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p><bold>List of parameter notation for single-vesicle release models</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left"><bold>Parameter name</bold></th>
<th align="left"><bold>Notation</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Time-dependent probability of release, given vesicle is available</td>
<td align="left"><italic>P</italic><sub>r|a</sub>(<italic>t</italic>)</td>
</tr>
<tr>
<td align="left">Mean time to restore a released vesicle</td>
<td align="left">&#x003C4;<sub>a</sub></td>
</tr>
<tr>
<td align="left">Simulation duration</td>
<td align="left"><italic>T</italic></td>
</tr>
<tr>
<td align="left">Number of pre-synaptic spikes</td>
<td align="left"><italic>K</italic></td>
</tr>
<tr>
<td align="left">Time of arrival of each pre-synapticaction potential (AP)</td>
<td align="left"><italic>t</italic><sub>AP, <italic>i</italic></sub> &#x02208; [0, <italic>T</italic>], <italic>i</italic> &#x0003D; 1,2,&#x02026;, <italic>K</italic></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In implementations of stochastic simulations it is necessary to generate random numbers from particular probability distributions. If a uniform random number generator is available, then its output, <italic>U</italic> &#x02208; (0, 1), represents a number drawn from a continuous probability distribution. Random numbers from many other distributions can be generated from uniform random numbers. For example, exponentially distributed random numbers can be obtained by the operation <italic>T</italic><sub>a</sub> &#x0003D; &#x02212;&#x003C4;<sub>a</sub>ln(<italic>U</italic>).</p>
<p>In the pseudo-code below, we assume exponentially distributed availability times as our example, but if other distributions for this random variable are desirable, then the only change required is to generate random numbers from that distribution instead.</p>
<sec>
<title>4.1. Single vesicle availability and release: availability model 1</title>
<p>The following pseudo-code illustrates how simulations of the random variables described above can be implemented in stochastic simulations.</p>
<p><bold>Correct Implementation 1, for AM1</bold>
<preformat>
Set: NextAvailabilityTime &#x0003D; 0
For each pre-synaptic spike, i&#x0003D;1:K,
             occurring at time t_i
  if t_i &#x0003E;&#x0003D; NextAvailabilityTime
    //vesicle is available
    if Pr_given_a(t_i) &#x0003E; unifrand()
      //Release the vesicle
      Set: LastReleaseTime &#x0003D; t_i
      //reset the next availability
        time, for
      //exponentially distributed
        availability times
      NextAvailabilityTime &#x0003D; LastReleaseTime
      &#x0002B;exprand(tau)
    end
  end
end
//unifrand() generates a uniformly
  distributed random number between
  0 and 1
//exprand() generates an exponentially
  distributed random number with mean tau
</preformat></p>
<p>The pseudo-code variable <bold>LastReleaseTime</bold> represents our mathematical variable, <italic>t</italic><sub>s</sub>. A direct translation of this pseudo-code into the probability that the vesicle will be released upon the arrival of AP <italic>i</italic>, <italic>given t</italic><sub>s</sub>, obtains <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>i</italic></sub>)Prob(<italic>t</italic><sub>AP, <italic>i</italic></sub> &#x0003E; <italic>t</italic><sub>s</sub> &#x0002B; <italic>T</italic><sub>a</sub>). This can be expressed as <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>i</italic></sub>)Prob(<italic>T</italic><sub>a</sub> &#x0003C; <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x02212; <italic>t</italic><sub>s</sub>) &#x0003D; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>i</italic></sub>)<italic>F</italic><sub><italic>T</italic><sub>a</sub></sub>(<italic>t</italic><sub>AP, <italic>i</italic></sub> &#x02212; <italic>t</italic><sub>s</sub>), and thus exactly matches Equation (6), as required.</p>
<p>There are also several ways in which the conceptual model has been, or could be, erroneously translated into a stochastic simulation, and these are described in the following subsections.</p>
<sec>
<title>4.1.1. First incorrect implementation of availability model 1</title>
<p>It is stated in Scott et al. (<xref ref-type="bibr" rid="B33">2012</xref>) that &#x0201C;Following successful vesicle release, [the availability probability] is set to zero and relaxes back to 1 &#x02026;&#x0201D; The exact form of this time changing probability [which we introduced above as <italic>P</italic><sub>a</sub>(<italic>t</italic>|<italic>t</italic><sub>s</sub>)] is expressed in Scott et al., (<xref ref-type="bibr" rid="B33">2012</xref>, Equation 14) as the solution to a differential equation, which has an exact solution equivalent to stating that
<disp-formula id="E13"><label>(12)</label><mml:math id="M13"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>exp</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mo>&#x000A0;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
where <italic>t</italic><sub>s</sub> was the last successful release time. Clearly Equation (12) is equivalent to Equation (1). However, it is also stated in Scott et al. (<xref ref-type="bibr" rid="B33">2012</xref>) that in order to create a stochastic model, &#x0201C;&#x02026; we allowed vesicle release following comparison of&#x0201D; <italic>P</italic><sub>a</sub>(<italic>t</italic>|<italic>t</italic><sub>s</sub>)<italic>P</italic><sub>r|a</sub>(<italic>t</italic>) &#x0201C;with a random number between 0 and 1.&#x0201D;</p>
<p>The following pseudo-code illustrates how this statement would be correctly implemented:</p>
<p><bold>Incorrect Implementation 1.1, for AM1</bold>
<preformat>
For each pre-synaptic spike, i&#x0003D;1:K,
    occurring at time t_i
  Set: Pa &#x0003D; 1-exp(-(t_i-LastReleaseTime)/
                  tau_r)
   if Pa*Pr_given_a(t_i) &#x0003E; unifrand()
     //Release the vesicle
     Set: LastReleaseTime &#x0003D; t_i
  end
end
</preformat></p>
<p>A direct translation of this pseudo-code into the probability that the vesicle will be released upon the arrival of the first AP after <italic>t</italic><sub>s</sub>, at time <italic>t</italic><sub>AP, <italic>j</italic></sub>, <italic>given t</italic><sub>s</sub>, obtains <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>)<italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>|<italic>t</italic><sub>s</sub>) which is in agreement with the correct implementation. However, this implementation also imposes a probability that the vesicle will be released upon the arrival of the second AP after <italic>t</italic><sub>s</sub>, at time <italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>, as (1&#x02212; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>)<italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>|<italic>t</italic><sub>s</sub>)) &#x000D7; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>) <italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>|<italic>t</italic><sub>s</sub>), which is the product of the probabilities of non-release at the <italic>j</italic>&#x02013;th AP, and the calculated probability of release at the <italic>j</italic> &#x0002B; 1&#x02013;th AP. This is not in agreement with Equation (6). Similar holds for the case where the vesicle is not released within the simulation after the <italic>j</italic> &#x0002B; 2&#x02013;th AP, the <italic>j</italic> &#x0002B; 3&#x02013;th and so forth.</p>
<p>The reason that the implementation is incorrect is that it does not take into account that the non-release at the <italic>j</italic>&#x02013;th AP could have been due to release failure for an available vesicle, and this distorts the simulated probability of when the vesicle is released.</p>
<p>This fact might be more readily apparent by considering the following different incorrect implementation that achieves equivalent, but slightly less efficient, results:</p>
<p><bold>Incorrect Implementation 1.2, for AM1</bold>
<preformat>
For each pre-synaptic spike, i&#x0003D;1:K,
    occurring at time t_i
  Set: Pa &#x0003D; 1-exp(-(t_i-LastReleaseTime)/
                  tau_r)
   if Pa &#x0003E; unifrand1()
     if Pr_given_a(t_i) &#x0003E; unifrand2()
       //Release the vesicle
       Set: LastReleaseTime &#x0003D; t_i
   end
end</preformat>
</p>
<p>A direct translation of this pseudo-code into the probability that the vesicle will be released upon the arrival of the first AP after <italic>t</italic><sub>s</sub>, at time <italic>t</italic><sub>AP, <italic>j</italic></sub> is also in agreement with the correct implementation. However, the probability that the vesicle will be released upon the arrival of the second AP after <italic>t</italic><sub>s</sub>, at time <italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>, translates as [(1 &#x02212; <italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>|<italic>t</italic><sub>s</sub>)) &#x0002B; <italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>|<italic>t</italic><sub>s</sub>)(1 &#x02212; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>))] &#x000D7; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>) <italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>|<italic>t</italic><sub>s</sub>), which is also not in agreement with Equation (6). Rearranging this gives (1 &#x02212; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>)<italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>|<italic>t</italic><sub>s</sub>)) &#x000D7; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>) <italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>|<italic>t</italic><sub>s</sub>), which is identical to the result for the first stated incorrect pseudo-code.</p>
<p>Both cases of incorrect pseudo-code are incorrect because, as is clear in the second version, a random number can be drawn that is less than the probability of availability, which represents the vesicle being available. But the code does not take into account that once this happens once, there should never be a failure of availability before the vesicle is released.</p>
<p>The pseudo-code is equivalent to a different conceptual model where the vesicle&#x00027;s availability is reset to zero upon every spike arrival, regardless of whether the vesicle is released or not. Following this reset, the time until availability remains dependent on the time since the last release. This is unlike Availability Model 2, in which the reset causes the time until availability to become dependent on the time since the last spike arrival instead, and only for vesicles that are unavailable.</p>
</sec>
<sec>
<title>4.1.2. Second incorrect implementation of availability model 1</title>
<p>A second possible incorrect implementation could result from attempting to address the problem above by implementing the following incorrect pseudo-code:</p>
<p><bold>Incorrect Implementation 2, for AM1</bold>
<preformat>
Set: IsVesicleAvailable &#x0003D; 1
For each pre-synaptic spike, i&#x0003D;1:K,
    occurring at time t_i
  if IsVesicleAvailable &#x0003D;&#x0003D; 0
    //vesicle is not available
    Set: Pa &#x0003D; 1-exp(-(t_i-LastReleaseTime)/
                  tau_r)
    if Pa &#x0003E; unifrand1()
      //vesicle becomes available
      IsVesicleAvailable &#x0003D; 1
    end
  end
  if IsVesicleAvailable &#x0003D;&#x0003D; 1
    //vesicle is available
    if Pr_given_a(t_i) &#x0003E; unifrand2()
      //Release the vesicle
      Set: IsVesicleAvailable &#x0003D; 0
      Set: LastReleaseTime &#x0003D; t_i
  end
end</preformat>
</p>
<p>A direct translation of this pseudo-code into the probability that the vesicle will be released upon the arrival of the first AP after <italic>t</italic><sub>s</sub>, at time <italic>t</italic><sub>AP, <italic>j</italic></sub> is also in agreement with the correct implementation. However, the probability that the vesicle will be released upon the arrival of the second AP after <italic>t</italic><sub>s</sub>, at time <italic>t</italic><sub>AP, <italic>j</italic> &#x0002B; 1</sub>, translates as <italic>P</italic><sub>r|a</sub>, if the vesicle was made available after the first spike, but not released, and as <italic>P</italic><sub><italic>a</italic></sub><italic>P</italic><sub><italic>r</italic>|<italic>a</italic></sub> if it became available after two spikes. When the probability of being in each of these three states is taken into account, the overall probability that the vesicle will be released upon the arrival of the second AP is <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic>&#x0002B;1</sub>)[<italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>)(1 &#x02212; <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>)) &#x0002B; (1 &#x02212; <italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic></sub>))<italic>P</italic><sub>a</sub>(<italic>t</italic><sub>AP, <italic>j</italic>&#x0002B;1</sub>)].</p>
<p>As a concrete example of why this implementation is incorrect, consider an example where immediately after a vesicle release, the next arriving AP did not find a vesicle available. Suppose <italic>P</italic><sub>a</sub> &#x0003D; 0.4 at this time, and increases to <italic>P</italic><sub>a</sub> &#x0003D; 0.7 just before the next arriving spike. We should have a vesicle available after the first spike in 40% of repeated trials, and a vesicle available in 70% of repeated trials after two spikes. However, in this implementation, when the vesicle is not available after the first spike, we compare <italic>P</italic><sub>a</sub> &#x0003D; 0.7 with a random number, and 70% of the time for this case we then say a vesicle will be available after two spikes. This is incorrect, because we will have 40% of trials finding a vesicle on the first spike arrival spike and therefore by comparing <italic>P</italic><sub>a</sub> with 0.7 we have 100 &#x000D7;(1 &#x02212; 0.4) &#x000D7; 0.7 &#x0003D; 42% of trials finding a vesicle available on the second spike arrival, but not the first. Thus, there are 40 &#x0002B; 42 &#x0003D; 82% of all trials finding a vesicle available after either the first or second spike arrival. The latter value should, however, be 70%, not 82%, according to the conceptual model. Therefore, this implementation causes too many vesicles to become available by the time of the second spike arrival, if they were not available on the first arrival. The correct number to compare with a random variable upon the second spike arrival is 0.5, which would mean 30% of trials find a vesicle available on the second spike arrival, but not the first.</p>
</sec>
<sec>
<title>4.1.3. Second correct implementation of availability model 1</title>
<p>Incorrect Implementation 2 can be corrected by changing the calculation of <italic>P</italic><sub>a</sub>(<italic>t</italic>), based on Equation (2). For exponential availability times, the correction is a simple matter of replacing the pseudo-code line
<preformat>
Set: Pa &#x0003D; 1-exp(-(t_i-LastReleaseTime)/
                  tau_r)</preformat>
</p>
<p>with
<preformat>
Set: Pa &#x0003D; 1-exp(-(t_i-t_(i-1))/tau_r)</preformat>
</p>
<p>For non-exponentially distributed arrival times, the required change is more complex, but readily follows in a similar fashion, from Equation (2).</p>
</sec>
<sec>
<title>4.1.4. Third correct implementation of availability model 1, for exponential availability times</title>
<p>We stated above that for the special case of exponentially distributed times for a vesicle to become available, Availability Model 1 is equivalent to a conceptual model where a vesicle becomes available upon generation of the next event within a Poisson process with rate 1/&#x003C4;<sub>a</sub>, following release, as in Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>). An implementation of this conceptual model is illustrated in the following pseudo code, where it is assumed that the Poisson events had previously been calculated, and that <monospace>NextPoissonTime(x)</monospace> is a function that returns the time of the Poisson event immediately following the time given by its argument.</p>
<p><bold>Correct Implementation 3, for AM1</bold>
<preformat>
Set: NextAvailabilityTime &#x0003D; 0
For each pre-synaptic spike, i&#x0003D;1:K,
     occurring at time t_i
  if t_i &#x0003E;&#x0003D; NextAvailabilityTime
    //vesicle is available
    if Pr_given_a(t_i) &#x0003E; unifrand()
      //Release the vesicle
      Set: NextAvailabilityTime
         &#x0003D; NextPoissonTime(t_i)
    end
  end
end
</preformat>
</p>
</sec>
</sec>
<sec>
<title>4.2. Single vesicle availability and release: availability model 2</title>
<p>The following pseudo-code illustrates how simulations of Availability Model 2 can be implemented in stochastic simulations. Note that the only difference in comparison with the pseudo-code for Availability Model 1 is that the time of next availability (for unavailable vesicles only) is dependent only on the last spike arrival time, not the last release time, in order to match the conceptual model.</p>
<p><bold>Correct Implementation 1 for AM2</bold>
<preformat>
Set: NextAvailabilityTime &#x0003D; 0
For each pre-synaptic spike, i&#x0003D;1:K,
   occurring at time t_i
  if t_i &#x0003E;&#x0003D; NextAvailabilityTime
    //vesicle is available
    if Pr_given_a(t_i) &#x0003E; unifrand()
      //Release the vesicle and reset the
        next availability time, for
      // exponentially distributed
         availability times
      NextAvailabilityTime &#x0003D; t_i
                    &#x0002B;exprand(tau)
    end
  else
    //vesicle is unavailable; reset the
      next availability time, for
    //exponentially distributed
      availability times
    NextAvailabilityTime &#x0003D; t_i &#x0002B;exprand(tau)
  end
end
</preformat>
</p>
<p>A direct translation of this pseudo-code into the probability that the vesicle will be released upon the arrival of AP <italic>i</italic>, given that it was not released by the time of AP <italic>i</italic> &#x02212; 1, obtains <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>i</italic></sub>)Prob(<italic>t</italic><sub>AP, <italic>i</italic></sub> &#x0003E; <italic>t</italic><sub>AP, <italic>i</italic> &#x02212; 1</sub> &#x0002B; <italic>T</italic><sub>a</sub>). This can be expressed as <italic>P</italic><sub>r|a</sub>(<italic>t</italic><sub>AP, <italic>i</italic></sub>)Prob(<italic>T</italic><sub>a</sub> &#x0003C; <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x02212; <italic>t</italic><sub>AP, <italic>i</italic> &#x02212; 1</sub>), and thus exactly matches Equation (7), as required, upon substitution of Equation (5).</p>
<p>It is possible to incorrectly implement Availability Model 2 in a manner directly analogous to that in the first incorrect implementation of Availability Model 1. However, an implementation analogous to the second incorrect implementation of Availability Model 1, will actually be correct for Availability Model 2, since now the probability of availability is dependent only on the last AP arrival time.</p>
</sec>
<sec>
<title>4.3. Multiple trials of single vesicle availability and release</title>
<sec>
<title>4.3.1. Availability model 1 with exponential availability times</title>
<p>For the special case of exponentially distributed availability times, for each trial in which a vesicle is unavailable at the previous AP, the probability of becoming available by the current one will be identical for each trial (provided the input APs occur at the same times in all trials). As a direct consequence of this, the probability that <italic>w</italic> trials result in a vesicle becoming available, out of <italic>v</italic> in which a vesicle was not available at time <italic>t</italic><sub>AP, <italic>i</italic></sub>, is given by the binomial distribution, as mentioned and studied numerous times, e.g., (Vere-Jones, <xref ref-type="bibr" rid="B38">1966</xref>; Melkonian and Kostopoulos, <xref ref-type="bibr" rid="B24">1996</xref>; Quastel, <xref ref-type="bibr" rid="B28">1997</xref>; Matveev and Wang, <xref ref-type="bibr" rid="B20">2000b</xref>; Pfister et al., <xref ref-type="bibr" rid="B27">2010</xref>; Reich and Rosenbaum, <xref ref-type="bibr" rid="B30">2013</xref>). We introduce a random variable, <italic>W</italic>, to describe the number of unavailable vesicles that become available. We have
<disp-formula id="E14"><mml:math id="M14"><mml:mrow><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:mi>W</mml:mi><mml:mo>=</mml:mo><mml:mi>w</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:mi>v</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mi>v</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>w</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>v</mml:mi><mml:mtext>&#x0200A;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mi>w</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>w</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
That this expression holds enables a stochastic simulation implementation that is far more efficient than repeating each of <italic>Z</italic> trials independently, as described in the following pseudo-code.</p>
<p><preformat>
Set: NumUnavailable &#x0003D; 0
For each pre-synaptic spike, i&#x0003D;1:K,
    occurring at time t_i
  //Calculate probability of availability
    at t_i for any unavailable vesicles
  Set: Pa &#x0003D; 1-exp(-(t_i-t_(i-1))/tau_r)
  //calculate the number to become
    available by t_i
  Set: NumUnavailable &#x0003D; NumUnavailable
     &#x02212; binornd(NumUnavailable,Pa);
  //calculate number to release at t_i
  Set: NumUnavailable &#x0003D; NumUnAvailable
     &#x0002B; binornd(NumTrials-NumUnavailable,
       Pr_given_a(t_i))
end
//binornd(v,w) calculates a binomially
  distributed random number with
// a maximum value of v, and mean vw.</preformat>
</p>
<p>This algorithm is an extension of an algorithm presented by Quastel (<xref ref-type="bibr" rid="B28">1997</xref>) (see also Pfister et al., <xref ref-type="bibr" rid="B27">2010</xref>) for the case where <italic>P</italic><sub>a</sub> is time-independent.</p>
<p>In the above pseudo-code, we have calculated two independent binomially distributed random numbers for each pre-synaptic AP arrival. The second random number describes the number of trials in which an available vesicle is released. This is accurate with respect to both Release Model 1 and Release Model 2 under the assumptions of this paper, since the simulation calculated how many trials have a vesicle available at each time <italic>t</italic><sub>AP, <italic>i</italic></sub>, and the probability of release is independent and identical for all trials in both release models. Mathematically, if we denote the random variable describing the number of vesicles released as <italic>U</italic>, when <italic>s</italic> are available, we have
<disp-formula id="E15"><mml:math id="M15"><mml:mrow><mml:mtext>Prob</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:mi>U</mml:mi><mml:mo>=</mml:mo><mml:mi>u</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:mi>s</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>u</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>s</mml:mi><mml:mtext>&#x0200A;</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mi>u</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>s</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
The use of binomially distributed random numbers in this way will not be correct for a possible alternative release models where the probability of release, given availability, depends on the history of vesicle release in each trial, because the refill events are not independent in that case [see, e.g., Quastel (<xref ref-type="bibr" rid="B28">1997</xref>) for mathematical analysis of this case].</p>
</sec>
<sec>
<title>4.3.2. Availability model 2 with exponential availability times</title>
<p>The binomial approach described above for the special exponential case of Availability Model 1, will also correctly simulate Availability Model 2 with exponential availability times, since, as discussed above, the two models are equivalent under this special case.</p>
</sec>
<sec>
<title>4.3.3. Availability models 1 and 2 with non-exponential availability times</title>
<p>The algorithm above holds only for exponential availability times, as it relies on the fact that in this case <italic>P</italic><sub>a</sub>,1(<italic>t</italic>|<italic>t</italic><sub>s</sub>) &#x0003D; 1&#x02212; exp(&#x02212;(<italic>t</italic> &#x02212; <italic>t</italic><sub>s</sub>)/&#x003C4;<sub>a</sub>), <italic>t</italic> &#x02265; <italic>t</italic><sub>s</sub> for all vesicles. For non-exponential availability times, the number of vesicles unavailable due to release from all previous spikes needs to be tracked, and consequently many more binomial random numbers need to be generated following each AP. Moreover, <italic>P</italic><sub>a</sub>(<italic>t</italic>) needs to be calculated using Equation (2).</p>
</sec>
</sec>
<sec>
<title>4.4. Comparison of algorithm implementation efficiencies</title>
<p>We have aimed in the pseudo-code implementations above to describe computationally efficient algorithms that require as few random numbers to be generated as possible.</p>
<p>We note that the implementation suggested, for example, in Loebel et al. (<xref ref-type="bibr" rid="B16">2009</xref>) [see also Sterratt et al., (<xref ref-type="bibr" rid="B34">2011</xref>, p. 188)] involves an accurate approximation of a true Poisson point process, and this approximation is particularly relevant to any simulation in which time is discretised into uniform intervals of &#x00394;<italic>t</italic>, such as in most simulations that involve numerical solution of differential equations. The well-known approximation states that provided that &#x00394;<italic>t</italic> &#x000AB; &#x003C4;<sub>a</sub>, a Poisson point process event occurs within any given time interval of duration &#x00394;<italic>t</italic> with probability <inline-formula><mml:math id="M17"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>&#x00394;</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math></inline-formula>.</p>
<p>A stochastic simulation based on this approximation requires comparison of <inline-formula><mml:math id="M18"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>&#x00394;</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math></inline-formula> with a uniform random number at every time step of the simulation between times 0 and <italic>t</italic><sub><italic>K</italic></sub>. It is possible to alter the implementation so that the Poisson events are only calculated during the simulation, rather than prior, where a comparison of a uniform random number with <inline-formula><mml:math id="M19"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>&#x00394;</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math></inline-formula> is carried out for every time step following vesicle release, until a random number is generated that is larger than <inline-formula><mml:math id="M20"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>&#x00394;</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math></inline-formula>.</p>
<p>However, such implementations are potentially very inefficient, because many random numbers must usually be generated for every unavailable vesicle, whereas only one random number need be generated in, for example, Correct Implementation 1 for AM1.</p>
</sec>
</sec>
<sec>
<title>5. Examples: comparing stochastic simulation implementations</title>
<sec>
<title>5.1. Errors in simulating probability of release, and mean number of releases after <italic>K</italic> spike arrivals, for exponential availability times</title>
<p>We consider a scenario where pre-synaptic APs arrive at a synapse periodically with frequency <italic>f</italic> Hz. We consider <italic>Z</italic> repeated trials following an initial condition where a vesicle is assumed to have just been released, in all trials, at the start of our simulations. We calculate the number of trials in which the next vesicle release occurs after the first spike, the second spike and so forth. We obtain results for <italic>f</italic> between 5 and 150 Hz, for <italic>Z</italic> &#x0003D; 100,000, &#x003C4;<sub>a</sub> &#x0003D; 0.5 s and <italic>K</italic> &#x0003D; 50 pre-synaptic spikes (as a maximum; the simulation stops when a vesicle is first released). Thus, the AP times are <italic>t</italic><sub>AP, <italic>i</italic></sub> &#x0003D; <italic>i</italic>/<italic>f</italic>, <italic>i</italic> &#x0003D; 1, 2, &#x02026;,50.</p>
<p>We estimated the probability that the vesicle was next released after <italic>i</italic> &#x0003D; 1, 2, &#x02026; 20 APs following vesicle release at time <italic>t</italic> &#x0003D; 0, by evaluating the fraction of trials in which the vesicle was first released after the <italic>i</italic>&#x02013;th spike. We then calculated the absolute value of the difference in the estimated probability for several correct and incorrect implementations, and also the relative error, relative to the correct version.</p>
<p>In order to clarify the significance of the values we obtained for absolute and relative error, we also considered a simulation where <italic>H</italic> &#x0003D; 100 spikes per trial periodically arrive with frequency <italic>f</italic>, and for each implementation counted the total number of vesicles released as a function of <italic>f</italic>. We then compared the mean number released after <italic>H</italic> spikes, calculated from <italic>Z</italic> &#x0003D; 10,000 repeats of each implementation, as well as the maximum and minimum numbers released.</p>
<p>Finally, in order to show that our simulations and mathematical analysis is correct for Availability Model 1 for both periodic and non-periodic AP arrivals, we compare correct and incorrect implementations for each case with results predicted by the Equations (9) and (10).</p>
<sec>
<title>5.1.1. Results for availability models 1 and 2 with release model 1</title>
<p>We set the probability of release, given availability to <italic>P</italic><sub>r|a</sub> &#x0003D; 0.6. Figure <xref ref-type="fig" rid="F1">1</xref> shows the absolute error, and Figure <xref ref-type="fig" rid="F2">2</xref> shows the relative error between the correct and incorrect implementations, for Availability Model 1.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p><bold>Absolute errors for incorrect implementation 1 (A) and incorrect implementation 2 (B), for Availability Model 1, with exponentially distributed availability times.</bold> The data was obtained by empirically estimating the probability of release after <italic>i</italic> spikes, as a function of the frequency of periodically arriving pre-synaptic action potentials, by stochastically simulating <italic>Z</italic> &#x0003D; 100,000 trials for each condition. The absolute error can be as high as 0.1, and higher errors occur at low frequencies.</p></caption>
<graphic xlink:href="fncom-07-00058-g0001.tif"/>
</fig>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p><bold>Relative errors for incorrect implementation 1 (A) and incorrect implementation 2 (B) for Availability Model 1, with exponentially distributed availability times.</bold> The data was obtained by empirically estimating the probability of release after <italic>i</italic> spikes, as a function of the frequency of periodically arriving pre-synaptic action potentials, by stochastically simulating <italic>Z</italic> &#x0003D; 100,000 trials for each condition. The largest relative errors occur for higher frequencies.</p></caption>
<graphic xlink:href="fncom-07-00058-g0002.tif"/>
</fig>
<p>The absolute error, as predicted by the theory, is zero after the first pre-synaptic spike, for all <italic>f</italic>. However, it is clear that the absolute error can be as high as 10% for subsequent spikes, and is highest for low frequencies. It is also clear that the relative error can be very high for high frequencies. In these cases, the probability of release is relatively small for all subsequent spikes, and hence the absolute error is low. Yet the relative error can be higher than 500% at <italic>f</italic> &#x0003D; 150 Hz.</p>
<p>Figure <xref ref-type="fig" rid="F3">3</xref> shows the absolute error between the correct and incorrect implementation for Availability Model 2 (recall from above that an implementation analogous to the second incorrect implementation of Availability Model 1, is correct for Availability Model 2). The incorrect implementation clearly shows a smaller error than for Availability Model 1.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p><bold>Absolute error between correct and incorrect implementation for Availability Model 2, with exponentially distributed availability times.</bold> The data was obtained by empirically estimating the probability of release after <italic>i</italic> spikes, as a function of the frequency of periodically arriving pre-synaptic action potentials, by stochastically simulating <italic>Z</italic> &#x0003D; 100,000 trials for each condition. The largest error occurs for low frequencies, but is much smaller than for Availability Model 1.</p></caption>
<graphic xlink:href="fncom-07-00058-g0003.tif"/>
</fig>
<p>Results for the mean number of vesicles released after <italic>H</italic>&#x0003D; 100 spikes are shown in Figure <xref ref-type="fig" rid="F4">4</xref>. It is clear for Availability Model 1 that the mean number of vesicles released per trial of 100 spikes becomes more inaccurate for the incorrect models as <italic>f</italic> &#x003C4;<sub>r</sub> increases. For example, at <italic>f</italic>&#x003C4;<sub>r</sub> &#x0003E; 10, the incorrect models can produce more than twice as many vesicles as the correct one. It is clear for Availability Model 2 that the mean number of vesicles released per trial of 100 spikes is inaccurate for the incorrect model, similar to Availability Model 1. However, now the incorrect model underestimates the number of vesicles released, whereas for Availability Model 1, the incorrect models overestimated this number.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p><bold>Mean (solid traces) number of vesicles released in total after 100 periodic pre-synaptic action potential arrivals for Availability Model 1 (A) and Availability Model 2 (B).</bold> The minimum and maximum number of vesicles released are shown with (dashed traces). For each frequency f, all statistics are derived from 10,000 stochastic simulations. Clearly the incorrect implementations can over or under estimate the correct number of vesicles released.</p></caption>
<graphic xlink:href="fncom-07-00058-g0004.tif"/>
</fig>
<p>The data in Figure <xref ref-type="fig" rid="F4">4</xref> also shows that all models correctly produce a mean of <italic>P</italic><sub>r|a</sub> &#x0003D; 0.6 vesicles released at low frequencies, where the availability always has time to recover to close to 100%.</p>
<p>Figure <xref ref-type="fig" rid="F5">5</xref> shows the fraction of 1000 trials in which vesicles are released in response to a sequence of 20 periodically arriving APs, with frequency 10 Hz, and to a sequence of 50 APs arriving at times corresponding to a Poisson point process, with mean frequency 10 Hz. In this figure, the data for the <bold>Deterministic</bold>, and <bold>Steady state</bold> cases were obtained using Equations (9) and (10), respectively (derived previously in the literature, as stated and referenced above) and clearly match the correct stochastic simulations.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p><bold>Fraction of 1000 trials in which vesicles are released, for each of a sequence of 20 periodic spikes (A), and 50 Poisson spikes (B), and vesicles with exponentially distributed availability times.</bold> The frequency in both cases is 10 Hz. The traces for <bold>Deterministic</bold>, and <bold>Steady state</bold> were obtained using Equations (9) and (10). This data shows that the incorrect implementations give markedly different outcomes to the correct stochastic simulation implementations, and to the deterministic expression for the mean number of trials in which vesicles are released.</p></caption>
<graphic xlink:href="fncom-07-00058-g0005.tif"/>
</fig>
</sec>
<sec>
<title>5.1.2. Release model 2</title>
<p>In order to demonstrate how to incorporate a time dependent release probability, we consider a standard model of facilitation (see, e.g., Scott et al., <xref ref-type="bibr" rid="B33">2012</xref>). The change in release probability can be expressed as a differential equation, but it is clearer to write a piecewise equation as follows:
<disp-formula id="E16"><mml:math id="M16"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mi>Q</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x000A0;</mml:mo><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x0003C;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:mi>S</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mi>Q</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>Q</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mtext>r</mml:mtext><mml:mo>&#x0007C;</mml:mo><mml:mtext>a</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mtext>&#x0200A;</mml:mtext><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>exp</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mtext>AP</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mtext>f</mml:mtext></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
where <italic>Q</italic> is a parameter that describes the steady-state release probability, when there have been no arriving APs for a long time, and <italic>S</italic> is a parameter that describes the fractional increase (relative to the maximum possible increase) in release probability that occurs for every arriving pre-synaptic AP. We also have a time constant of facilitation, &#x003C4;<sub>f</sub>, which determines how quickly the release probability decays back to its resting value, <italic>Q</italic>. Examples of appropriate parameters might be <italic>Q</italic> &#x0003D; 0.4, and <italic>S</italic> &#x0003D; 0.2, similar to Scott et al. (<xref ref-type="bibr" rid="B33">2012</xref>).</p>
<p>Note that this particular function <italic>P</italic><sub>r|a</sub>(<italic>t</italic>) is determined entirely once the sequence of pre-synaptic spikes is known, and consequently it is easily incorporated into the stochastic simulation algorithms described above, and we do not show example results here.</p>
<p>The same observations hold for release-independent depression with frequency-dependent recovery, in which case &#x003C4;<sub>f</sub> can also change with time (Fuhrmann et al., <xref ref-type="bibr" rid="B8">2004</xref>; Scott et al., <xref ref-type="bibr" rid="B33">2012</xref>).</p>
</sec>
</sec>
<sec>
<title>5.2. Comparison of availability models 1 and 2 for non-exponential availability times</title>
<p>In order to demonstrate that a non-exponential availability model provides different outcomes for Availability Models 1 and 2, we consider the case of Rayleigh distributed availability times, with mean &#x003C4;<sub>a</sub> &#x0003D; 0.5 s.</p>
<p>Figure <xref ref-type="fig" rid="F6">6</xref> shows the fraction of 1000 trials in which vesicles are released, for both availability models, in response to a sequence of 20 periodically arriving APs, with frequency 10 Hz, and to a sequence of 50 APs arriving at times corresponding to a Poisson point process, with mean frequency 10 Hz.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p><bold>Fraction of 1000 trials in which vesicles are released, for each of a sequence of 20 periodic spikes (A), and 50 Poisson spikes (B), and vesicles with Rayleigh distributed availability times.</bold> The frequency in both cases is 10 Hz. This data shows that Availability Models 1 and 2 provide markedly different outcomes for Rayleigh distributed availability times, unlike the identical outcomes for exponentially distributed times. The data also shows that extension of the binomial approach matches the data where each trial is individually simulated.</p></caption>
<graphic xlink:href="fncom-07-00058-g0006.tif"/>
</fig>
<p>The results shown in Figure <xref ref-type="fig" rid="F6">6</xref> were obtained both by a direct adaptation of the correct stated pseudo-code above to Rayleigh distributed availability times, and also by direct adaption of the binomial approaches described, for Availability Model 2. The binomial results for Availability Model 1 required a more complex algorithm, where the number of vesicles unavailable due to release from all previous spikes needed to be tracked, and consequently many more binomial random numbers generated than for Availability Model 1. The data can be seen to match in either implementation, but to be quite different for each Availability Model.</p>
</sec>
</sec>
<sec>
<title>6. Conclusions and extensions</title>
<sec>
<title>6.1. Correct and efficient stochastic simulations of short-term plasticity</title>
<p>We have shown that various correct implementations of a stochastic simulation of either Availability Model 1 or 2 are possible. However, it is also possible to incorrectly implement either model. For Availability Model 1, two kinds of incorrect implementation result in more vesicle releases than should be the case. For Availability Model 2, an incorrect implementation results in less vesicle releases than should be the case.</p>
<p>We have also shown that some correct implementations are more efficient than others. In particular, we first stated an implementation that requires only a single random number to be generated each time a vesicle is released. This is more efficient than an implementation based on generation of a Poisson process that determines availability times, and much more efficient than generating a random number for every time step in a simulation.</p>
<p>We also have shown that when multiple independent vesicle releases are considered, the most efficient stochastic simulation implementation can be achieved by generating binomial random numbers.</p>
</sec>
<sec>
<title>6.2. Consequences of equivalence of availability models only for exponential availability times</title>
<p>We have discussed that the two availability conceptual models are equivalent when the availability times are exponentially distributed, and this can be derived as a consequence of a well known property of a homogeneous Poisson point process. When the availability times are non-exponential, the two availability conceptual models we consider are generally non-equivalent.</p>
<p>As we have shown, these points are important in terms of their consequences for the implementations that can be used to correctly simulate Availability Model 1. Another consequence is that the popular differential equation approach to describing the mean number of available vesicles could have analogous correct simple forms for Availability Model 2, but not for Availability Model 1.</p>
</sec>
<sec>
<title>6.3. Binomial-based stochastic simulations for non-exponential availability times</title>
<p>When <italic>T</italic><sub>a</sub> is not exponentially distributed, no simple adaptation of the binomial approach will work for Availability Model 1, because there is no simple procedure for calculating random numbers corresponding to the random variable <italic>W</italic>. However, it is possible to keep track of how many vesicles were made unavailable by each AP, and how many are restored by the time of each subsequent AP, and perform a stochastic simulation that calculates as many binomial random numbers as there have been prior APs for which unavailable vesicles still exist. This procedure must make use of Equation (2) to calculate the probability of availability by the time of the next spike, using the time of the previous spike.</p>
<p>Such an algorithm may be more efficient than independently simulating each trial, provided that APs arrive relatively slowly compared with the mean time for a released vesicle to become available. Figure <xref ref-type="fig" rid="F6">6</xref> shows that an implementation of this approach for Availability Model 1 and Rayleigh distributed available times agrees with data from an approach that individually simulates each trial.</p>
<p>For Availability Model 2, the binomial approach will work for arbitrary <italic>F</italic><sub><italic>T</italic><sub>a</sub></sub>, since the probability of an unavailable vesicle becoming available will be the same for all trials, as was the case for the data in Figure <xref ref-type="fig" rid="F6">6</xref>. Moreover, only the cumulative distribution function of the availability times need be known to carry this out, whereas Equation (2) needs to be computed for Availability Model 2. Such an algorithm is a straightforward extension of an algorithm described by Quastel (<xref ref-type="bibr" rid="B28">1997</xref>) for constant probabilities for any released vesicle to be available by the next spike.</p>
</sec>
<sec>
<title>6.4. Other models</title>
<p>We have considered only the simplest models in this paper. Other more complex models of availability and release have been proposed. For example, the mean times to availability for a vesicle may change over time (Wong et al., <xref ref-type="bibr" rid="B39">2003</xref>), vesicles may also be released spontaneously in the absence of pre-synaptic APs (Sterratt et al., <xref ref-type="bibr" rid="B34">2011</xref>), and multiple vesicles may be readily available for release at any site (although in this model only one can be released per pre-synaptic spike) (de la Rocha and Parga, <xref ref-type="bibr" rid="B5">2005</xref>). Stochastic simulations that faithfully reflect these models can be readily devised by extension of the algorithms presented in this paper.</p>
</sec>
<sec>
<title>Conflict of interest statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</sec>
</body>
<back>
<ack>
<p>Mark D. McDonnell&#x00027;s contribution was supported by an Australian Research Fellowship from the Australian Research Council (project number DP1093425). The authors are grateful for all the constructive advice and comments received from the Reviewers, which has led to significant improvements in the paper.</p>
</ack>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abbott</surname> <given-names>L. F.</given-names></name> <name><surname>Regehr</surname> <given-names>W. G.</given-names></name></person-group> (<year>2004</year>). <article-title>Synaptic computation</article-title>. <source>Nature</source> <volume>431</volume>, <fpage>796</fpage>&#x02013;<lpage>803</lpage>. <pub-id pub-id-type="doi">10.1038/nature03010</pub-id><pub-id pub-id-type="pmid">15483601</pub-id></citation>
</ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abbott</surname> <given-names>L. F.</given-names></name> <name><surname>Varela</surname> <given-names>J. A.</given-names></name> <name><surname>Sen</surname> <given-names>K.</given-names></name> <name><surname>Nelson</surname> <given-names>S. B.</given-names></name></person-group> (<year>1997</year>). <article-title>Synaptic depression and cortical gain control</article-title>. <source>Science</source> <volume>275</volume>, <fpage>220</fpage>&#x02013;<lpage>224</lpage>. <pub-id pub-id-type="pmid">8985017</pub-id></citation>
</ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Branco</surname> <given-names>T.</given-names></name> <name><surname>Staras</surname> <given-names>K.</given-names></name></person-group> (<year>2009</year>). <article-title>The probability of neurotransmitter release: variability and feedback control at single synapses</article-title>. <source>Nat. Rev. Neurosci</source>. <volume>10</volume>, <fpage>373</fpage>&#x02013;<lpage>383</lpage>. <pub-id pub-id-type="doi">10.1038/nrn2634</pub-id><pub-id pub-id-type="pmid">19377502</pub-id></citation> 
</ref>
<ref id="B4">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Carnevale</surname> <given-names>N. T.</given-names></name> <name><surname>Hines</surname> <given-names>M. L.</given-names></name></person-group> (<year>2005</year>). <source>The NEURON Book</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name>.</citation>
</ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>de la Rocha</surname> <given-names>J.</given-names></name> <name><surname>Parga</surname> <given-names>N.</given-names></name></person-group> (<year>2005</year>). <article-title>Short-term synaptic depression causes a non-monotonic response to correlated stimuli</article-title>. <source>J. Neurosci</source>. <volume>25</volume>, <fpage>8416</fpage>&#x02013;<lpage>8431</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.0631-05.2005</pub-id><pub-id pub-id-type="pmid">16162924</pub-id></citation>
</ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dobrunz</surname> <given-names>L. E.</given-names></name> <name><surname>Stevens</surname> <given-names>C. F.</given-names></name></person-group> (<year>1997</year>). <article-title>Heterogeneity of release probability, facilitation, and depletion at central synapses</article-title>. <source>Neuron</source> <volume>18</volume>, <fpage>995</fpage>&#x02013;<lpage>1008</lpage>. <pub-id pub-id-type="doi">10.1016/S0896-6273(00)80338-4</pub-id><pub-id pub-id-type="pmid">9208866</pub-id></citation>
</ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Faisal</surname> <given-names>A. A.</given-names></name> <name><surname>Laughlin</surname> <given-names>S. B.</given-names></name></person-group> (<year>2007</year>). <article-title>Stochastic simulations on the reliability of action potential propagation in thin axons</article-title>. <source>PLOS Comput. Biol</source>. <volume>3</volume>:<fpage>e79</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.0030079</pub-id><pub-id pub-id-type="pmid">17480115</pub-id></citation>
</ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fuhrmann</surname> <given-names>G.</given-names></name> <name><surname>Cowan</surname> <given-names>A.</given-names></name> <name><surname>Segev</surname> <given-names>I.</given-names></name> <name><surname>Tsodyks</surname> <given-names>M.</given-names></name> <name><surname>Stricker</surname> <given-names>C.</given-names></name></person-group> (<year>2004</year>). <article-title>Multiple mechanisms govern the dynamics of depression at neocortical synapses of young rats</article-title>. <source>J. Physiol. Lond</source>. <volume>557</volume>, <fpage>415</fpage>&#x02013;<lpage>438</lpage>. <pub-id pub-id-type="doi">10.1113/jphysiol.2003.058107</pub-id><pub-id pub-id-type="pmid">15020700</pub-id></citation>
</ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fuhrmann</surname> <given-names>G.</given-names></name> <name><surname>Segev</surname> <given-names>I.</given-names></name> <name><surname>Markram</surname> <given-names>H.</given-names></name> <name><surname>Tsodyks</surname> <given-names>M.</given-names></name></person-group> (<year>2002</year>). <article-title>Coding of temporal information by activity-dependent synapses</article-title>. <source>J. Neurophysiol</source>. <volume>87</volume>, <fpage>140</fpage>&#x02013;<lpage>148</lpage>. <pub-id pub-id-type="pmid">11784736</pub-id></citation>
</ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fung</surname> <given-names>C. C. A.</given-names></name> <name><surname>Wong</surname> <given-names>K. Y. M.</given-names></name> <name><surname>Wang</surname> <given-names>H.</given-names></name> <name><surname>Wu</surname> <given-names>S.</given-names></name></person-group> (<year>2012</year>). <article-title>Dynamical synapses enhance neural information processing: gracefulness, accuracy, and mobility</article-title>. <source>Neural Comput</source>. <volume>24</volume>, <fpage>1147</fpage>&#x02013;<lpage>1185</lpage>. <pub-id pub-id-type="doi">10.1162/NECO_a_00269</pub-id><pub-id pub-id-type="pmid">22295986</pub-id></citation>
</ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gillesple</surname> <given-names>D. T.</given-names></name></person-group> (<year>1977</year>). <article-title>Exact stochastic simulation of coupled chemical reactions</article-title>. <source>J. Phys. Chem</source>. <volume>81</volume>, <fpage>2340</fpage>&#x02013;<lpage>2361</lpage>.</citation>
</ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goldman</surname> <given-names>M. S.</given-names></name></person-group> (<year>2004</year>). <article-title>Enhancement of information transmission efficiency by synaptic failures</article-title>. <source>Neural Comput</source>. <volume>16</volume>, <fpage>1137</fpage>&#x02013;<lpage>1162</lpage>. <pub-id pub-id-type="doi">10.1162/089976604773717568</pub-id><pub-id pub-id-type="pmid">15130245</pub-id></citation>
</ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goldman</surname> <given-names>M. S.</given-names></name> <name><surname>Maldonado</surname> <given-names>P.</given-names></name> <name><surname>Abbott</surname> <given-names>L. F.</given-names></name></person-group> (<year>2002</year>). <article-title>Redundancy reduction and sustained firing with stochastic depressing synapses</article-title>. <source>J. Neurosci</source>. <volume>22</volume>, <fpage>584</fpage>&#x02013;<lpage>591</lpage>. <pub-id pub-id-type="pmid">11784806</pub-id></citation>
</ref>
<ref id="B14">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Graham</surname> <given-names>B. P.</given-names></name> <name><surname>Stricker</surname> <given-names>C.</given-names></name></person-group> (<year>2008</year>). <article-title>Short term plasticity provides temporal filtering at chemical synapses</article-title>, in <source>Proceedings of the 2008 International Conference on Artificial Neural Networks (ICANN 2008)</source>. Lecture Notes in Computer Science LNCS 5164. eds <person-group person-group-type="editor"><name><surname>K&#x0016F;rkov&#x000E1;</surname> <given-names>V.</given-names></name> <name><surname>Neruda</surname> <given-names>R.</given-names></name> <name><surname>Koutnik</surname> <given-names>J.</given-names></name></person-group> (<publisher-loc>Berlin; Heidelberg; Germany</publisher-loc>: <publisher-name>Springer-Verlag</publisher-name>), <fpage>268</fpage>&#x02013;<lpage>276</lpage>.</citation> 
</ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Klug</surname> <given-names>A.</given-names></name> <name><surname>Borst</surname> <given-names>G. G.</given-names></name> <name><surname>Carlson</surname> <given-names>B. A.</given-names></name> <name><surname>Kopp-Scheinpflug</surname> <given-names>C.</given-names></name> <name><surname>Klyachko</surname> <given-names>V. A.</given-names></name> <name><surname>Xu-Friedman</surname> <given-names>M. A.</given-names></name></person-group> (<year>2012</year>). <article-title>How do short-term changes at synapses fine-tune information processing?</article-title> <source>J. Neurosci</source>. <volume>32</volume>, <fpage>14058</fpage>&#x02013;<lpage>14063</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.3348-12.2012</pub-id><pub-id pub-id-type="pmid">23055473</pub-id></citation>
</ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Loebel</surname> <given-names>A.</given-names></name> <name><surname>Silberberg</surname> <given-names>G.</given-names></name> <name><surname>Helbig</surname> <given-names>D.</given-names></name> <name><surname>Markram</surname> <given-names>H.</given-names></name> <name><surname>Tsodyks</surname> <given-names>M.</given-names></name> <name><surname>Richardson</surname> <given-names>M. J. E.</given-names></name></person-group> (<year>2009</year>). <article-title>Multiquantal release underlies the distribution of synaptic efficacies in the neocortex</article-title>. <source>Front. Comput. Neurosci</source>. <volume>3</volume>:<fpage>27</fpage>. <pub-id pub-id-type="doi">10.3389/neuro.10.027.2009</pub-id><pub-id pub-id-type="pmid">19956403</pub-id></citation>
</ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Maass</surname> <given-names>W.</given-names></name> <name><surname>Zador</surname> <given-names>A. M.</given-names></name></person-group> (<year>1999</year>). <article-title>Dynamic stochastic synapses as computational units</article-title>. <source>Neural Comput</source>. <volume>11</volume>, <fpage>903</fpage>&#x02013;<lpage>917</lpage>. <pub-id pub-id-type="pmid">10226188</pub-id></citation>
</ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Markram</surname> <given-names>H.</given-names></name> <name><surname>Wang</surname> <given-names>Y.</given-names></name> <name><surname>Tsodyks</surname> <given-names>M.</given-names></name></person-group> (<year>1998</year>). <article-title>Differential signaling via the same axon of neocortical pyramidal neurons</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A</source>. <volume>95</volume>, <fpage>5323</fpage>&#x02013;<lpage>5328</lpage>. <pub-id pub-id-type="pmid">9560274</pub-id></citation>
</ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Matveev</surname> <given-names>V.</given-names></name> <name><surname>Wang</surname> <given-names>X.-J.</given-names></name></person-group> (<year>2000a</year>). <article-title>Differential short-term plasticity and transmission of complex spike trains: to depress or to facilitate?</article-title> <source>Cereb. Cortex</source> <volume>10</volume>, <fpage>1143</fpage>&#x02013;<lpage>1153</lpage>. <pub-id pub-id-type="doi">10.1093/cercor/10.11.1143</pub-id><pub-id pub-id-type="pmid">11053234</pub-id></citation>
</ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Matveev</surname> <given-names>V.</given-names></name> <name><surname>Wang</surname> <given-names>X.-J.</given-names></name></person-group> (<year>2000b</year>). <article-title>Implications of all-or-none synaptic transmission and short-term depression beyond vesicle depletion: a computational study</article-title>. <source>J. Neurosci</source>. <volume>20</volume>, <fpage>1575</fpage>&#x02013;<lpage>1588</lpage>. <pub-id pub-id-type="pmid">10662847</pub-id></citation>
</ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>McDonnell</surname> <given-names>M. D.</given-names></name> <name><surname>Abbott</surname> <given-names>D.</given-names></name> <name><surname>Pearce</surname> <given-names>C. E. M.</given-names></name></person-group> (<year>2002</year>). <article-title>An analysis of noise enhanced information transmission in an array of comparators</article-title>. <source>Microelectron. J</source>. <volume>33</volume>, <fpage>1079</fpage>&#x02013;<lpage>1089</lpage>.</citation>
</ref>
<ref id="B22">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>McDonnell</surname> <given-names>M. D.</given-names></name> <name><surname>Stocks</surname> <given-names>N. G.</given-names></name> <name><surname>Pearce</surname> <given-names>C. E. M.</given-names></name> <name><surname>Abbott</surname> <given-names>D.</given-names></name></person-group> (<year>2008</year>). <source>Stochastic Resonance: From Suprathreshold Stochastic Resonance to Stochastic Signal Quantisation</source>. <publisher-loc>Cambridge</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name>.</citation>
</ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Meddis</surname> <given-names>R.</given-names></name></person-group> (<year>1986</year>). <article-title>Simulation of mechanical to neural transduction in the auditory receptor</article-title>. <source>J. Acoust. Soc. Am</source>. <volume>79</volume>, <fpage>702</fpage>&#x02013;<lpage>711</lpage>. <pub-id pub-id-type="pmid">2870094</pub-id></citation>
</ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Melkonian</surname> <given-names>D. S.</given-names></name> <name><surname>Kostopoulos</surname> <given-names>G. K.</given-names></name></person-group> (<year>1996</year>). <article-title>Stochastic particle formulation of the vesicle hypothesis. relevance to short-term phenomena</article-title>. <source>Neuroreport</source> <volume>7</volume>, <fpage>937</fpage>&#x02013;<lpage>942</lpage>. <pub-id pub-id-type="pmid">8724678</pub-id></citation>
</ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Merkel</surname> <given-names>M.</given-names></name> <name><surname>Lindner</surname> <given-names>B.</given-names></name></person-group> (<year>2010</year>). <article-title>Synaptic filtering of rate-coded inf-ormation</article-title>. <source>Phys. Rev. E</source> <volume>81</volume>:<fpage>041921</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.81.041921</pub-id><pub-id pub-id-type="pmid">20481767</pub-id></citation>
</ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mohan</surname> <given-names>A.</given-names></name> <name><surname>McDonnell</surname> <given-names>M. D.</given-names></name> <name><surname>Stricker</surname> <given-names>C.</given-names></name></person-group> (<year>2013</year>). <article-title>Interaction of short-term depression and firing dynamics in shaping single neuron encoding</article-title>. <source>Front. Comput. Neurosci</source>. <volume>7</volume>:41. <pub-id pub-id-type="doi">10.3389/fncom.2013.00041</pub-id><pub-id pub-id-type="pmid">23626533</pub-id></citation>
</ref>
<ref id="B27">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pfister</surname> <given-names>J.-P.</given-names></name> <name><surname>Dayan</surname> <given-names>P.</given-names></name> <name><surname>Lengyel</surname> <given-names>M.</given-names></name></person-group> (<year>2010</year>). <article-title>Synapses with short-term plasticity are optimal estimators of presynaptic membrane potentials</article-title>. <source>Nat. Neurosci</source>. <volume>13</volume>, <fpage>1271</fpage>&#x02013;<lpage>1275</lpage>. <pub-id pub-id-type="doi">10.1038/nn.2640</pub-id><pub-id pub-id-type="pmid">20852625</pub-id></citation>
</ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Quastel</surname> <given-names>D. M. J.</given-names></name></person-group> (<year>1997</year>). <article-title>The binomial model in fluctuation analysis of quantal neurotransmitter release</article-title>. <source>Biophys. J</source>. <volume>72</volume>, <fpage>728</fpage>&#x02013;<lpage>753</lpage>. <pub-id pub-id-type="pmid">9017200</pub-id></citation>
</ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Regehr</surname> <given-names>W. G.</given-names></name></person-group> (<year>2012</year>). <article-title>Short-term presynaptic plasticity</article-title>. <source>Cold Spring Harb. Perspect. Biol</source>. <volume>4</volume>:<fpage>a005702</fpage>. <pub-id pub-id-type="doi">10.1101/cshperspect.a005702</pub-id><pub-id pub-id-type="pmid">22751149</pub-id></citation>
</ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Reich</surname> <given-names>S.</given-names></name> <name><surname>Rosenbaum</surname> <given-names>R.</given-names></name></person-group> (<year>2013</year>). <article-title>The impact of short term synaptic depression and stochastic vesicle dynamics on neuronal variability</article-title>. <source>J. Comput. Neurosci</source>. [Epub ahead of print]. <pub-id pub-id-type="doi">10.1007/s10827-012-0438-0</pub-id><pub-id pub-id-type="pmid">23354693</pub-id></citation>
</ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rosenbaum</surname> <given-names>R.</given-names></name> <name><surname>Rubin</surname> <given-names>J.</given-names></name> <name><surname>Doiron</surname> <given-names>B.</given-names></name></person-group> (<year>2012</year>). <article-title>Short term synaptic depression imposes a frequency dependent filter on synaptic information transfer</article-title>. <source>PLoS Comput. Biol</source>. <volume>8</volume>:<fpage>e1002557</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1002557</pub-id><pub-id pub-id-type="pmid">22737062</pub-id></citation>
</ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rosenbaum</surname> <given-names>R.</given-names></name> <name><surname>Rubin</surname> <given-names>J. E.</given-names></name> <name><surname>Doiron</surname> <given-names>B.</given-names></name></person-group> (<year>2013</year>). <article-title>Short-term synaptic depression and stochastic vesicle dynamics reduce and shape neuronal correlations</article-title>. <source>J. Neurophysiol</source>. <volume>109</volume>, <fpage>475</fpage>&#x02013;<lpage>484</lpage>. <pub-id pub-id-type="doi">10.1152/jn.00733.2012</pub-id><pub-id pub-id-type="pmid">23114215</pub-id></citation>
</ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Scott</surname> <given-names>P. C.</given-names></name> <name><surname>Cowan</surname> <given-names>A. I.</given-names></name> <name><surname>Stricker</surname> <given-names>C.</given-names></name></person-group> (<year>2012</year>). <article-title>Quantifying impacts of short-term plasticity on neuronal information transfer</article-title>. <source>Phys. Rev. E</source> <volume>85</volume>:<fpage>041921</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.85.041921</pub-id><pub-id pub-id-type="pmid">22680512</pub-id></citation>
</ref>
<ref id="B34">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Sterratt</surname> <given-names>D.</given-names></name> <name><surname>Graham</surname> <given-names>B.</given-names></name> <name><surname>Gillies</surname> <given-names>A.</given-names></name> <name><surname>Willshaw</surname> <given-names>D.</given-names></name></person-group> (<year>2011</year>). <source>Principles of Computational Modelling in Neuroscience</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name>.</citation> 
</ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sumner</surname> <given-names>C. J.</given-names></name> <name><surname>Lopez-Poveda</surname> <given-names>E. A.</given-names></name> <name><surname>O&#x00027;Mard</surname> <given-names>L. P.</given-names></name> <name><surname>Meddis</surname> <given-names>R.</given-names></name></person-group> (<year>2002</year>). <article-title>A revised model of the inner-hair cell and auditory-nerve complex</article-title>. <source>J. Acoust. Soc. Am</source>. <volume>111</volume>, <fpage>2178</fpage>&#x02013;<lpage>2188</lpage>. <pub-id pub-id-type="pmid">12051437</pub-id></citation>
</ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tsodyks</surname> <given-names>M.</given-names></name> <name><surname>Pawelzik</surname> <given-names>K.</given-names></name> <name><surname>Markram</surname> <given-names>H.</given-names></name></person-group> (<year>1998</year>). <article-title>Neural networks with dynamic synapses</article-title>. <source>Neural Comput</source>. <volume>10</volume>, <fpage>821</fpage>&#x02013;<lpage>835</lpage>. <pub-id pub-id-type="pmid">9573407</pub-id></citation>
</ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tsodyks</surname> <given-names>M. V.</given-names></name> <name><surname>Markram</surname> <given-names>H.</given-names></name></person-group> (<year>1997</year>). <article-title>The neural code between neocortical pyramidal neurons depends on neurotransmitter release probability</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A</source>. <volume>94</volume>, <fpage>719</fpage>&#x02013;<lpage>723</lpage>. <pub-id pub-id-type="pmid">9012851</pub-id></citation>
</ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vere-Jones</surname> <given-names>D.</given-names></name></person-group> (<year>1966</year>). <article-title>Simple stochastic models for the release of quanta of transmitter from a nerve terminal</article-title>. <source>Aust. J. Stat</source>. <volume>8</volume>, <fpage>53</fpage>&#x02013;<lpage>63</lpage>.</citation>
</ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wong</surname> <given-names>A. Y. C.</given-names></name> <name><surname>Graham</surname> <given-names>B. P.</given-names></name> <name><surname>Billups</surname> <given-names>B.</given-names></name> <name><surname>Forsythe</surname> <given-names>I. D.</given-names></name></person-group> (<year>2003</year>). <article-title>Distinguishing between presynaptic and postsynaptic mechanisms of short-term depression during action potential trains</article-title>. <source>J. Neurosci</source>. <volume>23</volume>, <fpage>4868</fpage>&#x02013;<lpage>4877</lpage>. <pub-id pub-id-type="pmid">12832509</pub-id></citation>
</ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zucker</surname> <given-names>R. S.</given-names></name> <name><surname>Regehr</surname> <given-names>W. G.</given-names></name></person-group> (<year>2002</year>). <article-title>Short-term synaptic plasticity</article-title>. <source>Ann. Rev. Physiol</source>. <volume>64</volume>, <fpage>355</fpage>&#x02013;<lpage>405</lpage>. <pub-id pub-id-type="doi">10.1146/annurev.physiol.64.092501.114547</pub-id><pub-id pub-id-type="pmid">11826273</pub-id></citation>
</ref>
</ref-list>
</back>
</article>