scieee AI-readable full text Open interactive document viewer

Taming the spread of an epidemic by lockdown policies

Federico, Salvatore,Ferrari, Giorgio

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Federico, Salvatore; Ferrari, Giorgio Working Paper Taming the spread of an epidemic by lockdown policies Center for Mathematical Economics Working Papers, No. 639 Provided in Cooperation with: Center for Mathematical Economics (IMW), Bielefeld University Suggested Citation: Federico, Salvatore; Ferrari, Giorgio (2020) : Taming the spread of an epidemic by lockdown policies, Center for Mathematical Economics Working Papers, No. 639, Bielefeld University, Center for Mathematical Economics (IMW), Bielefeld, https://nbn-resolving.de/urn:nbn:de:0070-pub-29450848 This Version is available at: https://hdl.handle.net/10419/227835 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ 639 July 2020 Taming the Spread of an Epidemic by Lockdown Policies Salvatore Federico and Giorgio Ferrari Center for Mathematical Economics (IMW) Bielefeld University Universit¨atsstraße 25 D-33615 Bielefeld ·Germany e-mail: [email protected] http://www.imw.uni-bielefeld.de/wp/ ISSN: 0931-6558 This work is licensed under a Creative Commons “Attribution 4.0 International” license. TAMING THE SPREAD OF AN EPIDEMIC BY LOCKDOWN POLICIES SALVATORE FEDERICO AND GIORGIO FERRARI Abstract. We study the problem of a policymaker who aims at taming the spread of an epidemic while minimizing its associated social costs. The main feature of our model lies in the fact that the disease’s transmission rate is a diffusive stochastic process whose trend can be adjusted via costly confinement policies. We provide a complete theoretical analysis, as well as numerical experiments illustrating the structure of the optimal lockdown policy. In all our experiments the latter is characterized by three distinct periods: the epidemic is first let freely evolve, then vigorously tamed, and finally a less stringent containment should be adopted. Moreover, the optimal containment policy is such that the product “reproduction number ×percentage of susceptible” is kept after a certain date strictly below the critical level of one, although the reproduction number is let oscillate above one in the last more relaxed phase of lockdown. Keywords: SIR model; optimal stochastic control; viscosity solution; epidemic; lockdown. MSC2010 subject classification: 93E20, 49N90, 92D30, 97M40. JEL classification: C61, I18. 1. Introduction During the current Covid-19 pandemic, policymakers are dealing with the trade-off between safeguarding public health and damming the negative economic impact of severe lockdowns. The fight against the virus is made especially hard by the absence of a vaccination and the consequent random horizon of any policy, as well as by the extraordinariness of the event. In particular, the lack of data from the past, the difficulty of rapidly and accurately tracking infected, and super-spreading events such as mass gatherings, give rise to a random behavior of the transmission rate/reproduction number of the virus (see, e.g., [11]1). In this paper we propose and study a model for the optimal containment of infections due to an epidemic in which both the time horizon and the transmission rate of the disease are stochastic. In the last months, the scientific literature experienced an explosion in the number of works where the statistical analysis and the mathematical modeling of epidemic models is considered, as well as the economic and social impact of lockdown policies is investigated. A large bunch of papers provides numerical studies related to the Covid-19 epidemics in the setting of classical epidemic models or of generalization of them. Among many others, we refer to [2], that studies numerically optimal containment policies in the context of a Susceptible-Infected-Recovered (SIR) model (cf. [16]); [14] which also allows for seasonal effects; [23], which estimates the transmission rate in various countries for a SIR model with given and fixed transmission rate; [3], which combines a careful numerical study with an elegant theoretical study of optimal lockdown policies in the SEAIRD (susceptible (S), exposed (E), asymptomatic (A), infected (I), recovered (R), deceased (D)) model; [5], where a detailed numerical analysis is developed for a SIR model of the Covid-19 pandemic in which herd immunity, behavior-dependent transmission rates, remote workers, and indirect externalities of lockdown are explicitly considered; [1], where – in the context of a multi-group SIR model – it is investigated the effect of lockdown policies which are targeted to different social groups (especially, the “young”, the “middle-aged” and the “old”); [10], in which a multi-risk SIR model with heterogeneous citizens is calibrated on the Covid-19 pandemic in order to study the impact on incomes and mortality of Date: July 21, 2020. 1Refer also to the website https://stochastik-tu-ilmenau.github.io/COVID-19/index.html 1 2 FEDERICO AND FERRARI age-specific confinements and Polymerase chain reaction (PCR) tests; [9], which calibrates and tests a SEIRD model (susceptible (S), exposed (E), infected (I), recovered (R), deceased (D)) of the spread of Covid-19 in an heterogeneous economy where different age and sectors are related to distinct risks. A theoretical study of the optimal confinement policies in epidemic models is usually challenging because of the nonlinear structure of the underlying dynamical system. The first results on a controltheoretic approach to confinement policies are perhaps those presented in Chapter 4 of [6], where it is shown that the optimal policy depends only on the shadow price difference between infected and susceptible. In the context of an optimal timing problem, [12] uses a continuous-time Markov chain model to study the value and optimal exercise decision of two (sequential) options: the option to intervene on the epidemic and, after intervention has started, the option to end the containment policies. Control-theoretic analysis are also presented in the recent [18] and [19]. In [19] the authors study a deterministic SIR model in which the social planner acts in order to keep the transmission rate below its natural level with the ultimate aim not to overwhelm the national health-care system. A convex social cost functional is instead considered in [18], in the context of a deterministic SIR model over a finite time-horizon. The resulting control problem is tackled via the Pontryagin maximum principle and then a thorough numerical illustration is also provided. Inspired by the deterministic problems of [18] and [19] (see also [1,2], among others), and motivated by the need of incorporating random fluctuations in the disease’s transmission rate, in this paper we consider a stochastic control-theoretic version of the classical SIR model of Kermack and McKendrick [16]. A population with finite size that can be divided in three different groups: healthy people that are susceptible to the disease, infected individuals, and people that have recovered (and are not anymore susceptible) or dead. However, differently to the classical SIR model, we suppose that disease’s transmission rate is time-dependent and stochastic. In particular, it evolves as a general diffusion process whose trend can be adjusted by a social planner through policies like social restrictions and lockdowns. The randomness in the transmission rate is modeled by a Wiener process representing all those factors affecting the transmission rate and that are not under the direct control of the regulator. The social planner faces the trade-off between the expected social and economic costs (e.g., drops in the gross domestic product) arising from severe restrictions and the expected costs induced by the number of infections that – if uncontrolled – might strongly impact on the national health-care system and, more in general, on the social well-being. The social planner aims at minimizing those total expected costs up to the time at which a vaccination against the disease is discovered. In our model, such a time is also random and independent of the Wiener process. We provide a complete theoretical study of our model by showing that the minimal cost function (value function) is a classical twice-continuously differentiable solution to its corresponding Hamilton- Jacobi-Bellman (HJB) equation, and by identifying an optimal control in feedback form2. From a technical point of view, the main difference between the models in [1,2,5,18,19] and ours, is that we deal with a stochastic version of the SIR model, instead of a deterministic one. As a matter of fact, in the aforementioned works the transmission rate is a deterministic control variable, while it is a controlled stochastic state variable in our paper. Moreover, our formulation is also different from that of other stochastic SIR models where the random transmission rate is chosen in such a way that only the levels of infected and susceptible people become affected by noise, with the transmission rate itself not being a state variable (see, e.g., [13,24] and references therein). To the best of our knowledge, ours is the first work considering the transmission rate as a diffusive stochastic state variable and providing the complete theoretical analysis of the resulting control problem. A part for the clear theoretical interest, the determination of an optimal control in feedback form allows us to perform numerical experiments aiming at showing some implications of our model. For the 2The aforementioned regularity of the value function is remarkable. Indeed, although the state process is degenerate (as the Wiener process only affects the dynamics of the transmission rate), we can show that the so-called H¨ormander’s condition (cf. [20]) holds true for any choice of the model’s parameters. This then ensures the existence of a smooth probability transition density for the underlying (uncontrolled) stochastic process and in turn enables to prove substantial regularity of the value function. EPIDEMIC CONTROL VIA LOCKDOWN 3 numerical analysis we specialize the dynamics of the transmission rate, that we take mean-reverting and bounded between 0 and some γ > 0 (cf. (4.1)). In this case study, the containment policies employed by the social planner have the effect of modifying the long-run mean of the transmission rate, towards which the process converges at an exponential rate. Moreover, we take a separable social cost function (cf. (4.2)). This is quadratic both in the regulator’s effort and in the percentage of infected people. The model’s parameters are then selected in order to be in line with those of the current Covid-19 epidemic. In particular we assume that the average length of an infection equals 18 days, the level of the maximal possible transmission rate of the disease is γ= 0.16, and the natural transmission rate of the disease is 0.1. Towards this value the transmission rate reverts at rate ϑ= 0.1 in absence of any interventions of the social planner. Moreover, the volatility coefficient of the transmission rate is σ= 0.1. An interesting effect which is in fact common to all our numerical experiments is that the optimal lockdown policy is characterized by three distinct periods. In a first phase it is optimal to let the epidemic freely evolve, then the social restrictions should be stringent, and finally should be gradually relaxed in a third period. We also investigate which is the effect of the maximal level Lof allowed containment measures (i.e., the lockdown policy can take values in [0, L]) on the final percentage of recovered, which in fact turns out to be decreasing with respect to L. This then suggests that the case L= 1 – which leads in a shorter period to the definitive containment of the disease with the smallest percentage of final recovered – might be thought of as optimal in the trade-off between social costs and final number of recovered. We observe that if the epidemic spread is left uncontrolled, then its reproduction number (Rt)t fluctuates around 1.8 and the final percentage of recovered (i.e. the percentage of infected during the disease) is approximately 72% of the society after circa 7 months (in all our simulations the initial infected were 1% of the population). On the other hand, when L= 1, under the optimal policy we have a reduction of circa 55% of the total percentage of recovered individuals, and the reproduction number drops to circa 0 in the period of severe lockdown (circa 50 days). Moreover, the optimal containment is such that the so-called “herd immunity” is reached as the product RtSt(reproduction number ×percentage of susceptible) becomes strictly smaller than the critical level of one, even if Rtoscillates at around 1.7 in the last more relaxed phase of lockdown. The rest of the paper is organized as follows. In Section 2.1 we set up the model and the social planner problem. In Section 3we develop the control-theoretic analysis and provide the regularity of the minimal cost function and an optimal control in feedback form. In Section 4we present our numerical examples, while concluding remarks are made in Section 5. Finally, Appendix Acollects the proof of some technical results needed in Section 3. 2. Problem Formulation 2.1. The Stochastic Controlled SIR Model. We model the spread of the infection by relying on a generalization of the classical SIR model that dates back to the work by Kermack and McKendrick [16]. The society has population Nand it consists of three different groups. The first group is formed by those people who are healthy, but susceptible to the disease; the second group contains those who are infected, while the last cohort consists of those who are recovered or dead. In line with the classical SIR model, we assume that, once recovered, an individual stays healthy for ever. We denote by Stthe percentage of individuals who are susceptible at time t≥0, by Itthe percentage of infected, and by Rtthe fraction of recovered or dead. Clearly, St+It+Rt= 1 for all t≥0. The fraction of infected people grows at a rate which is proportional to the fraction of society that it is still susceptible to the disease. In particular, letting βtbe the instantaneous transmission rate of the disease, during an infinitesimal interval of time dt, each infected individual generates βtSt new infected individuals. It thus follows that the percentage of healthy individuals that get infected within dtunits of time is ItβtSt. 4 FEDERICO AND FERRARI Notice that the instantaneous transmission rate βtmeasures the disease’s rate of infection, as well as the the average number of contacts per person per time. In this regard, βtcan be thus influenced by a social planner via policies that effectively cap the social interaction, like social distancing and lockdown. During an infinitesimal interval of time dt, the fraction of infected is reduced by αIt, since infected either recover from the disease, or die because of of it at a rate α > 0. According to the previous considerations, the dynamics of Stand Itcan be thus written as (2.1) dSt=−βtStItdt, t > 0, S0=x, and (2.2) dIt=βtStIt−αItdt, t > 0, I0=y, where (x, y)∈(0,1)2are given initial values such that3x+y∈(0,1). Notice that for any t≥0, and for any choice of (βt)twe can write (2.3) St=xe−Rt 0βuIuduand It=ye−αt+Rt 0βuSudu, and therefore St>0 and It>0 for all t≥0. Moreover, summing up (2.1) and (2.2) we have d(St+It) = −αIt<0 for all t > 0, which then implies that St+It<1 for all t≥0. We depart from the classical SIR model by assuming that the transmission rate βtis time-varying, stochastic, and may be controlled. More precisely, we let (Ω,F,F:= (Ft)t,P) be a complete filtered probability space with filtration Fsatisfying the usual conditions, and we define on that a onedimensional Brownian motion (Wt)t. For a given and fixed L≥0, and for any (ξt)tbelonging to A:= ξ: Ω ×[0,∞)→[0, L],(ξt)tF−progressively measurable, we assume that the transmission rate evolves according to the stochastic differential equation (2.4) dβt=b(βt, ξt)dt+σ(βt)dWt, t > 0, β0=z > 0. The process (ξt)tinfluences the trend of the transmission rate and it should be interpreted as any effort devoted by the social planner to the decrease of the transmission rate. In this sense, ξ= 0 corresponds to the case of no effort done to decrease the disease, whereas the case ξ=Lcorresponds to the maximal effort. To fix the ideas, ξtmay represent a percentage of social/working lockdown at time tand Lcorresponds to the maximal implementable value of such lockdown (e.g. 60%, etc.). On the other hand, the Brownian motion (Wt)tmodels any shock affecting the transmission rate and which is not under the control of the social planner. Regarding the dynamics of (βt)twe make the following standing assumption. Assumption 2.1. (i) For every ξ∈ A, there exists a unique strong solution βto (2.4)and it lies in an open interval I ⊆ (0,∞). (ii) b:I × [0, L]→R,σ:I × [0,1] →Rare bounded, infinitely many times continuously differentiable with respect to z, and with bounded derivatives of any order; that is, letting ϕ∈ {b, σ, bz, σz, bzz, σzz, . . . }, there exists K0>0such that for any (z, ξ)∈ I × [0, L], |ϕ(z, ξ)| ≤ K0. (iii) σ2>0on I. 3The choice of considering x+y < 1 – i.e. of having an initial strictly positive percentage of recovered – is only done in order to deal with an open set in the subsequent mathematical formulation of the problem. As a matter of fact, such a condition is not restrictive from the technical point of view as our results still apply if x+y < `, for some ` > 1, thus covering the case x+y= 1 as well. EPIDEMIC CONTROL VIA LOCKDOWN 5 A reasonable dynamics of the transmission rate (βt)tis the mean-reverting (2.5) dβt=ϑb β1−ξt−βtdt+σβt(γ−βt)dWt, t > 0, β0=z∈(0, γ), for some ϑ, γ, σ > 0, b β∈(0, γ). In this case, in can be shown that 0 and γare unattainable by the diffusion (βt)t, which then takes values in the interval I= (0, γ) for any t≥0. The level b βcan be seen as the natural transmission rate of the disease, towards which the transmission rate reverts at rate ϑwhen ξ≡0. Finally, the level γis the maximal possible transmission rate of the disease, and σis a measure of the fluctuations of (βt)taround b β. We will employ this dynamics in our numerical illustrations (cf. Section 4below). 2.2. The Social Planner Problem. The epidemic generates social costs, that we assume to be increasing with respect to the fraction of the population that is infected. These costs might arise because of lost gross domestic product (GDP) due to inability of working, because of an overstress of the national health-care system etc. The social planner thus employs policies (ξt)tin the form, e.g., of social distancing or lockdown in order to adjust the growth rate of the transmission rate β, with the aim of effectively flattening the curve of the infected percentage of the society. Such actions however come with a cost, which increases with the amplitude of the effort. Assuming that a vaccination against the disease is discovered at a random time τexponentially distributed with parameter λo>0 and independent of (Wt)t4, the social planner aims at solving (2.6) inf ξ∈A EZτ 0 e−δtCIt, ξtdt. Here, δ≥0 measures the social planner’s time preferences, and C: [0,1] ×[0, L]→[0,∞) is a running cost function measuring the negative impact of the disease on the public health as well as the economic/social costs induced by lockdown policies. The following requirements are satisfied by C. Assumption 2.2. (i) (y, ξ)7→ C(y, ξ)is convex and continuous on [0,1] ×[0, L]. (ii) For any y∈[0,1] we have that ξ7→ C(y, ξ)is nondecreasing. (iii) For any ξ∈[0, L]we have that y7→ C(y, ξ)is nondecreasing. (iv) There exists K > 0such that for any ξ∈[0, L]we have that |C(y, ξ)−C(y0, ξ)| ≤ K|y−y0|,∀(y, y0)∈[0,1]2. (v) y7→ C(y, ξ)is semiconcave on [0,1], uniformly with respect to ξ∈[0, L]; that is, there exists K > 0such that for any ξ∈[0, L]and any µ∈[0,1] one has µC(y, ξ) + (1 −µ)C(y0, ξ)−Cµy + (1 −µ)y0, ξ≤Kµ(1 −µ)|y−y0|2,∀(y, y0)∈[0,1]2. Without loss of generality, we also take C(0,0) = 0. Convexity of y7→ C(y, ξ) captures the fact that the social costs from the disease might be higher if a large share of the population is infected since, for example, the social health-care system is overwhelmed. The fact that ξ7→ C(y, ξ) is convex describes that marginal costs of actions are increasing because, e.g., an additional lockdown policy might have a larger impact on an already stressed society. Finally, the Lipschitz and semiconcavity property of C(·, ξ) are technical requirements that will be important in the next section. An application of Fubini’s theorem, employing the independence of τand (Wt)t, allows to rewrite the problem defined in (2.6) as (2.7) inf ξ∈A EZτ 0 e−δtCIt, ξtdt= inf ξ∈A EZ∞ 0 e−λtCIt, ξtdt, 4We are implicitly requiring that the underlying probability space (Ω,F,F:= (Ft)t,P) is rich enough to accommodate also such an exponential time τ. 6 FEDERICO AND FERRARI where λ:= λo+δ. In order to tackle Problem (2.7) with techniques from dynamic programming, it is convenient to keep track of the initial values of (St, It, βt)t. We therefore set O:= (x, y, z)∈R3: (x, y)∈(0,1)2, x +y < 1, z ∈ I, and, when needed, we stress the dependency of (St, It, βt) with respect to (x, y, z)∈ O and ξ∈ A by writing (Sx,y,z;ξ t, Ix,y,z;ξ t, βz;ξ t). Indeed, due to (2.3) and the autonomous nature of (2.4), we have that Stand Itdepend on (x, y, z) and on ξthrough βt, while βtdepends only on zand directly on ξ. We shall also simply set (Sx,y,z t, Ix,y,z t, βz t) := (Sx,y,z;0 t, Ix,y,z;0 t, βz;0 t) to denote the solutions to (2.1), (2.2), and (2.4) when ξ≡0. Then, for any (x, y, z)∈ O, we introduce the problem’s value function (2.8) V(x, y, z) := inf ξ∈A EZ∞ 0 e−λtCIx,y,z;ξ t, ξtdt. The latter is well defined given that Cis nonnegative. In the next section we will show that V solves the corresponding dynamic programming equation in the classical sense, and we also provide an optimal control in feedback form. 3. The Solution to the Social Planner Problem We introduce the differential operator Lacting on functions belonging to the class C1,1,2(R3): (3.1) Lϕ(x, y, z) = xyzϕy−ϕx(x, y, z)−αyϕy(x, y, z) + 1 2σ2(z)ϕzz(x, y, z). Next, for any (y, z, p)∈(0,1) × I × R, define (3.2) C?(y, z, p) := inf ξ∈[0,L]C(y, ξ) + b(z, ξ)p, which is continuous on [0,1] × I × R. Indeed, |C?(y0, z0, p0)−C?(y, z, p)| ≤ sup ξ∈[0,L]|C(y0, ξ)−C(y, ξ)|+|b(z0, ξ)−b(z, ξ)||p0|+|b(z, ξ)||p0−p| ≤K|y0−y|+|z0−z||p0|+K0|p0−p|, where K0:= max(z,ξ)∈[0,L]×I |b(z, ξ)|by Assumption 2.1-(ii). By the dynamic programming principle, we expect that Vshould solve (in a suitable sense) the Hamilton-Jacobi-Bellman (HJB) equation (3.3) λv(x, y, z)=(Lv)(x, y, z) + C?(y, z, vz(x, y, z)),(x, y, z)∈ O. In order to show that Vindeed solves (3.3) in the classical sense, we start with the following important preliminary results. Their proofs are standard in the literature of stochastic control (see, e.g., [21,26]), upon employing Assumptions 2.1 and 2.2. Proposition 3.1. There exists K > 0such that, for each q:= (x, y, z),q0:= (x0, y0, z0)∈ O (i) 0 ≤V(q)≤Kand |V(q)−V(q0)| ≤ K|q−q0|; i.e., Vis bounded and Lipschitz continuous on O; (ii) for any µ∈[0,1] and for some K > 0 µV (q) + (1 −µ)V(q0)−Vµq+ (1 −µ)q0≤Kµ(1 −µ)|q−q0|2; i.e., Vis semiconcave on O. EPIDEMIC CONTROL VIA LOCKDOWN 7 Moreover, Vis a viscosity solution to the HJB equation (3.3). Proof. The first claim of (i) above follows from the fact that Cis nonnegative and bounded on [0,1]2; the second claim of (i) is due to Proposition 3.1 in [26], whose proof can be easily adapted to our stationary setting. Analogously, the semiconcavity property of (ii) can be obtained by arguing as in Proposition 4.5 of [26]. Finally, Theorem 5.2 of [26] (again, easily adapted to our stationary setting) or Proposition 4.3.2-(2) of [21] lead to the viscosity property.  The semiconcavity of V, together with the fact that Vsolves the HJB equation (3.3) in the viscosity sense, yield the following regularity. Proposition 3.2. Vzexists continuous on O. Proof. Let (x, y, z)∈ O. By semiconcavity of V, there exists the left and right derivatives of Valong the direction zat (x, y, z) that we denote, respectively, by V− z(x, y, z), V + z(x, y, z). Moreover, again by semiconcavity, we have the inequality V− z(x, y, z)≥V+ z(x, y, z). Assuming, by contradiction, that Vis not differentiable with respect to zat (x, y, z) means assuming that V− z(x, y, z)> V + z(x, y, z). Hence, we can apply Lemma A.1 in the appendix and find a sequence of functions ( ˜ϕn)n⊂C2(O) such that (3.4)          ˜ϕn(¯x, ¯y, ¯z) = V(¯x, ¯y, ¯z), ˜ϕn≥Vin a neighborhood of (¯x, ¯y, ¯z), |D˜ϕn(¯x, ¯y, ¯z)| ≤ ˜ L < ∞, ˜ϕn zz(¯x, ¯y, ¯z)n→∞ −→ −∞. Then, the viscosity subsolution property of V(cf. Proposition 3.1) yields λV (¯x, ¯y, ¯z)≤(L˜ϕn)(¯x, ¯y, ¯z) + C?(¯y, ¯z, ˜ϕn z(¯x, ¯y, ¯z)). Taking the limit as n→ ∞ and using (3.4) we get a contradiction. We have thus proved that Vz exists at each arbitrary (x, y, z)∈ O. Now we show that Vzis continuous. Take a sequence (qn)n⊂ O such that qn→q∈ O, and let ηn= (ηn x, ηn y, ηn z)∈D+V(qn), the latter being nonempty due to the semiconcavity of V. Since Vz exists at each point of O, we have ηn z=Vz(qn). Since Vis semiconcave, the supergradient D+V is locally bounded as a set-valued map, and therefore there exists a subsequence (qnk)ksuch that ηnk→η= (ηx, ηy, ηz). By [7, Prop. 3,3,4(a)], we have η∈D+V(q), and again, since Vzexists, we have ηz=Vz(q). Hence, we have proved that from any sequence (qn)n⊂ O converging to q, we can extract a subsequence (qnk)k⊂ O such that Vz(qnk)→Vz(q). By usual arguments on subsequences, the claim follows.  We can now prove the main theoretical result of our paper, which ensures that Vis actually a classical solution to the HJB equation (3.3). In turn, this provides a way to construct an optimal control in feedback form. Theorem 3.3. The following holds: (i) V∈C2(O)and solves the HJB equation (3.3)in the classical sense. (ii) Let (3.5) b ξ(x, y, z) := argmin ξ∈[0,L]C(y, ξ)−b(z, ξ)Vz(x, y, z),(x, y, z)∈ O. 14 FEDERICO AND FERRARI Denote by q= (q1, q2, q3) := (x, y, z) an arbitrary point of O. For any multi-index α:= (α1, α2, α3)∈N3we denote by |α|=P3 i=1 αiand Dα q=∂|α|/∂α1 q1. . . ∂α3 q3, with the convention that ∂0is the identity. Proposition A.2. For any q∈ O the (uncontrolled) process (Qq t)t:= (Sx,y,z t, Ix,y,z t, βz t)admits a transition density pwhich is absolutely continuous with respect to the Lebesgue measure in R3, infinitely many times differentiable, and that satisfies the Gaussian estimates (A.2) p(t, q;q0)≤C0(t)(1 + |q|)m0 t n0 2 e−D0(t)|q0−q|2 t,∀t > 0,q0= (x0, y0, z0)∈ O, (A.3) |Dα qp(t, q;q0)| ≤ Cα(t)(1 + |q|)mα tnα 2 e−Dα(t)|q0−q|2 t,∀t > 0,q0= (x0, y0, z0)∈ O. Here, C0,D0,Cα, and Dαare increasing functions of time. Proof. Given f, g ∈C1(R3;R3), define the Lie bracket [f, g] := 3 X j=1 ∂g ∂qj f−∂f ∂qj g. Then, for any given and fixed q∈ O, we set µ(q) :=  −xyz xyz −αy b(z, 0)  and Σ(q) :=  000 000 0 0 σ(z)   and denoting by Σi,i= 1,2,3, the columns of the matrix Σ, we construct recursively the set of functions L0:= {Σ1,Σ2,Σ3},Lk+1 := {[µ, ϕ],[Σ1, ϕ],[Σ2, ϕ],[Σ3, ϕ] : ϕ∈Lk},k≥0. We also define L∞:= ∪k≥0Lk. We say that the H¨ormander condition holds true at q∈ O if (A.4) Span ϕ(q), ϕ ∈L∞=R3. Direct calculations show that L0(q) = {Σ3}(q) =    0 0 σ(z)     L1(q) = [µ, Σ3](q) =    xyσ(z) −xyσ(z) σz(z)b(z, 0) −σ(z)bz(z, 0)     and L2(q) = [µ, [µ, Σ3]],[Σ3,[µ, Σ3]](q) =   xy(2b(z, 0)σz(z)−ασ(z)−σ(z)bz(z, 0)) xy(σ(z)bz(z, 0) −2b(z, 0)σz(z)) b(z, 0)2σzz(z)−σ(z)b(z, 0)bzz(z, 0) + σ(z)bz(z, 0)2−σz(z)b(z, 0)bz(z, 0)  ,  xyσ(z)σz(z) −xyσ(z)σz(z) b(z, 0)σ(z)σzz(z)−σ(z)2bzz(z, 0) −b(z, 0)σz(z)2+σ(z)bz(z, 0)σz(z)     Hence, the matrix associated to (L0∪L1∪L2)(q) has the sub-matrix formed by all its rows and its first three columns with determinant −αx2y2σ3(z)<0. Hence, (A.4) holds true on Ogiven the arbitrariness of q. EPIDEMIC CONTROL VIA LOCKDOWN 15 Therefore, by Theorem 2.3.3 in [20], for any t > 0 the uncontrolled process (Sx,y,z t, Ix,y,z t, βz t)t admits a transition density pwhich is absolutely continuous with respect to the Lebesgue measure in R3, and infinitely many times differentiable. Moreover, Theorem 9 and Remark 11 in [4] (see also [17]) show that psatisfies the Gaussian estimates (A.2) and (A.3). This completes the proof.  Acknowledgments. Financial support by the German Research Foundation (DFG) through the Collaborative Research Centre 1283 is gratefully acknowledged by Giorgio Ferrari. The authors also thank Frank Riedel and Mauro Rosestolato for interesting comments and suggestions. References [1] Acemoglu, D., Chernozhukov, V., Werning, I., Whinston, M.D. (2020). Optimal Targeted Lockdowns in a Multi-Group SIR Model. Working Paper 27102, National Bureau of Economic Research. Available online at http://www.nber.org/papers/w27102. [2] Alvarez, F.E., Argente, D., Lippi, F. (2020). A Simple Planning Problem for Covid-19 Lockdown. Technical report, National Bureau of Economic Research Working Paper 26981. Available online at https://www.nber. org/papers/w26981 [3] Aspri, A., Beretta, E., Gandolfi, A., Wasmer, E. (2020). Mortality Containment vs. Economic Opening: Optimal Policies in a SEIARD Model. Preprint on arXiv: 2006.00085. Availabel online at https://arxiv.org/ abs/2006.00085. [4] Bally, V. (2003). An Elementary Introduction to Malliavin calculus. INRIA Rapport de Recerche n. 4718. Available online at http://www.crm.cat/en/Activities/Documents/RR-4718.pdf [5] Bayraktar, E., Cohen, A., Nellis, A. (2020). A Macroeconomic SIR Model for Covid-19. Preprint on arXiv: 2006.16389. Available online at https://arxiv.org/abs/2006.16389. [6] Behncke, H. (2000). Optimal Control of Deterministic Epidemics. Optimal Control Applications and Methods 21(6), pp. 269–285. [7] Cannarsa, P., Sinestrari, C. (2014). Semiconcave Functions, Hamilton-Jacobi Equations, and Optimal Control. Progress in Nonlinear Differential Equations and their Applications, Volume 58. Birkh¨auser. [8] Crandall M., Ishii H., and Lions P.L. (1992). User’s Guide to Viscosity Solutions of Second Order Partial Differential Equations. Bull. Amer. Math. Soc. 27(1), pp. 1–67. [9] Favero, C., Ichino, A., Rustichini, A. (2020). Restating the Economy while Saving Lives under Covid-19. Preprint at SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3580626 [10] Gollier, C. (2020). Cost-Benefit Analysis of Age-Specific Deconfinement Strategies. Covid Economics 24, pp. 1–31. Available online at: https://www.tse-fr.eu/sites/default/files/TSE/documents/doc/by/gollier/ covideconomics_dynamic.pdf [11] Hotz, T., Glock, M., Heyder, S., Semper, S., B¨ ohle, A., Kr¨ amer, A. (2020). Monitoring the Spread of Covid-19 by Estimating Reproduction Numbers over Time. Preprint availabel at: https:// stochastik-tu-ilmenau.github.io/COVID-19/reports/repronum/repronum.pdf [12] Huberts, N., Thijssen, J. (2020). Optimal Timing of Interventions during an Epidemic. Preprint at SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3607048 [13] Jiang, D., Yu, J. (2011). Asymptotic Behavior of Global Positive Solution to a Stochastic SIR Model. Math. Comput. Modelling 54, pp. 221–232. [14] Kantner, M. (2020). Beyond just “Flattening the Curve”: Optimal Control of Epidemics with Purely Nonpharmaceutical Interventions. Preprint on arXiv: 2004.09471. Available online at https://arxiv.org/abs/2004. 09471 [15] Karatzas, I., Shreve, S. (1991). Brownian Motion and Stochastic Calculus. Second Edition. Springer-Verlag, New York. [16] Kermack, W.O., McKendrick, A.G. (1927). Contributions to the Mathematical Theory of Epidemics, Part I. Proc. R. Soc. Edinb. A 115, pp. 700–721. [17] Kusuoka, S., Stroock, D. (1985). Applications of the Malliavin Calculus, Part II. J. Fac. Sci. Univ. Tokyo 32, pp. 1–76. [18] Kruse, T., Strack, P. (2020). Optimal Control of an Epidemic through Social Distancing. Preprint at SSRN: https://ssrn.com/abstract=3581295orhttp://dx.doi.org/10.2139/ssrn.3581295. [19] Miclo, L., Spiroz, D., Weibull, J. (2020). Optimal Epidemic Suppression under an ICU Constraint. Preprint on arXiv: 2005.01327. Available online at https://arxiv.org/abs/2005.01327 [20] Nualart, D. (2006). The Malliavin Calculus and Related Topics. Second edition. Springer-Verlag. [21] Pham, H. (2009). Continuous-time Stochastic Control and Optimization with Financial Applications. Springer- Verlag. [22] Rockafellar T. (1970). Convex Analysis. Princeton University Press. 16 FEDERICO AND FERRARI [23] Toda, A.A. (2020). Susceptible-Infected-Recovered (SIR) Dynamics of Covid-19 and Economic Impact. Preprint on arXiv: 2003.11221. [24] Tornatore, E., Buccellato, S.M., Vetro, P. (2005). Stability of a Stochastic SIR System. Physica A 354 pp. 111–126. [25] Veretennikov, A.Y. (1979). On the Strong Solutions of Stochastic Differential Equations. Theory Probab. Appl. 24(2), pp. 354–366. [26] Yong, J., Zhou, X.Y. (1999). Stochastic Control - Hamiltonian Systems and HJB Equations. Springer. S. Federico: Dipartimento di Economia Politica e Statistica, Universit` a di Siena, Piazza san Francesco 7/8, 53100 Siena, Italy E-mail address:[email protected] G. Ferrari: Center for Mathematical Economics (IMW), Bielefeld University, Universit¨ atsstrasse 25, 33615, Bielefeld, Germany E-mail address:[email protected]