Details

Time bar (total: 2.2s)

sample50.0ms

Algorithm
intervals
Results
17.0ms330×body80valid
16.0ms305×body80nan

simplify78.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.9b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
1.2b
(- (* y y) (* z z))
24.7b
(sqrt (- (* y y) (* z z)))

rewrite20.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:
12.0ms
(* x (sqrt (- (* y y) (* z z))))
3.0ms
(- (* y y) (* z z))
4.0ms
(sqrt (- (* y y) (* z z)))

series157.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0187364
1732340
23010337
35002337

prune139.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (sqrt (* (+ y z) (- y z))))
24.7b
(sqrt (* (+ y z) (- y z)))

rewrite30.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:
21.0ms
(* x (sqrt (* (+ y z) (- y z))))
7.0ms
(sqrt (* (+ y z) (- y z)))

series149.0ms

Counts
2 → 6
Calls
2 calls:
89.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 (7.0ms)

IterNodesCost
0204342
1891329
23716329
35001329

prune127.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* x (sqrt (sqrt (* (+ y z) (- y z)))))
0.4b
(* (* x (sqrt (sqrt (* (+ y z) (- y z))))) (sqrt (sqrt (* (+ y z) (- y z)))))
24.7b
(sqrt (* (+ y z) (- y z)))
24.7b
(sqrt (* (+ y z) (- y z)))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
320×sqrt-div
148×frac-times
130×associate-*r/
63×flip3-- flip3-+ flip-- flip-+
50×associate-*l/
17×pow1
14×associate-*r*
13×add-sqr-sqrt sqrt-prod
11×add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
pow-prod-down
sqrt-pow1 associate-*l* prod-exp cbrt-unprod add-log-exp
pow1/2 *-commutative unswap-sqr
Counts
4 → 171
Calls
4 calls:
24.0ms
(* x (sqrt (sqrt (* (+ y z) (- y z)))))
103.0ms
(* (* x (sqrt (sqrt (* (+ y z) (- y z))))) (sqrt (sqrt (* (+ y z) (- y z)))))
6.0ms
(sqrt (* (+ y z) (- y z)))
6.0ms
(sqrt (* (+ y z) (- y z)))

series343.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(* x (sqrt (sqrt (* (+ y z) (- y z)))))
90.0ms
(* (* x (sqrt (sqrt (* (+ y z) (- y z))))) (sqrt (sqrt (* (+ y z) (- y z)))))
64.0ms
(sqrt (* (+ y z) (- y z)))
56.0ms
(sqrt (* (+ y z) (- y z)))

simplify76.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07373139
127272962
250022957

prune554.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

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

prune0.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

regimes163.0ms

bsearch14.0ms