Details

Time bar (total: 2.1s)

analyze50.0ms (2.3%)

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 11 to 7 computations (36.4% saved)

sample915.0ms (42.8%)

Results
796.0ms8256×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify76.0ms (3.5%)

Algorithm
egg-herbie
Rules
694×fma-def_binary64
621×fma-neg_binary64
457×times-frac_binary64
316×div-sub_binary64
141×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0712
11812
23812
37112
415212
520712
659710
793710
8131410
9133710
10134210
11136910
12137910
13137910
14127410

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 35 to 18 computations (48.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite99.0ms (4.6%)

Algorithm
batch-egg-rewrite
Rules
884×expm1-log1p-u_binary64
758×prod-diff_binary64
77×add-sqr-sqrt_binary64
74×log1p-expm1-u_binary64
72×add-log-exp_binary64
Counts
1 → 35
Calls

1 calls:

98.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
114310
2214610
3525310
000
100

simplify49.0ms (2.3%)

Algorithm
egg-herbie
Rules
838×fma-neg_binary64
821×associate-/l*_binary64
515×associate-/r*_binary64
386×associate-/r/_binary64
251×cancel-sign-sub-inv_binary64
Counts
59 → 49
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035426
1110393
2368342
31432324
44696324
55368324

prune73.0ms (3.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New47249
Fresh000
Picked011
Done000
Total47350
Error
0b
Counts
50 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.5b
(expm1.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(pow.f64 (/.f64 (-.f64 n f) (+.f64 f n)) -1)
Compiler

Compiled 692 to 287 computations (58.5% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series18.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

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

rewrite123.0ms (5.8%)

Algorithm
batch-egg-rewrite
Rules
974×prod-diff_binary64
280×egg-rr
171×expm1-udef_binary64
171×log1p-udef_binary64
98×add-sqr-sqrt_binary64
Counts
2 → 280
Calls

2 calls:

111.0ms
(pow.f64 (/.f64 (-.f64 n f) (+.f64 f n)) -1)
111.0ms
(/.f64 (-.f64 n f) (+.f64 f n))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0823
118820
2266520
3512220
000
100

simplify64.0ms (3%)

Algorithm
egg-herbie
Rules
758×cancel-sign-sub-inv_binary64
468×fma-neg_binary64
313×neg-mul-1_binary64
307×neg-sub0_binary64
269×distribute-neg-frac_binary64
Counts
328 → 306
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
044852
1152792
2497702
31860651
44281651
54974651

prune183.0ms (8.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3060306
Fresh011
Picked011
Done011
Total3063309
Error
0b
Counts
309 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.5b
(expm1.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(pow.f64 (/.f64 (-.f64 n f) (+.f64 f n)) -1)
Compiler

Compiled 13195 to 3415 computations (74.1% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
2.5b
(log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))

series21.0ms (1%)

Counts
2 → 48
Calls

2 calls:

14.0ms
(log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
7.0ms
(expm1.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))

rewrite82.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
948×prod-diff_binary64
409×fma-def_binary64
204×fma-neg_binary64
155×expm1-udef_binary64
155×log1p-udef_binary64
Counts
2 → 73
Calls

2 calls:

80.0ms
(expm1.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
80.0ms
(log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
116222
2233622
3478322
4507522
000
100

simplify66.0ms (3.1%)

Algorithm
egg-herbie
Rules
842×fma-neg_binary64
452×cancel-sign-sub-inv_binary64
348×associate-+l+_binary64
308×fma-def_binary64
263×associate-+r+_binary64
Counts
121 → 110
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
077960
1242903
2787834
33084828
44511828
55093828

prune80.0ms (3.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh000
Picked011
Done022
Total1593162
Error
0b
Counts
162 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.5b
(expm1.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(pow.f64 (/.f64 (-.f64 n f) (+.f64 f n)) -1)
Compiler

Compiled 2431 to 1038 computations (57.3% saved)

regimes73.0ms (3.4%)

Accuracy

Total 0.0b remaining (32.1%)

Threshold costs 0.0b (32.1%)

Counts
24 → 1
Compiler

Compiled 726 to 555 computations (23.6% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11113
21513
31713
41813
51813

end140.0ms (6.5%)

Compiler

Compiled 53 to 33 computations (37.7% saved)

Profiling

Loading profile data...