Higher gauge theories based on 3-groups

We study the categorical generalizations of a BF theory to 2BF and 3BF theories, corresponding to 2-groups and 3-groups, in the framework of higher gauge theory. In particular, we construct the constrained 3BF actions describing the correct dynamics of Yang-Mills, Klein-Gordon, Dirac, Weyl, and Majorana fields coupled to Einstein-Cartan gravity. The action is naturally split into a topological sector and a sector with simplicity constraints, adapted to the spinfoam quantization programme. In addition, the structure of the 3-group gives rise to a novel gauge group which specifies the spectrum of matter fields present in the theory, just like the ordinary gauge group specifies the spectrum of gauge bosons in the Yang-Mills theory. This allows us to rewrite the whole Standard Model coupled to gravity as a constrained 3BF action, facilitating the nonperturbative quantization of both gravity and matter fields. Moreover, the presence and the properties of this new gauge group open up a possibility of a nontrivial unification of all fields and a possible explanation of fermion families and all other structure in the matter spectrum of the theory.


Introduction
The quantization of the gravitational field is one of the most prominent open problems in modern theoretical physics. Within the Loop Quantum Gravity framework, one can study the nonperturbative quantization of gravity, both canonically and covariantly, see [1][2][3] for an overview and a comprehensive introduction. The covariant approach focuses on the definition of the path integral for the gravitational field,

JHEP10(2019)222
2. then one uses the algebraic structure (a Lie group) underlying the topological sector of the action to define a triangulation-independent state sum Z, 3. and finally, one imposes the simplicity constraints on the state sum, promoting it into a path integral for a physical theory.
This quantization prescription has been implemented for various choices of the action, the Lie group, and the spacetime dimension. For example, in 3 dimensions, the prototype spinfoam model is known as the Ponzano-Regge model [4]. In 4 dimensions there are multiple models, such as the Barrett-Crane model [5,6], the Ooguri model [7], and the most sophisticated EPRL/FK model [8,9]. All these models aim to define a viable theory of quantum gravity, with variable success. However, virtually all of them are focused on pure gravity, without matter fields. The attempts to include matter fields have had limited success [10], mainly because the mass terms could not be expressed in the theory due to the absence of the tetrad fields from the BF sector of the theory. In order to resolve this issue, a new approach has been developed, using the categorical generalization of the BF action, within the framework of higher gauge theory (see [11] for a review). In particular, one uses the idea of a categorical ladder to promote the BF action, which is based on some Lie group, into a 2BF action, which is based on the so-called 2-group structure. If chosen in a suitable way, the 2-group structure should hopefully introduce the tetrad fields into the action. This approach has been successfully implemented [12], rewriting the action for general relativity as a constrained 2BF action, such that the tetrad fields are present in the topological sector. This result opened up a possibility to couple all matter fields to gravity in a straightforward way. Nevertheless, the matter fields could not be naturally expressed using the underlying algebraic structure of a 2-group, rendering the spinfoam quantization method only half-implementable, since the matter sector of the classical action could not be expressed as a topological term plus a simplicity constraint, which means that the steps 2 and 3 above could not be performed for the matter sector of the action.
We address this problem in this paper. As we will show, it turns out that it is necessary to perform one more step in the categorical ladder, generalizing the underlying algebraic structure from a 2-group to a 3-group. This generalization then naturally gives rise to the so-called 3BF action, which proves to be suitable for a unified description of both gravity and matter fields. The steps of the categorical ladder can be conveniently summarized in the following

JHEP10(2019)222
Once the suitable gauge 3-group has been specified and the corresponding 3BF action constructed, the most important thing that remains, in order to complete the step 1 of the spinfoam quantization programme, is to impose appropriate simplicity constraints onto the degrees of freedom present in the 3BF action, so that we obtain the desired classical dynamics of the gravitational and matter fields. Then one can proceed with steps 2 and 3 of the spinfoam quantization, hopefully ending up with a viable model of quantum gravity and matter.
In this paper, we restrict our attention to the first of the above steps: we will construct a constrained 3BF action for the cases of Klein-Gordon, Dirac, Weyl and Majorana fields, as well as Yang-Mills and Proca vector fields, all coupled to the Einstein-Cartan gravity in the standard way. This construction will lead us to an unexpected novel result. As we shall see, the scalar and fermion fields will be naturally associated to a new gauge group, generalizing the notion of a gauge group in the Yang-Mills theory, which describes vector bosons. This new group opens up a possibility to use it as an algebraic way of classifying matter fields, describing the structures such as quark and lepton families, and so on. The insight into the existence of this new gauge group is the consequence of the categorical ladder and is one of the main results of the paper. However, given the complexity of the algebraic properties of 3-groups, we will restrict ourselves only to the reconstruction of the already known theories, such as the Standard Model (SM), in the new framework. In this sense, any potential explanation of the spectrum of matter fields in the SM will be left for future work.
The layout of the paper is as follows. In subsection 2.1 we will give a short overview of the constrained BF actions, including the well-known example of the Plebanski action for general relativity, and a completely new example of the Yang-Mills theory rewritten as a constrained BF model. In the subsection 2.2 we also introduce the formalism of the constrained 2BF actions, reviewing the example of general relativity as a constrained 2BF action, first introduced in [12]. In addition, we will demonstrate how to couple gravity in a natural way within the formalism of 2-groups. Section 3 contains the main results of the paper and is split into 4 subsections. The subsection 3.1 introduces the formalism of 3-groups, and the definition and properties of a 3BF action, including the three types of gauge transformations. The subsection 3.2 focuses on the construction of a constrained 3BF action which describes a single real scalar field coupled to gravity. It provides the most elementary example of the insight that matter fields correspond to a gauge group. Encouraged by these results, in the subsection 3.3 we construct the constrained 3BF action for the Dirac field coupled to gravity and specify its gauge group. Finally, the subsection 3.4 deals with the construction of the constrained 3BF action for the Weyl and Majorana fields coupled to gravity, thereby covering all types of fields potentially relevant for the Standard Model and beyond. After the construction of all building blocks, in section 4 we apply the results of sections 2 and 3 to construct the constrained 3BF action corresponding to the full Standard Model coupled to Einstein-Cartan gravity. Finally, section 5 is devoted to the discussion of the results and the possible future lines of research. The appendices contain some mathematical reminders and technical details.
The notation and conventions are as follows. The local Lorentz indices are denoted by the Latin letters a, b, c, . . . , take values 0, 1, 2, 3, and are raised and lowered using the

JHEP10(2019)222
Minkowski metric η ab with signature (−, +, +, +). Spacetime indices are denoted by the Greek letters µ, ν, . . . , and are raised and lowered by the spacetime metric g µν = η ab e a µ e b ν , where e a µ are the tetrad fields. The inverse tetrad is denoted as e µ a . All other indices that appear in the paper are dependent on the context, and their usage is explicitly defined in the text where they appear. A lot of additional notation is defined in appendix A. We work in the natural system of units where c = = 1, and G = l 2 p , where l p is the Planck length.
2 BF and 2BF models, ordinary gauge fields and gravity Let us begin by giving a short review of BF and 2BF theories in general. For additional information on these topics, see for example [11,[13][14][15][16][17][18].

BF theory
Given a Lie group G and its corresponding Lie algebra g, one can introduce the so-called BF action as Here, F ≡ dα + α ∧ α is the curvature 2-form for the algebra-valued connection 1-form α ∈ A 1 (M 4 , g) on some 4-dimensional spacetime manifold M 4 . In addition, B ∈ A 2 (M 4 , g) is a Lagrange multiplier 2-form, while , g denotes the G-invariant bilinear symmetric nondegenerate form. From the structure of (2.1), one can see that the action is diffeomorphism invariant, and it is usually understood to be gauge invariant with respect to G. In addition to these properties, the BF action is topological, in the following sense. Varying the action (2.1) with respect to B β and α β , where the index β counts the generators of g (see appendix A for notation and conventions), one obtains the equations of motion of the theory, From the first equation of motion, one immediately sees that α is a flat connection, which then together with the second equation of motion implies that B is constant. Therefore, there are no local propagating degrees of freedom in the theory, and one then says that the theory is topological. Usually, in physics one is interested in theories which are nontopological, i.e., which have local propagating degrees of freedom. In order to transform the BF action into such a theory, one adds an additional term to the action, commonly called the simplicity constraint. A very nice example is the Yang-Mills theory for the SU(N ) group, which can be rewritten as a constrained BF theory in the following way: (2.3) Here F ≡ dA+A∧A is again the curvature 2-form for the connection A ∈ A 1 (M 4 , su(N )), and B ∈ A 2 (M 4 , su(N )) is the Lagrange multiplier 2-form. The Killing form g IJ ≡ JHEP10(2019)222 τ I , τ J su(N ) ∝ f IK L f JL K is used to raise and lower the indices I, J, . . . which count the generators of SU(N ), where f IJ K are the structure constants for the su(N ) algebra. In addition to the topological B ∧ F term, we also have two simplicity constraint terms, featuring the Lagrange multiplier 2-form λ I and the Lagrange multiplier 0-form ζ abI . The 0-form M abI is also a Lagrange multiplier, while g is the coupling constant for the Yang-Mills theory. Finally, δ a is a nondynamical 1-form, such that there exists a global coordinate frame in which its components are equal to the Kronecker symbol δ a µ (hence the notation δ a ). The 1-form δ a plays the role of a background field, and defines the global spacetime metric, via the equation where η ab ≡ diag(−1, +1, +1, +1) is the Minkowski metric. Since the coordinate system is global, the spacetime manifold M 4 is understood to be flat. The indices a, b, . . . are local Lorentz indices, taking values 0, . . . , 3. Note that the field δ a has all the properties of the tetrad 1-form e a in the flat Minkowski spacetime. Also note that the action (2.3) is manifestly diffeomorphism invariant and gauge invariant with respect to SU(N ), but not background independent, due to the presence of δ a . The equations of motion are obtained by varying the action (2.3) with respect to the variables ζ abI , M abI , A I , B I , and λ I , respectively (note that we do not take the variation of the action with respect to the background field δ a ):

7)
F I + λ I = 0 , (2.8) (2.10) Here we used the notation F I ab = F I µν δ a µ δ b ν , where we used the fact that δ a µ is invertible, and similarly for other variables. Using these equations and the differential equation (2.7) one obtains the equation of motion for gauge field A I , This is precisely the classical equation of motion for the free Yang-Mills theory. Note that in addition to the Yang-Mills theory, one can easily extend the action (2.3) in order to describe the massive vector field and obtain the Proca equation of motion. This is done by adding a mass term

JHEP10(2019)222
to the action (2.3). Of course, this term explicitly breaks the SU(N ) gauge symmetry of the action. Another example of the constrained BF theory is the Plebanski action for general relativity [15], see also [13] for a recent review. Starting from a gauge group SO(3, 1), one constructs a constrained BF action as (2.13) Here R ab is the curvature 2-form for the spin connection ω ab , B ab is the usual Lagrange multiplier 2-form, while φ abcd is the Lagrange multiplier 0-form corresponding to the simplicity constraint term B ab ∧ B cd . It can be shown that the variation of this action with respect to B ab , ω ab and φ abcd gives rise to equations of motion which are equivalent to vacuum general relativity. However, the tetrad fields appear in the model as a solution to the simplicity constraint equation of motion B ab ∧ B cd = 0. Thus, being intrinsically on-shell objects, they are not present in the action and cannot be quantized. This renders the Plebanski model unsuitable for coupling of matter fields to gravity [10,12,19]. Nevertheless, as a model for pure gravity, the Plebanski model has been successfully quantized in the context of spinfoam models, see [1,2,8,9] for details and references.

2BF theory
In order to circumvent the issue of coupling of matter fields, a recent promising approach has been developed [12,[19][20][21][22][23] in the context of higher category theory [11]. In particular, one employs the higher category theory construction to generalize the BF action to the so-called 2BF action, by passing from the notion of a gauge group to the notion of a gauge 2-group. In order to introduce it, let us first give a short review of the 2-group formalism.
In the framework of category theory, the group as an algebraic structure can be understood as a specific type of category, namely a category with only one object and invertible morphisms [11]. The notion of a category can be generalized to the so-called higher categories, which have not only objects and morphisms, but also 2-morphisms (morphisms between morphisms), and so on. This process of generalization is called the categorical ladder. Similarly to the notion of a group, one can introduce a 2-group as a 2-category consisting of only one object, where all the morphisms and 2-morphisms are invertible. It has been shown that every strict 2-group is equivalent to a crossed module (H ∂ → G , ), see appendix A for definition. Here G and H are groups, δ is a homomorphism from H to G, while : G × H → H is an action of G on H.
An important example of this structure is a vector space V equipped with an isometry group O. Namely, V can be regarded as an Abelian Lie group with addition as a group operation, so that a representation of O on V is an action of O on the group V , giving rise to the crossed module (V ∂ → O , ), where the homomorphism ∂ is chosen to be trivial, i.e., it maps every element of V into a unit of O. We will make use of this example below to introduce the Poincaré 2-group.
Similarly to the case of an ordinary Lie group G which has a naturally associated notion of a connection α, giving rise to a BF theory, the 2-group structure has a naturally JHEP10(2019)222 associated notion of a 2-connection (α , β), described by the usual g-valued 1-form α ∈ A 1 (M 4 , g) and an h-valued 2-form β ∈ A 2 (M 4 , h), where h is a Lie algebra of the Lie group H. The 2-connection gives rise to the so-called fake 2-curvature (F , G), given as (2.14) Here α ∧ β means that α and β are multiplied as forms using ∧, and simultaneously multiplied as algebra elements using , see appendix A. The curvature pair (F , G) is called fake because of the presence of the ∂β term in the definition of F , see [11] for details. Using these variables, one can introduce a new action as a generalization of the BF action, such that it is gauge invariant with respect to both G and H groups. It is called the 2BF action and is defined in the following way [16,17]: where the 2-form B ∈ A 2 (M 4 , g) and the 1-form C ∈ A 1 (M 4 , h) are Lagrange multipliers. Also, , g and , h denote the G-invariant bilinear symmetric nondegenerate forms for the algebras g and h, respectively. As a consequence of the axiomatic structure of a crossed module (see appendix A), the bilinear form , h is H-invariant as well. See [16,17] for review and references.
Similarly to the BF action, the 2BF action is also topological, which can be seen from equations of motion. Varying with respect to B and C one obtains while varying with respect to α and β one obtains the equations for the multipliers, One can either show that these equations have only trivial solutions, or one can use the Hamiltonian analysis to show that there are no local propagating degrees of freedom (see for example [21,22]), demostrating the topological nature of the theory. An example of a 2-group relevant for physics is the Poincaré 2-group, which is constructed using the aforementioned example of a vector space equipped with an isometry group. One constructs a crossed module by choosing while is a natural action of SO(3, 1) on R 4 , and the map ∂ is trivial. The 2-connection (α, β) is given by the algebra-valued differential forms where ω ab is the spin connection, while M ab and P a are the generators of groups SO(3, 1) and R 4 , respectively. The corresponding 2-curvature in this case is given by

JHEP10(2019)222
where we have evaluated ∧ using the equation M ab P c = η [bc P a] . Note that, since ∂ is trivial, the fake curvature is the same as ordinary curvature. Using the bilinear forms one can show that 1-forms C a transform in the same way as the tetrad 1-forms e a under the Lorentz transformations and diffeomorphisms, so the fields C a can be identified with the tetrads. Then one can rewrite the 2BF action (2.15) for the Poincaré 2-group as In order to obtain general relativity, the topological action (2.23) can be modified by adding a convenient simplicity constraint, like it is done in the BF case: (

2.24)
Here λ ab is a Lagrange multiplier 2-form associated to the simplicity constraint term, and l p is the Planck length. Varying the action (2.24) with respect to B ab , e a , ω ab , β a and λ ab , one obtains the following equations of motion: The only dynamical fields are the tetrads e a , while all other fields can be algebraically determined, as follows. From the equations (2.28) and (2.29) we obtain that ∇B ab = 0, from which it follows, using the equation (2.27), that e [a ∧ β b] = 0. Assuming that the tetrads are nondegenerate, e ≡ det(e a µ ) = 0, it can be shown that this is equivalent to the condition β a = 0 (for the proof see appendix in [12]). Therefore, from the equations (2.25), (2.27), (2.28) and (2.29) we obtain Here the Ricci rotation coefficients are defined as where . (2.32)

JHEP10(2019)222
Finally, the remaining equation (2.26) reduces to which is nothing but the vacuum Einstein field equation R µν − 1 2 g µν R = 0. Therefore, the action (2.24) is classically equivalent to general relativity.
The main advantage of the action (2.24) over the Plebanski model and similar approaches lies in the fact that the tetrad fields are explicitly present in the topological sector of the theory. This allows one to couple matter fields in a straightforward way, as demonstrated in [12]. However, one can do even better, and couple gauge fields to gravity within a unified framework of 2-group formalism.
Let us demonstrate this on the example of the SU(N ) Yang-Mills theory. Begin by modifying the Poincaré 2-group structure to include the SU(N ) gauge group, as follows. We choose the two Lie groups as and we define the action of the group G in the following way. As in the case of the Poincaré 2-group, it acts on itself via conjugation. Next, it acts on H such that the SO(3, 1) subgroup acts on R 4 via the vector representation, while the action of SU(N ) subgroup is trivial. The map ∂ also remains trivial, as before. The 2-connection (α, β) now obtains the form which reflects the structure of the group G, where A I is the gauge connection 1-form, while τ I are the SU(N ) generators. The curvature for α is thus The curvature for β remains the same as before, since the action of SU(N ) on R 4 is trivial, i.e., τ I P a = 0. Finally, the product structure of the group G implies that its Killing form , g reduces to the Killing forms for the SO(3, 1) and SU(N ), along with the identity M ab , τ I g = 0.
Given a crossed module defined in this way, its corresponding topological 2BF action (2.15) becomes where B I ∈ A 2 (M 4 , su(N )) is the new Lagrange multiplier. In order to transform this topological action into action with nontrivial dynamics, we again introduce the appropriate simplicity constraints. The constraint giving rise to gravity is the same as in (2.24), while the constraint for the gauge fields is given as in the action (2.3) with the substitution δ a → e a :

JHEP10(2019)222
It is crucial to note that the action (2.38) is a combination of the pure gravity action (2.24) and the Yang-Mills action (2.3), such that the nondynamical background field δ a from (2.3) gets promoted to a dynamical field e a . The relationship between these fields has already been hinted at in the equation (2.4), which describes the connection between δ a and the flat spacetime metric η µν . Once promoted to e a , this field becomes dynamical, while the equation (2.4) becomes the usual relation between the tetrad and the metric, further confirming that the Lagrange multiplier C a should be identified with the tetrad. Moreover, the total action (2.38) now becomes background independent, as expected in general relativity. All this is a consequence of the fact that the tetrad field is explicitly present in the topological sector of the action (2.24), establishing an improvement over the Plebanski model. By varying the action (2.38) with respect to the variables B ab , ω ab , β a , λ ab , ζ abI , M abI , B I , λ I , A I , and e a , we obtain the following equations of motion, respectively: In the above system of equations, we have two dynamical equations for e a and A I , while all other variables are algebraically determined from these. In particular, from equations (2.40)-(2.47), we have: Then, substituting all these into (2.48) and (2.49) we obtain the differential equation of motion for A I , where Γ λ µν is the standard Levi-Civita connection, and a differential equation of motion for e a , The system of equations (2.50)-(2.52) is equivalent to the system (2.40)-(2.49). Note that we have again obtained that β a = 0, as in the pure gravity case.
In this way, we see that both gravity and gauge fields can be represented within a unified framework of higher gauge theory based on a 2-group structure.

3BF models, scalar and fermion matter fields
While the structure of a 2-group can successfully accommodate both gravitational and gauge fields, unfortunately it cannot include other matter fields, such as scalars or fermions. In order to construct a unified description of all matter fields within the framework of higher gauge theory, we are led to make a further generalization, passing from the notion of a 2group to the notion of a 3-group. As it turns out, the 3-group structure is a perfect fit for the description of all fields that are present in the Standard Model, coupled to gravity. Moreover, this structure gives rise to a new gauge group, which corresponds to the choice of the scalar and fermion fields present in the theory. This is a novel and unexpected result, which has the potential to open up a new avenue of research with the aim of explaining the structure of the matter sector of the Standard Model and beyond.
In order to demonstrate this in more detail, we first need to introduce the notion of a 3-group, which we will afterward use to construct constrained 3BF actions describing scalar and fermion fields on an equal footing with gravity and gauge fields.

3-groups and topological 3BF action
Similarly to the concepts of a group and a 2-group, one can introduce the notion of a 3-group in the framework of higher category theory, as a 3-category with only one object where all the morphisms, 2-morphisms and 3-morphisms are invertible. It has been proved that a strict 3-group is equivalent to a 2-crossed module [24], in the same way as a 2-group is equivalent to a crossed module.
A Lie 2-crossed module, denoted as (L , is a algebraic structure specified by three Lie groups G, H and L, together with the homomorphisms δ and ∂, an action of the group G on all three groups, and a G-equivariant map called the Peiffer lifting. See appendix A for more details.
In complete analogy to the construction of BF and 2BF topological actions, one can define a gauge invariant topological 3BF action for the manifold M 4 and 2-crossed . Given g, h and l as Lie algebras corresponding to the groups G, H and L, one can introduce a 3-connection (α, β, γ) given by the algebra-valued JHEP10(2019)222 differential forms α ∈ A 1 (M 4 , g), β ∈ A 2 (M 4 , h) and γ ∈ A 3 (M 4 , l). The corresponding fake 3-curvature (F , G , H) is then defined as see [24,25] for details. Then, a 3BF action is defined as are Lagrange multipliers. The forms , g , , h and , l are G-invariant bilinear symmetric nondegenerate forms on g, h and l, respectively. Under certain conditions, the forms , h and , l are also H-invariant and L-invariant, see appendix B for details.
One can see that varying the action with respect to the variables B, C and D, one obtains the equations of motion while varying with respect to α, β, γ one obtains Regarding the gauge transformations, the 3BF action is invariant with respect to three different types of transformations, generated by the groups G, H and L, respectively. Under the G-gauge transformations, the 3-connection transforms as where g : M 4 → G is an element of the G-principal bundle over M 4 . Next, under the H-gauge transformations, generated by η ∈ A 1 (M 4 , h), the 3-connection transforms as Finally, under the L-gauge transformations, generated by θ ∈ A 2 (M 4 , l), the 3-connection transforms as As a consequence of the definition (3.1) and the above transformation rules, the curvatures transform under the G-gauge transformations as under the H-gauge transformations as

JHEP10(2019)222
and under the L-gauge transformations as For more details, the reader is referred to [25].
In order to make the action (3.2) gauge invariant with respect to the transformations (3.7), (3.8) and (3.9), the Lagrange multipliers B, C and D must transform under the G-gauge transformations as under the H-gauge transformations as while under the L-gauge transformations they transform as See appendix B for details, for the definition of the maps T , D, X 1 , X 2 , S, and for the notation of the ∧ T , ∧ D , ∧ X 1 , ∧ X 2 , and ∧ S products.

Constrained 3BF action for a real Klein-Gordon field
Once the topological 3BF action is specified, we can proceed with the construction of the constrained 3BF action, describing a realistic case of a scalar field coupled to gravity. In order to perform this construction, we have to define a specific 2-crossed module which gives rise to the topological sector of the action, and then we have to impose convenient simplicity constraints. We begin by defining a 2-crossed module (L The group G acts on itself via conjugation, on H via the vector representation, and on L via the trivial representation. This specifies the definition of the action . The map ∂ is chosen to be trivial, as before. The map δ is also trivial, that is, every element of L is mapped to the identity element of H. Finally, the Peiffer lifting is trivial as well, mapping every ordered pair of elements in H to an identity element in L. This specifies one concrete 2-crossed module. Given this choice of a 2-crossed module, the 3-connection (α , β , γ) takes the form where I is the sole generator of the Lie group R. From (3.1), the fake 3-curvature (F , G , H) reduces to the ordinary 3-curvature,

JHEP10(2019)222
where we used the fact that G acts trivially on L, that is, M ab I = 0. The topological 3BF action (3.2) now becomes where the bilinear form for L is I, I l = 1.
It is important to note that the Lagrange multiplier D in (3.2) is a 0-form and transforms trivially with respect to G, H and L gauge transformations for our choice of the 2-crossed module, as can be seen from (3.13), (3.14) and (3.15). Thus, D has all the hallmark properties of a real scalar field, allowing us to make identification between them, and conveniently relabel D into φ in (3.19). This is a crucial property of the 3-group structure in a 4-dimensional spacetime and is one of the main results of the paper. It follows the line of reasoning used in recognizing the Lagrange multiplier C a in the 2BF action for the Poincaré 2-group as a tetrad field e a . It is also important to stress that the choice of the third gauge group, L, dictates the number and the structure of the matter fields present in the action. In this case, L = R implies that we have only one real scalar field, corresponding to a single generator I of R. The trivial nature of the action of SO(3, 1) on R also implies that φ transforms as a scalar field. Finally, the scalar field appears as a degree of freedom in the topological sector of the action, making the quantization procedure feasible.
As in the case of BF and 2BF theories, in order to obtain nontrivial dynamics, we need to impose convenient simplicity constraints on the variables in the action (3.19). Since we are interested in obtaining the scalar field φ of mass m coupled to gravity in the standard way, we choose the action in the form: Note that the first row is the topological sector (3.19), the second row is the familiar simplicity constraint for gravity from the action (2.24), the third row contains the new simplicity constraints corresponding to the Lagrange multiplier 1-forms λ and Λ ab and featuring the Lagrange multiplier 0-form H abc , while the fourth row is the mass term for the scalar field. Varying the total action (3.20) with respect to the variables B ab , ω ab , β a , λ ab , Λ ab , γ, λ, H abc , φ and e a one obtains the equations of motion: The dynamical degrees of freedom are e a and φ, while the remaining variables are algebraically determined in terms of them. Specifically, the equations (3.21)-(3.28) give (3.33) The system of equations (3.21)-(3.30) is equivalent to the system of equations (3.31)-(3.33).
Note that in addition to the correct covariant form of the Klein-Gordon equation, we have also obtained the correct form of the stress-energy tensor for the scalar field.

Constrained 3BF action for the Dirac field
Now we pass to the more complicated case of the Dirac field. We first define a 2-crossed module (L 8 generators of the Lie group R 8 (G) as P α and P α , where the index α takes the values 1, . . . , 4, the action of G on L is thus given explicitly as where σ ab = 1 4 [γ a , γ b ], and γ a are the usual Dirac matrices, satisfying the anticommutation rule {γ a , γ b } = −2η ab .
As in the case of the scalar field, the choice of the group L dictates the matter content of the theory, while the action of G on L specifies its transformation properties. To see this explicitly, let us construct the corresponding 3BF action. The 3-connection (α , β , γ) now takes the form while the 3-curvature (F , G , H), defined in (3.1), is given as

37)
where we have used (3.35). The bilinear form , l is defined as Note that, for general A, B ∈ l, we can write Since we require the bilinear form to be symmetric, the two expressions must be equal. However, since the coefficients in l are Grassmann numbers, we have A I B J = −B J A I , so it follows that g IJ = −g JI . Hence the antisymmetry of (3.38). Now we use the properties of the group L and the action of G on L to recognize the physical nature of the Lagrange multiplier D in (3.2). Indeed, the choice of the group L dictates that D contains 8 independent complex Grassmannian matter fields as its components. Moreover, due to the fact that D is a 0-form and that it transforms according to the spinorial representation of SO(3, 1), we can identify its components with the Dirac bispinor fields, and write D = ψ α P α +ψ α P α , where it is assumed that ψ andψ are independent fields, as usual. This is again an illustration of the fact that information about the structure of the matter sector in the theory is specified by the choice of the group L in the 2-crossed module, and another main result of the paper. Given all of the above, now we can finally write the 3BF action (3.2) corresponding to this choice of the 2-crossed module as (3.41)

JHEP10(2019)222
In order to promote this action into a full theory of gravity coupled to Dirac fermions, we add the convenient constraint terms to the action, as follows: Here the first row is the topological sector, the second row is the gravitational simplicity constraint term from (2.24), while the third row contains the new simplicity constraints for the Dirac field corresponding to the Lagrange multiplier 1-forms λ α andλ α . The fourth row contains the mass term for the Dirac field, and a term which ensures the correct coupling between the torsion and the spin of the Dirac field, as specified by the Einstein-Cartan theory. Namely, we want to ensure that the torsion has the form is the spin 2-form. Of course, other couplings should also be straightforward to implement, but we choose this particular coupling because we are interested in reproducing the standard Einstein-Cartan gravity coupled to the Dirac field. Varying the action (3.42) with respect to B ab , λ ab ,γ α , γ α , λ α ,λ α ,ψ α , ψ α , e a , β a and ω ab one obtains the equations of motion: The dynamical degrees of freedom are e a , ψ α andψ α , while the remaining variables are determined in terms of the dynamical variables, and are given as: Here K ab µ is the contorsion tensor, constructed in the standard way from the torsion tensor, whereas from (3.54) we have T a ≡ ∇e a = 2πl 2 p s a , (3.57) which is precisely the desired equation (3.43). Further, from the equation (3.46) one obtains

JHEP10(2019)222
Finally, the equation of motion (3.53) for tetrad field reduces to Here, we used the notation

Constrained 3BF action for the Weyl and Majorana fields
A general solution of the Dirac equation is not an irreducible representation of the Lorentz group, and one can rewrite Dirac fermions as left-chiral and right-chiral fermion fields that both retain their chirality under Lorentz transformations, implying their irreducibility. Hence, it is useful to rewrite the action for left and right Weyl spinors as a constrained 3BF action. For simplicity, we will discuss only left-chiral spinor field, while the rightchiral field can be treated analogously. Both Weyl and Majorana fermions can be treated in the same way, the only difference being the presence of an additional mass term in the Majorana action.
We being by defining a 2-crossed module (L , as follows. The groups are: The maps ∂, δ and the Peiffer lifting are trivial. The action of the group G on G, H and L is given in the same way as for the Dirac case, whereas the spinorial representation reduces to M ab P α = 1 2 (σ ab ) α β P β , M ab Pα = 1 2 (σ ab )βαPβ , (3.66) where σ ab = −σ ab = 1 4 (σ aσb − σ bσa ), for σ a = (1, σ) andσ a = (1, − σ), in which σ denotes the set of three Pauli matrices. The four generators of the group L are denoted as P α and Pα, where the Weyl indices α,α take values 1, 2.

68)
Introducing the spinor fields ψ α andψα via the Lagrange multiplier D as where ε αβ and εαβ are the usual two-dimensional antisymmetric Levi-Civita symbols, the topological 3BF action (3.2) for spinors coupled to gravity becomes In order to obtain the suitable equations of motion for the Weyl spinors, we again introduce appropriate simplicity constraints, so that the action becomes: The new simplicity constraints are in the third row, featuring the Lagrange multiplier 1-forms λ α andλα. Also, using the coupling between the Dirac field and torsion from Einstein-Cartan theory as a model, the term in the fourth row is chosen to ensure that the coupling between the Weyl spin tensor and torsion is given as: The case of the Majorana field is introduced in exactly the same way, albeit with an additional mass term in the action, of the form: Varying the action (3.72) with respect to the variables B ab , λ ab , γ α ,γα, λ α ,λα, ψ α , ψα, e a , β a and ω ab one again obtains the complete set of equations of motion, displayed in the appendix C. The only dynamical degrees of freedom are ψ α ,ψα and e a , while the remaining variables are algebraically determined in terms of these as:
We see that in order to introduce one generation of matter one needs to provide 16 spinors, or equivalently the group L has to be chosen as L = R 64 (G). As there are three generations of matter, the part of the group L that corresponds to the fermion fields in the theory is chosen to be L = R 64 (G) × R 64 (G) × R 64 (G). To define the Higgs sector one needs two complex scalar fields φ + φ 0 , or equivalently the scalar sector of the group L is given as L = R 4 (C). The maps ∂, δ and the Peiffer lifting are trivial. The action of the group G on itself is given via conjugation. The action of the SO(3, 1) subgroup of G on H is via vector representation and the action of SU(3) × SU(2) × U(1) subgroup on H is via trivial representation. The action of the SO(3, 1) on L is via trivial representation for the generators corresponding to the scalar fields, i.e. the R 4 (C) subgroup of L, and via spinor representation for the every quadruple of generators corresponding to the fermion fields, given as

JHEP10(2019)222
in the section 3. The information how spinors transform under the SU(3) × SU(2) × U(1) group is encoded in the action of that subgroup of G on L, as specified in the table above. For simplicity, in the following, only one family of the lepton sector and only electroweak part of the gauge sector of the Standard model is considered.
The groups are chosen as: The 3-connection then takes the form α = ω ab M ab + W I T I + AY , β = β a P a , γ = γ αL P αL + γαLPαL + γ αR P αR + γαRPαR + γãPã . The action of the group G on L is defined as: The 3-curvatures are given as: The topological 3BF action is defined as: At this point, it is useful to simplify the notation and denote all indices of the group G bŷ α, of the group H byâ and L byÂ. In order to promote this action to a full theory of first lepton family coupled to electroweak gauge fields, Higgs field, and gravity, we again

JHEP10(2019)222
introduce the appropriate simplicity constraint, as follows where: The matrices Cαβ, CÂB, MÂB, YÂBĈ, LÂBĈD and T dÂB are constant matrices, and carry the information about gauge coupling constants, mass of the Higgs field, Yukawa couplings and mixing angles, Higgs self-coupling constant and torsion coupling, respectively.

Conclusions
Let us summarize the results of the paper. In section 2 we have given a short reminder of the BF theory and described how one can use it to construct the action for general relativity (the well known Plebanski model), and the action for the Yang-Mills theory in flat spacetime, in a novel way. Passing on to higher gauge theory, we have reviewed the formalism of 2-groups and the corresponding 2BF theory, using it again to construct the action for general relativity (a model first described in [12]), and the unified action of general relativity and Yang-Mills theory, both naturally described using the 2-group formalism. With this background material in hand, in section 3 we have used the idea of a categorical ladder yet again, generalizing the 2BF theory to 3BF theory, with the underlying structure of a 3-group instead of a 2-group. This has led us to the main insight that the scalar and fermion fields can be specified using a gauge group, namely the third gauge group, denoted L, present in the 2-crossed module corresponding to a given 3-group. This has allowed us to single out specific gauge groups corresponding to the Klein-Gordon, Dirac, Weyl and Majorana fields, and to construct the relevant constrained 3BF actions that describe all these fields coupled to gravity in the standard way.

JHEP10(2019)222
The obtained results represent the fundamental building blocks for the construction of the complete Standard Model of elementary particles coupled to Einstein-Cartan gravity as a 3BF action with suitable simplicity constraints, as demonstrated in section 4. In this way, we can complete the first step of the spinfoam quantization programme for the complete theory of gravity and all matter fields, as specified in the Introduction. This is a clear improvement over the ordinary spinfoam models based on an ordinary constrained BF theory.
In addition to this, the gauge group which determines the matter spectrum of the theory is a completely novel structure, not present in the Standard Model. This new gauge group stems from the 3-group structure of the theory, so it is not surprising that it is invisible in the ordinary formulation of the Standard Model, since the latter does not use any 3-group structure in an explicit way. In this paper, we have discussed the choices of this group which give rise to all relevant matter fields, and these can simply be directly multiplied to give the group corresponding to the full Standard Model, encoding the quark and lepton families and all other structure of the matter spectrum. However, the true potential of the matter gauge group lies in a possibility of nontrivial unification of matter fields, by choosing it to be something other than the ordinary product of its component groups. For example, instead of choosing R 8 (G) for the Dirac field, one can try a noncommutative SU(3) group, which also contains 8 generators, but its noncommutativity requires that the maps δ and { , } be nontrivial, in order to satisfy the axioms of a 2-crossed module. This, in turn, leads to a distinction between 3-curvature and fake 3curvature, which can have consequences for the dynamics of the theory. In this way, by studying nontrivial choices of a 3-group, one can construct various different 3-group-unified models of gravity and matter fields, within the context of higher gauge theory. This idea resembles the ordinary grand unification programme within the framework of the standard gauge theory, where one constructs various different models of vector fields by making various choices for the Yang-Mills gauge group. The detailed discussion of these 3-group unified models is left for future work.
As far as the spinfoam quantization programme is concerned, having completed the step 1 (as outlined in the Introduction), there is a clear possibility to complete the steps 2 and 3 as well. First, the fact that the full action is written completely in terms of differential forms of various degrees, allows us to adapt it to a triangulated spacetime manifold, in the sense of Regge calculus. In particular, all fields and their field strengths present in the 3BF action can be naturally associated to the appropriate d-dimensional simplices of a 4-dimensional triangulation, by matching 0-forms to vertices, 1-forms to edges, etc. This leads us to the following

JHEP10(2019)222
Once the classical Regge-discretized topological 3BF action is constructed, one can attempt to construct a state sum Z which defines the path integral for the theory. The topological nature of the pure 3BF action, together with the underlying structure of the 3group, should ensure that such a state sum Z is a topological invariant, in the sense that it is triangulation independent. Unfortunately, in order to perform this step precisely, one needs a generalization of the Peter-Weyl and Plancharel theorems to 2-groups and 3-groups, a mathematical result that is presently still missing. The purpose of the Peter-Weyl theorem is to provide a decomposition of a function on a group into a sum over the corresponding irreducible representations, which ultimately specifies the appropriate spectrum of labels for the d-simplices in the triangulation, fixing the domain of values for the fields living on those d-simplices. In the case of 2-groups and especially 3-groups, the representation theory has not been developed well enough to allow for such a construction, with a consequence of the missing Peter-Weyl theorem for 2-groups and 3-groups. However, until the theorem is proved, we can still try to guess the appropriate structure of the irreducible representations of the 2-and 3-groups, as was done for example in [12], leading to the so-called spincube model of quantum gravity.
Finally, if we remember that for the purpose of physics we are not really interested in a topological theory, but instead in one which contains local propagating degrees of freedom, we are therefore not really engaged in constructing a topological invariant Z, but rather a state sum which describes nontrivial dynamics. In particular, we need to impose the simplicity constraints onto the state sum Z, which is the step 3 of the spinfoam quantization programme. In light of that, one of the main motivations and also main results of our paper was to rewrite the action for gravity and matter in a way that explicitly distinguishes the topological sector from the simplicity constraints. Imposing the constraints is therefore straightforward in the context of a 3-group gauge theory, and completing this step would ultimately lead us to a state sum corresponding to a tentative theory of quantum gravity with matter. This is also a topic for future work.
In the end, let us also mention that aside from the unification and quantization programmes, there is also a plethora of additional studies one can perform with the constrained 3BF action, such as the analysis of the Hamiltonian structure of the theory (suitable for a potential canonical quantization programme), the idea of imposing the simplicity constraints using a spontaneous symmetry breaking mechanism, and finally a detailed study of the mathematical structure and properties of the simplicity constraints. This list is of course not conclusive, and there may be many more interesting related topics to study in both physics and mathematics. of G on H, by automorphisms, such that for each h 1 , h 2 ∈ H and g ∈ G the following identity hold: In a pre-crossed module the Peiffer commutator is defined as: A pre-crossed module is said to be a crossed module if all of its Peiffer commutators are trivial, which is to say that i.e. the Peiffer identity is satisfied.
is given by three groups G, H and L, together with maps ∂ and δ such that: where ∂δ = 1, an action of the group G on all three groups, and an G-equivariant map called the Peiffer lifting: The following identities are satisfied: 1. The maps ∂ and δ are G-equivariant, i.e. for each g ∈ G and h ∈ H: g ∂(h) = ∂(g h) , g δ(l) = δ(g l) , the action of the group G on the groups H and L is a smooth left action by automorphisms, i.e. for each g, g 1 , g 2 ∈ G, h 1 , h 2 ∈ H, l 1 , l 2 ∈ L and e ∈ H, L: , g (l 1 l 2 ) = (g l 1 )(g l 2 ) , and the Peiffer lifting is G-equivariant, i.e. for each h 1 , h 2 ∈ H and g ∈ G: 2. the action of the group G on itself is via conjugation, i.e. for each g , g 0 ∈ G: g g 0 = g g 0 g −1 ;

JHEP10(2019)222
together with left action of g on h, l, by derivations, and on itself via adjoint representation, and a g-equivariant bilinear map called the Peiffer lifting: Fixing the basis in algebra T A ∈ l, t a ∈ h and τ α ∈ g: one defines the maps ∂ and δ as: and action of g on the generators of l, h and g is, respectively: Note that when η is g-valued differential form and ω is l, h or g valued differential form the previous action is defined as: The coefficients X ab A are introduced as: The following identities are satisfied: 1. In the differential crossed module (L δ → H , ) the action of h on l is defined for each h ∈ h and l ∈ l as: h l = −{δ(l), h} , or written in the basis where t a T A = aA B T B the previous identity becomes: 2. The action of g on itself is via adjoint representation: αβ γ = f αβ γ ; 3. The action of g on h and l is equivariant, i.e. the following identities are satisfied: 4. The Peiffer lifting is g-equivariant, i.e. for each h 1 , h 2 ∈ h and g ∈ g: or written in the basis: Note that the property 6. implies that either trivial map δ or the trivial Peiffer lifting imply that L is an Abelian group. Conversely, if L is Abelian, property 6. implies that either the map δ or the Peiffer lifting is trivial, or both. In the case of an Abelian group H and trivial map ∂, among the aforementioned properties the only non-trivial remaining are: 1. δ{h 1 , h 2 } = 0 , ∀h 1 , h 2 ∈ h ; 2. [l 1 , l 2 ] = {δ(l 1 ), δ(l 2 )} , ∀l 1 , l 2 ∈ l ; 3. {δ(l), h} = −{h, δ(l)} , ∀h ∈ h , ∀l ∈ l .
A reader intrested in more details about 3-groups is referred to [25].

B The construction of gauge-invariant actions for 3BF theory
Symmetric bilinear invariant nondegenerate forms are defined as: T A , T B l = g AB , t a , t b h = g ab , τ α , τ β g = g αβ .

JHEP10(2019)222
• , h is G-invariant: g t a , g t b h = t a , t b h , ∀g ∈ G , and, when (H ∂ → G , ) is a crossed module, consequently H-invariant: • , l is G-invariant: Written in the basis: the coefficients are: Note that the wedge product A ∧ B when A is a 0-form and B is a p-form is defined as A ∧ B = 1 p! AB µ 1 ...µp dx µ 1 ∧ · · · ∧ x µp .
See [17] for more properties and the construction of 2BF invariant topological action using this map. To define 3BF invariant topological action one has to first define a bilinear antisymmetric map S : l × l → g by the rule: S(l 1 , l 2 ), g g = − l 1 , g l 2 l , ∀l 1 , ∀l 2 ∈ l , ∀g ∈ g .
As far as the bilinear antisymmetric map S : l × l → g, one can write it in the basis: so that the defining relation for S becomes the relation: Given two l-valued forms η and ω, one can define a g-valued form:

JHEP10(2019)222
Further, to define the transformations of the Lagrange multipliers under H-gauge transformations one needs to define the bilinear map X 1 : l × h → h by the rule: and bilinear map X 2 : l × h → h by the rule: As far as the bilinear maps X 1 and X 2 one can define the coefficients in the basis as: When written in the basis the defining relations for the maps X 1 and X 2 become: X 1Ab c g ac = −X ba B g AB , X 2Ab c g ac = −X ab B g AB .
Given l-valued differential form ω and h-valued differential form η, one defines a h-valued form as: Given any g ∈ G, l ∈ l and h ∈ h one has: X 1 (g l, g −1 h) = g X 1 (l, h) , X 2 (g l, g h) = g −1 X 2 (l, h) , since for each h 1 , h 2 ∈ h and l ∈ l: h 2 , g −1 X 1 (g l, g h 1 ) h = g h 2 , X 1 (g l, g h 1 ) h = g l, {g h 1 , g h 2 } l g l, g {h 1 , h 2 } l = l, {h 1 , h 2 } l = h 2 , X 1 (l, h 1 ) h , and similarly for X 2 . Finaly, one needs to define a trilinear map D : h × h × l → g by the rule: D(h 1 , h 2 , l), g g = − l, {g h 1 , h 2 } l , ∀h 1 , h 2 ∈ h , ∀l ∈ l, ∀g ∈ g , One can define the coefficients of the trilinear map as: D(t a , t b , T A ) = D abA α τ α , and the defining relation for the map D expressed in terms of coefficients becomes: Given two h-valued forms ω and η, and l-valued form ξ, the g-valued form is given by the formula: The following compatibility relation between the maps X 1 and D hold: D(h 1 , h 2 , l), g g = X 1 (l, g h 1 ), h 2 h , ∀h 1 , h 2 ∈ h , ∀l ∈ l, ∀g ∈ g , (B.3)