Details

Time bar (total: 2.3s)

analyze32.0ms (1.4%)

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)

sample15.0ms (0.6%)

Algorithm
intervals
Results
7.0ms256×body80valid
Compiler

Compiled 17 to 15 computations (11.8% saved)

simplify568.0ms (24.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
078310
178310

prune8.0ms (0.3%)

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)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

rewrite14.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:

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

series19.0ms (0.8%)

Counts
1 → 3
Calls

1 calls:

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

simplify117.0ms (5.1%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
04915802
14915802

prune29.0ms (1.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New45348
Fresh000
Picked101
Done000
Total46349

Merged error: 0.0b

Counts
49 → 3
Compiler

Compiled 686 to 158 computations (77% saved)

localize8.0ms (0.4%)

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

rewrite39.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
(/.f64 (+.f64 f n) (-.f64 n f))
11.0ms
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
10.0ms
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))

series34.0ms (1.5%)

Counts
3 → 9
Calls

3 calls:

16.0ms
(exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
9.0ms
(log.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
9.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify121.0ms (5.2%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (93.0ms)

IterNodesCost
049581784
149581784

prune64.0ms (2.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1242126
Fresh112
Picked011
Done000
Total1254129

Merged error: 0b

Counts
129 → 4
Compiler

Compiled 2007 to 428 computations (78.7% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite54.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
130×*-un-lft-identity_binary64
86×add-sqr-sqrt_binary64
80×times-frac_binary64
58×log-pow_binary64
54×sqrt-pow1_binary64
52×exp-prod_binary64
50×add-cube-cbrt_binary64
22×distribute-lft-out_binary64
18×difference-of-squares_binary64 distribute-lft-out--_binary64
12×log-prod_binary64
10×associate-/r*_binary64 add-exp-log_binary64
pow1_binary64 add-cbrt-cube_binary64 associate-/r/_binary64 associate-/l*_binary64
sqrt-prod_binary64
associate-/l/_binary64 add-log-exp_binary64 flip3--_binary64 div-inv_binary64 flip--_binary64
flip3-+_binary64 pow1/2_binary64 cbrt-undiv_binary64 rem-log-exp_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 flip-+_binary64
Counts
4 → 176
Calls

4 calls:

13.0ms
(log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))))
13.0ms
(log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))))
9.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
9.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

series71.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

25.0ms
(log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))))
24.0ms
(log.f64 (sqrt.f64 (exp.f64 (/.f64 (+.f64 f n) (-.f64 n f)))))
12.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
9.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify132.0ms (5.7%)

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
049252996
149252996

prune91.0ms (4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1880188
Fresh022
Picked011
Done011
Total1884192

Merged error: 0b

Counts
192 → 4
Compiler

Compiled 5255 to 889 computations (83.1% 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))

rewrite34.0ms (1.5%)

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:

12.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
11.0ms
(/.f64 (-.f64 n f) (+.f64 f n))

series19.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

9.0ms
(/.f64 (-.f64 n f) (+.f64 f n))
9.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))

simplify112.0ms (4.9%)

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
058213700

prune78.0ms (3.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1800180
Fresh011
Picked011
Done022
Total1804184

Merged error: 0b

Counts
184 → 4
Compiler

Compiled 3035 to 763 computations (74.9% saved)

regimes54.0ms (2.3%)

Compiler

Compiled 106 to 74 computations (30.2% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01914
11914

end0.0ms (0%)

sample572.0ms (24.8%)

Algorithm
intervals
Results
190.0ms8000×body80valid
Compiler

Compiled 69 to 49 computations (29% saved)

Profiling

Loading profile data...