Details

Time bar (total: 3.1s)

sample36.0ms

Algorithm
intervals
Results
10.0ms309×body80nan
8.0ms316×body80valid

simplify121.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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.4b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
1.8b
(- (* y y) (* z z))
22.5b
(sqrt (- (* y y) (* z z)))

rewrite115.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:
27.0ms
(* x (sqrt (- (* y y) (* z z))))
28.0ms
(- (* y y) (* z z))
34.0ms
(sqrt (- (* y y) (* z z)))

series194.0ms

Counts
3 → 9
Calls
3 calls:
93.0ms
(* x (sqrt (- (* y y) (* z z))))
36.0ms
(- (* y y) (* z z))
64.0ms
(sqrt (- (* y y) (* z z)))

simplify118.0ms

Algorithm
egg-herbie
Counts
396 → 396
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07353922
120242710
250012176

prune305.0ms

Filtered
396 candidates to 81 candidates (20.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3924396
Fresh000
Picked101
Done000
Total3934397

Merged error: 0.3b

Counts
397 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

1.8b
(- (* y y) (* z z))
1.8b
(- (* y y) (* z z))
23.3b
(cbrt (- (* y y) (* z z)))
23.3b
(cbrt (- (* y y) (* z z)))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
640×add-sqr-sqrt
450×prod-diff
364×*-un-lft-identity
316×add-cube-cbrt
234×swap-sqr
202×associate-*l*
186×associate-*r*
102×*-commutative unswap-sqr
100×difference-of-squares
66×cbrt-prod
30×fma-neg
20×distribute-lft-out--
add-log-exp
pow1 add-exp-log expm1-log1p-u cbrt-div flip3-- add-cbrt-cube flip-- log1p-expm1-u
sub-neg pow1/3 diff-log
Counts
4 → 658
Calls
4 calls:
28.0ms
(- (* y y) (* z z))
25.0ms
(- (* y y) (* z z))
18.0ms
(cbrt (- (* y y) (* z z)))
19.0ms
(cbrt (- (* y y) (* z z)))

series364.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* y y) (* z z))
36.0ms
(- (* y y) (* z z))
137.0ms
(cbrt (- (* y y) (* z z)))
144.0ms
(cbrt (- (* y y) (* z z)))

simplify146.0ms

Algorithm
egg-herbie
Counts
670 → 670
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06857364
117524948
250013862

prune429.0ms

Filtered
670 candidates to 102 candidates (15.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New6700670
Fresh033
Picked011
Done000
Total6704674

Merged error: 0.3b

Counts
674 → 4

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)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0.3b

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))
20.0ms
(* x (* (sqrt (+ y z)) (sqrt (- y z))))
4.0ms
(sqrt (+ y z))
15.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

series308.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(sqrt (- y z))
106.0ms
(* x (* (sqrt (+ y z)) (sqrt (- y z))))
39.0ms
(sqrt (+ y z))
77.0ms
(* (sqrt (+ y z)) (sqrt (- y z)))

simplify72.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0421988
11707942
25001917

prune414.0ms

Filtered
149 candidates to 102 candidates (68.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh011
Picked011
Done022
Total1494153

Merged error: 0.3b

Counts
153 → 4

regimes260.0ms

bsearch15.0ms