Details

Time bar (total: 2.1s)

sample34.0ms

Algorithm
intervals
Results
8.0ms321×body80valid
7.0ms293×body80nan

simplify83.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: 29.6b

localize7.0ms

Local error

Found 2 expressions with local error:

2.2b
(- (* y y) (* z z))
29.0b
(sqrt (- (* y y) (* z z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
2 → 35
Calls
2 calls:
8.0ms
(- (* y y) (* z z))
11.0ms
(sqrt (- (* y y) (* z z)))

series71.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(- (* y y) (* z z))
44.0ms
(sqrt (- (* y y) (* z z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0135210
1482197
21632194
35001189

prune99.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune3.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (- y z))
0.2b
(* (sqrt (+ y z)) (sqrt (- y z)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×sqrt-prod
14×sqrt-div
13×*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt associate-*l*
add-exp-log frac-times flip3-- add-cbrt-cube flip-- unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+
expm1-log1p-u associate-*r/ associate-*l/ log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod distribute-lft-out
Counts
2 → 62
Calls
2 calls:
9.0ms
(sqrt (- y z))
41.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series127.0ms

Counts
2 → 6
Calls
2 calls:
62.0ms
(sqrt (- y z))
64.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify81.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0246443
1784427
23111417
35003415

prune161.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (sqrt (- y z))) (cbrt (sqrt (- y z))))
0.3b
(cbrt (sqrt (- y z)))
0.3b
(cbrt (sqrt (- y z)))
0.3b
(cbrt (sqrt (- y z)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
76×cbrt-prod
58×add-sqr-sqrt
47×sqrt-prod
42×*-un-lft-identity
22×add-cube-cbrt
18×cbrt-div sqrt-div
15×swap-sqr
11×pow1 associate-*r* associate-*l*
flip3-- pow1/3 flip-- distribute-lft-out-- unswap-sqr
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
46.0ms
(* (cbrt (sqrt (- y z))) (cbrt (sqrt (- y z))))
5.0ms
(cbrt (sqrt (- y z)))
5.0ms
(cbrt (sqrt (- y z)))
5.0ms
(cbrt (sqrt (- y z)))

series592.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(* (cbrt (sqrt (- y z))) (cbrt (sqrt (- y z))))
132.0ms
(cbrt (sqrt (- y z)))
146.0ms
(cbrt (sqrt (- y z)))
174.0ms
(cbrt (sqrt (- y z)))

simplify107.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
03021311
18691244
236611160
350011135

prune385.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.4b

regimes158.0ms

bsearch22.0ms