I want to compute the following numerical integral in Mathematica
$\int_0^L dy \int_0^y d \bar{y} f(y,\bar{y}),$
where $f(y,\bar{y})$ is a very complicated function.
I show my code below where the important line is the last one where I define the integral that I want to make. My problem is that when I try to compute for example
t1[4, L, co, QS]
it takes much more time than I should expect. So my question is: What is the fastest numerical integral method for dealing with this kind of integrals?
gaussexp[pol_, arg_] := Coefficient[pol, arg, 1]^2/(-4 Coefficient[pol, arg, 2]) + Coefficient[pol, arg, 0]
gaussfac[pol1_, pol2_, arg_] := -Pi / Coefficient[pol2, arg, 2] (Coefficient[pol1, arg, 0] + Coefficient[pol1, arg, 1] Coefficient[pol2, arg, 1]/(-2 Coefficient[pol2, arg, 2]) + Coefficient[pol1, arg, 2] (1 + Coefficient[pol2, arg, 1]^2/(-2 Coefficient[pol2, arg, 2]))/(-2 Coefficient[pol2, arg, 2]))
G1[y_, yb_, xp_, yp_] := Exp[-I k (y - yb) - Qs^2/4 (y - yb)^2 (xp - yp)/lp]
G2[x_, y_, yb_] := (-I Qs^2/(2 Pi a1)) Exp[I Qs^2/(2 a1) (x - y)^2 + I Qs^2/8 a1 1/180 (15 (y - yb)^2 + 15 (y - yb) (x - y) + 4 (x - y)^2) - Qs^2/4 ((y - yb)^2 + (y - yb) (x - y) + 1/3 (x - y)^2)]
der = Simplify[D[G1[u, yb, lp, xb], yb] D[G2[u, y, yb], y]] Exp[-Qs^2/4 (y - yb)^2 a3];
exp2 = Exponent[der, E];
fac2 = der/Exp[exp2];
solexp = gaussexp[exp2, u];
solfac = gaussfac[fac2, exp2, u];
expt1a = gaussexp[solexp + I q1 y - I q2 yb, y];
fact1a = gaussfac[solfac, solexp + I q1 y - I q2 yb, y];
η = 2;
L = 30/Cosh[η];
QS = 1;
μt = 2/10;
co = Sqrt[2] Exp[-η] QS L;
exp = Simplify[
expt1a /. {yb -> 0, lp -> l, a1 -> e (xb - x)/l, a3 -> x/l, k -> ke, q1 -> qe}];
fac = Simplify[
fact1a /. {yb -> 0, lp -> l, a1 -> e (xb - x)/l, a3 -> x/l, k -> kf, q1 -> qf}];
exp2 = exp /. {qe^2 -> q^2, qe ke -> q k Cos[t], ke^2 -> k^2};
fac2 = fac /. {qf^2 -> q^2, kf qf -> q k Cos[t], kf^2 -> k^2};
t1[k1_, l1_, e1_, Qs1_] :=
2 Re[NIntegrate[
k1^2 e1^2/(Qs1^4 l1^2) fac2 Exp[exp2] /. {k -> k1, l -> l1, e -> e1, Qs -> Qs1},
{q, 0, Infinity}, {t, 0, 2 Pi}, {x, 0, l1}, {xb, 0, x}]
]