Details

Time bar (total: 2.5s)

analyze242.0ms (9.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample16.0ms (0.6%)

Algorithm
intervals
Results
7.0ms256×body128valid
Compiler

Compiled 17 to 15 computations (11.8% saved)

simplify230.0ms (9.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
075610
175610

prune6.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite15.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
20×times-frac_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
associate-/r*_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l/_binary64 associate-/r/_binary64
flip3-+_binary64 add-log-exp_binary64 pow1_binary64 flip3--_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64
Counts
1 → 45
Calls

1 calls:

10.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

series101.0ms (4.1%)

Counts
1 → 3
Calls

1 calls:

100.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify60.0ms (2.5%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04962802
14962802

prune47.0ms (1.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New43548
Fresh000
Picked101
Done000
Total44549

Merged error: 0b

Counts
49 → 5
Compiler

Compiled 718 to 178 computations (75.2% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
0.0b
(/.f64 (-.f64 n f) (+.f64 f n))

rewrite43.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
178×times-frac_binary64
174×*-un-lft-identity_binary64
122×add-sqr-sqrt_binary64
80×add-cube-cbrt_binary64
30×associate-/r*_binary64
26×distribute-lft-out_binary64
21×difference-of-squares_binary64 distribute-lft-out--_binary64
15×add-exp-log_binary64
11×associate-/r/_binary64
add-cbrt-cube_binary64
associate-/l*_binary64 div-exp_binary64
div-inv_binary64
flip3-+_binary64 flip-+_binary64
cbrt-undiv_binary64
pow1_binary64
associate-/l/_binary64 add-log-exp_binary64 1-exp_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
flip3--_binary64 div-sub_binary64 inv-pow_binary64 flip--_binary64 pow-flip_binary64
Counts
2 → 174
Calls

2 calls:

15.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
8.0ms
(/.f64 (-.f64 n f) (+.f64 f n))

series190.0ms (7.7%)

Counts
2 → 6
Calls

2 calls:

104.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
86.0ms
(/.f64 (-.f64 n f) (+.f64 f n))

simplify89.0ms (3.6%)

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
062353700

prune133.0ms (5.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1800180
Fresh044
Picked011
Done000
Total1805185

Merged error: 0b

Counts
185 → 5
Compiler

Compiled 3085 to 797 computations (74.2% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
0.0b
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite42.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity_binary64
61×add-sqr-sqrt_binary64
60×times-frac_binary64
52×exp-prod_binary64
35×add-cube-cbrt_binary64
27×log-pow_binary64
16×distribute-lft-out_binary64
13×difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/r/_binary64
associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 pow1_binary64 associate-/l*_binary64
flip3--_binary64 log-prod_binary64 div-inv_binary64 flip--_binary64
associate-/l/_binary64
flip3-+_binary64 cbrt-undiv_binary64 rem-log-exp_binary64 rem-exp-log_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 flip-+_binary64
Counts
3 → 117
Calls

3 calls:

12.0ms
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
10.0ms
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
8.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

series310.0ms (12.6%)

Counts
3 → 9
Calls

3 calls:

121.0ms
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
104.0ms
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
86.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify73.0ms (3%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049871784
149871784

prune86.0ms (3.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1260126
Fresh033
Picked011
Done011
Total1265131

Merged error: 0b

Counts
131 → 5
Compiler

Compiled 2006 to 429 computations (78.6% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 1 (-.f64 n f))
0.1b
(*.f64 (+.f64 f n) (/.f64 1 (-.f64 n f)))

rewrite28.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt_binary64
39×*-un-lft-identity_binary64
32×times-frac_binary64
22×add-cube-cbrt_binary64
21×associate-*r*_binary64
15×add-exp-log_binary64
add-cbrt-cube_binary64
difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/r*_binary64 pow1_binary64
associate-/r/_binary64 associate-*l*_binary64 prod-exp_binary64 div-exp_binary64
unswap-sqr_binary64 associate-/l*_binary64
flip3-+_binary64 add-log-exp_binary64 flip3--_binary64 cbrt-unprod_binary64 1-exp_binary64 cbrt-undiv_binary64 rec-exp_binary64 div-inv_binary64 flip--_binary64 flip-+_binary64 frac-times_binary64 associate-*l/_binary64
pow-prod-down_binary64 distribute-lft-out_binary64 associate-*r/_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 un-div-inv_binary64 pow-flip_binary64 *-commutative_binary64
Counts
2 → 90
Calls

2 calls:

15.0ms
(*.f64 (+.f64 f n) (/.f64 1 (-.f64 n f)))
6.0ms
(/.f64 1 (-.f64 n f))

series136.0ms (5.5%)

Counts
2 → 6
Calls

2 calls:

92.0ms
(*.f64 (+.f64 f n) (/.f64 1 (-.f64 n f)))
44.0ms
(/.f64 1 (-.f64 n f))

simplify58.0ms (2.4%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
051061180

prune61.0ms (2.5%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh022
Picked011
Done022
Total965101

Merged error: 0b

Counts
101 → 5
Compiler

Compiled 1314 to 460 computations (65% saved)

regimes28.0ms (1.1%)

Compiler

Compiled 122 to 90 computations (26.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01913
11913

end0.0ms (0%)

sample437.0ms (17.7%)

Algorithm
intervals
Results
208.0ms8000×body128valid
Compiler

Compiled 77 to 57 computations (26% saved)

Profiling

Loading profile data...