Details

Time bar (total: 2.0s)

sample33.0ms

Algorithm
intervals
Results
9.0ms334×body80valid
8.0ms320×body80nan

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1215
2365
3625
41335
52115
63975
717985
850015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.1b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
1.6b
(- (* y y) (* z z))
24.9b
(sqrt (- (* y y) (* z z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity associate-*r*
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-div
flip3-- associate-*l* flip-- difference-of-squares
associate-*r/ unswap-sqr
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
3 → 54
Calls
3 calls:
11.0ms
(* x (sqrt (- (* y y) (* z z))))
2.0ms
(- (* y y) (* z z))
4.0ms
(sqrt (- (* y y) (* z z)))

series151.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(* x (sqrt (- (* y y) (* z z))))
29.0ms
(- (* y y) (* z z))
48.0ms
(sqrt (- (* y y) (* z z)))

simplify76.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0187364
1732340
23010337
35002337

prune324.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (sqrt (* (+ y z) (- y z))))
24.9b
(sqrt (* (+ y z) (- y z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-div
12×associate-*r/
frac-times
pow1
add-sqr-sqrt flip3-- flip3-+ flip-- flip-+
add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l/ add-cbrt-cube
associate-*l*
sqrt-pow1 pow-prod-down sqrt-prod add-log-exp
pow1/2 prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 46
Calls
2 calls:
20.0ms
(* x (sqrt (* (+ y z) (- y z))))
6.0ms
(sqrt (* (+ y z) (- y z)))

series144.0ms

Counts
2 → 6
Calls
2 calls:
82.0ms
(* x (sqrt (* (+ y z) (- y z))))
61.0ms
(sqrt (* (+ y z) (- y z)))

simplify84.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0204342
1891329
23716329
35001329

prune123.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
1.6b
(- (* y y) (* z z))
24.9b
(sqrt (* (- y z) (+ y z)))
24.9b
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×times-frac
24×sqrt-div associate-*r*
22×add-cube-cbrt *-un-lft-identity
16×associate-/r/
12×frac-times
11×add-exp-log add-cbrt-cube
10×flip3-- flip--
pow1 flip3-+ flip-+
sqrt-prod
associate-*r/
associate-*l/ add-log-exp
associate-/r*
associate-*l* associate-/l*
cbrt-undiv sqrt-pow1 div-exp pow-prod-down prod-exp cbrt-unprod div-inv unswap-sqr
sub-neg frac-2neg pow1/2 diff-log clear-num *-commutative difference-of-squares
Counts
4 → 114
Calls
4 calls:
29.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
2.0ms
(- (* y y) (* z z))
6.0ms
(sqrt (* (- y z) (+ y z)))
8.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

series243.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
29.0ms
(- (* y y) (* z z))
56.0ms
(sqrt (* (- y z) (+ y z)))
84.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

simplify65.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04441356
122231230
250021230

prune357.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes140.0ms

bsearch11.0ms