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
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.1s (44.9%)

Results
422.0ms2128×body512valid
383.0ms4659×body128valid
147.0ms1068×body256valid
101.0ms401×body1024valid
0.0msbody128invalid
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21813
32613
43413
55213
67713
79413
811113
912113
1012513
1112713
1211313

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 39 to 31 computations (20.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series8.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

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

rewrite63.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
896×expm1-log1p-u_binary64
733×prod-diff_binary64
135×egg-rr
85×add-sqr-sqrt_binary64
83×log1p-expm1-u_binary64
Counts
2 → 135
Calls

2 calls:

60.0ms
(/.f64 1 (+.f64 x 1))
60.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
116820
2222620
3523920
000
100

simplify78.0ms (3.2%)

Algorithm
egg-herbie
Rules
625×fma-neg_binary64
429×cancel-sign-sub-inv_binary64
405×associate-/r*_binary64
338×div-sub_binary64
334×sub-neg_binary64
Counts
159 → 163
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037372
198366
2234366
3577364
41646363
54272363
64983363
74917363

prune117.0ms (4.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1603163
Fresh000
Picked101
Done000
Total1613164
Error
0.2b
Counts
164 → 3
Alt Table
StatusErrorProgram
15.4b
(/.f64 (-.f64 x (+.f64 1 x)) (*.f64 x (+.f64 1 x)))
31.1b
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
27.5b
(-.f64 (pow.f64 (/.f64 1 (cbrt.f64 (+.f64 1 x))) 3) (/.f64 1 x))
Compiler

Compiled 3433 to 2562 computations (25.4% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series7.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite77.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
467×log-prod_binary64
407×fma-def_binary64
233×egg-rr
216×fma-neg_binary64
188×log-div_binary64
Counts
3 → 233
Calls

3 calls:

72.0ms
(*.f64 x (+.f64 1 x))
72.0ms
(/.f64 (-.f64 x (+.f64 1 x)) (*.f64 x (+.f64 1 x)))
72.0ms
(-.f64 x (+.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0730
116730
2255826
3515226
000
100

simplify90.0ms (3.7%)

Algorithm
egg-herbie
Rules
517×distribute-neg-frac_binary64
428×associate-*l*_binary64
405×associate-/r*_binary64
302×associate-*r*_binary64
292×fma-def_binary64
Counts
269 → 253
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030285
173265
2159265
3380265
4979265
53552265
64942265
74991265
84880265

prune148.0ms (6.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2521253
Fresh112
Picked011
Done000
Total2533256
Error
0.2b
Counts
256 → 3
Alt Table
StatusErrorProgram
15.4b
(*.f64 (/.f64 (/.f64 (-.f64 x (+.f64 x 1)) x) (-.f64 1 (*.f64 x x))) (-.f64 1 x))
15.4b
(/.f64 (-.f64 x (+.f64 1 x)) (*.f64 x (+.f64 1 x)))
31.1b
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
Compiler

Compiled 4774 to 2842 computations (40.5% saved)

localize9.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series7.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite85.0ms (3.5%)

Algorithm
batch-egg-rewrite
egg-rewrite
Rules
138×add-sqr-sqrt_binary64
134×log1p-expm1-u_binary64
134×expm1-log1p-u_binary64
130×add-log-exp_binary64
129×add-cbrt-cube_binary64
Counts
3 → 0
Calls

3 calls:

85.0ms
(/.f64 (/.f64 (-.f64 x (+.f64 x 1)) x) (-.f64 1 (*.f64 x x)))
85.0ms
(*.f64 (/.f64 (/.f64 (-.f64 x (+.f64 x 1)) x) (-.f64 1 (*.f64 x x))) (-.f64 1 x))
85.0ms
(-.f64 x (+.f64 x 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
127021
213121
057
11157
2737
01125
127025
213125
0919
122319
213119
000
100

simplify78.0ms (3.2%)

Algorithm
egg-herbie
Rules
598×cancel-sign-sub-inv_binary64
472×associate-/r*_binary64
349×sub-neg_binary64
338×div-sub_binary64
322×fma-def_binary64
Counts
36 → 29
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
046426
1123418
2316417
3808417
42084417
54178417
64920417
74931417

prune19.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New27229
Fresh011
Picked101
Done011
Total28432
Error
0.1b
Counts
32 → 4
Alt Table
StatusErrorProgram
37.1b
(*.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 1 x))
5.5b
(*.f64 (/.f64 (/.f64 -1 x) (-.f64 1 (*.f64 x x))) (-.f64 1 x))
15.4b
(/.f64 (-.f64 x (+.f64 1 x)) (*.f64 x (+.f64 1 x)))
31.1b
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
Compiler

Compiled 498 to 377 computations (24.3% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 -1 x) (-.f64 1 (*.f64 x x)))
5.5b
(*.f64 (/.f64 (/.f64 -1 x) (-.f64 1 (*.f64 x x))) (-.f64 1 x))

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 (/.f64 -1 x) (-.f64 1 (*.f64 x x)))
3.0ms
(*.f64 (/.f64 (/.f64 -1 x) (-.f64 1 (*.f64 x x))) (-.f64 1 x))

rewrite72.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
349×prod-diff_binary64
252×fma-def_binary64
236×log-div_binary64
189×expm1-udef_binary64
187×log1p-udef_binary64
Counts
2 → 137
Calls

2 calls:

68.0ms
(/.f64 (/.f64 -1 x) (-.f64 1 (*.f64 x x)))
68.0ms
(*.f64 (/.f64 (/.f64 -1 x) (-.f64 1 (*.f64 x x))) (-.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01032
122323
2297023
3509323
000
100

simplify81.0ms (3.3%)

Algorithm
egg-herbie
Rules
598×cancel-sign-sub-inv_binary64
472×associate-/r*_binary64
349×sub-neg_binary64
338×div-sub_binary64
322×fma-def_binary64
Counts
161 → 165
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
046414
1123406
2316405
3808405
42084405
54178405
64920405
74931405

prune117.0ms (4.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1614165
Fresh112
Picked101
Done101
Total1645169
Error
0.0b
Counts
169 → 5
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -1 x) (+.f64 x 1))
37.1b
(*.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 1 x))
1.0b
(pow.f64 (cbrt.f64 (/.f64 (/.f64 -1 x) (+.f64 x 1))) 3)
0.2b
(/.f64 (/.f64 (-.f64 1 x) (neg.f64 x)) (-.f64 1 (*.f64 x x)))
24.4b
(/.f64 (neg.f64 (-.f64 1 (*.f64 x x))) (*.f64 (*.f64 x (-.f64 1 (*.f64 x x))) (+.f64 x 1)))
Compiler

Compiled 3411 to 2185 computations (35.9% saved)

regimes170.0ms (7%)

Accuracy

Total 0.1b remaining (83.9%)

Threshold costs 0.1b (83.9%)

Counts
100 → 1
Compiler

Compiled 2852 to 2154 computations (24.5% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11010
2910

end66.0ms (2.7%)

Compiler

Compiled 77 to 56 computations (27.3% saved)

Profiling

Loading profile data...