Details

Time bar (total: 2.9s)

sample57.0ms

Algorithm
intervals
Results
22.0ms338×body80valid
17.0ms324×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: 25.8b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
3.0b
(- (* y y) (* z z))
24.6b
(sqrt (- (* y y) (* z z)))

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

series149.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0187364
1732340
23010337
35002337

prune134.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

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

prune5.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity sqrt-prod
18×sqrt-div
15×associate-*r*
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
frac-times flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
6.0ms
(sqrt (+ y z))
3.0ms
(sqrt (- y z))
23.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))
11.0ms
(* x (sqrt (+ y z)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
241.0ms
(sqrt (+ y z))
65.0ms
(sqrt (- y z))
97.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))
72.0ms
(* x (sqrt (+ y z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0396629
11585573
25001554

prune217.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (- y z)))
0.2b
(* (* (* x (sqrt (+ y z))) (sqrt (sqrt (- y z)))) (sqrt (sqrt (- y z))))
0.2b
(* x (sqrt (+ y z)))
0.2b
(* (* x (sqrt (+ y z))) (sqrt (sqrt (- y z))))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
114×sqrt-div
45×sqrt-prod
36×associate-*r/
32×frac-times
29×associate-*r*
27×add-sqr-sqrt
23×*-un-lft-identity
22×pow1 flip3-- flip--
20×add-exp-log add-cbrt-cube
16×associate-*l/
15×add-cube-cbrt
13×flip3-+ flip-+
10×pow-prod-down prod-exp cbrt-unprod
associate-*l*
sqrt-pow1 add-log-exp
*-commutative distribute-lft-out-- difference-of-squares
rem-sqrt-square pow1/2 unswap-sqr
distribute-lft-out
Counts
4 → 137
Calls
4 calls:
4.0ms
(sqrt (sqrt (- y z)))
87.0ms
(* (* (* x (sqrt (+ y z))) (sqrt (sqrt (- y z)))) (sqrt (sqrt (- y z))))
11.0ms
(* x (sqrt (+ y z)))
25.0ms
(* (* x (sqrt (+ y z))) (sqrt (sqrt (- y z))))

series472.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(sqrt (sqrt (- y z)))
93.0ms
(* (* (* x (sqrt (+ y z))) (sqrt (sqrt (- y z)))) (sqrt (sqrt (- y z))))
70.0ms
(* x (sqrt (+ y z)))
169.0ms
(* (* x (sqrt (+ y z))) (sqrt (sqrt (- y z))))

simplify85.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07591622
133921463
250011438

prune381.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes435.0ms

bsearch41.0ms