On rigidity of 3d asymptotic symmetry algebras

We study rigidity and stability of infinite dimensional algebras which are not subject to the Hochschild-Serre factorization theorem. In particular, we consider algebras appearing as asymptotic symmetries of three dimensional spacetimes, the bms3\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ \mathfrak{b}\mathfrak{m}{\mathfrak{s}}_3 $$\end{document}, u1\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ \mathfrak{u}(1) $$\end{document} Kac-Moody and Virasoro algebras. We construct and classify the family of algebras which appear as deformations of bms3\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ \mathfrak{b}\mathfrak{m}{\mathfrak{s}}_3 $$\end{document}, u1\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ \mathfrak{u}(1) $$\end{document} Kac-Moody and their central extensions by direct computations and also by cohomological analysis. The Virasoro algebra appears as a specific member in this family of rigid algebras; for this case stabilization procedure is inverse of the Inönü-Wigner contraction relating Virasoro to bms3 algebra. We comment on the physical meaning of deformation and stabilization of these algebras and relevance of the family of rigid algebras we obtain.


Introduction and motivations
Symmetries are cornerstones of any modern physical theory and are associated to groups in mathematical settings. Continuous symmetries are then related to Lie algebras. In physics formulations symmetries are transformations on the space of degrees of freedom and/or JHEP03(2019)143 parameters of the theory which keep the action or Hamiltonian invariant and, Noether theorem states how to associate a conserved charge to each symmetry.
Physical theories and in particular quantum field theories are usually analyzed within perturbation theory: we deform the action and analyze the deformed/perturbed theory. These deformations may or may not respect symmetries of the original theory. A relevant question is then whether there is a similar notion as deformations at the level of (symmetry) algebras and if yes, whether there is any relation between the "algebraic deformation theory" and those of physical theories. As we will review below there is a fairly well established notion of deformation of algebras in the mathematical literature. Moreover, in the context of quantum field theories we have the notion of RG flows and their fixed points in the space of deformation parameters. One can ask whether there is a similar concept as fixed points in the space of algebraic deformations. Again, as we will review below, the answer is affirmative and we have the notion of rigid algebras which are stable against deformations.
In the case of finite dimensional Lie algebras the above questions may be analyzed in the context of cohomology of algebras where the celebrated Hochschild-Serre factorization theorem sets the stage on how one can deform any given Lie algebra and which algebras are rigid.
While the stability and rigidity of the algebras in physics literature are not new [1][2][3][4][5] and have recently been studied in a series of papers in the context of "kinematical algebras" [6][7][8][9][10][11], physicists are more familiar with the reverse process; the Inönü-Wigner (IW) contraction [12]. The IW contraction was primarily worked through relating the Poincaré algebra to the Galilean symmetry algebra, through a non-relativistic limit; i.e. through sending speed of light c to infinity and scaling the generators in an appropriate way [4,13]. Similar contraction is also known to relate the AdS or de Sitter symmetry algebras, respectively so(d−2, 2) or so(d−1, 1), to Poincaré algebra iso(d−2, 1) [1], see [14] for a comprehensive review. Geometrically, this latter may be understood as a particular large (A)dS radius limit where it is expected to recover flat d − 1 dimensional Minkowski spacetime. The IW contraction relates algebras with the same number of generators, but different structure constants and always results in a non-rigid (non-stable) algebra.
One may then ask if we can reverse this contraction process in a systematic way. For example, one may deform the Galilean algebra by 1/c corrections, or the Poincaré algebra by 1/ corrections and examine the rigid algebra this deformation will end up to. In this case, the expected result is of course what we started before contraction. However, one would like to know, given an algebra whether the rigid algebra coming out of its deformations is unique; i.e. whether there are various algebras which upon IW contraction yield the same algebra. The theory of cohomology of algebras answers this question, unambiguously, for finite dimensional Lie algebras: the result of stabilizing an algebra is unique (up to signature of the metric of the algebra, and up to central extensions). As a rule of thumb, the (semi)simple algebra with the same number of generators is generically the answer.
There are, however, infinite dimensional algebras which are of interest from physical viewpoint. The most famous ones are Virasoro and (Kac-Moody) current algebras, or alge-

JHEP03(2019)143
bras of diffeomorphisms on certain given manifolds. One may then pose the same question of the deformations here. To our knowledge the mathematical literature on deformations of these algebras, specially when they admit central extensions, is not as vast and established as the finite dimensional cases, see however, [15][16][17][18][19][20]. In this work we plan to study such cases and hopefully enrich the mathematical literature on this issue and provide physical implications and insights.
Recent developments in the context of "asymptotic symmetry algebras" have opened a new venue to obtain and look at infinite dimensional algebras in physics, e.g. see [21][22][23][24][25][26][27][28]. In a sense the local (gauge) symmetries appearing in gauge field theories, like Maxwell or Yang-Mills theories, or diffeomorphism invariance of general relativity are also related to infinite dimensional algebras. In a physical theory, however, the role of gauge symmetries are generically to remove the redundancy in the description of the theory. Nonetheless, as recent analyses have revealed, there could be a measure zero, but still infinite dimensional, subset of gauge transformations which are "non-trivial," in the sense that one can associate well-defined charges to them. These charges are given by integrals over spacelike, compact codimension two surfaces of a codimension two-form constructed from the action of the theory, see e.g. [29,30] for reviews. This codimension two surface is usually (but not necessarily) taken to be at the asymptotic region of spacetime and the charges are associated with gauge transformations which do not die off there. These surface charges are hence customarily called asymptotic symmetries and the gauge transformations called (asymptotically) large gauge transformations.
The asymptotic symmetry algebra of nontrivial diffeomorphisms has been of special interest. In fact the first example of such symmetries was constructed in early 1960's by Bondi-van der Burg-Metzner and Sachs [31][32][33] and usually goes under the name BMS algebra. The BMS algebra discussed in the early examples was associated with symmetries of four dimensional (4d) asymptotic flat spacetime and is usually denoted as bms 4 or its central extension bms 4 [34]. There is a similar notion in three dimensional (3d) flat space [35], on which we mainly focus in this paper, and is denoted by bms 3 . bms 3 is the central extension of the bms 3 [34,36,37]. Another famous and classic example of asymptotic symmetries is the one discussed by Brown and Henneaux in 1986 [21]. The Brown-Henneaux analysis was carried out for asymptotically AdS 3 spacetime and revealed two copies of commuting Virasoro algebras (usually called by Left and Right sectors) at a given central charge; the Brown-Henneaux central charge is 3/2 of AdS 3 radius measured in units of 3d Newton constant.
The asymptotic symmetry analysis has been carried out for 3d asymptotically (locally) flat, de Sitter or AdS spacetimes with various boundary falloff conditions recovering various classes of algebras, e.g. see [38][39][40][41][42][43]. These algebras typically contain a Virasoro algebra and other generators associated with primary fields in this Virasoro algebra, e.g. like a u(1) Kac-Moody algebra, bms 3 or 2d Galilean-Conformal-Algebra (GCA). The most general in the family of AdS 3 algebras are sl(2, R) ⊕ sl(2, R) current algebras and the associated Virasoro algebras built through (twisted) Sugawara construction [43]. One may then realize many subalgebras of this algebra as asymptotic symmetry algebras with appropriate falloff boundary conditions [43]. Similar analysis for asymptotically flat case has been carried JHEP03(2019)143 out yielding iso(2, 1) current algebras [44]. There are also other similar algebras coming from surface charge analysis near the horizon of black holes (rather than the asymptotic charges) [42,45,46] and in the 3d higher spin theories [47,48].
Given the variety of these algebras and their "geometric" realization as asymptotic symmetries, one may ask whether these algebras are rigid and if not, what is the result of the stabilization procedure. While rigidity of Witt and Virasoro algebras was first conjectured in [49], a sketch of the proof was provided in [50] using cohomological point of view and finally a full proof of rigidity (stability) of Witt and Virasoro algebras was provided in [16,51]. These proofs also point to how the usual algebra cohomology arguments have shortcomings when applied to infinite dimensional algebras with central charges. Moreover, in the case of the Brown-Henneaux Virasoro algebra it is known that one can obtain the bms 3 by the Inönü-Wigner (IW) contraction [36,52]. This contraction is an extension of the same IW contraction relating so(2, 2) and iso (2,1), respectively the isometry group of the underlying (asymptotic) AdS 3 and flat spacetimes. In this work we examine stability and rigidity of a class of algebras associated with 3d asymptotic symmetries and try to give a general and mathematically solid answer to this question.
Organization of the paper. In section 2, we review algebras related to asymptotic symmetries of 3d spacetimes. In section 3, we review some relevant mathematical literature including the theory of Lie algebra deformations, the notion of cochains and cohomology of algebras, the Serre-Hochschild factorization and spectral sequence theorems, and basic results regarding rigidity of finite dimensional Lie algebras. In sections 4 and 5, we study deformation and stabilization of centerless bms 3 , its centrally extended version bms 3 algebras and other algebras appearing as 3d asymptotic symmetries. As we will see addition of central charges significantly alters the stabilization arguments. In the last section we have summarized our results (given in tables 1, 2), discussions, some conjectures about rigidity of the algebras we obtain, outlook and physical implications. In the appendix we have presented proof of rigidity of algebras obtained from deformation of the bms 3 , bms 3 and u(1) Kac-Moody algebras.
Notation. Following [37] we use "fraktur fonts" e.g. bms, vir vir ab for algebras and their centrally extended versions will be denoted by a hat, e.g.ĝ denotes centrally extended version of the algebra g. In particular, bms 3 = vir vir ab , u(1) Kac-Moody algebra and its centrally extended versions will be respectively denoted by KM u(1) and KM u(1) .

Asymptotic symmetries of 3d spacetimes
In this section we review the structure of asymptotic symmetry algebras appearing in the context of 3d gravity. Depending on the asymptotic behavior of the metric and the chosen boundary falloff conditions one can get different asymptotic symmetry algebras. The two set of "standard" falloff behaviors are the Brown-Henneaux boundary conditions for AdS 3 which yields two copies of Virasoro [21] and the BMS falloff behavior for 3d flat space which leads to bms 3 [34][35][36]. Here we briefly review these algebras.

JHEP03(2019)143
2.1 3d flat space asymptotic symmetry algebra The centerless asymptotic symmetry algebra of 3d flat spacetime is bms 3 [35,36]: where m, n ∈ Z and it is defined over the field of real numbers R. The bms 3 is an infinite dimensional algebra with countable basis and has two sets of generators, J n and P n . The former generates the Witt subalgebra of bms 3 and is the algebra of smooth vector fields on a circle. P n construct an adjoint representation of the Witt algebra and form the ideal part of bms 3 . Eq. (2.1) makes it clear that bms 3 has a semi-direct sum structure: where the subscript ab is to emphasize P being abelian and ad denotes the adjoint action. The global part of bms 3 is 3d Poincaré algebra, iso(2, 1), and is obtained by restricting to m, n = ±1, 0 in relation (2.1). In physics terminology J which are generalizations of the 3d Lorentz group are called superrotations and P which are generalizations of 3d momenta, supertranslation.
The asymptotic symmetry analysis of 3d flat space actually leads to centrally extended version of the algebra, denoted by bms 3 : in which c JJ and c JP are called central charges. The central part, besides the m 3 piece, may also have a piece proportional to m. This latter can be absorbed in a proper redefinition of the generators, therefore, in our analysis we only include the m 3 term. For flat space there are of course "more relaxed" boundary conditions which yield algebras with more number of fields in the various representations of the Virasoro algebra, the most general being iso(2, 1) Kac-Moody current algebra [44].

AdS 3 asymptotic symmetry algebra
Centerless asymptotic symmetry algebra of 3d AdS spacetime with Brown-Henneaux boundary conditions is: (2.4) in which m, n ∈ Z, and is defined over the field R. It is obvious that the algebra (2.4) has two Witt subalgebras. That is, (2.4) is direct sum of two different Witt algebras, (2.5)

JHEP03(2019)143
Centrally extended version of (2.4) is which is asymptotic symmetry algebra of asymptotically AdS 3 solutions to Einstein-Λ theory with AdS radius and Newton constant G N , c =c = 3 2G N [21]. The algebra (2.6) will be denoted by vir 2 and is direct sum of two different Viraroso algebras, (2.7) With our previous notation, Virasoro algebra is the centrally extended version of Witt algebra, i.e. vir= witt. In other words, Virasoro algebra is Witt algebra extended by the Gel'fand-Fuks global 2-cocycle [53]. The global part of vir 2 is either sl(2, R) ⊕ sl(2, R) so(2, 2) which is the algebra of (global) isometries of AdS 3 [21], or so(3, 1) sl(2; C) associated with global isometries of 3d de Sitter space (without the factors of i in the commutators, though) [40].
On the AdS 3 one can get other asymptotic symmetry algebras, e.g. if we relax the Brown-Henneaux boundary conditions to the ones introduced in [41] we get two copies of centrally extended u(1) Kac-Moody algebras. One can also impose more restricted set of boundary conditions and get a single copy of u(1) Kac-Moody algebra [54]. The latter boundary conditions can be also used for the case of chiral gravity theory [55]. In the most general case one can get two copies of sl(2, R) Kac-Moody current algebras [43] which contains all the previous cases as subalgebras (the Virasoro algebras are related to this current algebra through (twisted) Sugawara construction).

Contraction of Virasoro to bms 3
The bms 3 and vir 2 algebras are related by a IW contraction [52]. To see this, let us introduce L n = 1 2 (J n + P n ),L −n = 1 2 (J n − P n ), (2.8) where is a parameter introduced to facilitate taking the contraction as an → ∞ limit, while keeping J n , P n fixed. Plugging (2.8) into the Virasoro algebra we obtain If we keep c JJ = c +c and c JP = (c −c)/ finite while taking → ∞, the above reduces to the bms 3 (2.3). In the above IW contraction 1/ may be viewed as the deformation parameter.

3d near horizon symmetry algebras
On AdS 3 space we have the class of BTZ black holes [56] and/or their Virasoro descendants. It has been shown in [42,46,57] that one can impose appropriate boundary (falloff) conditions on the horizon of these black holes and find a "near horizon" (in contrast to asymptotic) symmetry algebra. This algebra has been shown to be two chiral copies of a u(1) current algebra, i.e. a centrally extended u(1) Kac-Moody algebra, KM u(1) and is defined through One should note that in the computations of the near horizon symmetry algebras the central charges c JJ , c JP and c P P are not (parametrically) independent.

Lie algebra deformation theory
Deformation of a certain Lie algebra g is a modification of its structure constants. Some of such deformations could just be a change of basis which are called trivial deformations. Nontrivial deformations modify/deform a Lie algebra g to another Lie algebra with the same vector space structure. In the case of finite dimensional Lie algebras the latter implies that deformation does not change the dimension of the algebra. The concept of deformation of rings and algebras was first introduced in a series of papers by Gerstenhaber [58][59][60][61] and by Nijenhuis and Richardson for Lie algebras in [62]. Deformations introduced by Nijenhuis and Richardson are known as 'formal' deformations where a Lie algebra is deformed by a formal power series of some variables (deformation parameters). If one considers the deformation only up to the linear term in the power series it is called 'infinitesimal' deformation. While other kinds of generalized deformations of Lie algebras, like 'versal', 'global' and 'analytic' deformations have also been introduced and studied [50, [63][64][65][66], in this work we only focus on infinitesimal and formal deformations.
A Lie algebra g is called rigid or stable if it does not admit any deformation or equivalently if its deformed algebra g ε , ε being the deformation parameter, is isomorphic to the initial algebra. As deformations, there are some different notions of rigidity. Here, we will focus on the 'formal' and 'infinitesimal' rigidity. One may consider 'analytic,' 'global or 'versal' rigidity of Lie algebras associated with similar deformations, as e.g. done in [65,67].
Our main focus in this paper will be on infinite dimensional Lie algebras, nonetheless for setting the stage and building an intuitive picture we review the more studied and established case of finite dimensional Lie algebras. In the following sections (up to section 3.4) we assume that the Lie algebra is finite dimensional and in section 3.4 discuss which notions are not extendable to infinite dimensional cases.

JHEP03(2019)143
Lie algebra structure and L n space. We call (g, [, ]) a Lie algebra in which g is a vector space over a field F with characteristic zero (for example R or C) equipped with Lie bracket, a bilinear and antisymmetric product function [, ], The Lie bracket [, ] must also satisfy the Jacobi identity, We denote the Lie algebra (g, [, ]) by g and {g i } are the basis elements of n dimensional Lie algebra g where i = 1, . . . , n = dimg which satisfy the Lie bracket [, ] as: where f k i,j = −f k j,i 's are the F-valued structure constants. The Jacobi identity in terms of structure constants is where there is summation over the repeated indices. For an n dimensional Lie algebra g the maximum number of independent structure constants are 1 2 n 2 (n − 1). The space of all independent structure constants can be considered as a 1 2 n 2 (n − 1) dimensional space, F 1 2 n 2 (n−1) , each axis is labeled by one independent structure constant f k i,j with values in field F. The space of all n dimensional Lie algebras over the same field, which is specified with the constrains (3.4) and denoted by L n , is an algebraic subset of this space [68]. Intuitively each point on the algebraic subset L n corresponds to a certain class of Lie algebras isomorphic to g with specific structure constants.
Formal deformation of Lie algebras. A formal one parameter deformation of a Lie algebra (g, [, ] 0 ) is defined as: [g i , g j ] ε := Ψ(g i , g j ; ε) = Ψ(g i , g j ; ε = 0) + ψ 1 (g i , g j )ε 1 + ψ 2 (g i , g j )ε 2 + . . . , (3.5) where Ψ(g i , g j ; ε = 0) = [g i , g j ] 0 , g i , g j are basis elements of g 0 , ε ∈ F (for example R or C) is the deformation parameter and functions ψ i : g × g −→ g are bilinear antisymmetric functions, the 2-cochains. Intuitively, a formal one parameter deformation can be seen as a continuous curve on the algebraic subset L n parametrized by the deformation parameter ε. A smooth and analytic curve corresponds to a smooth and analytic deformation [68]. For every ε, the new Lie algebra (g, [, ] ε ) should satisfy the Jacobi identity, ] ε + cyclic permutation of (g i , g j , g k ) = 0, (3.6) order by order in ε, which leads to infinite sequence of equations among ψ i . For small ε the leading deformation is given by ψ 1 (g i , g j )-term and the associated Jacobi identity leads to [g i , ψ 1 (g j , g k )] 0 + ψ 1 (g i , [g j , g k ] 0 ) + cyclic permutation of (g i , g j , g k ) = 0. (3.7)

JHEP03(2019)143
This relation is known as the 2-cocycle condition. Its solution, the 2-cocycle ψ 1 , specifies an infinitesimal deformation of Lie algebra g. The Jacobi identity for higher orders of ε should also be checked as integrability conditions of ψ 1 and may lead to obstructions, which will be discussed later in this section. From now we denote the deformed algebra (g, [, ] ε ) just by g ε . Conversely, given an algebra g one can take ε → 0 limit and obtain g 0 . This procedure is known as contraction of Lie algebras. The contraction and deformation are hence inverse of each other. Deformation by a 2-cocycle is trivial if the deformed algebra is isomorphic to the initial algebra, i.e. the deformed and original algebras are related by a redefinition of generators or equivalently a change of basis. If two algebras g and g ε are isomorphic to each other, they are related by in which invertible operator M is a linear transformation in vector space g. The operator M ε can be expanded as M ε = I + εϕ 1 .
By inserting this relation into (3.8) one gets Next consider One can readily check that this satisfies the 2-cocycle condition (3.7). In fact (3.9) shows ψ 1 is a 2-coboundary if ϕ 1 is a 1-cochain. When ψ 1 is a 2-coboundary the deformation (3.5) is called trivial, meaning that the deformation is just a redefinition of basis elements.

Relation of deformation theory and cohomology of a Lie algebra
We start with the definition of the Chevalley-Eilenberg complex and differential. A vector space V is called a g-module if there exists a bilinear map ω : g × V −→ V for all x ∈ V and g 1 , g 2 ∈ g with the property ω([g 1 , g 2 ], x) = ω(g 1 , ω(g 2 , x)) − ω(g 2 , ω(g 1 , x)), [69]. In this setting, the Jacobi identity of the Lie bracket implies that a Lie algebra g with the adjoint action is a g-module. A p-cochain ψ is a V-valued (as g-module), bilinear and completely antisymmetric function which is defined as: is the space of V-valued p-cochains on g. One can then define the cochain complex C * (g; V) = ⊕ dim(g) p=o C p (g; V) which is known as the Chevalley-Eilenberg complex .

JHEP03(2019)143
The Chevalley-Eilenberg differential or equivalently coboundary operator "d" is a linear map defined as [70,71] d p : C p (g; g) −→ C p+1 (g; g) , ψ −→ d p ψ, and p + 1-cochain d p ψ is given by: the hat denotes omission. One can check that d p • d p−1 = 0. A p-cochain ψ is called pcocycle if d p ψ = 0, and a p-coboundary if ψ = d p−1 ϕ. By the property d p • d p−1 = 0 one concludes that every p-coboundary is also a p-cocycle. With this definition one can check that 2-cocycle condition (3.7) is just d 2 ψ 1 = 0 where ψ is a g-valued 2-cochain and d 2 given in (3.10), and the relation (3.9) is 2-coboundary condition ψ 1 = d 1 ϕ 1 where ϕ 1 is a g-valued 1-cochain. One defines Z p (g; V) as space of p-cocycles which is kernel of differential d as is hence the space of all g−valued 2-cocycles which satisfy the relation (3.7). One also defines B p (g; V) as space of p-coboundaries as is therefore the space of all g−valued 2-cocycles which are also 2-coboundary which means its elements satisfy both relations (3.7) and (3.9). p th cohomology space of g with coefficients in V is then defined as quotient of the space of p-cocycles Z p (g; V) to the space of p-coboundaries B p (g; V) as: Interpretations of cohomology spaces.
• H 0 (g; V) is defined as: and is the space of invariants [72].
• H 2 (g; V) classifies deformations or isomorphic classes of extensions of the Lie algebra g with respect to V. Two particular cases of interest are JHEP03(2019)143 i. V = R (or C) where H 2 (g; R) classifies (global) central extensions of algebra g.
ii. V = g where H 2 (g; g), the second adjoint cohomology, classifies all infinitesimal deformations of algebra g.
Therefore, to classify infinitesimal deformations of a given Lie algebra g one has to compute second adjoint cohomology H 2 (g; g). Not all infinitesimal deformations integrate to a formal (finite) deformation; there could be obstructions. We will return to the concept of integrability and obstructions later in this section.
Definition [16]. A Lie algebra (g, [, ] 0 ) is formally rigid, if and only if its every formal deformation is a trivial deformation. Intuitively rigidity of Lie algebra g means each Lie algebra g ε which is close to g, is isomorphic to it. In the physics literature rigid algebras are also called stable algebras.
Theorem 3.1. If H 2 (g; g) = 0 then Lie algebra (g, [, ] 0 ) is infinitesimally and formally rigid [73][74][75]. In fact, for finite dimensional Lie algebras the condition H 2 (g; g) = 0 means that these Lie algebras are rigid in any sense e.g. infinitesimally, formally, analytically, . . . [58][59][60][61][62]76]. For infinite dimensional Lie algebras, however, H 2 (g; g) = 0 means that theses are just infinitesimally and formally rigid [64]. That is, the second adjoint cohomology H 2 (g; g) classifies infinitesimal deformations of Lie algebra g; if it is zero from last theorem one concludes that g is rigid and does not admit a nontrivial deformation. Otherwise, one has found nontrivial infinitesimal deformations and then verify possible obstructions to make sure that these deformations are also formal deformations.
As an intuitive picture, recall the L n , the set of all n dimensional Lie algebras which is an algebraic subset in the space of structure constants; each point of this set denotes (an isomorphism class of) a certain Lie algebra. Consider the point g with the coordinate (f 1 1,2 , f 2 1,2 , . . . , f n n−1,n ). So the space of all g-valued 2-cocycles, Z 2 (g; g), is the tangent space to L n in point g. The space of all g-valued 2-coboundaries, Z 2 (g; g), is a subspace of the tangent space on point g. If H 2 (g; g) = 0, the elements of Z 2 (g; g) and B 2 (g; g) are the same, so the point or equivalently g is rigid. However, if H 2 (g; g) = 0, there is at least one direction in the tangent space which can take the algebra g to another Lie algebra g ε which is not isomorphic to g. In fact, nontrivial infinitesimal deformations which are elements of H 2 (g; g) are directions where the algebra g along them can be deformed to another algebra g ε .
Integrability conditions and obstructions. As pointed out earlier, to have a formal deformation (3.5), we need the corresponding nontrivial infinitesimal deformation to be integrable, to be valid to all orders in the deformation parameter. To first few orders in ε, (3.6) leads to [g i , [g j , g k ] 0 ] 0 + cyclic permutation of (g i , g j , g k ) = 0, (3.15a) [[ψ r , ψ s ]](g i , g j , g k ) := ψ r (g i , ψ s (g j , g k )) + cyclic permutation of (g i , g j , g k ).
The zeroth order in ε, (3.15a), is nothing but the Jacobi relation for the undeformed algebra and is hence satisfied by definition. The second equation (3.15b) is the 2-cocycle condition (3.7) for ψ 1 and its solutions provides nontrivial infinitesimal deformations. Eq. (3.15c) would then guarantee that there are no obstructions in viewing ψ 1 (g i , g j ) as the first order term of a formal deformation Ψ(g i , g j ; ε) which admits a power series expansion in ε. Of course one should continue the reasoning in higher orders of ε. It is readily seen that for ε 3 level one should satisfy (3.15d) and so on. The sequence of relations will be stopped if there is an obstruction. From cohomological point of view, one can verify that all obstructions are in the space H 3 (g; g). If H 3 (g; g) = 0 then there are no obstructions [62]. The latter is a sufficient condition for integrability of H 2 (g; g)'s elements. However, the converse is not true and absence of obstructions does not mean H 3 (g; g) is vanishing. As a result if H 2 (g; g) = 0 while H 3 (g; g) = 0 we have a formal (formal power series) deformation and the deformation parameter ε need not be taken to be small.
Given a nontrivial 2-cocycle ψ 1 or equivalently given H 2 (g; g) = 0, some different situations may happen: i. While there is no obstruction, all the other functions ψ r (r ≥ 2) have trivial solution 0. This means that there is a formal deformation which has only linear term in power series. As we will see except some specific cases, which are examples of case v. below, the deformations we will find are examples of this case.
ii. There are no obstructions but other functions ψ r (r ≥ 2) also have nontrivial solutions. This means that there is a formal power series in which ψ r 's can be seen as Taylor coefficients of a function Ψ(g i , g j ; ε).
iii. There is no obstruction but for the set of functions ψ r (r ≥ 2), (3.15) lead to different solution sets. That is, there are at least two different curves in the L n space which have the same first derivative with respect to ε in the initial point.
iv. There is no obstruction up to a specific order s. It means that there are only solutions for functions ψ r where r = 2, . . . , s and for r > s equations do not have any solution.
We then call ψ 1 is integrable up to order s [74].
v. Obstructions start from second order and there is no solution for ψ 2 and other ψ r where r ≥ 2. As we saw in theorem 3.1 the condition H 2 (g; g) = 0 is a sufficient condition for the algebra g to be rigid. We can also see the meaning of the latter from the relations (3.15). The condition H 2 (g; g) = 0 means (3.15a) does not have any solution. Therefore, other equations which use ψ 1 as an input do not have any solution either. However, there are cases where ψ 1 exists but not other ψ r where r ≥ 2.

JHEP03(2019)143
These deformations are not integrable and do not admit a power series as (3.5). An example of such rigid algebra with nontrivial linear (infinitesimal) deformation can be found in [75]. In our analysis of bms 3 or bms 3 algebra deformations we will find some other examples of this case.
Relation between deformation and contraction. As mentioned the contraction procedure is inverse of deformation. In fact by taking the ε → 0 limit one can return to the original algebra g from the deformed algebra. Physically, deformation can be interpreted as reaching to a "corrected" theory from a nonexact one while contraction is getting a certain limit of this corrected theory in which deformation parameter appears as some physical parameter or in some specific examples as a fundamental constant of nature, e.g. see [4]. All finite dimensional semisimple Lie algebras are rigid in the sense that they do not admit any deformation so they can be viewed as symmetry algebras of a more fundamental or an undeformed physical theory. On the other hand a non-semisimple Lie algebra (like Galilean algebra) as the symmetry algebra of a physical theory admits deformations (to Poincaré algebra, where speed of light c is the deformation parameter and a constant of nature). Conversely, a relativistic theory can be reduced to a non-relativistic theory through a contraction (obtained through sending c to infinity). There are different approaches to contract a certain Lie algebra. The concept of contraction as limiting process on a Lie algebra was first introduced by Segal in [77] and then by Inönü and Wigner in [12], which is more known among physicists. Further discussions may be found in [14,78,79].
Examples of simple Lie algebras and their contraction. SO(n + 1) is the isometry group of n dimensional sphere S n of an arbitrary radius R. This sphere may be embedded into the n + 1 dimensional flat space R n+1 . The commutation relations of its algebra are where 0 ≤ i, j, k, l ≤ n + 1. In the limit of R → ∞, as (IW) contraction, the above algebra reduces to the algebra of Euclidean group E(n) or ISO(n), with the associated algebra: where one has replaced r ij = s ij and s i, The next example is the isometry group of n dimensional hyperboloid H n radius R, SO(n, 1). The commutation relations of so(n, 1) is the same as (3.16). A similar limit again brings us to Euclidean group E(n) or ISO(n) with the same commutation relations as iso(n). By the Weyl unitarity trick two algebras so(n + 1) and so(n, 1) are mapped to each other. Therefore, both of so(n + 1) and so(n, 1) algebras in the R → ∞ limit can be contracted to iso(n). Conversely, this means that by deformation procedure one can reach so(n + 1) or so(n, 1), starting from iso(n). This is very similar to the problem considered by Levy-Nahas in [1] where it is shown that the only algebras which can be contracted to the Poincaré algebra iso(3, 1), are so(4, 1) and so (3,2) which are, respectively the algebras corresponding to dS 4 and AdS 4 isometries.

Rigidity of finite dimensional Lie algebras, Whitehead and Hochschild-Serre theorems
Here we apply theorem 3.1 to finite dimensional Lie algebras. First, we consider simple and semi-simple Lie algebras. In this case a theorem which has been proven by Whitehead has a very important role Theorem 3.2. (Whitehead's Theorem) Let M be a (finite-dimensional) simple module over a semisimple Lie algebra g with nontrivial g-action. Then H p (g; M ) = 0 for all p ≥ 0. As g is also a g-module, the above theorem states that H p (g; g) = 0 for all p ≥ 0. This latter and theorem 3.1 leads to, As examples all so(n) n ≥ 3, su(n) and sl(n, R or C) are rigid in the sense that they cannot be deformed to another non-isomorphic algebra.
Semi-direct sum structure. There are also some powerful mathematical methods for specific finite dimensional Lie algebra structures. Many of finite dimensional Lie algebras which appear in physics have semi-direct sum structure in the sense that g is a semidirect sum of two (or possibly more) parts as g = g 1 g 2 in which g 2 is ideal part of g, e.g. Poincaré algebra in general d dimensions has this form (actually any non-solvable finite dimensional Lie algebra over a field of characteristic zero can be written as a semi direct sum of a semisimple Lie algebra and its radical ideal. This is known as the Levi decomposition). Let us look at the commutation relations of Poincaré Lie algebra in 3d, where m, n = 0, ±1. This algebra is a semi-direct sum of two parts as: Poincaré 3 = iso(2, 1) = sl(2, R) ad h in which sl(2, R) is spanned by J s and h is ideal part which is spanned by Ps. For algebras with semi-direct sum structure, there is the classic Hochschild-Serre factorization theorem proven in [71] which makes the calculations more convenient. Theorem 3.3. (Hochschild-Serre factorization theorem) Let g be a finite dimensional Lie algebra over the field F of characteristic 0, and let M be a finite dimensional g- As we mentioned g is a g-module and the characteristic of real numbers R (and also complex number C) is zero. Then, theorem 3.2 implies that This means that all nontrivial infinitesimal deformations of g are located in the ideal part of g. In other words, it is not necessary to analyze the deformation of the full algebra, the deformation of the ideal part already yields the most general deformations of g. In the

JHEP03(2019)143
case of the Poincaré Lie algebra in 3d the ideal part is the third line in (3.18). According to the Hochschild-Serre factorization theorem this algebra is deformed to which is the so(2, 2) algebra, isometry of AdS 3 for σ = +1 or the so(3, 1) algebra, isometry group of dS 3 , for σ = −1. See [6][7][8] for more discussions and examples.

Hochschild-Serre spectral sequence
Although in the case of infinite dimensional Lie algebras the Hochschild-Serre factorization theorem does not work, one can still use Hochschild-Serre spectral sequence method which works for both finite and infinite cases and extract information about deformations from that. We focus on certain split abelian extensions of Lie algebras. For a Lie algebra (g, [, ]) with a semi-direct sum structure as g = g 0 h where h is an abelian ideal and g 0 ∼ = g/h is its quotient Lie algebra, we have the following short exact sequence where arrows show Lie algebra morphisms. Short exactness means the image of each morphism is equal to the kernel of the next. For this sequence one obtains the Hochschild-Serre spectral sequence of cochain complexes whose first terms are in which M is a g-module, C p as we introduced earlier is the space of p-cochains and E's are related to each other by the differential operator d p,q n : E p,q n −→ E p+n,q−n+1 n [69,71]. In some specific cases the differential function becomes trivial for n ≥ n 0 (for certain n 0 ) and E p,q n , ∀n ≥ n 0 are isomorphic to each other and therefore, E p,q n ∼ = E p,q ∞ . So for the latter In this setting by the Hochschild-Serre spectral theorem [71] we have This theorem works for both finite and infinite dimensional Lie algebras. For those split abelian extensions with the property that the ideal action on M is trivial, Theorem 1.2 in [80] states that we always have n 0 = 2 and therefore E p,q 2 ∼ = E p,q ∞ . So, combining (3.22) and (3.23) one finds

JHEP03(2019)143
Note that h is an ideal of g and hence a g-module and because it is abelian, as a g-module its action on itself is trivial. Using the short exact sequence (3.21) we consider g 0 as a g-module as well. In this way the action of h on g 0 is trivial. We conclude that via the above arguments, g 0 and h are both g-modules satisfying conditions of theorem 1.2 in [80], and one can compute the spaces H 2 (g; g 0 ) and H 2 (g; h).
The short exact sequence (3.21) induces the long exact sequence at the level of cohomologies One may use the above sequence to get information about H 2 (g; g) or even compute it. The long exact sequence (3.25) is true for both finite and infinite dimensional Lie algebras with the semi-direct sum structure. In finite dimensional cases as a consequence of Hochschild-Serre factorization theorem we have H 2 (g; g) ∼ = H 2 (g; h). The latter can be obtained from another long exact sequence In the case of infinite dimensional Lie algebras we can still use (3.25). While the sequence has in general infinite terms, in some specific cases one finds that some of terms in (3.25) are equal to zero, leading to another short exact sequence. In such situations we can infer some information about lower cohomologies. As we will discuss in next sections, from (3.24) and (3.25) we can learn about cohomological structure of asymptotic symmetry algebras introduced in section 2.

Deformations and rigidity of infinite dimensional Lie algebras
So far we considered deformation theory of Lie algebras for finite dimensional Lie algebras. One can readily extend the main results and notions discussed earlier, except for the the Hochschild-Serre factorization theorem, to infinite dimensional Lie algebras. Here we will be interested in a specific class of infinite dimensional algebras with countable bases. Such algebras, like Witt algebra which is the Lie algebra of vector fields on circle S 1 and its universal central extension, Virasoro algebra, have very crucial role in the context of quantum field theory and string theory.
Rigidity and deformation analysis of infinite dimensional Lie algebras are more complicated than finite dimensional Lie algebras. For instance in spite of existence of semidirect sum structures for certain infinite dimensional algebras, like bms 3 , we cannot use the Hochschild-Serre factorization theorem. Rigidity of Witt and Virasoro algebras has been considered in [16,[49][50][51]67] where it is shown that Witt algebra and its universal central extension are formally rigid. Later Fialowski and Schlichenmaier showed that Witt algebra is not globally rigid and global deformation of Witt and Virasoro algebra leads to a specific family of algebras known as Krichever-Novikov type [50]. Fialowski has also worked on formal deformations of some other infinite dimensional Lie algebras such as vector fields on the line [64].

JHEP03(2019)143
Affine Kac-Moody Lie algebras are another class of infinite dimensional Lie algebras of interest in theoretical physics. Roger in [81] has given a theorem stating that affine Kac-Moody Lie algebras are (formally) rigid in the sense that their second adjoint cohomology is zero.
Schrödinger-Virasoro algebras are also infinite dimensional algebras which appear in nonequilibrium statistical physics [82,83]. Deformations of these families have been studied by Unterberger and Roger. They have found three nontrivial formal deformations for a specific kind of Schrödinger-Virasoro algebra known as twisted Schrödinger-Virasoro algebra. We refer the reader to [84] for further analysis of Schrödinger-Virasoro algebras and their deformations.
The concept of contraction has also been considered for some infinite dimensional algebras. For instance, contractions of Kac-Moody and affine Kac-Moody Lie algebras have been studied in [85,86]. The second example which was discussed earlier in section 2 is contraction of asymptotic symmetry algebras of (A)dS 3 spacetime in 3d to asymptotic symmetry algebra of flat spacetime in the same dimension.

Deformations of bms 3 algebra
In this section we consider deformations of bms 3 defined in (2.1). As discussed the Hochschild-Serre factorization theorem is not applicable for infinite dimensional Lie algebras and working with them is more complicated than finite dimensional cases. Here, we first analyze possible deformations of bms 3 algebra by deforming each commutation relation of bms 3 algebra separately. Of course one should check that in this way we do not miss any possible deformation which may involve two sets of commutators. This will be discussed in section 4.5. Finally, we study obstructions, which infinitesimal deformations yield formal deformations and which rigid algebras are obtained from deformations of bms 3 . In section 4.6 we establish and reinforce our results of the previous subsections through algebraic cohomology discussions. We have summarized all possible formal deformations of the bms 3 and KM u(1) algebras in figure 1.

Deformation of commutators of two P's
For the first step we construct all deformations of the ideal part of bms 3 . As we can see from (2.1) the ideal part of bms 3 algebra is spanned by supertranslation generators Ps. We deform infinitesimally this ideal part as where ε is deformation parameter and ψ P P 1 (P m , P n ) is a bms 3 -valued 2-cocycle and hence admits and expansion as in which coefficients F (m, n) and G(m, n) are antisymmetric functions while indices u(m, n) and v(m, n) are symmetric functions. For convenience, we can extract the antisymmetric The main goal is to find the explicit form of f, g, u and v. One may show that the general form of functions u(m, n) and v(m, n) can be chosen as u(m, n) = v(m, n) = m + n.
To this end, we recall (2.2) and that witt is related to the adjoint action of vectors on twotensors on an S 1 . Consider tensor densities on circle M(φ)(dφ) λ in which λ ∈ Z is called the degree of tensor density and M(φ) is a periodic function on circle (e.g. see [37] and references therein). In this way J (φ)(dφ) −1 is the vector field on circle. So one finds the Fourier expansion of M(φ)(dφ) λ as where e inφ (dφ) λ are the basis. In the terminology of 2d CFT's, if J is associated with conformal transformations, then λ is the conformal weight of operator M. As an example the basis of Witt algebra are e inφ ∂ φ = J n . The adjoint action of Witt generators on tensor density M(φ) is obtained as . One can then write the above in terms of its Fourier basis and see that the final result has the form i[J m , M n ] = (λm − n)M m+n . That is, dealing with periodic tensors on a circle u(m, n), v(m, n) appearing in (4.2) should be m + n.
To determine functions f, g one has to consider the Jacobi identities (the 2-cocycle conditions (3.7) or equivalently (3.15b)). The only Jacobi identities which can lead to some relations for f, g, are [P m , [P n , P l ]] + cyclic permutations = 0 and [P m , [P n , J l ]] + cyclic permutations = 0. The former just contains a relation with linear terms in ε for f (m, n), yielding while from the second, one gets As we will show below the equations for f in (4.6) and (4.5) are the same and f, g should satisfy the same equation. So, we only focus on f and on (4.6). We now tackle (4.6). Our goal is to find the most general form of f (m, n), g(m, n). As the first step we will prove a very important proposition.
Proposition. The most general solution of (4.6) is We prove this proposition by proving some lemmas.

JHEP03(2019)143
Proof. One puts l = m into the relation (4.6) and finds: then choosing m = n one finds: Proof. By insertion of l = 1, m = 0 into the relation (4.6) one finds: From Lemma 1 one can show that f (1, n) = f (1, 0) (by n times using Lemma 1). So we have: We prove the lemma by induction. For n = 1 the statement holds f (0, 1) = f (0, 1). We suppose for n = k the statement holds which means f (0, 1) = f (0, k). We use the latter assumption and (4.1) to reach Proof. By inserting l = −m in (4.6) and we get: From Lemma 1 we infer that f (m, n) = f (m, n − m). By putting the latter into (4. 16) Combining results of Lemmas 2 and 3 we conclude f (m, n) = f (0, 1) = constant = f and proof of the proposition is completed. It is immediate to see that this solution also solves (4.5). So, by solving the 2-cocycle condition we have found that ψ P P 1 (P m , P n ) = f (m − n)J m + g(m − n)P m in which f, g are some arbitrary (complex or real) constants, i.e.

JHEP03(2019)143
Theorem 4.1. The most general infinitesimal deformation of bms 3 ideal part is We note that special ε 1 = 0 or ε 2 = 0 cases, corresponding to i[P m , P n ] = ε 2 (m − n)P m+n or i[P m , P n ] = ε 1 (m − n)J m+n are both isomorphic to the general case of (4.19). This means that by a proper redefinition of the generators they can be mapped onto each other and the algebra becomes the direct sum of two Witt algebras as witt L ⊕witt R . Since the case ε 1 = 0 and the general form are isomorphic, without any loss of generality only consider i[P m , P n ] = ε 1 (m − n)J m+n . |ε 1 | may be absorbed into the normalization of P n but its sign will remain: i[P m , P n ] = σ(m − n)J m+n , σ 2 = 1. Therefore, there are two choices for this deformation. These two choices parallels the two choices for the stabilization of iso(2, 1) into so(2, 2) and so(3, 1) discussed in (3.20). So far we have found a nontrivial infinitesimal deformation of bms 3 ideal part, showing that the bms 3 algebra is not, at least, "infinitesimally rigid" and H 2 (bms 3 ; bms 3 ) = 0. One can show that in an appropriate basis deformed algebra is just the direct sum of two Witt algebras witt L ⊕ witt R and so not isomorphic to bms 3 . This is of course expected from contraction procedure which was introduced in section 2.3. Here, we have shown there is a unique deformation in bms 3 ideal part corresponding to that contraction. To establish that bms 3 is not also formally rigid one should check the integrability conditions or probably obstructions for this infinitesimal deformation, which will be discussed in section 4.4.  where γ is an arbitrary constant. This term, however, is not representing a nontrivial deformation and can be absorbed into normalization of P. To see this consider redefining P as P n := N (n)P n ,

JHEP03(2019)143
Higher N and uniqueness of solutions of (4.27). As an explicit verification with straightforward algebra for generic N shows that there is no other solution.
The most general deformation of bms 3 through deformation of [J , P] commutator is hence where a, b ∈ C are two independent deformation parameters. The Lie algebra (4.33) is known as W (a, b) algebra and some of its properties such as its central extensions has been analyzed in [72]. 2 More on W (a, b) algebras. As we mentioned before, W (a, b) algebra which is an extension of the Witt algebra, has been studied in different papers [18,87]. It has a semidirect sum structure as W (a, b) ∼ = witt P(a, b) in which P(a, b), with a, b being arbitrary real (or complex) constants, is called tensor density module. Here we briefly discuss two interesting questions about these algebras: 1. What is the physical interpretations of parameter a, b? 2. Are there special points in (a, b) parameter space?
To answer the first question we rewrite the algebra as where h = 1 − b. These commutation relations are very familiar in context of 2d conformal field theories. Consider a primary field P(φ) of conformal weight h, with Fourier modes P n and assume that P (φ) has the quasi-periodicity property The usual conformal transformation for this conformal primary field can then be recast as [J , P] commutator in (4.34). Here we are assuming that P n satisfy a commuting (abelian) algebra. The above argument makes it clear that the range of a parameter which yields independent algebras is a ∈ [−1/2, 1/2]. However, one may show that the negative and positive values of a parameter are related by a Z 2 parity transformation which takes φ → 2π − φ, i.e. a Z 2 inner automorphism of the W (a, b) algebra: J n → −J −n , P n → −P −n . Therefore, the independent range for a parameter is [0, 1/2], as depicted in figure 1.
2 Since the Witt algebra is rigid any extension of the Witt algebra by its abelian representations is a semi-direct sum witt witt ab which is the case for bms3. This also indicates that we cannot expect exotic extensions of the Witt algebra. Furthermore, in deformations of [J , P] commutator only elements from the abelain part can appear. Despite the similarity between the bms3 case and the kinematical algebras, e.g. see [6][7][8], this result already shows the difference between the infinite and finite dimensional algebras and that the former does not obey Hochschild-Serre factorization theorem.

JHEP03(2019)143
The deformation which moves us along the b direction in the parameter space, given the physical interpretation above, can be understood as an RG flow in the presumed 2d CFT dual to the 3d flat space (which realizes bms 3 as its symmetry algebra). A flow from b = −1 (h = 2) to b = 0 (h = 1) is what is expected from comparing the asymptotic symmetry and the "near horizon" symmetry analysis. We shall comment on this latter further in the discussion section.
As for the second question, the definition of W (a, b) algebra implies that bms 3 = W (0, −1) and the u(1) Kac-Moody algebra is W (0, 0). These two points are special in the sense that one can deform the algebra in two different ways while in a generic point of a, b space allowed deformations moves us only within the W (a, b) family. 3 As discussed, one can deform the ideal part of bms 3 to witt ⊕ witt, while one can also keep the ideal part intact and change (a, b) from (0, −1) value. As for the u(1) Kac-Moody case, one can check that one cannot deform the ideal part. However, besides deforming the [J , P] part and moving in (a, b) plane, one is also allowed to deform the algebra in the [J , J ] part (by adding a (m − n)P m+n 2-cocyle). We have depicted the parameter space of W (a, b) algebras in figure 1, which shows as far as the infinitesimal deformations are concerned, there are no other special points. for any arbitrary function Z, provides a solution to (4.37). One may argue that this is in fact the most general solution. To this end, we note that (4.37) is linear in h and has quadratic coefficients in l, m or n. So, a generic solution for h(m, n) is expected to be a 3 By W (a, b) we may mean a specific algebra for a given a, b parameters, or the "W (a, b) family," which means all algebras for generic but different values of a, b. 4 We note that when the central extensions of W (a, b) is concerned and as discussed in [18], while for generic (a, b) there is always one central extension in the Witt part of the algebra, there are other special points in a, b space with more possibilities for central extensions. Points (0, −1), (0, 0), (0, 1) and (1/2, 0) are special in the sense that they admit other central extensions [18].

JHEP03(2019)143
polynomial of homogeneous degree N : Subtracting the general solution (4.38), without loss of generality, one can use the ansatz h(m, n) = mn N −1 r=1 A r m r n N −r . Plugging this into (4.37) one can see that the equation is only satisfied for A r = 0.
One can, however, show deformations of the form (4.38) are trivial deformations, as they can be reabsorbed into the redefinition of generators:  One may verify that the [J , J ] part can be deformed by the term ν(m − n)P m+n . One can then check that the latter is infinitesimal and also formal deformation. This deformation has been found by [72]. In the next subsections, we discuss the most general deformations of u(1) Kac-Moody algebra.

Integrability conditions and obstructions
So far we found all infinitesimal deformations of bms 3 which consist of three independent classes: two of them deform the [J , P] part of the algebra while keeping the ideal part [P, P] = 0. This leads to W (a, b) algebra. The last case deforms the ideal part and leads to witt ⊕ witt. Here we study integrability conditions of these infinitesimal deformations.
There are three different approaches to check integrability conditions: 3. "A quick test": one may examine if an infinitesimal deformation is a formal one by promoting the linear (infinitesimal) deformation ψ 1 (g i , g j ) to Ψ(g i , g j ; ε) and check whether it satisfies the Jacobi identity or not. If one finds that the linear term in

JHEP03(2019)143
Taylor expansion of Ψ(g i , g j ; ε) satisfies the Jacobi (3.2) one concludes it is also a formal deformation of algebra. This is basically checking whether we are dealing with case i. discussed in section 3.1.
Since in most of the known cases we are dealing with case i.of section 3.1 and since it is very convenient and handy to check this, we will focus on case 3. above and we will comment on the cohomology considerations in section 4.6. Let us start with the deformation of ideal part of bms 3 which is deformed by 2-cocycle ψ P P 1 = (m − n)P m+n . As discussed in the end of section 4.1, one may ignore the (m − n)J m+n deformation as it does not lead to a nonisomorphic infinitesimal deformation. Two Jacobi identities put constraints on the form of deformation function Ψ(g i , g j ; ε). The first Jacobi is [P m , [P n , P l ]] + cyclic permutations = 0, which in terms of Ψ(P m , P n ; ε) = (m − n)g(m, n; ε)P m+n leads to (n − l)(m − n − l)g(m, n + l; ε)g(n, l; ε) + (l − m)(n − l − m)g(n, l + m; ε)g(l, m; ε) + (l − n − m)(m − n)g(m, n; ε)g(l, m + n; ε) = 0. (4.41) One can check that the solution of linear term ψ P P 1 (P m , P n ) = g(m − n)P m+n (g is an arbitrary constant) satisfies the above equation. The second Jacobi [P m , [P n , J l ]] + cyclic permutations = 0 leads to the constraint (n−l)(m−n−l)g(m, l+n; ε)+(l−m)(n−l−m)g(n, m+l; ε)+(l−n−m)(m−n)g(m, n; ε) = 0, (4.42) which is exactly the same as (4.6) so it has the same solutiong(m, n; ε) = constant = g. Therefore, ψ P P 1 (P m , P n ) = g(m − n)P m+n is also a formal deformation and moreover, as argued in previous subsection, this deformation is unique.

Classification of bms 3 and KM u(1) deformations
In sections 4.1, 4.2 and 4.3, we classified all "infinitesimal" deformations of the bms 3 algebra, by deforming each of [P, P], [P, J ] and [J , J ] separately. This led to only two nontrivial deformations. Then in section 4.4 we showed that both of these two cases are integrable and one can obtain two class of "formal" deformations, the W (a, b) algebra and witt ⊕ witt algebra.
One may wonder if in this process we could have missed cases which involve simultaneous deformations of the three classes of the commutators of the algebra. With the experience gained in the previous analysis here we tackle this question. The most general possible deformation of the bms 3 algebra takes the form: The separate equation we have for I(m, n), yields I(m, n) =α +βm for some constants α,β. We note the above equation has the following structure: it is linear in I, g and the I terms come with coefficients first order in m, n, l while the g terms come with second order coefficients. Since g, I are expected to be polynomials of positive powers in their arguments, if I is a monomial of degree p, g should be a monomial of degree p + 1. On the other hand we know p is either 0 or 1 and we may check these two cases directly in (4.46) and verify that it does not have any solution expect for I(m, n) = 0. Therefore, g(m, n), also, satisfies the same equation as (4.6) and hence our method of deforming each commutator separately, to linear order, captures all possible infinitesimal deformations. One may discuss integrability of the most general deformations (4.45). To this end we can simply drop the expansion parameters η, · · · , ε 2 and analyze the Jacobi identities. Since I(m, n) = 0 at linear order, it will remain zero to all orders. If we for instance turn on g(m, n) and K(m, n) simultaneously, we observe that although there can be an infinitesimal deformation, higher order Jacobi equations for this deformation are not integrable. The same feature happens when we consider the deformation induced by f (m, n) and K(m, n); the Jacobi allows one to make simultaneous infinitesimal deformations in the [J , P] part  W (a, b) algebra appears as the formal deformation of both bms 3 and KM u(1) . As discussed below (4.35) parameter a ranges in [0, 1/2] while b, ν can be any real number. Besides the W (a, b), KM u(1) can be deformed to KM(a, ν) which is spanned by b = 0 plane. The bms 3 algebra can be deformed to witt ⊕ witt which again is out of the (a, b, ν) space displayed above. by K(m, n) and ideal part by f (m, n) and g(m, n). One should hence analyze integrability of these infinitesimal deformations. The answer, as mentioned above, is that the only integrable deformations are constructed from the infinitesimal deformations induced by K(m, n) or g(m, n) and f (m, n). One then realizes that although the simultaneous deformation induced by K(m, n) and g(m, n) is an infinitesimal deformation, it does not integrate to a formal deformation. There is a similar structure when we have simultaneous infinitesimal deformation induced by K(m, n) and f (m, n), which is isomorphic to the infinitesimal deformation induced by K(m, n) and g(m, n), and is not integrable.To summarize, all infinitesimal deformations of bms 3 are those induced by K(m, n) and g(m, n).
In fact the latter can be considered as an example of the case v. in section 3.1 where we have infinitesimal deformation which is not integrable in higher order analysis (r ≥ 0). We can summarize the above analysis in the following theorem: We note that, as discussed earlier, the witt ⊕ witt has two options: the subalgebra generated by P 0,±1 , J 0,±1 can be either so(2, 2) or so(3, 1).

JHEP03(2019)143
Formal deformations of u(1) Kac-Moody algebra (KM u(1) ). In this part we would like to discuss the most general infinitesimal and formal deformations of u(1) Kac-Moody algebra KM u(1) (4.40). The most general infinitesimal deformation of KM u(1) is of the same form as (4.45) (but with m − n in the first term on the right-hand-side of the second line is replaced by −n). The Jacobi identities then yield f (m, n) = 0, g(m, n) = constant = g, I(m, n) = gm, K(m, n) = α + βm and h(m, n) = constant = h. One can then show that the infinitesimal deformation induced by g(m, n) and I(m, n) can be absorbed by a proper redefinition of generators and hence these are just three different nontrivial infinitesimal deformation of KM u (1) . (None of other combinations of the above leads to a nontrivial deformation.) One can then also show that these three parameter family of infinitesimal deformations have no obstructions and can be integrated into a formal deformation. These results can be summarized in the following theorem:

Algebraic cohomology considerations
In the previous subsections we classified all nontrivial infinitesimal and formal deformations of the bms 3 algebra by an explicit checking of Jacobi identity and then verifying nontriviality of the deformation by checking if it can be removed by a change of basis. As discussed in section 3, a similar question can be addressed and analyzed by algebraic cohomology consideration through computing H 2 (bms 3 ; bms 3 ). The main tools to study the cohomology are the Hochschild-Serre spectral sequence (3.23) and the long and short exact sequences (3.25) discussed in section 3. By the former we obtain information about H 2 (bms 3 ; witt) and H 2 (bms 3 ; P) independently where P and witt respectively denote the ideal part and the Witt subalgebra of bms 3 . Note that since witt is not a bms 3 module by the adjoint action, H 2 (bms 3 ; witt) is defined by the action used in the short exact sequence (4.48) below, as discussed in section 3.3. Note also that given the semi-direct sum structure of the bms 3 algebra from (2.2) we should not expect H 2 (bms 3 ; bms 3 ) = H 2 (bms 3 ; witt) ⊕ H 2 (bms 3 ; P).
One can however get information about H 2 (bms 3 ; bms 3 ) from the long exact sequence (3.25) as one can show that some terms therein are zero and hence it reduces to a short exact sequence or an isomorphism. In fact as it has been shown in [18] in the case of W (a, b) algebras, specially for bms 3 which is W (0, −1), H 1 (W (a, b); witt) is equal to zero. One can, however, show that H 2 (bms 3 ; witt) is not zero and therefore, the long exact sequence does not give useful information about H 2 (bms 3 ; bms 3 ). Nonetheless, as we will see, direct analysis of H 2 (bms 3 ; witt) and H 2 (bms 3 ; P) reveals the structure of H 2 (bms 3 ; bms 3 ). To this end, we follow the Hochschild-Serre spectral sequence method (cf. Computation of H 2 (bms 3 ; P). From (3.24) and (3.23) we have H 2 (bms 3 ; P) = ⊕ p+q=2 E p,q 2;P = E 2,0 2;P ⊕ E 1,1 2;P ⊕ E 0,2 2;P = H 2 (witt; H 0 (P; P)) ⊕ H 1 (witt; H 1 (P; P)) ⊕ H 0 (witt; H 2 (P; P)), (4.49) where the subscript P in E p,q 2;P denotes we are computing H 2 (bms 3 ; P). We compute the three terms above separately. H 2 (witt; H 0 (P; P)) contains H 0 (P; P) which by the definition (3.14) and the fact that the action of P on P is trivial, one concludes that H 0 (P; P) = P then H 2 (witt; H 0 (P; P)) = H 2 (witt; P). On the other hand, as it is obvious from commutators of bms 3 , the adjoint action of its witt subalgebra on itself is exactly the same as adjoint action of its witt subalgebra on the ideal part P. This can be seen in first and second line in (2.1). For this reason one concludes that witt ∼ = P as wittmodules. So one gets H 2 (witt; P) ∼ = H 2 (witt; witt), and since the Witt algebra is rigid, i.e. H 2 (witt; witt) = 0, we conclude that H 2 (witt; P) = 0. Therefore the first commutator in (2.1) remains intact by deformation procedure.
Next we analyze H 1 (witt; H 1 (P; P)). It is constructed by 1-cocycle ϕ 1 which is defined as a function ϕ 1 : witt −→ H 1 (P; P). So the expression of ϕ 1 (J m )(P n ) can be expanded in terms of P's as ϕ 1 (J m )(P n ) =K(m, n)P m+n , whereK(m, n) is an arbitrary function. The deformation of [J , P] part corresponding to ϕ 1 is i[J m , P n ] = (m−n)P m+n +K(m, n)P m+n . The Jacobi identity for the above bracket imposes restraints onK(m, n) exactly like the ones on K(m, n) in (4.21), so one finds the same result asK(m, n) = α+βm+γm(m−n). As we mentioned earlier the γ term can be absorbed by choosing a proper normalization factor.
The last term we need to considered is H 0 (witt; H 2 (P; P)). We use the definition of H 0 H 0 (witt; H 2 (P; P)) = {ψ ∈ H 2 (P; P)|J • ψ = 0, ∀J ∈ witt}, (4.50) where ψ is a P-valued 2-cocycle. The action "•" of J on a 2-cocycle ψ is defined as [71] ( Expanding ψ in terms of Ps as ψ(P m , P n ) = (m−n)g(m, n)P m+n , we get the same relation as (4.6) which has the solution g(m, n) = constant. The above discussion leads to H 2 (bms 3 ; P) = H 1 (witt; H 1 (P; P)) ⊕ H 0 (witt; H 2 (P; P)), (4.52) which means that turning on deformations with coefficients in P, we can only deform the [J , P] part by K(m, n) and the ideal part [P, P] by g(m, n) or the combination of these two, when we turn on both of them simultaneously. This is exactly in agreement of our results of direct and explicit calculations in the previous subsections.
Next, we consider the second term in (4.53), H 1 (J ; H 1 (P; J )) which is constructed by 1-cocycle ϕ 2 as ϕ 2 : witt −→ H 1 (P; witt), where ϕ 2 (J m )(P n ) =Ĩ(m, l)J m+l , in which I(m, l) is an arbitrary function. ϕ 2 deforms the commutator [J , P] part as i[J m , P n ] = (m − n)P m+n +Ĩ(m, n)J m+n . Jacobi identity for the above bracket implies thatĨ(m, n) should solve (4.21), so one finds the same result asĨ(m, n) = 0. This means that the [J , P] commutator cannot be deformed by the terms with coefficients in J .
We finally compute the last term in (4.53) which is H 0 (witt; H 2 (P; witt)). One can repeat the procedure exactly the same as the previous case to get so we can expand ψ in terms of J s as ψ(P m , is an arbitrary symmetric function. By inserting the latter into (4.54) we get the same relation as (4.6) which has the solution f (m, n) = constant.
With the above discussion we conclude that H 2 (bms 3 ; witt) ∼ = H 0 (witt; H 2 (P; witt)), (4.55) i.e. deformations of bms 3 with coefficients in J are just in ideal part of the algebra and this is in agreement with our results in the previous subsection. So far we have separately computed H 2 (bms 3 ; P) and H 2 (bms 3 ; witt). Combination of the first term in r.h.s. of (4.52) and (4.55) are just isomorphic with the first and second terms in (4.52) and the second term in r.h.s. of (4.52) and (4.55) are isomorphic. One can then conclude that (4.52) contains the whole of content of (4.55). As summary of the above discussions one may conclude that H 2 (bms 3 ; bms 3 ) ∼ = H 2 (bms 3 ; P) ∼ = H 1 (witt; H 1 (P; P)) ⊕ H 0 (witt; H 2 (P; P)). One may also ask about H 3 (bms 3 ; bms 3 ). One can show that all obstructions are located in the space H 3 [62]. As we discussed, nontrivial infinitesimal deformations lead to formal deformations if there is no obstruction. However, as discussed above when we turn on deformations K(m, n) and g(m, n) together, there are obstructions to integrability of infinitesimal deformation. So since we have found a specific example of nontrivial infinitesimal deformation in the case of bms 3 which is not integrable, we conclude that H 3 (bms 3 ; bms 3 ) = 0.
As in the bms 3 case, the last term can be argued to be zero and hence where the first and second term in right hand side are respectively associated to deformations of [J , P] part and [P, P] part of KM u(1) algebra. The former leads to W (a, b) and the latter to (4.47).
One can then show that all nontrivial deformations of KM u(1) algebra discussed above have no obstructions and are integrable. However, as mentioned in section 3.1, absence of obstructions does not mean H 3 (KM u(1) ; KM u(1) ) = 0.

Deformations of bms 3 and KM u(1) algebras
The second real cohomology of bms 3 algebra, H 2 (g; R), is two dimensional [17] in the sense that it admits two independent nontrivial Gelfand-Fucks 2-cocycles which are [34]: Having two independent Gelfand-Fucks 2-cocycles means that we are extending the algebra by two independent central identity elements [37]. We denote the central extension of bms 3 algebra with bms 3 . The commutation relations of bms 3 are (see [37] and references therein):

JHEP03(2019)143
The central charges c JJ and c JP are arbitrary real numbers. Algebras with different nonzero values of central charges c JJ and c JP , are cohomologous, i.e. they are isomorphic to each other. Here we take the viewpoint that the global central extensions are deformations of the algebra by addition of the unit elements to the algebra, one unit element for each 2cocycle. The latter means that if deformation procedure leads to bms 3 algebra with different central charges than we started with, we do not view it as a nontrivial deformation of the initial algebra. Deformations of bms 3 algebra can be analyzed as we did in the previous section, by deforming each commutator of bms 3 algebra separately. As we will see, however, presence of central extensions makes some of the deformations which were trivial become nontrivial, and conversely some of the nontrivial deformations may become trivial.

Classification of 2-cocycles of bms 3 algebra
Deformation of commutators of two P's. Since we added new generators as central terms to bms 3 algebra, the most general deformations of the algebra also involves the central term. So the commutation relations of deformed bms 3 algebra are: where ε is the deformation parameter andψ P P 1 (P m , P n ) is a 2-cocycle which may be expanded as a linear combination of generators, where f, g are two arbitrary (deformation) constants. One can then show that by a proper redefinition of the generators the relation (5.8) is exactly the same as (2.6) which has only two independent central charges.
As a special case, we may study deformations when we do not allow for the central term c P P . In this case, we can have f (m, n) = f, g(m, n) = g constant deformations, but they are not arbitrary any more, as they are related by f c JJ + gc JP = 0. In the special case when c JP or c JJ are zero, this respectively yields f = 0 or g = 0.
Deformation of commutators of [J , P]. We then consider deformation of second commutation relation of bms 3 algebra (5.2) as: whereψ JP 1 (J m , P n ) is a 2-cocycle and ζ is the deformation parameter. One can writẽ ψ JP 1 (J m , P n ) in terms of linear combination of generators as The above should be solved for Y with K(m, n) = α + βm. One can immediately see that for α, β, c JP = 0 the above has no solutions. If c JP = 0, then (5.11) admits a solution of the form Y (n) = an 3 + bn where a, b are two real numbers. This solution, however, as we will see is not integrable. If α, β = 0, i.e. when we turn off the K deformation, then again we can have Y (n) = an 3 + bn as a solution. This solution is, however, not a new deformation, it is just the same as the central extension already turned on. To summarize, for c P J = 0 case we do not have any nontrivial deformation and for c JP = 0 as have K(m) = α + βm deformations, as discussed in section 4.2. That is the W (a, b) algebra does not admit a c JP central extension, in accord with [17,18].

JHEP03(2019)143
Deformation of commutators of two J 's. We finally consider deformations of third commutation relations of bms 3 algebra as: i[P m , P n ] = 0, (5.12) in which η is a deformation parameter andψ JJ 1 (J m , J n ) is a 2-cocycle which can be written in terms of linear combination of generators as where U (m) is an arbitrary function. We did not include coefficients in J since the Virasoro algebra is proved to be a rigid algebra [16].
To find the constraints on h(m, n) and U (m) we consider the Jacobi identity [J m , [J n , J l ]] + cyclic = 0. This Jacobi for (5.12) leads to two different equations. One of them is exactly the same as (4.37) and its only solution is (4.38). The second one is related to the central part as If c JP = 0, (5.14) does not put any new constraint on h(m, n) and we get U (m) = c JJ m 3 . In this case by redefinition (5.17) with ν = Z, h(m, n) deformation can be absorbed and hence there is no nontrivial deformation of bms 3 in the [J , J ] sector.

Integrability conditions and obstructions
After classifying nontrivial infinitesimal deformations we now discuss integrability of these infinitesimal deformations and their possible obstructions. As pointed out there are different approaches to the latter. Here we follow the same approach as in section 4.5 and check if the 2-cocycle ψ 1 provides a formal deformation.
We first consider integrability conditions of deformation of the ideal part of bms 3 , ψ P P 1 (P m , P n ). The Jacobi identity [P m , [P n , J l ]] + cyclic = 0 leads to a linear relation for each function f (m, n), g(m, n) and X(m) separately with the same solutions we mentioned before and hence the linear order solution is also a solution to higher order equations. The Jacobi [P m , [P n , P l ]] + cyclic = 0 leads to some other relations. The first one is the same as (5.5)  As discussed before, when c JP = 0 the above has no solutions. For c JP = 0 it can be seen from (5.18) that, although in the infinitesimal level K(m, n) and Y (m) can admit nonzero values, in the higher order (e.g. in second order in ζ), there are obstructions to integrability. Therefore, to have a nontrivial formal deformation one can only turn on K(m, n) or Y (m), and not both. To summarize, all deformations which we have found for bms 3 are integrable. We note that although we deformed the commutators of bms 3 separately, one can show that simultaneous deformations do not lead to new relations. So, there are only three integrable nontrivial infinitesimal deformations. As the bms 3 case, infinitesimal deformations induced by f (m, n) or by simultaneous deformations f (m, n) and K(m, n) are equivalent to deformations inducd by g(m, n) and K(m, n). One can also show that, similar to bms 3 case, simultaneous g(m, n) and K(m, n) infinitesimal deformation is not integrable; this latter is another example of the case v. discussed in section 3.1.

Deformations of KM u(1)
The commutation relations of KM u (1) are As it is obvious from the above the second real cohomology of KM u(1) algebra, H 2 (KM u(1) ; R), is three dimensional [17] in the sense that it admits three independent nontrivial 2-cocycles which are: One may verify that this is as another example of the case v. in section 3.1. 5

Algebraic cohomology considerations
We can extend our discussion in the subsection 4.6 to bms 3 . As in the bms 3 case, vir is not a bms 3 module by the adjoint action and H 2 ( bms 3 ; vir) is defined by the action induced from the short exact sequence (5.24), as it was discussed in 3.3. Moreover, as in the case without central extension, we should not expect H 2 ( bms 3 ; bms 3 ) to be equal to H 2 ( bms 3 ; vir) ⊕ H 2 ( bms 3 ; vir ab ). As in the bms 3 case, computation of each of these two factors would be helpful in computing the former. To this end we employ the Hochschild-Serre spectral sequence theorem. The bms 3 has semi direct sum structure as bms 3 ∼ = vir ad vir ab where vir is spanned by J generators plus a unit central generator and vir ab is the ideal part which is spanned by P plus another unit central generator. The short exact sequence for the above is

JHEP03(2019)143
The first term we should consider is E 2,0 2;vir ab = H 2 (vir; H 0 (vir ab , vir ab )). From the definition of H 0 (subsection 4.6) one gets H 0 (vir ab , vir ab ) = vir ab because the action of vir ab on vir ab is trivial. Then one has to compute E 2,0 2 = H 2 (vir; vir ab ). The latter is just the same deformation as (5.12). As we mentioned earlier the latter just leads to a shift in c JJ so it does not lead to a nontrivial infinitesimal deformation and therefore E 2,0 2 = H 2 (vir; vir ab ) = 0. E 1,1 2;vir ab = H 1 (vir; H 1 (vir ab , vir ab )) is constructed by the mapφ 1 : vir −→ H 1 (vir ab , vir ab ). The expression ofφ 1 (Ĵ m )(P n ) can be written in terms ofP aŝ ϕ 1 (Ĵ m )(P n ) =K(m, l)P m+l +Ỹ (m)δ m+n,0 , in whichK(m, l) andỸ (m) are arbitrary functions; here we have used the hatted generators to emphasize that they also include the central element. The deformation corresponding toφ 1 is similar to the relation (5.9) when I(m, n) = 0. The Jacobi identity constraints onK(m, n) are (4.27) and (5.11), whose solutions has been discussed below (5.11). Moreover, we cannot deform the J P part for c JP = 0 and hence E 1,1 2;vir ab = H 1 (vir; H 1 (vir ab , vir ab )) = 0. The last term we must compute is E 0,2 2 = H 0 (vir; H 2 (vir ab , vir ab )). One can extend the definition of H 0 in (4.50) for the above and verify that its elements are solutions of the equation (5.25) whereψ(P m ,P n ) is a 2-cocycle. The linear expansion ofψ in terms of generators iŝ ψ(P m ,P n ) = (m − n)g(m, n)P m+n + X(m)δ m+n,0 . So by inserting the expansion ofψ into (5.25) we reach to two relations. The first one only involves g(m, n) and is exactly the same as (4.6) with the solution g(m, n) = constant. The second equation is exactly (5.5) when f (m, n) = 0 and its solution is (5.7). By a proper redefinition of generators, one can show that the deformed algebra is just the direct sum of two Virasoro algebras vir ⊕ vir. This means that one can deform the ideal part of the bms 3 with coefficients in P into direct sum of two Virasoro algebras: H 2 ( bms 3 ; vir ab ) ∼ = H 0 (vir; H 2 (vir ab , vir ab )). (5.26) Computation of H 2 ( bms 3 ; vir). As the second case we consider H 2 ( bms 3 ; vir) which can be decomposed as  , vir)). The first term we have to consider is E 2,0 2;vir = H 2 (vir; H 0 (vir ab , vir)). From the definition of H 0 (subsection 4.6) one gets H 0 (vir ab , vir) = vir because the action of vir ab as an ideal part of the algebra, on vir, induced by the short exact sequence (5.24), is trivial. Then, recalling the fact that vir algebra is rigid [16,51] one concludes that E 2,0 2;vir = H 2 (vir; vir) = 0. E 1,1 2;vir = H 1 (vir; H 1 (vir ab , vir)) is constructed byφ 2 asφ 2 : vir −→ H 1 (vir ab , vir). The expression ofφ 2 (Ĵ m )(P n ) can be written in terms ofĴ asφ 2 (Ĵ m )(P n ) =Ĩ(m, l)J m+l + JHEP03(2019)143 Y (m)δ m+n,0 , in whichÎ(m, l) andŶ (m) are arbitrary functions. This deformation is similar to the relation (5.9) when K(m, n) = 0. The Jacobi identity yields to (4.21) forÎ(m, n), so one findsÎ(m, n) = 0 andŶ (m) = m 3 . The latter does not lead to a nontrivial deformation. This means that the [J , P] commutator cannot be deformed by the terms with coefficient ofĴ , hence E 1,1 2 = 0. The last term we compute is E 0,2 2;vir = H 0 (vir; H 2 (vir ab , vir)). One can extend the definition of H 0 in (4.50) for the above and observe that its elements are solutions to (Ĵ l •ψ)(P m ,P n ) = [Ĵ l ,ψ(P m ,P n )] −ψ([Ĵ l ,P m ],P n ) −ψ(P m , [Ĵ l ,P n ]), (5.28) whereψ(P m ,P n ) is a 2-cocycle and the hatted objects denote generators of the Viraroso algebra, i.e. Witt algebra plus central element. The linear expansion ofψ in terms of generators isψ(P m ,P n ) = (m − n)f (m, n)J m+n + X(m)δ m+n,0 . Inserting the expansion ofψ into (5.28) we reach to two relations, the first one just contains f (m, n) exactly the same as (4.6) with the solution f (m, n) = constant, and the second equation is (5.5) when g(m, n) = g = 0 which has solutions as (5.7). So we conclude that H 2 ( bms 3 ; vir) ∼ = H 0 (vir; H 2 (vir ab , vir)). The deformed algebra is, however, nothing but the direct sum of two Virasoro algebras vir ⊕ vir. Note also that the deformation induced by g(m, n) and X(m), f (m, n) and X(m) or g(m, n), f (m, n) and X(m), are not independent deformations and can be mapped to each other by a proper redefinition of generators. The content of H 2 ( bms 3 ; vir) is hence the same as H 2 ( bms 3 ; vir ab ) or their combination. In summary, we have shown that H 2 ( bms 3 ; bms 3 ) ∼ = H 2 ( bms 3 ; vir ab ), (5.29) where in the last equality we used the fact that H 2 ( bms 3 ; vir), H 2 ( bms 3 ; vir ab ) are isomorphic. 6 6 Summary and concluding remarks We analyzed the deformation and stability (rigidity) of infinite dimensional algebras recently appeared in the context of asymptotic symmetry analysis of the 3d spacetimes. In particular, we focused on the bms 3 algebra and its central extensions and on u(1) Kac-Moody algebra and its central extensions. We showed that the bms 3 algebra is not rigid and it can be deformed to W (a, b) algebra, which is rigid for generic a, b (cf. appendix A) or to vir⊕vir algebra, which is again rigid, as discussed in the appendix. The KM u (1) algebra, which appears as the near horizon symmetry algebra can be deformed to W (a, b) algebra when c P P = c JP = 0 in KM u (1) . We obtained our results by direct and explicit analysis and classification of nontrivial 2-cocycles of these algebras and established them through algebraic cohomology arguments. We have summarized our results in the tables 1 and 2 below. 6 In the above analysis we have assumed generic case where none of central charges cJP or cJJ are zero.
As we observed from direct calculations in the previous section, for cJP = 0 case we can also deform bms3 to W (a, b). The cohomological analysis also confirms direct calculations of section 5.1. We should also mention that cohomological considerations for KM u(1) case needs more analysis than what we did for other cases since the conditions of theorem 1.2 in [80] do not hold.

JHEP03(2019)143
Original algebra Formal deformations Deformed algebra As we mentioned the infinite dimensional algebras with countable basis are not subject to the Hochschild-Serre factorization theorem. However, our analysis revealed that for some extensions of the witt algebra with a special abelian ideal, like in W (a, b) case including its special cases bms 3 and KM u(1) , the allowed nontrivial deformations happen with 2-cocycles taking values in the ideal part. It is interesting to examine if this "extended Hochschild-Serre factorization theorem" works for all "abelian extension of countable basis infinite dimensional" algebras. This expectation is also supported by theorem 1.2 in [80].
As we discussed the bms 3 algebra is associated with the asymptotic symmetry algebra of 3d flat space. If gravity on 3d flat space has a 2d holographic field theory dual, it is expected that the bms 3 algebra appears as the (global) symmetry in this field theory too. The bms 3 may be deformed in two branches, one takes us to vir ⊕ vir and the other taking us to W (a, b) algebra (cf. figure 1).
Deformation of the symmetry algebra may then be associated with symmetries of the perturbed field theory deformed by a relevant deformation. Recalling analysis of [88] one may then associate the former to an irrelevant deformation taking us to a UV fixed point and the latter as an IR deformation connecting us to the near horizon. To be more specific, consider a 3d flat space cosmology background. On the asymptotic null infinity we find bms 3 ( W (0, −1)) algebra, one can then model moving in toward the horizon inside the spacetime, where we find W (0, 0) algebra. As discussed in section 4.2 the b parameter of the W (a, b) family can be associated with the scaling dimension of the operator P with which we have deformed the dual theory. Then moving in the b direction corresponds to the RG flow for this operator. In short, the idea is to make a direct connection between algebra and (holographic) dual (conformal) field theory deformations. This viewpoint may prove fruitful in analyzing field theory duals of 3d flat spaces.
Here we focused on the algebras and their deformations. We know that there are groups associated with vir, bms 3 and KM u(1) algebras. One may ask how the deformation of algebras appear in the associated groups, e.g. whether there are groups associated with

JHEP03(2019)143
Original algebra Formal deformations Deformed algebras Rigidity  W (a, b) or W (a, b) algebra we mean family of W -algebras with generic values of the a, b parameters. Deformations can move us within this family on the a, b plane. For specific points (a = 0, b = 0) or (a = 0, b = −1) which are respectively corresponding to KM u(1) and bms 3 , the algebra admits non-trivial deformations.
W (a, b) algebras. Another related question is analyzing the (co)adjoint orbits of these groups and algebras and how the deformations affect the coadjoint orbits. It is then desirable to study the bearing of cohomological statements and theorems for these groups and orbits. In particular, one may explore whether a deformed algebra allows for unitary (co)adjoint orbits. The latter is crucial for building Hilbert space of physical theories invariant under the deformed symmetry algebras.
Other asymptotic symmetry/surface charge algebras have also been discussed, in particular, for 4d flat space we have a bms 4 algebra [31-33, 52, 89-91]. While much less is known about classification of central extensions of bms 4 in comparison to the 3d version, one may study deformations and rigidity of bms 4 and bms 4 algebras [34]. This question is of interest as one would expect that deformation of bms 4 algebra should yield an algebra associated with asymptotic symmetries of (A)dS 4 space. This latter has been studied by usual methods and ideas of asymptotic symmetry analysis since 1960's with little success. Our algebraic method based on deformation theory and cohomology may open a new venue in this direction. Besides bms 4 there are other algebras like the so-called NHEG algebra [92][93][94]. One can also study deformations of these algebras and hope that they are going to yield new infinite dimensional algebras relevant to higher dimensional flat or AdS sapcetimes. We hope to return to these questions in future works.

JHEP03(2019)143
A On rigidity of witt ⊕ witt, vir ⊕ vir, W (a, b) and W (a, b) algebras As discussed and summarized in table 1 formal deformations of the bms 3 , bms 3 , KM u (1) and KM u(1) algebras yields witt ⊕ witt, W (a, b), vir ⊕ vir and W (a, b) algebras repectively. As such one expects these latter algebras to be rigid. We explore this explicitly in this appendix.
witt L ⊕ witt R is rigid. Consider the most general infinitesimal deformation of witt L ⊕ witt R algebra: one can show thatL m andL m satisfy the commutation relations of witt L ⊕ witt R algebra. This shows that all of the solutions we have derived for I(m, n) and h(m, n) are just trivial deformations so H 2 (witt L ⊕ witt R ; witt L ) = 0. The same result can be obtained for K(m, n) and f (m, n)). So we conclude that H 2 (witt L ⊕ witt R ; witt L ⊕ witt R ) = 0 and therefore witt L ⊕ witt R is infinitesimally and formaly rigid.
Cohomological considerations. Theorem 3.1 states that an infinite dimensional Lie algebra g is called formally and infinitesimally rigid when we have H 2 (g; g) = 0. So we consider the second cohomology of witt L ⊕ witt R algebra with values in adjoint module, namely, H 2 (witt L ⊕ witt R ; witt L ⊕ witt R ).

JHEP03(2019)143
We should note that unlike bms 3 and KM u (1) and their central extensions in this case both of witt R,L are witt L ⊕ witt R module by the adjoint action. Since the first and second terms in the above are essentially the same, it suffices just to show that

JHEP03(2019)143
The Hochschild-Serre spectral sequence associated to the above exact sequence with coefficients in vir L is convergent with the following property [80]: E p,q ∞ =⇒ H p+q (vir L ⊕ vir R ; vir L ). (A.14) On the other hand, we know (see [19,20] for more detail) where c is a central element. In view of the Hochschild-Serre theorem [71], this implies that E p,q 2 = H p (vir R ; H q (vir L ; vir L )) = 0 for q = 0, 1, 2 =⇒ E p,q ∞ = 0 for q = 0, 1, 2. (A. 16) We should just explain one point. In the case E 2,0 2 = H 2 (vir R ; H 0 (vir L , vir L )) the above leads to E 2,0 2 = H 2 (vir R ; R) but we know that H 2 (vir R ; R) = 0 then we conclude that E 2,0 2 = 0. Recalling that That is, the asymptotic symmetry algebra of (A)dS 3 , the direct sum of two Virasoro algebras vir L ⊕ vir R , is formaly and infinitesimally rigid.
On rigidity of W (a, b). Here we discuss that W (a, b) algebra for generic a, b is expected to be rigid in the sense that it does not admit a nontrivial deformation. As we mentioned in footnote 3 and also in caption of table 2, here we are considering the W (a, b) family as the two-parameter family of the algebras. However, the W (a, b) algebra as single algebra with two distinct parameters a and b is not rigid and can be deformed through (a, b) space.
In what follows we show that all members of the W (a, b) family for generic values of a, b parameters are cohomologous to each other. To this end and as before, we deform each commutator separately. where h(m, n), f (m, n) and g(m, n) are symmetric and K(m, n), I(m, n) are arbitrary functions and η, ζ, κand ε i are arbitrary deformation parameters. We then consider Jacobi identities for generic a, b.

JHEP03(2019)143
The Jacobi [P m , [P n , J l ]] leads to two different relations one of them for just f (m, n) and the second one which relates g(m, n) and I(m, n) which are respectively (l + m − n)(m + bl + a)f (n, m + l) + (m − n − l)(n + bl + a)f (m, n + l)+ If h(m, n) is expanded as power series as (4.3), the only solution for general a, b is h(m, n) = constant = h. This deformation is, however, a trivial one, as it can be absorbed into redefinition of generators as (4.39) which leads to the relation Z(m)(m+bn+a)−Z(n)(n+ bm+a)+(n−m)Z(m+n) = ν(m−n). One can then check that by choosing Z(m) = −ν/b the above relation is satisfied. So we conclude that for generic a, b we cannot deform the W (a, b) algebra; i.e. the family of W (a, b) algebras is rigid.

JHEP03(2019)143
Cohomological considerations. Unlike the case witt ⊕ witt algebra, W (a, b) is not direct sum of two algebras and the Witt part is not an ideal in W (a, b). However, like the bms 3 or KM u(1) case we can still use the Hochschild-Serre spectral sequence for the W (a, b) algebra. We have the following short exact sequence 0 −→ P −→ W (a, b) −→ W (a, b)/P ∼ = witt −→ 0, (A. 27) where P and witt, respectively, denote the ideal part and subalgebra of W (a, b). Note that since witt is not a W (a, b) module by the adjoint action, H 2 (W (a, b); witt) is defined by the action induced from the above short exact sequence. So, the second adjoint cohomology of W (a, b), H 2 (W (a, b); W (a, b)), similarly to the bms 3 and KM u(1) cases, may not be decomposed as the sum of two cohomologies, i.e. H 2 (W (a, b); P) ⊕ H 2 (W (a, b); witt). We will argue below the first factor is zero and hence the computations reduce to finding the second factor, which may again be argued to be zero. We first consider H 2 (W (a, b); P). One can decompose the latter as H 2 (W (a, b); P) = ⊕ p+q=2 E p,q 2;P = E 0,2 2;P ⊕ E 1,1 2;P ⊕ E 2,0 2;P = H 2 (witt; H 0 (P; P)) ⊕ H 1 (witt; H 1 (P; P)) ⊕ H 0 (witt; H 2 (P; P)), where the subscript P denotes we are considering H 2 (W (a, b); P). Because of trivial action of P on P, the first term of the above is H 2 (witt; P) which is exactly determined by the nontrivial solutions of (A.26). The latter has just one solution as h(m, n) = constant which can be absorbed by a proper redefinition as we mentioned in previous part. Therefore, H 2 (witt; P) = 0. Next we consider H 1 (witt; H 1 (P; P)). Its elements are solutions of (A.24) which just leads to a shift in a and b and hence these solutions are trivial deformations in the family of W (a, b) algebras, so H 1 (witt; H 1 (P; P)) = 0. The last term H 0 (witt; H 2 (P; P)) just contains solutions of (A.22), when I = 0. It does not have any nontrivial solution, so H 0 (witt; H 2 (P; P)) = 0. From the above discussions one gets H 2 (W (a, b); P) = 0. One can readily repeat the above procedure and using the relations of previous part to find that all terms in H 2 (W (a, b); witt) are also equal to zero. To arrive the same result one can use the long exact sequence (3.25) and the above results; the latter are the second and the fourth term in (3.25). As summary we conclude that H 2 (W (a, b); W (a, b)) = 0, i.e. W (a, b) for generic a, b is infinitesimally and formaly rigid.
On rigidity of W (a, b). As it is discussed in [18] W (a, b) algebra, for generic a, b, just admits one central extension whose commutation relations are where P and vir are respectively ideal part and sub algebra of W (a, b). As the previous case, W (a, b), to compute H 2 ( W (a, b); W (a, b)) we focus on H 2 ( W (a, b); P) and H 2 ( W (a, b); vir). One can readily observe that H 2 ( W (a, b); P) is exactly the same as H 2 (W (a, b); P), which is equal to zero. For H 2 ( W (a, b); vir), we have found f (m, n) = I(m, n) = 0. The combination of the latter and using the fact that vir algebra is rigid yields H 2 (W (a, b); vir) = 0. On the other hand one can show, by direct calculations, that the simultaneous infinitesimal deformations of (A.29) do not lead to any new nontrivial infinitesimal deformation. Therefore, H 2 ( W (a, b); W (a, b)) = 0 which means that W (a, b) algebra is infinitesimally and formaly rigid.
Open Access. This article is distributed under the terms of the Creative Commons Attribution License (CC-BY 4.0), which permits any use, distribution and reproduction in any medium, provided the original author(s) and source are credited.