Details

Time bar (total: 1.9s)

sample34.0ms

Algorithm
intervals
Results
9.0ms334×body80valid
8.0ms320×body80nan

simplify82.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0145
1215
2365
3625
41335
52115
63975
717985
850015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.1b

localize7.0ms

Local error

Found 3 expressions with local error:

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

series164.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(* x (sqrt (- (* y y) (* z z))))
34.0ms
(- (* y y) (* z z))
53.0ms
(sqrt (- (* y y) (* z z)))

simplify75.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0187364
1732340
23010337
35002337

prune143.0ms

Filtered
63 candidates to 46 candidates (73.0%)
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))))
24.9b
(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:
19.0ms
(* x (sqrt (* (+ y z) (- y z))))
6.0ms
(sqrt (* (+ y z) (- y z)))

series156.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0204342
1891329
23716329
35001329

prune130.0ms

Filtered
52 candidates to 41 candidates (78.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
1.6b
(- (* y y) (* z z))
24.9b
(sqrt (* (- y z) (+ y z)))
24.9b
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

rewrite50.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:
29.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
2.0ms
(- (* y y) (* z z))
6.0ms
(sqrt (* (- y z) (+ y z)))
8.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

series277.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* x (/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z)))))
33.0ms
(- (* y y) (* z z))
65.0ms
(sqrt (* (- y z) (+ y z)))
95.0ms
(/ (fabs (- (* y y) (* z z))) (sqrt (* (- y z) (+ y z))))

simplify66.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
04441356
122231230
250021230

prune381.0ms

Filtered
126 candidates to 102 candidates (81.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

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

prune0.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes163.0ms

bsearch20.0ms