1 Introduction

Tippler’s criterion [1] distinguishes between weak and strong spacetime singularities based on whether structures can withstand the tidal forces within them. The application of this definition to cosmology has led to the discovery of interesting singular cosmological scenarios. Besides obviously strong cosmological singularities like the Big Bang and the Big Rip, weak singularities have been uncovered in various scenarios [2,3,4,5]. These scenarios have distinct behavior of the scale factor, the pressure and the energy density at the time of the singularity. It is worth noting that the evolution of the universe can be extended beyond any weak singularity [6, 7].

The Sudden Future Singularity (SFS), commonly referred to as a type II singularity, emerges in a homogeneous universe described by the FLRW metric [2]. These singularities have also been identified in anisotropic cosmologies [3]. This study focuses on constructing scenarios centered around SFS without relying on a specific equation of state. Instead, the scale factor is defined as a unique function of time. The singularity manifests at a finite time point, characterized by a divergence in pressure. However, both the scale factor and energy density remain constant. Notably, the SFS only breaches the dominant energy condition. Recent studies have proposed SFS as potential contributors to dark energy [8, 9].

Historically, type II singularities in cosmological models have been instrumental in illustrating the scale-dependent evolution of perturbations in dark matter and dark energy [10]. These singularities were predominantly believed to arise after the current phase of the Universe’s evolution. However, their mild nature, indicating potential evolution post-occurrence [11], makes it plausible to introduce cosmological scenarios with past type II singularities and assess their feasibility against observational data.

A promising research avenue involves identifying past signatures of such singularities. This investigative direction is being actively pursued. For instance, in [12], the authors delved into the implications of a late-time pressure singularity on the Earth’s and solar system’s historical trajectory. They theorized that the elliptical orbits of planets around the sun and the moon around the Earth might have been subtly influenced by this pressure singularity. Such alterations could lead to observable shifts in the Earth’s climate and sea levels. Additionally, [13] explored the potential impact of a past pressure singularity on the shadows and photon orbits of cosmological supermassive black holes, suggesting that these effects could be discernible for future generations.

Moreover, the impact of other weak singularities, such as type IV, on subsequent cosmic evolution has been previously investigated. Within the F(R) gravity framework, the concept of type IV singular bouncing has been analyzed and compared with other bouncing cosmological models [14, 15]. This exploration extended to the evolution of inflationary paradigms, emphasizing both inflaton fields and modified gravity theories predicting sudden future singularities, especially type IV singularities. In the broader context of general scalar-tensor cosmologies and models steered by phenomenological equations of state, research has delved into the influence of singularities on cosmological primordial perturbations and Hubble flow parameters [15,16,17,18,19,20,21]. An extensive review of all types of finite-time cosmological singularities has been conducted in [22].

Our paper is organized as follows. In Sect. 2, we present a scenario featuring a type II singularity that occurs during the past evolution of the Universe. Next, in Sect. 3, we provide details about the data used to constrain the parameters of the model based on the aforementioned scenario. Finally, in Sect. 4, we present the results of our analysis and draw conclusions about the viability of the proposed model.

2 Type II singularity scenario

As we have previously mentioned type II singularities may appear in homogeneous and isotropic cosmological framework governed by the Friedmann equations:

$$\begin{aligned} \varrho (t)= & {} \frac{3}{8\pi G} \left( \frac{\dot{a}^2}{a^2} + \frac{kc^2}{a^2}\right) ~, \end{aligned}$$
(1)
$$\begin{aligned} p(t)= & {} - \frac{c^2}{8\pi G} \left( 2 \frac{\ddot{a}}{a} + \frac{\dot{a}^2}{a^2} + \frac{kc^2}{a^2} \right) ~, \end{aligned}$$
(2)

where \(a\equiv a(t)\) is the scale factor, the dot represents a differentiation with respect to time t, \(\rho (t)\) is the energy density, p(t) denotes the pressure, G and c represent the gravitational constant and the speed of light, respectively, and \(k=0, \pm 1\) is the curvature index. The Bianchi identity in such a framework is:

$$\begin{aligned} \dot{\varrho }(t) = - 3 \frac{\dot{a}}{a} \left( \varrho (t) + \frac{p(t)}{c^2} \right) ~. \end{aligned}$$
(3)

A cosmological scenario featuring a type II singularity in the past can be described by the following scale factor:

$$\begin{aligned} a(y) = a_s \left[ \delta + \left( 1 - \delta \right) y^m - \delta |1 - y| ^n \right] ~, \hspace{0.5cm} y \equiv \frac{t}{t_s}, \end{aligned}$$
(4)

where \(t_s\) is the time of occurrence of the type II singularity and \(a_s,\delta , m, n\) are constants with the contraint \(1<n<2\).

The difference between the type II singularity scenario considered in [2] and the scenario investigated in this paper is that the latter includes properly defined evolution for times that come after the singularity. It should be noted that extending the universe’s evolution beyond the type II singularity is only possible if the singularity itself is geodesically complete. The problem of geodesic completeness of the sudden future singularities in the case of FLRW cosmologies was already addressed in [6], where the fact that they are geodesically complete was rigorously proved. The proof uses the explicit form of the six generators of the group of isometries of the FLRW spacetime to construct the six constants of geodesic motion, which are three linear momenta and three angular momenta. With the help of such a set of conserved quantities, the geodesic equations are reduced to first-order differential equations, which, after a suitable rotation of the coordinate system, take the following form [6]:

$$\begin{aligned} \left( \frac{dt}{d\tau }\right) ^2= & {} \delta + \frac{P^2+k L^2}{a^2}, \end{aligned}$$
(5)
$$\begin{aligned} \frac{dr}{d\tau }= & {} \frac{P_{1}\,\cos \phi +P_{2}\,\sin \phi }{a^2 f(r)}, \end{aligned}$$
(6)
$$\begin{aligned} \frac{d\theta }{d\tau }= & {} 0, \end{aligned}$$
(7)
$$\begin{aligned} \frac{d\phi }{d\tau }= & {} \frac{L_{3}}{a^2 r^2}, \end{aligned}$$
(8)

where t, r, \(\theta \) and \(\phi \) are the usual coordinates on the FLRW spacetime with \(\theta =\frac{\pi }{2}\), \(\tau \) is the proper time experienced by an observer following the geodesic, \(f^2(r)=1/(1-kr^2)\) while P, L, \(P_{1}\), \(P_{2}\), \(L_{3}\) and \(\delta \) are constant numbers related to the constants of geodesic motion (for the explicit form of the generators of the group of isometries of the FLRW spacetime and the constants of geodesic motion see App. A). Since the equations (5), (6), (7), (8) are also valid for the FLRW spacetime with the type II singularity in the past introduced with ansatz (4), we conclude that geodesics experience the Big Bang singularity at \(t = 0\), but not the the type II singularity at \(t = t_s\) since the scale factor a remains to be finite there (exactly the same situation occurs at the sudden future singularity [6]). We also notice that the acceleration vector \(\left( \frac{d^2t}{d\tau ^2}, \frac{d^2r}{d\tau ^2}, \frac{d^2\theta }{d\tau ^2}, \frac{d^2\phi }{d\tau ^2}\right) \) is regular at the singularity as the both a and \(\dot{a}\) are finite at \(t=t_s\), and the divergences start to appear in higher-order derivatives, which, on the other hand, allows for properly defined geodesic equations. Another interesting point is that in the considered scenario the components of the Riemann tensor diverge as \(\ddot{a}\) for \(t\rightarrow t_s\). This means that extended objects experience instantaneous infinite tidal forces at the singularity. According to Tipler’s definition [1] a singularity at point P is strong if any volume spanned on three independent vorticity-free geodesic deviation vectors along every causal geodesic passing through P vanishes at that point. The necessary condition for a strong singularity to occur is the following function to diverge as \(\tau \rightarrow \tau _s\):

$$\begin{aligned} \int _{0}^{\tau }d\tau '\int _{0}^{\tau '}d\tau R_{\alpha \beta } u^\alpha u^\beta , \end{aligned}$$
(9)

where \(R_{\alpha \beta }\) are components of the Ricci tensor, \(u^\alpha \) are components of a geodesic tangent vector, and both integrals are evaluated along any given causal geodesic, parametrized in a way that it intersects the point suspected of being a strong singularity at its affine parameter \(\tau \), reaching \(\tau _s\) [23]. When the scale factor is given by (4), the components of the Ricci tensor diverge as \(n-2\) in the worst case, so performing the double integration in (9) results in a regular function. Thus, the type II singularity in the past introduced by the scale factor (4) is not a strong singularity in the sense of Tipler’s definition. This implies that infinite tidal forces acting at the singularity do not crush all extended bodies, allowing the universe’s evolution to continue after the singularity. An illustrative example of the above conclusion is cosmic strings, which, as shown in [11], can smoothly cross the type II singularity.

The appearance of antigravity regions in models with sudden future singularities is associated with the behavior of certain cosmological models where the effective gravitational constant can change its sign, leading to repulsive gravity effects. Several modified theories of gravity, including f(R) gravity, scalar-tensor theories [24, 25], and others, have been studied to understand the conditions under which antigravity regions and sudden future singularities can arise. In the present work, we consider the standard FLRW framework without scalar fields or modified gravity. The appearance of antigravity regions would be associated with the behavior of specific forms of matter or energy. For example, phantom energy, a form of dark energy with an equation of state parameter \(w < -1\), can lead to a Big Rip scenario where the universe ends in a finite time. In regions dominated by phantom energy, the effective gravitational interaction can be repulsive, leading to an accelerated expansion greater than that caused by a cosmological constant. Another avenue is violations of the Strong Energy Condition, which can lead to repulsive gravitational effects. Certain forms of matter or specific equations of state can violate this condition, leading to antigravity regions. However, within the framework we are considering, there exists a multitude of solutions that do not involve phantom energy and where the Strong Energy Condition (SEC) remains unviolated.

Let us notice that in the limit \(\delta \rightarrow 0\) one retrieves the standard Friedmann limit with no singularity at all. Additionally, we will assume that \(\delta <0\) since only models within that range exhibit accelerated expansion.

The scale factor (4) in the limit \(t\rightarrow 0\) (close to the Big-Bang) scales as \(y^m\) which emulates a barotropic perfect fluid with a barotropic index \(w=-1 + 2/3m\) and the standard characteristics of early Universe cosmology do not change provided an appropriate value of m is assumed. Take also note that condition \(w\ge -1/3\), in which case none of the energy conditions is violated, translates into \(0<m\le 1\) in the limit \(t\rightarrow 0\).

The redshift z of a cosmological object in the considered model is given by:

$$\begin{aligned} 1+z = \frac{a(y_0)}{a(y_1)} = \frac{\left[ \delta + \left( 1 - \delta \right) y_0^m - \delta |1 - y_0| ^n \right] ~}{\left[ \delta + \left( 1 - \delta \right) y_1^m - \delta |1 - y_1| ^n \right] ~}, \end{aligned}$$
(10)

where \(y_0 \equiv t_0/t_s\) and \(y_1 \equiv t_1/t_s\) with \(t_0\) and \(t_1\) being the times of signal reception and emission, respectively.

The dimensionless luminosity distance for a cosmological model described by FLRW flat (\(k=0\)) metric is:

$$\begin{aligned} d_L=(1+z)\int _{0}^{z}\frac{dz'}{E(z')}, \end{aligned}$$
(11)

with \(E(z)=H(z)/H_0\) where H(z) denotes a Hubble parameter and \(H_0\) represents its present-day value. Since we are bound to use the explicite form of the scale factor due to the lack of an analytic form of the equation of state the most appropriate form of (11) is:

$$\begin{aligned} d_L(z,\varvec{p})= \left( 1+z\right) a'(y_0)\int _{y_1}^{y_0}\frac{dy}{a\left( y\right) }, \end{aligned}$$
(12)

where \(\varvec{p} = (\delta ,m,n,y_0)\) is is a vector composed of the parameters of the model. Note that the lower limit of integration \(y_1\) in (12) can be computed using (10) for a specified values of the parameters \(\delta \), m, n, \(y_0\) and z.

3 Observational constraints

3.1 Type Ia supernovae

The Pantheon dataset [26] comprises 1048 type Ia supernovae (SNeIa) distributed over the redshift range \(0.01<z<2.26\). The corresponding \(\chi ^2_{SN}\) statistic is computed as

$$\begin{aligned} \chi ^2_{SN} = \Delta \varvec{\mathcal {\mu }}^{SN} \; \cdot \; \textbf{C}^{-1}_{SN} \; \cdot \; \Delta \varvec{\mathcal {\mu }}^{SN} \;, \end{aligned}$$
(13)

where \(\Delta \varvec{\mathcal {\mu }} = \mathcal {\mu }_\textrm{theo} - \mathcal {\mu }_\textrm{obs}\) is the difference between the theoretical and observed values of the distance modulus for each SNeIa, and \(\textbf{C}_{SN}\) represents the total covariance matrix. It should be noted that the full dataset is used, rather than a binned version. The distance modulus is defined as

$$\begin{aligned} \mu (z,\varvec{p}) = 5 \log _{10} [ d_{L}(z, \varvec{p}) ] +\mu _0 . \end{aligned}$$
(14)

Due to the degeneracy between the Hubble constant \(H_0\) and the SNeIa absolute magnitude (both of which are included in the nuisance parameter \(\mu _0\)), we marginalize \(\chi ^{2}_{SN}\) over \(\mu _0\) obtaining [27]

$$\begin{aligned} \chi ^2_{SN}=a+\log \left( \frac{d}{2\pi }\right) -\frac{b^2}{d}, \end{aligned}$$
(15)

where \(a\equiv \left( \Delta \varvec{\mathcal {\mu }}_{SN}\right) ^T \; \cdot \; \textbf{C}^{-1}_{SN} \; \cdot \; \Delta \varvec{\mathcal {\mu }}_{SN}\), \(b\equiv \left( \Delta \varvec{\mathcal {\mu }}^{SN}\right) ^T \; \cdot \; \textbf{C}^{-1}_{SN} \; \cdot \; \varvec{1}\), \(d\equiv \varvec{1}\; \cdot \; \textbf{C}^{-1}_{SN} \; \cdot \;\varvec{1}\) and \(\varvec{1}\) is the identity matrix.

3.2 Cosmic chronometers

The definition of CC is used for Early-Type galaxies which exhibit a passive evolution and a characteristic feature in their spectra [28], for which can be used as clocks and provide measurements of the Hubble parameter H(z) [29]. The sample we are going to use in this work is from [30] and covers the redshift range \(0<z<1.97\). The \(\chi ^2_{H}\) is defined as

$$\begin{aligned} \chi ^2_{H}= \sum _{i=1}^{24} \frac{\left( H(z_{i},\varvec{p})-H_{obs}(z_{i}) \right) ^{2}}{\sigma ^2_{H}(z_{i})} \; , \end{aligned}$$
(16)

where \(\sigma _{H}(z_{i})\) are the observational errors on the measured values \(H_{obs}(z_{i})\).

3.3 Gamma ray bursts

The standardization of gamma ray bursts (GRBs) is still a subject of debate. However, we focus on the “Mayflower” sample consisting of 79 GRBs in the redshift range \(1.44<z<8.1\) [31], as it has been calibrated using a robust cosmological model-independent procedure. The distance modulus is the observable probe related to GRBs, and the same method used for SNeIa is applied here. The goodness-of-fit measure for GRBs, \(\chi ^2_{GRB}\), is given by \(\chi ^2_{GRB}=a+\log d/(2\pi )-b^2/d\) as well, with \(a\equiv \left( \Delta \varvec{\mathcal {\mu }}^{G}\right) ^T \, \cdot \, \textbf{C}^{-1}_{G} \, \cdot \, \Delta \varvec{\mathcal {\mu }}^{G}\), \(b\equiv \left( \Delta \varvec{\mathcal {\mu }}^{G}\right) ^T \, \cdot \, \textbf{C}^{-1}_{G} \, \cdot \, \varvec{1}\) and \(d\equiv \varvec{1}\, \cdot \, \textbf{C}^{-1}_{G} \, \cdot \, \varvec{1}\).

4 Results and conclusions

We employed the MCMC Metropolis Hastings method to perform the analysis of the cosmological models featuring a type II singularity in the past evolution of the Universe. The total \(\chi ^2\) value used in the analysis was

$$\begin{aligned} \chi ^2=\chi ^2_{SN}+\chi ^2_{H}+\chi ^2_{GRB}. \end{aligned}$$
(17)

The resulting contour plots in Fig. 1 illustrate the marginalized distributions of model parameter pairs, computed jointly for type Ia supernovae, cosmic chronometers, and gamma ray bursts (the distributions for each parameter of the model are also displayed). Within these contour plots, two confidence intervals corresponding to the 68 and 95% credibility levels are indicated by dark green and light green areas, respectively. Our analysis reveals that the resulting cosmological models based on scenarios with the past type II singularity cannot be excluded by the kinematical tests using the current observational data. We can see that there exists an admissible value of \(m=2/3\), which aligns with the characteristics of a dust-filled Einstein-de-Sitter universe in the vicinity of Big Bang singularity. The marginalized distribution for \(y_0\) attains its highest value at the leftmost boundary of its prior aligning with the present moment in the evolution of the Universe. The fact that the distribution is highest at the left edge, indicating a higher likelihood or probability density for \(y_0<1\), suggests that the data tends to favor cosmological scenarios where the singularity occurs in the future (the proper Sudden Future Singularities). The validity of such models has been established in [9], where it was demonstrated that these models successfully satisfy numerous observational constraints.

Fig. 1
figure 1

The contour plots display the marginalized distributions for model parameter pairs, computed jointly for SN Ia, CC, and GRBs. Two confidence intervals, corresponding to 68 and 95% credibility levels (indicated by dark green and light green areas, respectively), are shown. The distributions for each parameter of the model are also presented

In conclusion main result of our work is that we demonstrated the viability of cosmological models featuring a type II singularity in the past evolution of the Universe. The presented plots provide evidence that these models remain consistent with the current observational data. Having sudden singularities in the past was already considered in the earlier works [12,13,14,15,16,17,18,19,20,21], and in principle such a scenario can not be simply excluded. It would be interesting to further search of signatures of occurrence of such type of singularities in the past. For example in the observed large scale structure of the universe, which would result from the occurrence of the singularity in the early stages of the evolution during the period of forming cosmic background radiation or taking place directly in the times of structure formation after the time of recombination. Or signatures in the cosmic background radiation itself. However, it is worth noting that the data appears to prefer models featuring the type II singularity in the future.