Details

Time bar (total: 3.9s)

analyze230.0ms (5.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)

sample16.0ms (0.4%)

Algorithm
intervals
Results
7.0ms256×body128valid
Compiler

Compiled 17 to 15 computations (11.8% saved)

simplify237.0ms (6.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
075610
175610

prune7.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.1b
(/.f64 (neg.f64 (+.f64 f n)) (-.f64 f n))

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity_binary64
60×times-frac_binary64
58×add-sqr-sqrt_binary64
32×add-cube-cbrt_binary64
24×distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
13×difference-of-squares_binary64 distribute-lft-out--_binary64
12×distribute-lft-out_binary64 associate-/l*_binary64
neg-mul-1_binary64
associate-/r*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l/_binary64 distribute-neg-frac_binary64 associate-/r/_binary64
flip3-+_binary64 add-log-exp_binary64 pow1_binary64 flip3--_binary64 neg-sub0_binary64 cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 distribute-frac-neg_binary64 flip--_binary64 flip-+_binary64
Counts
1 → 95
Calls

1 calls:

12.0ms
(/.f64 (neg.f64 (+.f64 f n)) (-.f64 f n))

series108.0ms (2.8%)

Counts
1 → 3
Calls

1 calls:

108.0ms
(/.f64 (neg.f64 (+.f64 f n)) (-.f64 f n))

simplify62.0ms (1.6%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049562073
149562073

prune212.0ms (5.5%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New93598
Fresh000
Picked101
Done000
Total94599

Merged error: 0.0b

Counts
99 → 5
Compiler

Compiled 4279 to 1630 computations (61.9% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite89.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
498×times-frac_binary64
438×*-un-lft-identity_binary64
334×add-sqr-sqrt_binary64
212×add-cube-cbrt_binary64
104×distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
78×associate-/r*_binary64
61×difference-of-squares_binary64 distribute-lft-out--_binary64
52×distribute-lft-out_binary64
26×neg-mul-1_binary64
15×add-exp-log_binary64
11×associate-/r/_binary64
10×distribute-neg-frac_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 → 382
Calls

2 calls:

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

series194.0ms (5%)

Counts
2 → 6
Calls

2 calls:

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

simplify135.0ms (3.5%)

Algorithm
egg-herbie
Counts
388 → 388
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
061749333

prune301.0ms (7.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3862388
Fresh224
Picked101
Done000
Total3894393

Merged error: 0.0b

Counts
393 → 4
Compiler

Compiled 7758 to 1845 computations (76.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite251.0ms (6.5%)

Algorithm
rewrite-expression-head
Rules
546×*-un-lft-identity_binary64
421×times-frac_binary64
202×add-sqr-sqrt_binary64
142×add-cube-cbrt_binary64
124×distribute-rgt-neg-in_binary64
105×distribute-lft-out--_binary64
104×distribute-lft-neg-in_binary64
72×distribute-lft-out_binary64
55×associate-/r*_binary64
42×cancel-sign-sub-inv_binary64
30×associate-/r/_binary64
26×distribute-neg-frac_binary64
21×neg-mul-1_binary64
20×difference-of-squares_binary64
15×distribute-rgt-out--_binary64
14×div-inv_binary64
13×flip3-+_binary64 flip-+_binary64
12×add-exp-log_binary64
10×add-cbrt-cube_binary64
associate-/l*_binary64
add-log-exp_binary64
pow1_binary64
div-exp_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64
flip3--_binary64 sub-div_binary64 flip--_binary64 frac-sub_binary64
sub-neg_binary64 diff-log_binary64 1-exp_binary64 inv-pow_binary64 rec-exp_binary64 pow-flip_binary64
Counts
4 → 360
Calls

4 calls:

93.0ms
(/.f64 1 (-.f64 (/.f64 f (neg.f64 (+.f64 f n))) (/.f64 n (neg.f64 (+.f64 f n)))))
89.0ms
(-.f64 (/.f64 f (neg.f64 (+.f64 f n))) (/.f64 n (neg.f64 (+.f64 f n))))
8.0ms
(/.f64 f (neg.f64 (+.f64 f n)))
7.0ms
(/.f64 n (neg.f64 (+.f64 f n)))

series371.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

138.0ms
(/.f64 1 (-.f64 (/.f64 f (neg.f64 (+.f64 f n))) (/.f64 n (neg.f64 (+.f64 f n)))))
125.0ms
(-.f64 (/.f64 f (neg.f64 (+.f64 f n))) (/.f64 n (neg.f64 (+.f64 f n))))
54.0ms
(/.f64 n (neg.f64 (+.f64 f n)))
54.0ms
(/.f64 f (neg.f64 (+.f64 f n)))

simplify123.0ms (3.2%)

Algorithm
egg-herbie
Counts
372 → 372
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
051257201

prune350.0ms (9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3702372
Fresh123
Picked101
Done000
Total3724376

Merged error: 0b

Counts
376 → 4
Compiler

Compiled 8457 to 2743 computations (67.6% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite95.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
204×*-un-lft-identity_binary64
167×times-frac_binary64
122×add-sqr-sqrt_binary64
62×add-cube-cbrt_binary64
35×distribute-lft-out--_binary64
31×distribute-lft-out_binary64
30×associate-/r/_binary64
25×associate-/r*_binary64
20×difference-of-squares_binary64
18×cancel-sign-sub-inv_binary64
15×distribute-rgt-out--_binary64
14×div-inv_binary64
13×flip3-+_binary64 flip-+_binary64
10×add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l*_binary64
add-log-exp_binary64
pow1_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64
flip3--_binary64 sub-div_binary64 flip--_binary64 frac-sub_binary64
sub-neg_binary64 diff-log_binary64
Counts
4 → 198
Calls

4 calls:

33.0ms
(/.f64 -1 (-.f64 (/.f64 f (+.f64 f n)) (/.f64 n (+.f64 f n))))
28.0ms
(-.f64 (/.f64 f (+.f64 f n)) (/.f64 n (+.f64 f n)))
6.0ms
(/.f64 n (+.f64 f n))
6.0ms
(/.f64 f (+.f64 f n))

series344.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

128.0ms
(/.f64 -1 (-.f64 (/.f64 f (+.f64 f n)) (/.f64 n (+.f64 f n))))
116.0ms
(-.f64 (/.f64 f (+.f64 f n)) (/.f64 n (+.f64 f n)))
51.0ms
(/.f64 f (+.f64 f n))
49.0ms
(/.f64 n (+.f64 f n))

simplify82.0ms (2.1%)

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050123826

prune160.0ms (4.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2091210
Fresh123
Picked011
Done000
Total2104214

Merged error: 0b

Counts
214 → 4
Compiler

Compiled 4152 to 1276 computations (69.3% saved)

regimes26.0ms (0.7%)

Compiler

Compiled 138 to 80 computations (42% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02619
12619

end0.0ms (0%)

sample424.0ms (11%)

Algorithm
intervals
Results
203.0ms8000×body128valid
Compiler

Compiled 89 to 53 computations (40.4% saved)

Profiling

Loading profile data...