Details

Time bar (total: 2.0s)

sample33.0ms

Algorithm
intervals
Results
8.0ms321×body80valid
6.0ms271×body80nan

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2395
3715
41675
52985
65455
721425
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
expm1-log1p-u flip3-- associate-*l* flip-- log1p-expm1-u difference-of-squares
associate-*r/ unswap-sqr
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
3 → 62
Calls
3 calls:
29.0ms
(* x (sqrt (- (* y y) (* z z))))
8.0ms
(- (* y y) (* z z))
11.0ms
(sqrt (- (* y y) (* z z)))

series140.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(* x (sqrt (- (* y y) (* z z))))
33.0ms
(- (* y y) (* z z))
41.0ms
(sqrt (- (* y y) (* z z)))

simplify86.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0202397
1786374
23192368
35001364

prune155.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)))

rewrite63.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*
expm1-log1p-u sqrt-pow1 pow-prod-down sqrt-prod log1p-expm1-u add-log-exp
pow1/2 prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 50
Calls
2 calls:
41.0ms
(* x (sqrt (* (+ y z) (- y z))))
20.0ms
(sqrt (* (+ y z) (- y z)))

series129.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0214364
1916351
23918351
35001351

prune140.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify4.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune9.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize21.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))))

rewrite100.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
expm1-log1p-u associate-/r* log1p-expm1-u
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 fma-neg diff-log prod-diff clear-num *-commutative difference-of-squares
Counts
4 → 124
Calls
4 calls:
55.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
8.0ms
(- (* y y) (* z z))
15.0ms
(sqrt (* (- y z) (+ y z)))
17.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

series229.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
27.0ms
(- (* y y) (* z z))
49.0ms
(sqrt (* (- y z) (+ y z)))
80.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

simplify67.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04631422
123031297
250011294

prune382.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes111.0ms

bsearch34.0ms