?

Average Accuracy: 68.7% → 76.4%
Time: 26.2s
Precision: binary64
Cost: 54724

?

\[ \begin{array}{c}[z, t] = \mathsf{sort}([z, t])\\ \end{array} \]
\[\left(2 \cdot \sqrt{x}\right) \cdot \cos \left(y - \frac{z \cdot t}{3}\right) - \frac{a}{b \cdot 3} \]
\[\begin{array}{l} t_1 := \frac{a}{3 \cdot b}\\ t_2 := z \cdot \left(t \cdot 0.3333333333333333\right)\\ t_3 := y - t_2\\ t_4 := \mathsf{fma}\left(-t, z \cdot 0.3333333333333333, t_2\right)\\ \mathbf{if}\;\cos \left(y - \frac{z \cdot t}{3}\right) \leq 0.84:\\ \;\;\;\;2 \cdot \left(\sqrt{x} \cdot \left(\cos t_3 \cdot \cos t_4 - \sin t_3 \cdot \sin t_4\right)\right) - t_1\\ \mathbf{else}:\\ \;\;\;\;\left|2 \cdot \left(\sqrt{x} \cdot \cos y\right)\right| - t_1\\ \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (- (* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0)))) (/ a (* b 3.0))))
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (/ a (* 3.0 b)))
        (t_2 (* z (* t 0.3333333333333333)))
        (t_3 (- y t_2))
        (t_4 (fma (- t) (* z 0.3333333333333333) t_2)))
   (if (<= (cos (- y (/ (* z t) 3.0))) 0.84)
     (-
      (* 2.0 (* (sqrt x) (- (* (cos t_3) (cos t_4)) (* (sin t_3) (sin t_4)))))
      t_1)
     (- (fabs (* 2.0 (* (sqrt x) (cos y)))) t_1))))
double code(double x, double y, double z, double t, double a, double b) {
	return ((2.0 * sqrt(x)) * cos((y - ((z * t) / 3.0)))) - (a / (b * 3.0));
}
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = a / (3.0 * b);
	double t_2 = z * (t * 0.3333333333333333);
	double t_3 = y - t_2;
	double t_4 = fma(-t, (z * 0.3333333333333333), t_2);
	double tmp;
	if (cos((y - ((z * t) / 3.0))) <= 0.84) {
		tmp = (2.0 * (sqrt(x) * ((cos(t_3) * cos(t_4)) - (sin(t_3) * sin(t_4))))) - t_1;
	} else {
		tmp = fabs((2.0 * (sqrt(x) * cos(y)))) - t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b)
	return Float64(Float64(Float64(2.0 * sqrt(x)) * cos(Float64(y - Float64(Float64(z * t) / 3.0)))) - Float64(a / Float64(b * 3.0)))
end
function code(x, y, z, t, a, b)
	t_1 = Float64(a / Float64(3.0 * b))
	t_2 = Float64(z * Float64(t * 0.3333333333333333))
	t_3 = Float64(y - t_2)
	t_4 = fma(Float64(-t), Float64(z * 0.3333333333333333), t_2)
	tmp = 0.0
	if (cos(Float64(y - Float64(Float64(z * t) / 3.0))) <= 0.84)
		tmp = Float64(Float64(2.0 * Float64(sqrt(x) * Float64(Float64(cos(t_3) * cos(t_4)) - Float64(sin(t_3) * sin(t_4))))) - t_1);
	else
		tmp = Float64(abs(Float64(2.0 * Float64(sqrt(x) * cos(y)))) - t_1);
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(2.0 * N[Sqrt[x], $MachinePrecision]), $MachinePrecision] * N[Cos[N[(y - N[(N[(z * t), $MachinePrecision] / 3.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] - N[(a / N[(b * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(a / N[(3.0 * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(t * 0.3333333333333333), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y - t$95$2), $MachinePrecision]}, Block[{t$95$4 = N[((-t) * N[(z * 0.3333333333333333), $MachinePrecision] + t$95$2), $MachinePrecision]}, If[LessEqual[N[Cos[N[(y - N[(N[(z * t), $MachinePrecision] / 3.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 0.84], N[(N[(2.0 * N[(N[Sqrt[x], $MachinePrecision] * N[(N[(N[Cos[t$95$3], $MachinePrecision] * N[Cos[t$95$4], $MachinePrecision]), $MachinePrecision] - N[(N[Sin[t$95$3], $MachinePrecision] * N[Sin[t$95$4], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision], N[(N[Abs[N[(2.0 * N[(N[Sqrt[x], $MachinePrecision] * N[Cos[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] - t$95$1), $MachinePrecision]]]]]]
\left(2 \cdot \sqrt{x}\right) \cdot \cos \left(y - \frac{z \cdot t}{3}\right) - \frac{a}{b \cdot 3}
\begin{array}{l}
t_1 := \frac{a}{3 \cdot b}\\
t_2 := z \cdot \left(t \cdot 0.3333333333333333\right)\\
t_3 := y - t_2\\
t_4 := \mathsf{fma}\left(-t, z \cdot 0.3333333333333333, t_2\right)\\
\mathbf{if}\;\cos \left(y - \frac{z \cdot t}{3}\right) \leq 0.84:\\
\;\;\;\;2 \cdot \left(\sqrt{x} \cdot \left(\cos t_3 \cdot \cos t_4 - \sin t_3 \cdot \sin t_4\right)\right) - t_1\\

\mathbf{else}:\\
\;\;\;\;\left|2 \cdot \left(\sqrt{x} \cdot \cos y\right)\right| - t_1\\


\end{array}

Error?

Target

Original68.7%
Target71.4%
Herbie76.4%
\[\begin{array}{l} \mathbf{if}\;z < -1.3793337487235141 \cdot 10^{+129}:\\ \;\;\;\;\left(2 \cdot \sqrt{x}\right) \cdot \cos \left(\frac{1}{y} - \frac{\frac{0.3333333333333333}{z}}{t}\right) - \frac{\frac{a}{3}}{b}\\ \mathbf{elif}\;z < 3.516290613555987 \cdot 10^{+106}:\\ \;\;\;\;\left(\sqrt{x} \cdot 2\right) \cdot \cos \left(y - \frac{t}{3} \cdot z\right) - \frac{\frac{a}{3}}{b}\\ \mathbf{else}:\\ \;\;\;\;\cos \left(y - \frac{\frac{0.3333333333333333}{z}}{t}\right) \cdot \left(2 \cdot \sqrt{x}\right) - \frac{\frac{a}{b}}{3}\\ \end{array} \]

Derivation?

  1. Split input into 2 regimes
  2. if (cos.f64 (-.f64 y (/.f64 (*.f64 z t) 3))) < 0.839999999999999969

    1. Initial program 69.4%

      \[\left(2 \cdot \sqrt{x}\right) \cdot \cos \left(y - \frac{z \cdot t}{3}\right) - \frac{a}{b \cdot 3} \]
    2. Simplified69.4%

      \[\leadsto \color{blue}{2 \cdot \left(\sqrt{x} \cdot \cos \left(y - \frac{z}{\frac{3}{t}}\right)\right) - \frac{a}{3 \cdot b}} \]
      Proof

      [Start]69.4

      \[ \left(2 \cdot \sqrt{x}\right) \cdot \cos \left(y - \frac{z \cdot t}{3}\right) - \frac{a}{b \cdot 3} \]

      associate-*l* [=>]69.4

      \[ \color{blue}{2 \cdot \left(\sqrt{x} \cdot \cos \left(y - \frac{z \cdot t}{3}\right)\right)} - \frac{a}{b \cdot 3} \]

      fma-neg [=>]69.4

      \[ \color{blue}{\mathsf{fma}\left(2, \sqrt{x} \cdot \cos \left(y - \frac{z \cdot t}{3}\right), -\frac{a}{b \cdot 3}\right)} \]

      remove-double-neg [<=]69.4

      \[ \mathsf{fma}\left(2, \color{blue}{-\left(-\sqrt{x} \cdot \cos \left(y - \frac{z \cdot t}{3}\right)\right)}, -\frac{a}{b \cdot 3}\right) \]

      fma-neg [<=]69.4

      \[ \color{blue}{2 \cdot \left(-\left(-\sqrt{x} \cdot \cos \left(y - \frac{z \cdot t}{3}\right)\right)\right) - \frac{a}{b \cdot 3}} \]

      remove-double-neg [=>]69.4

      \[ 2 \cdot \color{blue}{\left(\sqrt{x} \cdot \cos \left(y - \frac{z \cdot t}{3}\right)\right)} - \frac{a}{b \cdot 3} \]

      associate-/l* [=>]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(y - \color{blue}{\frac{z}{\frac{3}{t}}}\right)\right) - \frac{a}{b \cdot 3} \]

      *-commutative [=>]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(y - \frac{z}{\frac{3}{t}}\right)\right) - \frac{a}{\color{blue}{3 \cdot b}} \]
    3. Applied egg-rr74.0%

      \[\leadsto 2 \cdot \left(\sqrt{x} \cdot \color{blue}{\left(\cos \left(y - z \cdot \left(t \cdot 0.3333333333333333\right)\right) \cdot \cos \left(\mathsf{fma}\left(-t, z \cdot 0.3333333333333333, z \cdot \left(t \cdot 0.3333333333333333\right)\right)\right) - \sin \left(y - z \cdot \left(t \cdot 0.3333333333333333\right)\right) \cdot \sin \left(\mathsf{fma}\left(-t, z \cdot 0.3333333333333333, z \cdot \left(t \cdot 0.3333333333333333\right)\right)\right)\right)}\right) - \frac{a}{3 \cdot b} \]
      Proof

      [Start]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(y - \frac{z}{\frac{3}{t}}\right)\right) - \frac{a}{3 \cdot b} \]

      *-un-lft-identity [=>]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(\color{blue}{1 \cdot y} - \frac{z}{\frac{3}{t}}\right)\right) - \frac{a}{3 \cdot b} \]

      associate-/r/ [=>]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(1 \cdot y - \color{blue}{\frac{z}{3} \cdot t}\right)\right) - \frac{a}{3 \cdot b} \]

      prod-diff [=>]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \color{blue}{\left(\mathsf{fma}\left(1, y, -t \cdot \frac{z}{3}\right) + \mathsf{fma}\left(-t, \frac{z}{3}, t \cdot \frac{z}{3}\right)\right)}\right) - \frac{a}{3 \cdot b} \]

      *-commutative [<=]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(\mathsf{fma}\left(1, y, -\color{blue}{\frac{z}{3} \cdot t}\right) + \mathsf{fma}\left(-t, \frac{z}{3}, t \cdot \frac{z}{3}\right)\right)\right) - \frac{a}{3 \cdot b} \]

      associate-/r/ [<=]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(\mathsf{fma}\left(1, y, -\color{blue}{\frac{z}{\frac{3}{t}}}\right) + \mathsf{fma}\left(-t, \frac{z}{3}, t \cdot \frac{z}{3}\right)\right)\right) - \frac{a}{3 \cdot b} \]

      fma-neg [<=]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(\color{blue}{\left(1 \cdot y - \frac{z}{\frac{3}{t}}\right)} + \mathsf{fma}\left(-t, \frac{z}{3}, t \cdot \frac{z}{3}\right)\right)\right) - \frac{a}{3 \cdot b} \]

      *-un-lft-identity [<=]69.4

      \[ 2 \cdot \left(\sqrt{x} \cdot \cos \left(\left(\color{blue}{y} - \frac{z}{\frac{3}{t}}\right) + \mathsf{fma}\left(-t, \frac{z}{3}, t \cdot \frac{z}{3}\right)\right)\right) - \frac{a}{3 \cdot b} \]

      cos-sum [=>]73.2

      \[ 2 \cdot \left(\sqrt{x} \cdot \color{blue}{\left(\cos \left(y - \frac{z}{\frac{3}{t}}\right) \cdot \cos \left(\mathsf{fma}\left(-t, \frac{z}{3}, t \cdot \frac{z}{3}\right)\right) - \sin \left(y - \frac{z}{\frac{3}{t}}\right) \cdot \sin \left(\mathsf{fma}\left(-t, \frac{z}{3}, t \cdot \frac{z}{3}\right)\right)\right)}\right) - \frac{a}{3 \cdot b} \]

    if 0.839999999999999969 < (cos.f64 (-.f64 y (/.f64 (*.f64 z t) 3)))

    1. Initial program 67.9%

      \[\left(2 \cdot \sqrt{x}\right) \cdot \cos \left(y - \frac{z \cdot t}{3}\right) - \frac{a}{b \cdot 3} \]
    2. Taylor expanded in z around 0 78.9%

      \[\leadsto \left(2 \cdot \sqrt{x}\right) \cdot \color{blue}{\cos y} - \frac{a}{b \cdot 3} \]
    3. Applied egg-rr59.3%

      \[\leadsto \color{blue}{{\left(8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}\right)}^{0.3333333333333333}} - \frac{a}{b \cdot 3} \]
      Proof

      [Start]78.9

      \[ \left(2 \cdot \sqrt{x}\right) \cdot \cos y - \frac{a}{b \cdot 3} \]

      add-cbrt-cube [=>]63.3

      \[ \color{blue}{\sqrt[3]{\left(\left(\left(2 \cdot \sqrt{x}\right) \cdot \cos y\right) \cdot \left(\left(2 \cdot \sqrt{x}\right) \cdot \cos y\right)\right) \cdot \left(\left(2 \cdot \sqrt{x}\right) \cdot \cos y\right)}} - \frac{a}{b \cdot 3} \]

      pow1/3 [=>]59.2

      \[ \color{blue}{{\left(\left(\left(\left(2 \cdot \sqrt{x}\right) \cdot \cos y\right) \cdot \left(\left(2 \cdot \sqrt{x}\right) \cdot \cos y\right)\right) \cdot \left(\left(2 \cdot \sqrt{x}\right) \cdot \cos y\right)\right)}^{0.3333333333333333}} - \frac{a}{b \cdot 3} \]

      pow3 [=>]59.2

      \[ {\color{blue}{\left({\left(\left(2 \cdot \sqrt{x}\right) \cdot \cos y\right)}^{3}\right)}}^{0.3333333333333333} - \frac{a}{b \cdot 3} \]

      associate-*l* [=>]59.2

      \[ {\left({\color{blue}{\left(2 \cdot \left(\sqrt{x} \cdot \cos y\right)\right)}}^{3}\right)}^{0.3333333333333333} - \frac{a}{b \cdot 3} \]

      unpow-prod-down [=>]59.3

      \[ {\color{blue}{\left({2}^{3} \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}\right)}}^{0.3333333333333333} - \frac{a}{b \cdot 3} \]

      metadata-eval [=>]59.3

      \[ {\left(\color{blue}{8} \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}\right)}^{0.3333333333333333} - \frac{a}{b \cdot 3} \]
    4. Simplified63.3%

      \[\leadsto \color{blue}{\sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}}} - \frac{a}{b \cdot 3} \]
      Proof

      [Start]59.3

      \[ {\left(8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}\right)}^{0.3333333333333333} - \frac{a}{b \cdot 3} \]

      unpow1/3 [=>]63.3

      \[ \color{blue}{\sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}}} - \frac{a}{b \cdot 3} \]
    5. Applied egg-rr78.8%

      \[\leadsto \color{blue}{{\left(4 \cdot \left(x \cdot {\cos y}^{2}\right)\right)}^{0.5}} - \frac{a}{b \cdot 3} \]
      Proof

      [Start]63.3

      \[ \sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}} - \frac{a}{b \cdot 3} \]

      add-sqr-sqrt [=>]60.7

      \[ \color{blue}{\sqrt{\sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}}} \cdot \sqrt{\sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}}}} - \frac{a}{b \cdot 3} \]

      sqrt-unprod [=>]63.3

      \[ \color{blue}{\sqrt{\sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}} \cdot \sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}}}} - \frac{a}{b \cdot 3} \]

      pow1/2 [=>]63.3

      \[ \color{blue}{{\left(\sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}} \cdot \sqrt[3]{8 \cdot {\left(\sqrt{x} \cdot \cos y\right)}^{3}}\right)}^{0.5}} - \frac{a}{b \cdot 3} \]
    6. Simplified78.9%

      \[\leadsto \color{blue}{\left|2 \cdot \left(\sqrt{x} \cdot \cos y\right)\right|} - \frac{a}{b \cdot 3} \]
      Proof

      [Start]78.8

      \[ {\left(4 \cdot \left(x \cdot {\cos y}^{2}\right)\right)}^{0.5} - \frac{a}{b \cdot 3} \]

      unpow1/2 [=>]78.8

      \[ \color{blue}{\sqrt{4 \cdot \left(x \cdot {\cos y}^{2}\right)}} - \frac{a}{b \cdot 3} \]

      *-commutative [=>]78.8

      \[ \sqrt{4 \cdot \color{blue}{\left({\cos y}^{2} \cdot x\right)}} - \frac{a}{b \cdot 3} \]

      associate-*r* [=>]78.8

      \[ \sqrt{\color{blue}{\left(4 \cdot {\cos y}^{2}\right) \cdot x}} - \frac{a}{b \cdot 3} \]

      metadata-eval [<=]78.8

      \[ \sqrt{\left(\color{blue}{\left(2 \cdot 2\right)} \cdot {\cos y}^{2}\right) \cdot x} - \frac{a}{b \cdot 3} \]

      unpow2 [=>]78.8

      \[ \sqrt{\left(\left(2 \cdot 2\right) \cdot \color{blue}{\left(\cos y \cdot \cos y\right)}\right) \cdot x} - \frac{a}{b \cdot 3} \]

      swap-sqr [<=]78.8

      \[ \sqrt{\color{blue}{\left(\left(2 \cdot \cos y\right) \cdot \left(2 \cdot \cos y\right)\right)} \cdot x} - \frac{a}{b \cdot 3} \]

      rem-square-sqrt [<=]78.8

      \[ \sqrt{\left(\left(2 \cdot \cos y\right) \cdot \left(2 \cdot \cos y\right)\right) \cdot \color{blue}{\left(\sqrt{x} \cdot \sqrt{x}\right)}} - \frac{a}{b \cdot 3} \]

      swap-sqr [<=]78.8

      \[ \sqrt{\color{blue}{\left(\left(2 \cdot \cos y\right) \cdot \sqrt{x}\right) \cdot \left(\left(2 \cdot \cos y\right) \cdot \sqrt{x}\right)}} - \frac{a}{b \cdot 3} \]

      rem-sqrt-square [=>]78.9

      \[ \color{blue}{\left|\left(2 \cdot \cos y\right) \cdot \sqrt{x}\right|} - \frac{a}{b \cdot 3} \]

      associate-*r* [<=]78.9

      \[ \left|\color{blue}{2 \cdot \left(\cos y \cdot \sqrt{x}\right)}\right| - \frac{a}{b \cdot 3} \]

      *-commutative [<=]78.9

      \[ \left|2 \cdot \color{blue}{\left(\sqrt{x} \cdot \cos y\right)}\right| - \frac{a}{b \cdot 3} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification76.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\cos \left(y - \frac{z \cdot t}{3}\right) \leq 0.84:\\ \;\;\;\;2 \cdot \left(\sqrt{x} \cdot \left(\cos \left(y - z \cdot \left(t \cdot 0.3333333333333333\right)\right) \cdot \cos \left(\mathsf{fma}\left(-t, z \cdot 0.3333333333333333, z \cdot \left(t \cdot 0.3333333333333333\right)\right)\right) - \sin \left(y - z \cdot \left(t \cdot 0.3333333333333333\right)\right) \cdot \sin \left(\mathsf{fma}\left(-t, z \cdot 0.3333333333333333, z \cdot \left(t \cdot 0.3333333333333333\right)\right)\right)\right)\right) - \frac{a}{3 \cdot b}\\ \mathbf{else}:\\ \;\;\;\;\left|2 \cdot \left(\sqrt{x} \cdot \cos y\right)\right| - \frac{a}{3 \cdot b}\\ \end{array} \]

Alternatives

Alternative 1
Accuracy68.6%
Cost13896
\[\begin{array}{l} t_1 := \frac{a}{3 \cdot b}\\ t_2 := 2 \cdot \sqrt{x}\\ \mathbf{if}\;t_1 \leq -1 \cdot 10^{-82}:\\ \;\;\;\;t_2 - t_1\\ \mathbf{elif}\;t_1 \leq 2 \cdot 10^{-122}:\\ \;\;\;\;\cos y \cdot t_2\\ \mathbf{else}:\\ \;\;\;\;t_2 + \frac{a}{3} \cdot \frac{-1}{b}\\ \end{array} \]
Alternative 2
Accuracy73.8%
Cost13504
\[\cos y \cdot \left(2 \cdot \sqrt{x}\right) - \frac{a}{3 \cdot b} \]
Alternative 3
Accuracy61.1%
Cost6976
\[2 \cdot \sqrt{x} - 0.3333333333333333 \cdot \frac{a}{b} \]
Alternative 4
Accuracy61.2%
Cost6976
\[2 \cdot \sqrt{x} - \frac{a}{3 \cdot b} \]
Alternative 5
Accuracy44.0%
Cost320
\[\frac{a}{b} \cdot -0.3333333333333333 \]
Alternative 6
Accuracy44.0%
Cost320
\[\frac{-0.3333333333333333}{\frac{b}{a}} \]
Alternative 7
Accuracy44.1%
Cost320
\[\frac{a}{b \cdot -3} \]

Error

Reproduce?

herbie shell --seed 2023151 
(FPCore (x y z t a b)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, K"
  :precision binary64

  :herbie-target
  (if (< z -1.3793337487235141e+129) (- (* (* 2.0 (sqrt x)) (cos (- (/ 1.0 y) (/ (/ 0.3333333333333333 z) t)))) (/ (/ a 3.0) b)) (if (< z 3.516290613555987e+106) (- (* (* (sqrt x) 2.0) (cos (- y (* (/ t 3.0) z)))) (/ (/ a 3.0) b)) (- (* (cos (- y (/ (/ 0.3333333333333333 z) t))) (* 2.0 (sqrt x))) (/ (/ a b) 3.0))))

  (- (* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0)))) (/ a (* b 3.0))))