Details

Time bar (total: 2.0s)

sample35.0ms

Algorithm
intervals
Results
9.0ms326×body80valid
8.0ms333×body80nan

simplify146.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0155
1225
2395
3715
41675
52985
65455
721425
850015

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.0b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.2b
(- (* y y) (* z z))
25.2b
(sqrt (- (* y y) (* z z)))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
379×add-sqr-sqrt
225×prod-diff
198×*-un-lft-identity
162×add-cube-cbrt
129×swap-sqr associate-*r*
108×associate-*l*
75×difference-of-squares
67×sqrt-prod
63×unswap-sqr
62×*-commutative
15×fma-neg distribute-lft-out--
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-div
expm1-log1p-u flip3-- flip-- log1p-expm1-u
associate-*r/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down prod-exp cbrt-unprod
Counts
3 → 387
Calls
3 calls:
26.0ms
(* x (sqrt (- (* y y) (* z z))))
24.0ms
(- (* y y) (* z z))
37.0ms
(sqrt (- (* y y) (* z z)))

series192.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(* x (sqrt (- (* y y) (* z z))))
45.0ms
(- (* y y) (* z z))
55.0ms
(sqrt (- (* y y) (* z z)))

simplify124.0ms

Algorithm
egg-herbie
Counts
396 → 396
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07293922
119622710
250021951

prune197.0ms

Filtered
396 candidates to 81 candidates (79.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3933396
Fresh000
Picked011
Done000
Total3934397

Merged error: 0.0b

Counts
397 → 4

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

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

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0.0b

Counts
4 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
40×associate-*r*
39×sqrt-prod
28×*-un-lft-identity sqrt-div
17×associate-*l* unswap-sqr
16×add-cube-cbrt
15×pow1
12×associate-*r/
11×add-exp-log add-cbrt-cube
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
*-commutative distribute-lft-out distribute-lft-out-- difference-of-squares
rem-sqrt-square
sqrt-unprod hypot-def
Counts
4 → 137
Calls
4 calls:
4.0ms
(sqrt (+ y z))
24.0ms
(* x (* (sqrt (+ y z)) (sqrt (- y z))))
4.0ms
(sqrt (- y z))
11.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series337.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (+ y z))
119.0ms
(* x (* (sqrt (+ y z)) (sqrt (- y z))))
83.0ms
(sqrt (- y z))
92.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify90.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0419988
11698942
25001917

prune260.0ms

Filtered
149 candidates to 101 candidates (32.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1481149
Fresh011
Picked011
Done022
Total1485153

Merged error: 0b

Counts
153 → 5

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

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

PrunedKeptTotal
New000
Fresh011
Picked011
Done033
Total055

Merged error: 0b

Counts
5 → 5

regimes383.0ms

bsearch16.0ms