Details

Time bar (total: 1.5s)

sample34.0ms

Algorithm
intervals
Results
9.0ms315×body80valid
8.0ms321×body80nan

simplify88.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: 22.7b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
1.6b
(- (* y y) (* z z))
23.6b
(sqrt (- (* y y) (* z z)))

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

series153.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0202398
1786374
23192368
35001364

prune163.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

localize3.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 (1.0ms)

IterNodesCost
000

prune3.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

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 (1.0ms)

IterNodesCost
000

prune2.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.4b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
23×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-+
expm1-log1p-u frac-times flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
hypot-def
Counts
4 → 98
Calls
4 calls:
4.0ms
(sqrt (+ y z))
5.0ms
(sqrt (- y z))
11.0ms
(* x (sqrt (+ y z)))
23.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(sqrt (+ y z))
69.0ms
(sqrt (- y z))
60.0ms
(* x (sqrt (+ y z)))
98.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0419663
11652602
25001579

prune259.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.4b

regimes310.0ms

bsearch13.0ms