Details

Time bar (total: 2.4s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.3s (52.1%)

Results
480.0ms2042×body512valid
453.0ms4739×body128valid
170.0ms1030×body256valid
135.0ms445×body1024valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify9.0ms (0.4%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
13×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11616
22116
32916
43916
55716
69416
712716
817016
920616
1023216
1123416
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
14.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.6b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 47 to 39 computations (17% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
2.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

series7.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
2.0ms
(/.f64 1 (-.f64 x 1))
2.0ms
(/.f64 1 (+.f64 x 1))

rewrite73.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
867×prod-diff_binary64
180×egg-rr
162×expm1-udef_binary64
162×log1p-udef_binary64
97×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
119330
2292430
Stop Event
node limit
Counts
3 → 180
Calls

3 calls:

69.0ms
(/.f64 1 (+.f64 x 1))
69.0ms
(/.f64 1 (-.f64 x 1))
69.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

simplify31.0ms (1.3%)

Algorithm
egg-herbie
Rules
429×associate-*l*_binary64
355×fma-neg_binary64
346×associate-/r*_binary64
286×cancel-sign-sub-inv_binary64
218×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065575
1198543
2594540
31925537
Stop Event
node limit
Counts
216 → 221

prune232.0ms (9.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2183221
Fresh000
Picked101
Done000
Total2193222
Error
0.2b
Counts
222 → 3
Alt Table
StatusErrorProgram
29.9b
(-.f64 (pow.f64 (pow.f64 (+.f64 1 x) -3) 1/3) (/.f64 1 (-.f64 x 1)))
32.8b
(+.f64 (/.f64 -2 (pow.f64 x 4)) (/.f64 -2 (*.f64 x x)))
13.6b
(/.f64 (/.f64 (+.f64 x (-.f64 -1 (+.f64 1 x))) (+.f64 1 x)) (+.f64 x -1))
Compiler

Compiled 5768 to 4659 computations (19.2% saved)

localize7.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (/.f64 (+.f64 x (-.f64 -1 (+.f64 1 x))) (+.f64 1 x)) (+.f64 x -1))
0.0b
(/.f64 (+.f64 x (-.f64 -1 (+.f64 1 x))) (+.f64 1 x))
0.0b
(-.f64 -1 (+.f64 1 x))
1.7b
(+.f64 x (-.f64 -1 (+.f64 1 x)))

series8.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

3.0ms
(/.f64 (/.f64 (+.f64 x (-.f64 -1 (+.f64 1 x))) (+.f64 1 x)) (+.f64 x -1))
2.0ms
(/.f64 (+.f64 x (-.f64 -1 (+.f64 1 x))) (+.f64 1 x))
1.0ms
(-.f64 -1 (+.f64 1 x))
1.0ms
(+.f64 x (-.f64 -1 (+.f64 1 x)))

rewrite100.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
495×fma-def_binary64
277×fma-neg_binary64
217×expm1-udef_binary64
217×log1p-udef_binary64
212×egg-rr
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01043
124343
2388538
Stop Event
node limit
Counts
4 → 212
Calls

4 calls:

97.0ms
(/.f64 (/.f64 (+.f64 x (-.f64 -1 (+.f64 1 x))) (+.f64 1 x)) (+.f64 x -1))
97.0ms
(/.f64 (+.f64 x (-.f64 -1 (+.f64 1 x))) (+.f64 1 x))
97.0ms
(-.f64 -1 (+.f64 1 x))
97.0ms
(+.f64 x (-.f64 -1 (+.f64 1 x)))

simplify34.0ms (1.4%)

Algorithm
egg-herbie
Rules
460×fma-neg_binary64
453×times-frac_binary64
336×associate-/r*_binary64
303×cancel-sign-sub-inv_binary64
238×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059482
1188444
2554435
31852430
Stop Event
node limit
Counts
260 → 245

prune167.0ms (6.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2441245
Fresh022
Picked101
Done000
Total2453248
Error
0.0b
Counts
248 → 3
Alt Table
StatusErrorProgram
29.9b
(-.f64 (pow.f64 (pow.f64 (+.f64 1 x) -3) 1/3) (/.f64 1 (-.f64 x 1)))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 x -1))
32.8b
(+.f64 (/.f64 -2 (pow.f64 x 4)) (/.f64 -2 (*.f64 x x)))
Compiler

Compiled 5118 to 3766 computations (26.4% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 -2 (+.f64 1 x))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 x -1))

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 x -1))
2.0ms
(/.f64 -2 (+.f64 1 x))

rewrite50.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
440×log-prod_binary64
196×fma-def_binary64
195×log-div_binary64
177×prod-diff_binary64
170×expm1-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
120320
2275315
Stop Event
node limit
Counts
2 → 70
Calls

2 calls:

48.0ms
(/.f64 -2 (+.f64 1 x))
48.0ms
(/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 x -1))

simplify28.0ms (1.1%)

Algorithm
egg-herbie
Rules
453×times-frac_binary64
453×fma-neg_binary64
349×associate-/r*_binary64
302×cancel-sign-sub-inv_binary64
241×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055409
1179389
2539380
31814375
Stop Event
node limit
Counts
94 → 99

prune77.0ms (3.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New97299
Fresh202
Picked011
Done000
Total993102
Error
0.0b
Counts
102 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 x -1))
0.2b
(+.f64 0 (/.f64 -2 (fma.f64 x x -1)))
21.0b
(/.f64 (*.f64 (/.f64 -2 (+.f64 1 (pow.f64 x 3))) (fma.f64 x (+.f64 x -1) 1)) (+.f64 x -1))
Compiler

Compiled 1455 to 1167 computations (19.8% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 -2 (fma.f64 x x -1))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(/.f64 -2 (fma.f64 x x -1))

rewrite36.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
502×log1p-expm1-u_binary64
502×expm1-log1p-u_binary64
262×unpow-prod-down_binary64
229×log-prod_binary64
145×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11228
213618
Stop Event
node limit
Counts
1 → 38
Calls

1 calls:

35.0ms
(/.f64 -2 (fma.f64 x x -1))

simplify30.0ms (1.2%)

Algorithm
egg-herbie
Rules
662×fma-def_binary64
413×unswap-sqr_binary64
236×associate-*l*_binary64
235×associate-/r*_binary64
220×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038227
1116209
2340206
31122203
44483203
Stop Event
node limit
Counts
50 → 53

prune44.0ms (1.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New53053
Fresh011
Picked011
Done011
Total53356
Error
0.0b
Counts
56 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 x -1))
0.2b
(+.f64 0 (/.f64 -2 (fma.f64 x x -1)))
21.0b
(/.f64 (*.f64 (/.f64 -2 (+.f64 1 (pow.f64 x 3))) (fma.f64 x (+.f64 x -1) 1)) (+.f64 x -1))
Compiler

Compiled 830 to 676 computations (18.6% saved)

regimes149.0ms (6.1%)

Accuracy

Total 0.1b remaining (74.9%)

Threshold costs 0.1b (74.9%)

Counts
92 → 1
Compiler

Compiled 2732 to 2194 computations (19.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11313
Stop Event
saturated

end53.0ms (2.2%)

Compiler

Compiled 58 to 46 computations (20.7% saved)

Profiling

Loading profile data...