1 Introduction

The geometric interpretation of gravity initiated by Einstein on the development of General Relativity (GR) is indeed an astonishing one. However, the geometric arena GR lies upon is that of Riemannian geometry [1] which is built on the assumptions of a symmetric and metric-compatible connection. That is, a Riemannian space possesses no torsion (i.e. symmetric connection) and has vanishing non-metricity (metric-compatibility). Consequently, gravity is descried solely by the curvature and the only dynamical field is the metric tensor. Interestingly, equivalent formulations of GR can be formulated by attributing gravity to either solely torsion (teleparallel gravity [2]), solely non-metricity (symmetric teleparallel [3, 4]) or both (general teleparallel [5]) by restricting the connection in a certain way. Even more intriguing is the possibility of leaving the underlying geometry free of restrictions and be in the realm of non-Riemannian geometry [6]. This generalized arena has all, curvature, torsion and non-metricity non-vanishing and the gravitational Theories described by non-Riemannian geometry go by the name Metric-Affine Gravity (MAG) [7,8,9].Footnote 1

MAG is very interesting to study for many reasons. Firstly, when written in the language of differential forms it can be seen to represent a gauge Theory of gravity [7]. Next, the modifications appearing in MAG (in comparison to GR) are due to spacetime torsion and non-metricity with both of them having a clear geometric interpretation (see for instance [8]). Furthermore, an essential characteristic of MAG is the extended geometry-intrinsic structure interrelation. More precisely, in MAG one also has the notion of hypermomentum source [7, 25] on top of the usual energy–momentum tensor. The hypermomentum tensor is formally defined by the variation of the matter sector of the action with respect to the independent affine connection and in it it encodes the spin, dilation and shear of matter [7, 25].We see therefore that MAG represents a generalization of the well known Einstein–Cartan Theory where now apart from the spin, the dilation and shearFootnote 2 of matter (i.e. all intrinsic parts) are taken into account.

Of course, in order to explore this Metric-Affine land the first thing we should be concerned with is the choice of the gravitational Lagrangian. Admittedly, the most obvious possibility for the latter is the generalized Einstein–Hilbert term (i.e. the full Ricci scalar) which contains non-Riemannian parts as well. However, one soon realizes that this choice encounters already an issue: The invariance of the Ricci scalar under projective transformations of the connection (see for instance [27]) demands an identically vanishing dilation current. As a result only matter with no dilation charge for the hypermomentum is allowed by the Theory. The most straightforward remedy for this problem is to supplement the Gravitational action with quadratic torsion and non-metricity invariants that would spoil the aforementioned invariance. In fact, the inclusion of these quadratic terms is not simply a matter of convenience for breaking the projective invariance but their presence is indispensable if one wants to keep generality. Indeed, was already observed in [22] (see also [28] ), from a field theoretic point of view, the dimension of the quadratic torsion and non-metricity invariants is the same with that of the Ricci scalar (being inverse length) and since there is no fundamental principle to exclude them they must appear in the Gravitational action for MAG to this order. It is known that there are 3 pure torsion, 5 pure non-metricity and 3 mixed quadratic (parity even) scalars [23, 29]. Therefore, the gravitational part of the parity even quadratic MAG action consists of the usual Einstein–Hilbert term along with the 11 quadratic torsion and non-metricity scalars. Of course, to the aforementioned gravitational part one must also add a matter sector that will (in general) possess a non-vanishing hypermomentum.Footnote 3 Then, after varying with respect to the metric and the independent affine connection the first task is to find the form of the affine connection which will subsequently reveal the expressions for torsion and non-metricity.

Surprisingly, up to now there is no prescribed method allowing one to solve for the affine connection for the general quadratic Theory when the hypermomentum is non-vanishing. It is exactly this point we will address in this work. That is, given some general non-degeneracy conditions we will find the exact and unique solution of the connection for the full quadratic Theory. More specifically, the paper is organized as follows. Firstly, we fix notation and definitions and briefly discuss the geometric arena of MAG along with the physical content of its sources. We then consider the full 11 parameter quadratic Lagrangian and derive the associated metric and connection field equations. Focusing on the latter and using the recent result of [30] we find the unique and exact solution of the affine connection in terms of the hypermomentum and its contractions. Subsequently, we compute the exact forms of torsion and non-metricity for the quadratic Theory. Then, turning our attention to the metric field equations, we apply a post-Riemannian expansion and express the latter as effective Einstein’s GR field equations with modified source terms due to the intrinsic properties of matter (i.e. hypermomentum). The resulting Theory serves as certain generalization of Einstein–Cartan Theory where now apart from spin, the dilation and shear of matter are taken into account, resulting in a non-vanishing non-metricity as well. Finally, generalizing the previous considerations, we consider a collection of matter fields non-minimally coupled to the quadratic torsion and non-metricity invariants (i.e. promoting the 11 parameters to functions) and also for this generalized action we derive the exact solution for the connection.

2 The setup

We shall consider a generalized \(n-dim\) manifold endowed with a metric and an independent affine connection (\({\mathcal {M}}\), g, \(\nabla \)). We will use the definitions and notations of [11] so we will go through the basic setup rather briefly. On this non-Riemannian manifold endowed with the metric \(g_{\mu \nu }\) and an independent affine connection with components \(\Gamma ^{\lambda }_{\;\;\;\mu \nu }\), we define the curvature, torsion and non-metricity tensors according to

$$\begin{aligned} R^{\mu }_{\;\;\;\nu \alpha \beta }:= 2\partial _{[\alpha }\Gamma ^{\mu }_{\;\;\;|\nu |\beta ]}+2\Gamma ^{\mu }_{\;\;\;\rho [\alpha }\Gamma ^{\rho }_{\;\;\;|\nu |\beta ]} \end{aligned}$$
(1)
$$\begin{aligned} S_{\mu \nu }^{\;\;\;\lambda }:=\Gamma ^{\lambda }_{\;\;\;[\mu \nu ]} \end{aligned}$$
(2)
$$\begin{aligned} Q_{\alpha \mu \nu }:=- \nabla _{\alpha }g_{\mu \nu } \end{aligned}$$
(3)

and the deviation of the affine connection \(\Gamma ^{\lambda }_{\;\;\;\mu \nu }\) from the Levi-Civita one defines the so-called distortion tensor [31]

$$\begin{aligned} N^{\lambda }_{\;\;\;\;\mu \nu }:= & {} \Gamma ^{\lambda }_{\;\;\;\mu \nu }-{\widetilde{\Gamma }}^{\lambda }_{\;\;\;\mu \nu }\nonumber \\= & {} \frac{1}{2}g^{\alpha \lambda }(Q_{\mu \nu \alpha }+Q_{\nu \alpha \mu }-Q_{\alpha \mu \nu }) \nonumber \\&-g^{\alpha \lambda }(S_{\alpha \mu \nu }+S_{\alpha \nu \mu }-S_{\mu \nu \alpha }) \end{aligned}$$
(4)

where \({\widetilde{\Gamma }}^{\lambda }_{\;\;\;\mu \nu }\) is the usual Levi-Civita connection calculated only by the metric and its first derivatives. Once the distortion is given, torsion and non-metricity can be quite easily computed through (see for instance [8])

$$\begin{aligned} S_{\mu \nu \alpha }=N_{\alpha [\mu \nu ]},\;\;\; Q_{\nu \alpha \mu }=2 N_{(\alpha \mu )\nu } \end{aligned}$$
(5)

Out of torsion we can construct a vector as well as a pseudo-vector. Our definitions for the torsion vector and pseudo-vector are

$$\begin{aligned} S_{\mu }:=S_{\mu \lambda }^{\;\;\;\;\lambda }, \;\;\; t_{\mu }:=\epsilon _{\mu \alpha \beta \gamma }S^{\alpha \beta \gamma } \end{aligned}$$
(6)

respectively. Note that the former is defined for any dimension while the latter only for \(n=4\). Continuing with non-metricity, we define the Weyl and the second non-metricity vector according to

$$\begin{aligned} Q_{\alpha }:=Q_{\alpha \mu \nu }g^{\mu \nu },\; q_{\nu }=Q_{\alpha \mu \nu }g^{\alpha \mu } \end{aligned}$$
(7)

Finally, from the Riemann tensor we can construct the three contractions

$$\begin{aligned}&R_{\nu \beta }:=R^{\mu }_{\;\;\nu \mu \beta } \end{aligned}$$
(8)
$$\begin{aligned}&{\hat{R}}_{\alpha \beta }:=R^{\mu }_{\;\;\mu \alpha \beta } \end{aligned}$$
(9)
$$\begin{aligned}&\breve{R}^{\mu }_{\;\;\beta }:=R^{\mu }_{\;\;\nu \alpha \beta } g^{\nu \alpha } \end{aligned}$$
(10)

As usual, the first one is the Ricci tensor (which is not symmetric in general), the second one is the homothetic curvature and the last one is the the co-Ricci tensor. Note that the first two aforementioned tensors can be formed without the use of any metric while for the latter a metric is required. As for the generalized Ricci scalar, the latter is still uniquely defined since

$$\begin{aligned} R:=g^{\mu \nu }R_{\mu \nu }=-g^{\mu \nu }\breve{R}_{\mu \nu },\; g^{\mu \nu }{\hat{R}}_{\mu \nu }=0 \end{aligned}$$
(11)

Furthermore, let us mention that by virtue of (4) each quantity can be split into its Riemannian part (i.e. computed with respect to the Levi-Civita connection) plus non-Riemannian contributions. For instance inserting the connection decomposition (4) into the definition (1) we obtain for the Riemann tensorFootnote 4

$$\begin{aligned} {R^\mu }_{\nu \alpha \beta } = {\widetilde{R}}^\mu _{ \nu \alpha \beta } + 2 {\widetilde{\nabla }}_{[\alpha } {N^\mu }_{|\nu |\beta ]} + 2 {N^\mu }_{\lambda |\alpha } {N^\lambda }_{|\nu |\beta ]} \,, \end{aligned}$$
(12)

The last decomposition is very useful and we are going to be using it later on in order to express the metric field equations of our Theory in Einstein-like form plus modified matter sources. For instance, with the use of the above the post-Riemannian expansion of the Ricci scalar reads

$$\begin{aligned} R= & {} {\tilde{R}}+ \frac{1}{4}Q_{\alpha \mu \nu }Q^{\alpha \mu \nu }-\frac{1}{2}Q_{\alpha \mu \nu }Q^{\mu \nu \alpha } -\frac{1}{4}Q_{\mu }Q^{\mu }\nonumber \\&+\frac{1}{2}Q_{\mu }q^{\mu }+S_{\mu \nu \alpha }S^{\mu \nu \alpha }-2S_{\mu \nu \alpha }S^{\alpha \mu \nu }-4S_{\mu }S^{\mu } \nonumber \\&+2 Q_{\alpha \mu \nu }S^{\alpha \mu \nu }+2 S_{\mu }(q^{\mu }-Q^{\mu })\nonumber \\&+{\tilde{\nabla }}_{\mu }(q^{\mu }-Q^{\mu }-4S^{\mu }) \end{aligned}$$
(13)

We now close this section with a final definition before we turn our attention into the material content of Metric-Affine Theories.

Definition 1

Consider the components \(\Psi _{\alpha \mu \nu }\) of a rank-3 tensor field. We define the \(1^{st}\), \(2^{nd}\) and \(3^{rd}\) contractions of \(\Psi _{\alpha \mu \nu }\) according to

$$\begin{aligned} \Psi ^{(1)}_{\mu }:= & {} \Psi _{\alpha \beta \mu }g^{\alpha \beta }, \;\; \Psi ^{(2)}_{\mu }:=\Psi _{\alpha \mu \beta }g^{\alpha \beta }\nonumber \\ \Psi ^{(3)}_{\mu }:= & {} \Psi _{\mu \alpha \beta }g^{\alpha \beta } \end{aligned}$$
(14)

respectively.

Let us now move on and discuss some basic physical aspects of MAG.

3 The sources of MAG

3.1 Canonical and metrical energy momentum and hypermomentum tensors

As we have already pointed out, in the holonomicFootnote 5 description of MAG one starts with an independent fields affine connection \(\Gamma ^{\lambda }_{\;\;\;\mu \nu }\) along with the metric \(g_{\mu \nu }\). The field equations of a given MAG Theory are obtained by varying the total action independently with respect to those fields. Then, the variations of the matter part of the actions would be the sources of Gravity. Let \({\mathcal {L}}_{m}\) be the matter Lagrangian of the Theory. As usual we define the energy–momentum tensor of matter by the metric variation of the matter sector, viz.

$$\begin{aligned} T^{\alpha \beta }:=+\frac{2}{\sqrt{-g}}\frac{\delta (\sqrt{-g} {\mathcal {L}}_{M})}{\delta g_{\alpha \beta }} \end{aligned}$$
(15)

On the other hand, since we now have an independent affine connection on which the matter part can just as well depend upon, we define the variation of the latter with respect to the affine connection

$$\begin{aligned} \Delta _{\lambda }^{\;\;\;\mu \nu }:= -\frac{2}{\sqrt{-g}}\frac{\delta ( \sqrt{-g} {\mathcal {L}}_{M})}{\delta \Gamma ^{\lambda }_{\;\;\;\mu \nu }} \end{aligned}$$
(16)

Note that the hypermomentum can be split into its three irreducible pieces of spin, dilation and shear according toFootnote 6

$$\begin{aligned} \Delta _{\mu \nu \alpha } =\tau _{\mu \nu \alpha }+\frac{1}{n}\Delta _{\alpha } g_{\mu \nu } +{\hat{\Delta }}_{\mu \nu \alpha } \end{aligned}$$
(17)

where \(\tau _{\mu \nu \alpha }:=\Delta _{[\mu \nu ]\alpha }\) is the spin part, \(\Delta _{\alpha }:=\Delta _{\mu \nu \alpha }g^{\mu \nu }\) the dilation (trace) and \({\hat{\Delta }}_{\mu \nu \alpha }=\Delta _{(\mu \nu )\alpha }-\frac{1}{n}\Delta _{\alpha } g_{\mu \nu }\) the shear (symmetric traceless part). The aforementioned sources are subject to the conservation law

$$\begin{aligned}&\sqrt{-g}(2 {\tilde{\nabla }}_{\mu }T^{\mu }_{\;\;\alpha }-\Delta ^{\lambda \mu \nu }R_{\lambda \mu \nu \alpha })\nonumber \\&\quad +(2S_{\mu }-\nabla _{\mu })(2S_{\nu }-\nabla _{\nu })(\sqrt{-g}\Delta _{\alpha }^{\;\;\mu \nu })\nonumber \\&\quad +2S_{\mu \alpha }^{\;\;\;\;\lambda }(2S_{\nu }-\nabla _{\nu })(\sqrt{-g}\Delta _{\lambda }^{\;\;\;\mu \nu })=0 \end{aligned}$$
(18)

which serves as the generalization of the conservation law of energy–momentum for matter with microstructure (see for instance [11] for the derivation). Let us point out that this is not the end of the story as far as the conservation laws are concerned. Indeed, by working in the equivalent exterior calculus representation of MAG, the invariance of the matter sector under GL transformations and diffeomorphisms implyFootnote 7 (see for instance [7])

$$\begin{aligned} t^{\mu }_{\;\;\lambda }= T^{\mu }_{\;\;\lambda }-\frac{1}{2 \sqrt{-g}}(2S_{\nu }-\nabla _{\nu })(\sqrt{-g}\Delta _{\lambda }^{\;\;\mu \nu }) , \;\;\;\; \end{aligned}$$
(19)

and

$$\begin{aligned}&\frac{1}{\sqrt{-g}}(2S_{\mu }-\nabla _{\mu })(\sqrt{-g}t^{\mu }_{\;\;\alpha })\nonumber \\&\quad =\frac{1}{2} \Delta ^{\lambda \mu \nu }R_{\lambda \mu \nu \alpha }+\frac{1}{2}Q_{\alpha \mu \nu }T^{\mu \nu }+2 S_{\alpha \mu \nu }t^{\mu \nu } \end{aligned}$$
(20)

and there also appears the canonical energy–momentum tensor defined as

$$\begin{aligned} t^{\mu }_{\;\;\lambda }:=\frac{1}{\sqrt{-g}}\frac{\delta S_{M}}{\delta e_{\mu }^{\;\; c}}e_{\lambda }^{\;\;c} \end{aligned}$$
(21)

where \(e_{\lambda }^{\;\;c}\) is the vielbein related with the metric tensor through \(g_{\mu \nu }=e_{\mu }^{\;\;b}e_{\nu }^{\;\;c}\eta _{bc}\), and \(\eta _{bc}\) being the tangent space Minkowski metric. We should stress out that the in contrast to \(T_{\mu \nu }\), the canonical energy–momentum tensor is not symmetric in general. Now we have all the ingredients needed to study model building and more specifically quadratic MAG Theories.

4 Full quadratic theory

In order to set up a Metric-Affine Theory, the first thing one has to specify is the underlying gravitational action that is going to be used in constructing the Theory. The most obvious possibility is to replace the usual (Riemannian) Einstein–Hilbert term with the full Ricci scalar, namely \({\tilde{R}}\rightarrow R\) and consider the gravitational action

$$\begin{aligned} S_{EH}[g, \Gamma ]=\frac{1}{2 \kappa }\int d^{n}x \sqrt{-g}R \end{aligned}$$
(22)

as the representative one for MAG. Even though this is indeed a good choice once the matter part of the action does not depend on the connection (i.e. for matter with \(\Delta _{\alpha \mu \nu }=0\)), in the sense that it gives Einstein’s field equations, problems set in when matter couples to the connection. It is known that the problem lies on the projective invariance of the Ricci scalar (see for instance) which then implies a vanishing dilation current i.e. \(\Delta ^{\mu }=0\) once the connection field equations are imposed. It is therefore necessary, from a physical point of view, to consider actions that go beyond the mere generalization of the non-Riemannian Einstein–Hilbert term and break the projective invariance. Interestingly enough, the above reason is not the only one that demands a modification to the above action. There is yet another more fundamental reason enforcing us to extend (22) that has to do with dimensional analysis. Indeed, as it was already noted in [28] (see also [22]) the dimension of the Ricci scalar is inverse squared length [\(L^{-2}\)]. However, since the connection has dimensions of inverse length, quadratic torsion and non-metricity invariants have the same dimensions [\(L^{-2}\)] with the Ricci scalar. Therefore, from an effective field Theory perspective these terms may as well supplement the Ricci scalar, being of the same dimension. It turns out that to quadratic order there are 3 pure torsion, 5 pure non-metricity and 3 mixed scalars (see for instance [23, 29]). Therefore, the most general parity even quadratic MAG action in arbitrary dimension n reads

$$\begin{aligned} S_{quad}= & {} \frac{1}{2 \kappa }\int d^{n}x \sqrt{-g} \Big [ b_{1}S_{\alpha \mu \nu }S^{\alpha \mu \nu }\nonumber \\&+ b_{2}S_{\alpha \mu \nu }S^{\mu \nu \alpha } + b_{3}S_{\mu }S^{\mu } \nonumber \\&l_{1}Q_{\alpha \mu \nu }Q^{\alpha \mu \nu } + l_{2}Q_{\alpha \mu \nu }Q^{\mu \nu \alpha } + l_{3}Q_{\mu }Q^{\mu }\nonumber \\&+ l_{4}q_{\mu }q^{\mu }+ l_{5}Q_{\mu }q^{\mu } \nonumber \\&+c_{1}Q_{\alpha \mu \nu }S^{\alpha \mu \nu }+ c_{2}Q_{\mu }S^{\mu }\nonumber \\&+ c_{3}q_{\mu }S^{\mu } \Big ] \equiv \frac{1}{2 \kappa }\int d^{n}x \sqrt{-g} {\mathcal {L}}_{2} \end{aligned}$$
(23)

where the \(l_{i}'s\), \(b_{j}'s\) and \(c_{k}'s\) are dimensionless coupling constants. Of course to the above one could also add scalars constructed by the covariant derivatives of torsion and non-metricity, like for instance \(g^{\mu \nu }\nabla _{\mu }Q_{\nu }\). However, one can always apply a post-Riemannian expansion to such terms ending up with total derivative terms plus some combinations of the above-included quadratic torsion and non-metricity invariance.Footnote 8 As a result the above 11 parameter action is indeed the most general quadratic one (and parity even). Note that in [22] the connection solution of the action was found but only when the 3 quadratic torsion terms where included. Our intention here is to generalize these results and find the connection solution for the full quadratic action (23).

5 The quadratic parity even MAG theory

As we already mentioned the main intention of this work is to analyze the full 11-parameter quadratic MAG Theory including all possible, parity even terms in torsion and non-metricity in addition to the Einstein–Hilbert term. Adding a matter part as well, our full action reads

$$\begin{aligned} S[g, \Gamma , \Phi ]= & {} \frac{1}{2 \kappa }\int d^{n}x \sqrt{-g} \Big [ R+ b_{1}S_{\alpha \mu \nu }S^{\alpha \mu \nu }\nonumber \\&+ b_{2}S_{\alpha \mu \nu }S^{\mu \nu \alpha } + b_{3}S_{\mu }S^{\mu } \nonumber \\&\times l_{1}Q_{\alpha \mu \nu }Q^{\alpha \mu \nu } + l_{2}Q_{\alpha \mu \nu }Q^{\mu \nu \alpha }\nonumber \\&+ l_{3}Q_{\mu }Q^{\mu }+ l_{4}q_{\mu }q^{\mu }+ l_{5}Q_{\mu }q^{\mu } \nonumber \\&+c_{1}Q_{\alpha \mu \nu }S^{\alpha \mu \nu }+ c_{2}Q_{\mu }S^{\mu }\nonumber \\&+ c_{3}q_{\mu }S^{\mu } \Big ] +S_{M}[g, \Gamma , \Phi ] \end{aligned}$$
(24)

In the above, the first, second and third lines contain (apart from the usual Einstein–Hilbert term) the pure torsion, pure non-metricity and mixed quadratic parity even parts.Footnote 9 Let us highlight that the matter action we are considering here can (and will) in general depend on the connection which will result in a non-vanishing hypermomentum tensor. Varying the above action independently with respect to the metric and the affine connection, after some long calculations we obtain the field equations

g-Variation

$$\begin{aligned}&R_{(\mu \nu )}-\frac{R}{2}g_{\mu \nu }-\frac{{\mathcal {L}}_{2}}{2}g_{\mu \nu }\nonumber \\&\quad +\frac{1}{\sqrt{-g}}(2S_{\alpha }-\nabla _{\alpha })\Big ( \sqrt{-g}(W^{\alpha }_{\;\;\;(\mu \nu )}\nonumber \\&\quad +\Pi ^{\alpha }_{\;\;\;(\mu \nu )})\Big ) +A_{(\mu \nu )}+B_{(\mu \nu )}+C_{(\mu \nu )}=\kappa T_{\mu \nu } \end{aligned}$$
(25)

where we have defined

$$\begin{aligned} W^{\alpha }_{\;\;(\mu \nu )}= & {} 2 l_{1}Q^{\alpha }_{\;\;\mu \nu }+2 l_{2}Q_{(\mu \nu )}^{\;\;\;\;\alpha }+(2 l_{3}Q^{\alpha }+l_{5}q^{\alpha })g_{\mu \nu }\nonumber \\&+(2 l_{4}q_{(\mu } + l_{5}Q_{(\mu })\delta ^{\alpha }_{\nu )} \end{aligned}$$
(26)
$$\begin{aligned} \Pi ^{\alpha \mu \nu }= & {} c_{1}S^{\alpha \mu \nu }+c_{2}g^{\mu \nu }S^{\alpha } +c_{3}g^{\alpha \mu }S^{\nu } \end{aligned}$$
(27)
$$\begin{aligned} A_{\mu \nu }= & {} l_{1}(Q_{\mu \alpha \beta }Q_{\nu }^{\;\;\alpha \beta }-2 Q_{\alpha \beta \mu }Q^{\alpha \beta }_{\;\;\;\;\nu })\nonumber \\&-l_{2}Q_{\alpha \beta (\mu }Q^{\beta \alpha }_{\;\;\;\;\nu )} +l_{3}(Q_{\mu }Q_{\nu }\nonumber \\&-2 Q^{\alpha }Q_{\alpha \mu \nu })-l_{4}q_{\mu }q_{\nu }-l_{5}q^{\alpha }Q_{\alpha \mu \nu } \end{aligned}$$
(28)
$$\begin{aligned} B_{\mu \nu }= & {} b_{1}(2S_{\nu \alpha \beta }S_{\mu }^{\;\;\;\alpha \beta }-S_{\alpha \beta \mu }S^{\alpha \beta }_{\;\;\;\;\nu })\nonumber \\&-b_{2}S_{\nu \alpha \beta }S_{\mu }^{\;\;\;\beta \alpha }+b_{3}S_{\mu }S_{\nu } \end{aligned}$$
(29)
$$\begin{aligned} C_{\mu \nu }= & {} \Pi _{\mu \alpha \beta }Q_{\nu }^{\;\;\;\alpha \beta } -( c_{1}S_{\alpha \beta \nu }Q^{\alpha \beta }_{\;\;\;\;\mu }\nonumber \\&+c_{2}S^{\alpha }Q_{\alpha \mu \nu }+c_{3}S^{\alpha }Q_{\mu \nu \alpha })=c_{1}(Q_{\mu }^{\;\;\;\alpha \beta }S_{\nu \alpha \beta }\nonumber \\&-S_{\alpha \beta \mu }Q^{\alpha \beta }_{\;\;\;\;\nu })+c_{2}(S_{\mu }Q_{\nu }-S^{\alpha }Q_{\alpha \mu \nu }) \end{aligned}$$
(30)

\(\Gamma \)-Variation

$$\begin{aligned}&\left( \frac{Q_{\lambda }}{2}+2 S_{\lambda }\right) g^{\mu \nu }-Q_{\lambda }^{\;\;\mu \nu }-2 S_{\lambda }^{\;\;\mu \nu }\nonumber \\&\quad +\left( q^{\mu } -\frac{Q^{\mu }}{2}-2 S^{\mu }\right) \delta _{\lambda }^{\nu }\nonumber \\&\quad +4 l_{1}Q^{\nu \mu }_{\;\;\;\;\lambda }+2 l_{2}(Q^{\mu \nu }_{\;\;\;\;\lambda }+Q_{\lambda }^{\;\;\;\mu \nu })+2 b_{1}S^{\mu \nu }_{\;\;\;\;\lambda } \nonumber \\&\quad +2 b_{2}S_{\lambda }^{\;\;\;[\mu \nu ]}+c_{1}\Big ( S^{\nu \mu }_{\;\;\;\;\lambda }-S_{\lambda }^{\;\;\;\nu \mu }+Q^{[\mu \nu ]}_{\;\;\;\;\;\lambda }\Big )\nonumber \\&\quad +\delta _{\lambda }^{\mu }\Big ( 4 l_{3}Q^{\nu }+2 l_{5}q^{\nu }+2 c_{2}S^{\nu }\Big )\nonumber \\&\quad +\delta _{\lambda }^{\nu }\Big ( l_{5}Q^{\mu }+2 l_{4}q^{\mu }+ c_{3}S^{\mu }\Big ) \nonumber \\&\quad +g^{\mu \nu }\Big (l_{5} Q_{\lambda }+2 l_{4}q_{\lambda }+c_{3}S_{\lambda } \Big )\nonumber \\&\quad +\Big ( c_{2} Q^{[\mu }+ c_{3}q^{[\mu }+2 b_{3}S^{[\mu }\Big ) \delta ^{\nu ]}_{\lambda } =\kappa \Delta _{\lambda }^{\;\;\;\mu \nu } \end{aligned}$$
(31)

The metric field equations (25) are the analogue of the Einstein field equations where now apart from the explicit additional terms of torsion and non-metricity, both the Ricci tensor and scalar contain post-Riemannian pieces as well. The exact deviation from the usual field equations of GR will be clear after we solve for the affine connection and substitute all post-Riemannian expansions back in (25). This will be clearly illustrated in what follows. Before we move on to solve for the connection let us elaborate a little bit in the metric field equations. Taking the trace of the latter we obtain

$$\begin{aligned}&\Big ( 1-\frac{n}{2} \Big ) R+\Big ( 1-\frac{n}{2} \Big ) {\mathcal {L}}_{2}\nonumber \\&\quad -\frac{1}{\sqrt{-g}}{\tilde{\nabla }}_{\alpha }\Big (\sqrt{-g}(\Pi ^{\alpha }+W^{\alpha })\Big )=\kappa T \end{aligned}$$
(32)

where

$$\begin{aligned} \Pi ^{\alpha }:=\Pi ^{\alpha }_{\;\;\mu \nu }g^{\mu \nu }=(c_{1}+n c_{2}+c_{3})S^{\alpha } \end{aligned}$$
(33)
$$\begin{aligned} W^{\alpha }:= & {} W^{\alpha }_{\;\;\mu \nu }g^{\mu \nu }=(2 l_{1}+2 n l_{3}+l_{5})Q^{\alpha }\nonumber \\&+(2 l_{2} +2 l_{4}+n l_{5})q^{\alpha } \end{aligned}$$
(34)

Expanding out the Ricci scalar into its Riemannian part plus non-Riemannian contributions, Eq. (32) becomes

$$\begin{aligned}&{\tilde{R}} + \Big ( l_{1}+\frac{1}{4}\Big ) Q_{\alpha \mu \nu }Q^{\alpha \mu \nu } + \Big ( l_{2}-\frac{1}{2}\Big )Q_{\alpha \mu \nu }Q^{\mu \nu \alpha } \nonumber \\&\quad + \Big ( l_{3}-\frac{1}{4}\Big )Q_{\mu }Q^{\mu }+ l_{4}q_{\mu }q^{\mu }+ \Big ( l_{5}+\frac{1}{2}\Big )Q_{\mu }q^{\mu } \nonumber \\&\quad +(b_{1}+1)S_{\alpha \mu \nu }S^{\alpha \mu \nu } + (b_{2}-2)S_{\alpha \mu \nu }S^{\mu \nu \alpha } \nonumber \\&\quad + (b_{3}-4)S_{\mu }S^{\mu } + (c_{1}+2)Q_{\alpha \mu \nu }S^{\alpha \mu \nu }\nonumber \\&\quad + (c_{2}-2)Q_{\mu }S^{\mu } + (c_{3}+2)q_{\mu }S^{\mu } \nonumber \\&\quad -\frac{2}{(2-n)}\frac{1}{\sqrt{-g}}{\widetilde{\nabla }}_{\mu }\Big [ \sqrt{-g}\Big ( (2l_{2}+ 2 l_{4}+n l_{5}+1)q^{\mu }\nonumber \\&\quad +(2 l_{1} +2 n l_{3}+l_{5}-1)Q^{\mu }+(c_{1}+n c_{2}+c_{3}-4)S^{\mu } \Big ) \Big ] \nonumber \\&\quad =\frac{2}{(2-n)}\kappa T \end{aligned}$$
(35)

Note that for the parameter choice \(l_{1}=-l_{3}=-1/4\), \(l_{2}=-l_{5}=1/2\), \(l_{4}=0\), \(b_{1}=-1\), \(b_{2}=1\), \(b_{3}=4\) , \(c_{1}=-c_{2}=c_{3}=-2\) all non-Riemannian pieces of torsion and non-metricity disappear and (35) is the same with the trace of Einstein’s field equations of GR. The same holds true for the Ricci tensor and essentially the Theory is GR for this parameter choice. Of course this is no surprise, since choosing the parameters this way all the additional quadratic torsion and non-metricity terms exactly cancel the corresponding ones coming from the post Riemannian expansion of the Ricci scalar yielding just \({\tilde{R}}\) in the end. However, this is extreme fine tuning and in order to keep our discussion as general as possible we shall not impose any a priori relation among the couplings of the Theory.

6 Solving for the affine connection

We shall now pursue to solve for the affine connection and derive its exact form for the quadratic Theory of the previous section. Even though the connection field equations (31) are fairly complicated as we show below, using a certain result and also performing a simple trick the general solution can be obtained quite easily. We are going to use the following Theorem which we state here without proof. The detailed proof can be found in [30].

Theorem 1

Consider the 15 parameter linear tensor equation

$$\begin{aligned}&a_{1}N_{\alpha \mu \nu }+a_{2}N_{\nu \alpha \mu }+a_{3}N_{\mu \nu \alpha }+a_{4}N_{\alpha \nu \mu }+a_{5}N_{\nu \mu \alpha }\nonumber \\&\quad +a_{6}N_{\mu \alpha \nu }+\sum _{i=1}^{3}\Big ( a_{7i}N^{(i)}_{\mu }g_{\alpha \nu }+a_{8i}N^{(i)}_{\nu }g_{\alpha \mu }\nonumber \\&\quad +a_{9i}N^{(i)}_{\alpha }g_{\mu \nu } \Big )=B_{\alpha \mu \nu } \end{aligned}$$
(36)

where \(N_{\alpha \mu \nu }\) are the components of the unknown tensor field, \(B_{\alpha \mu \nu }\) the components of a given (known) tensor field and \(a_{i}\), \(i=1,2,...,6\) and \(a_{6+j,l}\), \(l,j=1,2,3\) are scalars. Define the matricesFootnote 10

$$\begin{aligned} \Gamma := \begin{pmatrix} \gamma _{11} &{} \gamma _{12} &{} \gamma _{13} \\ \gamma _{21} &{} \gamma _{22} &{} \gamma _{23} \\ \gamma _{31} &{} \gamma _{32} &{} \gamma _{33} \\ \end{pmatrix} \end{aligned}$$
(37)

and

$$\begin{aligned} A := \begin{pmatrix} a_{1} &{} a_{2} &{} a_{3} &{} a_{4} &{} a_{5} &{} a_{6} \\ a_{3} &{} a_{1} &{} a_{2} &{} a_{5} &{} a_{6} &{} a_{4} \\ a_{2} &{} a_{3} &{} a_{1} &{} a_{6} &{} a_{4} &{} a_{5} \\ a_{4} &{} a_{6} &{} a_{5} &{} a_{1} &{} a_{3} &{} a_{2} \\ a_{5} &{} a_{4} &{} a_{6} &{} a_{2} &{} a_{1} &{} a_{3} \\ a_{6} &{} a_{5} &{} a_{4} &{} a_{3} &{} a_{2} &{} a_{1} \\ \end{pmatrix} \end{aligned}$$
(38)

Then, given that both of the above matrices are non-singular, the unique solution to (36) reads

$$\begin{aligned} N_{\alpha \mu \nu }&={\tilde{a}}_{11} B_{\alpha \mu \nu }+{\tilde{a}}_{12}{\hat{B}}_{\nu \alpha \mu }+{\tilde{a}}_{13}{\hat{B}}_{\mu \nu \alpha }+{\tilde{a}}_{14}{\hat{B}}_{\alpha \nu \mu } \nonumber \\&\quad +{\tilde{a}}_{15} {\hat{B}}_{\nu \mu \alpha }+{\tilde{a}}_{16} {\hat{B}}_{\mu \alpha \nu } \end{aligned}$$
(39)

where \({\tilde{a}}_{1j}\) \(j=1,2,...,6\) are the first row elements of the inverse matrix \(A^{-1}\) (see Appendix) and

$$\begin{aligned} {\hat{B}}_{\alpha \mu \nu }&={B}_{\alpha \mu \nu }-\sum _{i=1}^{3}\sum _{j=1}^{3}\Big ( a_{7i}{\tilde{\gamma }}_{ij}B^{(j)}_{\mu }g_{\alpha \nu }+a_{8i}{\tilde{\gamma }}_{ij}B^{(j)}_{\nu }g_{\alpha \mu }\nonumber \\&\quad +a_{9i}{\tilde{\gamma }}_{ij}B^{(j)}_{\alpha }g_{\mu \nu }\Big ) \end{aligned}$$
(40)

where \({\tilde{\gamma }}_{ij}\), \(i,j=1,2,3\) are the elements of the inverse matrix of \(\Gamma \).

An immediate consequence of the above result is the following.

Corollary 1

If \(B_{\alpha \mu \nu }=0\) and both matrices A and \(\Gamma \) are not singular then \(N_{\alpha \mu \nu }=0\) is the unique solution of (36).

Let us now go back into the field equations of the quadratic Theory and in particular consider the connection field equations (31).

A clever trick now will allow us to solve for the connection. The crucial step is to use equations (5) and also their contractions (see appendix) in order eliminate torsion and non-metricity and express everything in terms of the distortion tensor and its associated vectors. After some lengthy but rather straightforward algebra we finally arrive at

$$\begin{aligned}&( 4l_{1}+b_{1}-c_{1})N_{\alpha \mu \nu }+\Big ( -1+2 l_{2}+\frac{c_{1}+b_{2}}{2}\Big )N_{\nu \alpha \mu }\nonumber \\&\quad +\Big ( -1+2 l_{2}+\frac{c_{1}+b_{2}}{2}\Big )N_{\mu \nu \alpha }\nonumber \\&\quad +(2 l_{2}-b_{1}+c_{1})N_{\alpha \nu \mu }+\Big ( 2 l_{2}-\frac{b_{2}}{2}\Big ) N_{\nu \mu \alpha }\nonumber \\&\quad +\Big ( 4 l_{1}-\frac{b_{2}}{2}-c_{1}\Big ) N_{\mu \alpha \nu } \nonumber \\&\quad +\left( 2 l_{5}+c_{2}-\frac{b_{3}+c_{3}}{2}\right) g_{\nu \alpha } N^{(1)}_{\mu }\nonumber \\&\quad +\left( 2 l_{4}+\frac{b_{3}}{2}+c_{3}\right) g_{\nu \alpha } N^{(2)}_{\mu }+\left( 1+ 2l_{4}+\frac{c_{3}}{2}\right) g_{\nu \alpha } N^{(3)}_{\mu } \nonumber \\&\quad +\left( 8 l_{3}- 2 c_{2}+\frac{b_{3}}{2}\right) g_{\mu \alpha }N^{(1)}_{\nu }\nonumber \\&\quad +\left( 2 l_{5}+c_{2} -\frac{c_{3}+b_{3}}{2}\right) g_{\mu \alpha }N^{(2)}_{\mu }\nonumber \\&\quad +\left( 2 l_{5}-\frac{c_{3}}{2}\right) g_{\mu \alpha }N^{(3)}_{\nu } \nonumber \\&\quad +\left( 2 l_{5}-\frac{c_{3}}{2}\right) g_{\mu \nu } N^{(1)}_{\alpha }+\left( 2 l_{4}+\frac{c_{3}}{2}+1\right) g_{\mu \nu }N^{(2)}_{\alpha }\nonumber \\&\quad +2 l_{4}g_{\mu \nu }N^{(3)}_{\alpha } =\kappa \Delta _{\alpha \mu \nu } \end{aligned}$$
(41)

Now we see that the latter equation falls in the case of Theorem 1 with the obvious identifications among the parameters \(\alpha _{i}\) and \(l_{i}, b_{j}, c_{k}\) etc. Therefore, in applying Theorem 1 to the latter and setting \(B_{\alpha \mu \nu }=\kappa \Delta _{\alpha \mu \nu }\) we solve for the distortion

$$\begin{aligned}&N_{\alpha \mu \nu }=\kappa \Big ( {\tilde{a}}_{11} {\hat{\Delta }}_{\alpha \mu \nu }+{\tilde{a}}_{12}{\hat{\Delta }}_{\nu \alpha \mu }\nonumber \\&\quad +{\tilde{a}}_{13}{\hat{\Delta }}_{\mu \nu \alpha }+{\tilde{a}}_{14}{\hat{\Delta }}_{\alpha \nu \mu } \nonumber \\&\quad +{\tilde{a}}_{15} {\hat{\Delta }}_{\nu \mu \alpha }+{\tilde{a}}_{16} {\hat{\Delta }}_{\mu \alpha \nu }\Big ) \end{aligned}$$
(42)

where

$$\begin{aligned} {\hat{\Delta }}_{\alpha \mu \nu }= & {} \Delta _{\alpha \mu \nu }-\sum _{i=1}^{3}\sum _{j=1}^{3}\Big ( a_{7i}{\tilde{\gamma }}_{ij}\Delta ^{(j)}_{\mu }g_{\alpha \nu }\nonumber \\&+a_{8i}{\tilde{\gamma }}_{ij}\Delta ^{(j)}_{\nu }g_{\alpha \mu }+a_{9i}{\tilde{\gamma }}_{ij}\Delta ^{(j)}_{\alpha }g_{\mu \nu }\Big ) \end{aligned}$$
(43)

In deriving the above we have assumed that the parameters of the Quadratic Theory are totally independentFootnote 11 and as a result \(det(A)\ne 0\) and \(\det (\Gamma )\ne 0\) which imply that indeed (39) is the unique solution of (41). Here, the \({\tilde{\gamma }}_{ij}'s\) are the first row elements of the inverse matrix \(\Gamma ^{-1}\). The relations of the \(\gamma _{ij}'s\) with the parameters of the quadratic Theory are given in the appendix. Having solved for the distortion we then substitute this form back in the connection decomposition and find the exact expression for the affine connection in Quadratic MAG Theories, which reads

$$\begin{aligned} \Gamma ^{\lambda }_{\;\;\;\mu \nu }&={\tilde{\Gamma }}^{\lambda }_{\;\;\;\mu \nu }+\kappa \Big ( {\tilde{a}}_{11} {\hat{\Delta }}_{\alpha \mu \nu }+{\tilde{a}}_{12}{\hat{\Delta }}_{\nu \alpha \mu }+{\tilde{a}}_{13}{\hat{\Delta }}_{\mu \nu \alpha }\nonumber \\&\quad +{\tilde{a}}_{14}{\hat{\Delta }}_{\alpha \nu \mu } +{\tilde{a}}_{15} {\hat{\Delta }}_{\nu \mu \alpha }+{\tilde{a}}_{16} {\hat{\Delta }}_{\mu \alpha \nu }\Big ) \end{aligned}$$
(44)

with this we can then easily find the forms of torsion and non-metricity, sourced by arbitrary hypermomentum, as

$$\begin{aligned} S_{\mu \nu \alpha }&=\kappa \Big [ ({\tilde{a}}_{11}-{\tilde{a}}_{14}){\hat{\Delta }}_{\alpha [\mu \nu ]}+({\tilde{a}}_{13}-{\tilde{a}}_{15}){\hat{\Delta }}_{[\mu \nu ]\alpha }\nonumber \\&\quad +({\tilde{a}}_{16}-{\tilde{a}}_{12}){\hat{\Delta }}_{[\mu |\alpha |\nu ]}\Big ] \end{aligned}$$
(45)

and

$$\begin{aligned} Q_{\alpha \mu \nu }&=2 \kappa \Big [ ({\tilde{a}}_{11}+{\tilde{a}}_{16}){\hat{\Delta }}_{(\mu \nu )\alpha }+({\tilde{a}}_{12}+{\tilde{a}}_{15}){\hat{\Delta }}_{\alpha (\mu \nu )}\nonumber \\&\quad +({\tilde{a}}_{13}+{\tilde{a}}_{14}){\hat{\Delta }}_{(\mu |\alpha |\nu )}\Big ] \end{aligned}$$
(46)

respectively. These last two expressions show how the sources (hypermomentum) excite the non-Riemannian degrees of freedom. It is interesting to note that when \({\tilde{a}}_{11}={\tilde{a}}_{14}\), \({\tilde{a}}_{13}={\tilde{a}}_{15}\) and \({\tilde{a}}_{16}={\tilde{a}}_{12}\), torsion vanishes for arbitrary hypermomentum, while for \({\tilde{a}}_{11}=-{\tilde{a}}_{16}\), \({\tilde{a}}_{12}=-{\tilde{a}}_{15}\) and \({\tilde{a}}_{13}=-{\tilde{a}}_{14}\) spacetime non-metricity identically vanishes, again without any assumption about the sources. Note also that there are no parameter values for which both \(S_{\mu \nu \alpha }=0\) and \(Q_{\alpha \mu \nu }=0\) at the same time.Footnote 12 It also immediately follows from Corollary-1 that when the hypermomentum sources are switched-off, the Theory reduces to GR. Therefore, we have the following result.

Corollary 2

In vacuum (or more generally when the matter decouples from the connection) the quadratic Theory is indistinguishable from General Relativity as in Einstein–Cartan case.

Let us now examine two characteristic cases for the hypermomentum tensor.

6.1 Totally Antisymmetric Hypermomentum (Purely Fermionic Matter)

For purely fermionic matter sectorsFootnote 13 the hypermomentum is totally antisymmetric and it is given by the spin tensor, according to

$$\begin{aligned} \Delta _{\alpha \mu \nu }=\Delta _{[\alpha \mu \nu ]} \end{aligned}$$
(47)

In this case the torsion tensor becomes

$$\begin{aligned} S_{\alpha \mu \nu }=\kappa \Big ({\tilde{a}}_{11}+{\tilde{a}}_{12}+{\tilde{a}}_{13}-{\tilde{a}}_{14}-{\tilde{a}}_{15}-{\tilde{a}}_{16}\Big )\Delta _{\alpha \mu \nu } \end{aligned}$$
(48)

while non-metricity identically vanishes

$$\begin{aligned} Q_{\alpha \mu \nu }\equiv 0 \end{aligned}$$
(49)

Therefore, as expected we confirm that fermions cannot excite non-metricity and only induce spacetime torsion that is totally antisymmetric (i.e. only the \(t^{\mu }\) part of the full tensor is excited).

6.2 Totally symmetric hypermomentum

In the case of totally symmetric hatted hypermomentum, that is \({\hat{\Delta }}_{\alpha \mu \nu }={\hat{\Delta }}_{(\alpha \mu \nu )}\), not surprisingly the roles of torsion and non-metricity are reversed. In particular, for such a matter configuration, torsion vanishes identically

$$\begin{aligned} S_{\alpha \mu \nu } \equiv 0 \end{aligned}$$
(50)

while non-metricity contains only the totally symmetric part

$$\begin{aligned} Q_{\alpha \mu \nu }=\kappa \Big ({\tilde{a}}_{11}+{\tilde{a}}_{12}+{\tilde{a}}_{13}+{\tilde{a}}_{14}+{\tilde{a}}_{15}+{\tilde{a}}_{16}\Big ){\hat{\Delta }}_{\alpha \mu \nu } \end{aligned}$$
(51)

We should mention however that even though a totally antisymmetric hypermomentum tensor possesses some physical substance (i.e fermionic matter), there are not (as yet) known examples of fundamental particles carrying a totally symmetric hypermomentum.

7 Effective GR with hypermomentum contributions

Having successfully solved for the affine connection in terms of the hypermomentum sources we can then consider the full post-Riemannian expansion of the metric field equations (25). After some lengthy calculations (see appendix for details) we finally find

$$\begin{aligned}&\Big ( {\tilde{R}}_{\mu \nu }-\frac{{\tilde{R}}}{2}g_{\mu \nu }\Big ) =\kappa T_{\mu \nu } -{\tilde{\nabla }}_{\alpha }N^{\alpha }_{\;\;\;(\mu \nu )}\nonumber \\&\qquad +{\tilde{\nabla }}_{(\nu }N^{(2)}_{\mu )}-N^{(2)}_{\lambda }N^{\lambda }_{\;\;\;(\mu \nu )}+N^{\alpha }_{\;\;\;\lambda (\nu }N^{\lambda }_{\;\;\;\mu )\alpha }\nonumber \\&\qquad +\frac{1}{2}g_{\mu \nu }\Big [ {\tilde{\nabla }}_{\alpha }( N^{(3)\alpha }-N^{(2)\alpha })\nonumber \\&\qquad +N^{(3)}_{\alpha }N^{(2)\alpha }-N_{\alpha \beta \gamma }N^{\beta \gamma \alpha } \Big ] \nonumber \\&\qquad +\frac{g_{\mu \nu }}{2} \Big [ \Big ( \frac{b_{1}}{2}+ 2 l_{1}-c_{1}\Big ) N_{\alpha \beta \gamma }N^{\alpha \beta \gamma }\nonumber \\&\qquad + \Big ( -\frac{b_{1}}{2}+ l_{2}+c_{1}\Big )N_{\alpha \beta \gamma }N^{\alpha \gamma \beta } \nonumber \\&\qquad + \Big ( \frac{b_{2}}{2}+ 2 l_{2}+c_{1}\Big )N_{\alpha \beta \gamma }N^{\beta \gamma \alpha }\nonumber \\&\qquad + \Big ( -\frac{b_{2}}{2}+ 2 l_{1}+l_{2}-c_{1}\Big )N_{\mu \nu \alpha }N^{\nu \mu \alpha } \nonumber \\&\qquad +\Big ( \frac{b_{3}}{4}+4 l_{3}-c_{2} \Big )N^{(1)}_{\alpha }N^{(1)}_{\beta }g^{\alpha \beta }\nonumber \\&\qquad +\Big ( \frac{b_{3}}{4}+l_{4}+\frac{c_{3}}{4} \Big )N^{(2)}_{\alpha }N^{(2)}_{\beta }g^{\alpha \beta }\nonumber \\&\qquad +a _{4}N^{(3)}_{\mu }N^{(3)}_{\nu }g^{\mu \nu } \nonumber \\&\qquad +\Big ( 2 l_{5}-\frac{c_{3}}{2}+c_{2}-\frac{b_{3}}{2}\Big ) N^{(1)}_{\alpha }N^{(2)}_{\beta }g^{\alpha \beta } \nonumber \\&\qquad \!+\!\Big ( 2 l_{4}+\frac{c_{3}}{2}\Big )N^{(2)}_{\alpha }N^{(3)}_{\beta }g^{\alpha \beta }\!+\!\Big ( 2 l_{5}-\frac{c_{3}}{2}\Big ) N^{(1)}_{\alpha }N^{(3)}_{\beta }g^{\alpha \beta } \Big ] \nonumber \\&\qquad -\Big ( 2 l_{2}+\frac{c_{1}}{2}\Big )\frac{1}{\sqrt{-g}}(2S_{\beta }-\nabla _{\beta })\Big (\sqrt{-g}g^{\alpha \beta } N_{(\mu |\alpha |\nu )}\Big )\nonumber \\&\qquad -2 l_{2}\frac{1}{\sqrt{-g}}(2S_{\beta }-\nabla _{\beta })\Big (\sqrt{-g}g^{\alpha \beta }N_{\alpha (\mu \nu )}\Big ) \nonumber \\&\qquad - \Big ( 4 l_{1}-\frac{c_{1}}{2}\Big )\frac{1}{\sqrt{-g}}(2S_{\beta }-\nabla _{\beta })\Big (\sqrt{-g}g^{\alpha \beta } N_{(\mu \nu )\alpha }\Big ) \nonumber \\&\qquad -\frac{1}{\sqrt{-g}}(2S_{\alpha }-\nabla _{\alpha })\left[ \Big ( 4 l_{3}-\frac{c_{2}}{2}\Big )N^{\alpha (1)}g_{\mu \nu } \right. \nonumber \\&\qquad \left. +\Big ( l_{5} +\frac{c_{2}}{2}\Big )N^{\alpha (2)}g_{\mu \nu }+l_{5}N^{\alpha (3)}g_{\mu \nu }\right] \nonumber \\&\qquad -\frac{1}{\sqrt{-g}} (2S_{(\mu }-\nabla _{(\mu }) \left[ \Big ( 2 l_{5}-\frac{c_{3}}{2}\Big )N_{\nu )}^{(1)}\right. \nonumber \\&\qquad \left. +\Big ( 2 l_{4} +\frac{c_{3}}{2}\Big )N_{\nu )}^{(2)}+2 l_{4}N_{\nu )}^{(3)}\right] \nonumber \\&\qquad -\Big ( 2 l_{1}-\frac{c_{1}}{2}\Big ) N^{\alpha \beta }_{\;\;\;\;\mu }N_{\alpha \beta \nu }-\Big ( 2 l_{1}-\frac{c_{1}}{2}\Big ) N^{\alpha \beta }_{\;\;\;\;\mu }N_{\beta \alpha \nu }\nonumber \\&\qquad -\frac{c_{1}}{2}N^{\alpha \beta }_{\;\;\;\;(\mu }(N_{\beta |\nu )\alpha }+N_{\alpha |\nu )\beta } ) \nonumber \\&\qquad +(N^{\alpha \;\;\beta }_{\;\;(\nu }+N_{(\nu }^{\;\; \alpha \beta })\left[ 2 l_{1}N_{\alpha |\mu )\beta } + l_{2}N_{\beta |\mu )\alpha }\right. \nonumber \\&\qquad \left. +\Big ( 2 l_{1}-\frac{c_{1}}{2}\Big )N_{\mu )\alpha \beta }+\Big ( l_{2}+\frac{c_{1}}{2}\Big ) N_{\mu )\beta \alpha } \right] \nonumber \\&\qquad -\frac{1}{4}(N_{\beta (\nu |\alpha }-N_{\beta \alpha (\nu })\Big ( 2 b_{1}(N^{\beta \;\;\alpha }_{\;\;\mu )}-b_{2}N^{\alpha \;\;\beta }_{\;\;\mu )}\nonumber \\&\qquad -2 b_{1}N^{\beta \alpha }_{\;\;\;\mu )}+ b_{2}N^{\alpha \beta }_{\;\;\;\mu )}\Big )+b_{1}N_{\mu \alpha \beta }N_{\nu }^{\;\;[\alpha \beta ]} \nonumber \\&\quad +(N_{\mu \nu \alpha }+N_{\nu \mu \alpha })\left[ \Big ( 4 l_{3}-\frac{c_{2}}{2}\Big ) N^{(1)\alpha }\right. \nonumber \\&\qquad \left. +\Big ( l_{5} +\frac{c_{2}}{2} \Big ) N^{(2)\alpha }+ a_{5}N^{(3)\alpha } \right] \nonumber \\&\qquad -\Big ( 4 l_{3}-\frac{c_{3}}{2}\Big ) N_{\mu }^{(1)}N_{\nu }^{(1)}-\Big ( \frac{b_{3}}{4}-l_{4}\Big ) N_{\mu }^{(2)}N_{\nu }^{(2)}\nonumber \\&\qquad +l_{4} N_{\mu }^{(3)}N_{\nu }^{(3)} -\Big ( c_{3} -\frac{b_{3}}{2}\Big )\nonumber \\&\qquad N_{(\mu }^{(1)}N_{\nu )}^{(2)}+ 2 l_{4} N_{(\mu }^{(2)}N_{\nu )}^{(3)} \end{aligned}$$
(52)

and recall that

$$\begin{aligned} N_{\alpha \mu \nu }= & {} \kappa \Big ( {\tilde{a}}_{11} {\hat{\Delta }}_{\alpha \mu \nu }+{\tilde{a}}_{12}{\hat{\Delta }}_{\nu \alpha \mu }\nonumber \\&\quad +{\tilde{a}}_{13}{\hat{\Delta }}_{\mu \nu \alpha }+{\tilde{a}}_{14}{\hat{\Delta }}_{\alpha \nu \mu } +{\tilde{a}}_{15} {\hat{\Delta }}_{\nu \mu \alpha }+{\tilde{a}}_{16} {\hat{\Delta }}_{\mu \alpha \nu }\Big )\nonumber \\ \end{aligned}$$
(53)

That is, we see that the Theory is GR with modified/extended matter sources. Indeed, since the distortion is linear in the hypermomentum the extra terms appearing on the right-hand side of (52) are quadratic on the hypermomentum and linear in its derivatives. As a result, the source now is not solely given by the usual energy–momentum tensor of matter but we also have hypermomentum contributions. In this sense the microstructure of matter (hypermomentum) modifies the usual matter content in a highly non-trivial manner. Of course, given the complexity of (52) when all 11 parameters are included, no concrete conclusions can be drawn and the exact effects of these contributions depend both on the number of parameters included and on the given model for the hypermomentum source that one considers.

8 Generalized quadratic theory

It is worth stressing out that in applying the results of \(Theorem-1\) in order to solve Eq. (41) for the affine connection, nowhere did we assume that the coefficients \(l_{i}\), \(b_{j}\) and \(c_{k}\) are constants. Subsequently, the main result for the affine connection will continue to hold true even if we promote the aforementioned constants to be spacetime functions. In particular, we have the following result.

Theorem 2

Let \(\Phi \) be a collection of matter fields (collectively denoted) and \(d\Phi \) their exterior derivatives. Furthermore, let \(l_{i}(\Phi , d \Phi )=l_{i}(\Phi , \partial \Phi )\), \(b_{j}(\Phi , \partial \Phi )\) and \(c_{j}(\Phi , \partial \Phi )\) \(i=1,2,...,5\), \(j=1,2,3\) be arbitrary functions continuous and differentiable in their arguments.Footnote 14 Then, for the general class of Theories given by the action

$$\begin{aligned} S[g, \Gamma , \Phi ]= & {} \frac{1}{2 \kappa }\int d^{n}x \sqrt{-g} \Big [ R+ b_{1}(\Phi , \partial \Phi )S_{\alpha \mu \nu }S^{\alpha \mu \nu }\nonumber \\&+ b_{2}(\Phi , \partial \Phi )S_{\alpha \mu \nu }S^{\mu \nu \alpha } + b_{3}(\Phi , \partial \Phi )S_{\mu }S^{\mu } \nonumber \\&l_{1}(\Phi , \partial \Phi )Q_{\alpha \mu \nu }Q^{\alpha \mu \nu } + l_{2}(\Phi , \partial \Phi )Q_{\alpha \mu \nu }Q^{\mu \nu \alpha }\nonumber \\&+ l_{3}(\Phi , \partial \Phi )Q_{\mu }Q^{\mu }+ l_{4}(\Phi , \partial \Phi )q_{\mu }q^{\mu }\nonumber \\&+ l_{5}(\Phi , \partial \Phi )Q_{\mu }q^{\mu } +c_{1}(\Phi , \partial \Phi )Q_{\alpha \mu \nu }S^{\alpha \mu \nu }\nonumber \\&+ c_{2}(\Phi , \partial \Phi )Q_{\mu }S^{\mu } + c_{3}(\Phi , \partial \Phi )q_{\mu }S^{\mu } \Big ] \nonumber \\&+S_{M}[g, \Gamma , \Phi ] \end{aligned}$$
(54)

the affine connection is given by

$$\begin{aligned} \Gamma ^{\lambda }_{\;\;\;\mu \nu }= & {} {\tilde{\Gamma }}^{\lambda }_{\;\;\;\mu \nu }+\kappa \Big ( {\tilde{a}}_{11} {\hat{\Delta }}_{\alpha \mu \nu }\nonumber \\&+{\tilde{a}}_{12}{\hat{\Delta }}_{\nu \alpha \mu }+{\tilde{a}}_{13}{\hat{\Delta }}_{\mu \nu \alpha }\nonumber \\&+{\tilde{a}}_{14}{\hat{\Delta }}_{\alpha \nu \mu } +{\tilde{a}}_{15} {\hat{\Delta }}_{\nu \mu \alpha }+{\tilde{a}}_{16} {\hat{\Delta }}_{\mu \alpha \nu }\Big ) \end{aligned}$$
(55)

where now \({\tilde{a}}_{ij}={\tilde{a}}_{ij}(\Phi , \partial \Phi )\) and \({\hat{\Delta }}_{\mu \nu \alpha }\) is given by (43).

Proof

Following an identical procedure with that of Sect. VI and by simply promoting the \(l_{i}'s, b_{j}'s\) and \(c_{j}'s\) to be functions of \(\Phi \) and \(d\Phi \) we arrive at the stated result.

Comment Note that in the action (54) are included Scalar–Tensor and Vector–Tensor Theories as special cases. We have therefore provided the exact form of the affine connection for Scalar–Tensor and Vector–Tensor Theories whose actions are of the same form as (54).

9 Conclusions

We have considered the most general parity even quadratic MAG Theory in n dimensions. The aforementioned Theory consists of the usual Einstein–Hilbert term along with the 11 parity even quadratic terms in torsion and non-metricity. Additionally, in order to keep things fairly general, we imposed no restriction on the matter sector, allowing it to have an arbitrary hypermomentum. Then, after deriving the field equations by varying with respect to the metric and the independent affine connection, we first focused on the latter connection field equations. By using a recent result on how to solve such linear but complicated tensor equations (see cf. [30]) we were able to find the exact solution for the affine connection in terms of the (arbitrary) hypermomentum and its traces. Given two fairly general non-degeneracy conditions, the uniqueness of our exact solution is also guaranteed. With this result we also extracted the exact forms of torsion and non-metricity for the general Theory.

Having obtained the exact form of the connection, we then used a post-Riemannian expansion on the metric-field equations and expressed the latter in an effective GR-like form with modified/extended source terms that depend quadratically on the hypermomentum and linearly on its derivative. These extra terms come on top of the usual energy–momentum tensor of matter and modify the matter content in a highly non-trivial manner, as seen from equation (52). Furthermore, the non-vanishing of the hypermomentum has a close relation with the intrinsic properties of matter [33]. With this in mind, we see that the additional modifications compared to GR have a very nice and clear physical interpretation, namely, the microstructure of matter modifies the gravitational field. However, the exact effect of this microstructure in the general case where all 11 parameters are included is not so easy to decode given the complexity of (52). Nevertheless, more manageable expressions and subsequently a better understanding of these additional hypermomentum terms can be acquired once a specific choice for the matter sector is made. It is also important to note that, just like in the Einstein–Cartan Theory, once the sources are switched off (i.e. vacuum case) the complicated quadratic Theory reduces to GR. In other words, the new interactions are tied to matter (i.e. they do not propagate) and as a result outside matter the quadratic Theory is indistinguishable from GR but changes considerably when matter with intrinsic structure is considered.

Going one step further we considered the general class of quadratic Metric-Affine Theories as given by (54) where now the coupling constants between the torsion and non-metricity invariants have been promoted to functions (of some given matter fields). Employing the same procedure with the case of constant coefficients we were able to solve again for the affine connection. In this generalization specific Scalar–Tensor and Vector–Tensor Metric-Affine Theories are also included. Therefore, our results here will be of prominent importance in analysing such Theories. Another very interesting application would be to compute the right hand-side of (52) for specific matter types (i.e given \(T_{\mu \nu }\) and \(\Delta _{\alpha \mu \nu }\) tensors) and see what the new interactions look like especially in comparison with the Einstein–Cartan Theory.