Details

Time bar (total: 1.7s)

sample48.0ms

Algorithm
intervals
Results
18.0ms332×body80valid
13.0ms278×body80nan

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2395
3715
41675
52985
65455
721425
850015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.6b
(- (* y y) (* z z))
24.1b
(sqrt (- (* y y) (* z z)))

rewrite21.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
expm1-log1p-u flip3-- associate-*l* flip-- log1p-expm1-u difference-of-squares
associate-*r/ unswap-sqr
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
3 → 62
Calls
3 calls:
12.0ms
(* x (sqrt (- (* y y) (* z z))))
3.0ms
(- (* y y) (* z z))
5.0ms
(sqrt (- (* y y) (* z z)))

series173.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0202397
1786374
23192368
35001364

prune174.0ms

Pruning

4 alts after pruning (3 fresh and 1 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

prune4.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
28×sqrt-div
27×add-sqr-sqrt
22×sqrt-prod
19×*-un-lft-identity
15×pow1
12×associate-*r/
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*l*
associate-*r*
frac-times
flip3-- flip3-+ flip-- flip-+
pow-prod-down
expm1-log1p-u sqrt-pow1 pow1/2 associate-*l/ prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
rem-sqrt-square *-commutative distribute-lft-out distribute-lft-out-- difference-of-squares
sqrt-unprod hypot-def
Counts
4 → 109
Calls
4 calls:
26.0ms
(* x (* (sqrt (+ y z)) (sqrt (- y z))))
5.0ms
(sqrt (- y z))
4.0ms
(sqrt (+ y z))
24.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(* x (* (sqrt (+ y z)) (sqrt (- y z))))
68.0ms
(sqrt (- y z))
41.0ms
(sqrt (+ y z))
76.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0374767
11280721
25001705

prune305.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

localize4.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 (1 fresh and 4 done)

Merged error: 0.2b

regimes320.0ms

bsearch18.0ms