Details

Time bar (total: 3.9s)

analyze34.0ms (0.9%)

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.4%)

Algorithm
intervals
Results
7.0ms256×body80valid
Compiler

Compiled 17 to 15 computations (11.8% saved)

simplify222.0ms (5.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
078310
178310

prune6.0ms (0.1%)

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.2%)

Local error

Found 1 expressions with local error:

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

rewrite209.0ms (5.4%)

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 insert-posit16 flip--_binary64 flip-+_binary64
Counts
1 → 46
Calls

1 calls:

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

series100.0ms (2.6%)

Counts
1 → 3
Calls

1 calls:

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

simplify117.0ms (3%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
05382814

prune40.0ms (1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New44549
Fresh000
Picked101
Done000
Total45550

Merged error: 0.0b

Counts
50 → 5
Compiler

Compiled 754 to 185 computations (75.5% 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))

rewrite39.0ms (1%)

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 insert-posit16
flip3--_binary64 div-sub_binary64 inv-pow_binary64 flip--_binary64 pow-flip_binary64
Counts
2 → 176
Calls

2 calls:

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

series191.0ms (4.9%)

Counts
2 → 6
Calls

2 calls:

96.0ms
(/.f64 (-.f64 n f) (+.f64 f n))
95.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))

simplify142.0ms (3.7%)

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
050633724

prune132.0ms (3.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1811182
Fresh044
Picked101
Done000
Total1825187

Merged error: 0b

Counts
187 → 5
Compiler

Compiled 3143 to 817 computations (74% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite91.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
954×times-frac_binary64
631×*-un-lft-identity_binary64
491×add-sqr-sqrt_binary64
369×add-cube-cbrt_binary64
87×associate-/r/_binary64
70×distribute-lft-out_binary64
61×difference-of-squares_binary64 distribute-lft-out--_binary64
51×add-exp-log_binary64
44×div-inv_binary64
36×div-exp_binary64
27×associate-/r*_binary64 associate-/l*_binary64
23×flip3-+_binary64 flip-+_binary64
20×flip3--_binary64 flip--_binary64
19×add-cbrt-cube_binary64
10×1-exp_binary64 cbrt-undiv_binary64 rec-exp_binary64
pow1_binary64
add-log-exp_binary64 clear-num_binary64 frac-2neg_binary64 insert-posit16
inv-pow_binary64 pow-flip_binary64
associate-/l/_binary64
Counts
3 → 530
Calls

3 calls:

27.0ms
(/.f64 (/.f64 1 (-.f64 n f)) (/.f64 1 (+.f64 f n)))
7.0ms
(/.f64 1 (-.f64 n f))
6.0ms
(/.f64 1 (+.f64 f n))

series210.0ms (5.4%)

Counts
3 → 9
Calls

3 calls:

95.0ms
(/.f64 (/.f64 1 (-.f64 n f)) (/.f64 1 (+.f64 f n)))
65.0ms
(/.f64 1 (+.f64 f n))
50.0ms
(/.f64 1 (-.f64 n f))

simplify246.0ms (6.4%)

Algorithm
egg-herbie
Counts
539 → 539
Iterations

Useful iterations: 0 (107.0ms)

IterNodesCost
0497614724
1497614724

prune509.0ms (13.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New5390539
Fresh044
Picked011
Done000
Total5395544

Merged error: 0b

Counts
544 → 5
Compiler

Compiled 11134 to 4127 computations (62.9% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
0.0b
(*.f64 (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (sqrt.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))

rewrite92.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
316×*-un-lft-identity_binary64
191×times-frac_binary64
188×sqrt-prod_binary64
187×add-sqr-sqrt_binary64
88×add-cube-cbrt_binary64
55×distribute-lft-out_binary64
53×swap-sqr_binary64
46×distribute-lft-out--_binary64
34×difference-of-squares_binary64
29×associate-*r*_binary64 associate-*l*_binary64
20×pow1_binary64
14×associate-/r/_binary64
10×associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1/2_binary64 sqrt-pow1_binary64 unswap-sqr_binary64
associate-/l*_binary64
flip3--_binary64 div-inv_binary64 flip--_binary64
pow-prod-up_binary64 sqrt-div_binary64
associate-/l/_binary64 add-log-exp_binary64 insert-posit16
pow-prod-down_binary64 pow-sqr_binary64
flip3-+_binary64 cbrt-undiv_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 flip-+_binary64
cbrt-unprod_binary64 rem-square-sqrt_binary64 associate-*r/_binary64 pow-plus_binary64 sqrt-unprod_binary64 prod-exp_binary64 frac-times_binary64 pow2_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 280
Calls

4 calls:

37.0ms
(*.f64 (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
10.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
10.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
9.0ms
(sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f)))

series591.0ms (15.3%)

Counts
4 → 12
Calls

4 calls:

284.0ms
(sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
135.0ms
(*.f64 (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (sqrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
92.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
79.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify162.0ms (4.2%)

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
049205464
149205464

prune209.0ms (5.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2920292
Fresh033
Picked011
Done011
Total2925297

Merged error: 0b

Counts
297 → 5
Compiler

Compiled 6118 to 865 computations (85.9% saved)

regimes27.0ms (0.7%)

Compiler

Compiled 180 to 104 computations (42.2% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02116
12116

end0.0ms (0%)

sample452.0ms (11.7%)

Algorithm
intervals
Results
209.0ms8000×body80valid
Compiler

Compiled 108 to 66 computations (38.9% saved)

Profiling

Loading profile data...