Details

Time bar (total: 1.9s)

sample34.0ms

Algorithm
intervals
Results
8.0ms321×body80valid
6.0ms271×body80nan

simplify76.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: 26.1b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
3.0b
(- (* y y) (* z z))
26.1b
(sqrt (- (* y y) (* z z)))

rewrite50.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:
29.0ms
(* x (sqrt (- (* y y) (* z z))))
10.0ms
(- (* y y) (* z z))
9.0ms
(sqrt (- (* y y) (* z z)))

series139.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(* x (sqrt (- (* y y) (* z z))))
27.0ms
(- (* y y) (* z z))
44.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

prune137.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))))
26.1b
(sqrt (* (+ y z) (- y z)))

rewrite57.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:
44.0ms
(* x (sqrt (* (+ y z) (- y z))))
12.0ms
(sqrt (* (+ y z) (- y z)))

series127.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(* x (sqrt (* (+ y z) (- y z))))
52.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

prune127.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize2.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

prune6.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
3.0b
(- (* y y) (* z z))
26.1b
(sqrt (* (- y z) (+ y z)))
26.2b
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

rewrite114.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:
67.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
12.0ms
(- (* y y) (* z z))
12.0ms
(sqrt (* (- y z) (+ y z)))
19.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

series226.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
29.0ms
(- (* y y) (* z z))
48.0ms
(sqrt (* (- y z) (+ y z)))
78.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

simplify59.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04441356
122231230
250021230

prune363.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes112.0ms

bsearch34.0ms