Details

Time bar (total: 1.6s)

sample32.0ms

Algorithm
intervals
Results
9.0ms345×body80valid
8.0ms324×body80nan

simplify74.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: 25.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
3.4b
(- (* y y) (* z z))
25.1b
(sqrt (- (* y y) (* z z)))

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

series154.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0187364
1732340
23010337
35002337

prune141.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (sqrt (* (+ y z) (- y z))))
25.1b
(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)))

series146.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0204342
1891329
23716329
35001329

prune134.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.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

prune5.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

3.4b
(- (* y y) (* z z))
8.1b
(* (fabs (- (* y y) (* z z))) x)
20.5b
(/ (* (fabs (- (* y y) (* z z))) x) (sqrt (* (- y z) (+ y z))))
25.1b
(sqrt (* (- y z) (+ y z)))

rewrite23.0ms

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

series235.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* y y) (* z z))
24.0ms
(* (fabs (- (* y y) (* z z))) x)
121.0ms
(/ (* (fabs (- (* y y) (* z z))) x) (sqrt (* (- y z) (+ y z))))
56.0ms
(sqrt (* (- y z) (+ y z)))

simplify53.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0383799
12050712
25001702

prune231.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes134.0ms

bsearch12.0ms