Details

Time bar (total: 2.4s)

sample32.0ms

Algorithm
intervals
Results
9.0ms310×body80valid
8.0ms298×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.4b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.8b
(- (* y y) (* z z))
24.3b
(sqrt (- (* y y) (* z z)))

rewrite15.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:
7.0ms
(* x (sqrt (- (* y y) (* z z))))
3.0ms
(- (* y y) (* z z))
3.0ms
(sqrt (- (* y y) (* z z)))

series146.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0187364
1732340
23010337
35002337

prune139.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (* y y) (* z z))
2.8b
(- (* y y) (* z z))
24.3b
(sqrt (- (* y y) (* z z)))
24.3b
(sqrt (- (* y y) (* z z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 58
Calls
4 calls:
3.0ms
(- (* y y) (* z z))
3.0ms
(- (* y y) (* z z))
3.0ms
(sqrt (- (* y y) (* z z)))
4.0ms
(sqrt (- (* y y) (* z z)))

series148.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* y y) (* z z))
32.0ms
(- (* y y) (* z z))
42.0ms
(sqrt (- (* y y) (* z z)))
45.0ms
(sqrt (- (* y y) (* z z)))

simplify44.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0122378
1432350
21459350
35001348

prune237.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.4b

localize20.0ms

Local error

Found 4 expressions with local error:

24.3b
(sqrt (- (* y y) (* z z)))
25.1b
(cbrt (- (* y y) (* z z)))
25.1b
(cbrt (- (* y y) (* z z)))
25.1b
(cbrt (- (* y y) (* z z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log flip3-- sqrt-prod add-cbrt-cube flip-- add-log-exp difference-of-squares
pow1/3
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 58
Calls
4 calls:
3.0ms
(sqrt (- (* y y) (* z z)))
3.0ms
(cbrt (- (* y y) (* z z)))
3.0ms
(cbrt (- (* y y) (* z z)))
3.0ms
(cbrt (- (* y y) (* z z)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(sqrt (- (* y y) (* z z)))
106.0ms
(cbrt (- (* y y) (* z z)))
99.0ms
(cbrt (- (* y y) (* z z)))
101.0ms
(cbrt (- (* y y) (* z z)))

simplify133.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 4 (126.0ms)

IterNodesCost
0162508
1438478
21208472
34422471
45001468

prune276.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.4b

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

prune0.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0.4b

regimes563.0ms

bsearch49.0ms