Details

Time bar (total: 2.9s)

analyze10.0ms (0.3%)

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

Compiled 17 to 14 computations (17.6% saved)

sample1.5s (51.3%)

Results
469.0ms4655×body128valid
454.0ms1328×body1024valid
411.0ms1541×body512valid
122.0ms732×body256valid
0.0msbody128invalid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify17.0ms (0.6%)

Algorithm
egg-herbie
Rules
127×fma-neg_binary64
82×fma-def_binary64
42×cancel-sign-sub-inv_binary64
41×sub-neg_binary64
28×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
12222
23822
36422
412222
523722
638822
750922
861522
963522
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
9.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
9.8b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 63 to 51 computations (19% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series7.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite74.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
236×expm1-udef_binary64
236×log1p-udef_binary64
136×add-sqr-sqrt_binary64
134×log1p-expm1-u_binary64
134×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01142
127342
2430242
Stop Event
node limit
Counts
3 → 127
Calls

3 calls:

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

simplify32.0ms (1.1%)

Algorithm
egg-herbie
Rules
587×fma-neg_binary64
416×cancel-sign-sub-inv_binary64
250×associate-*l*_binary64
242×fma-def_binary64
184×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
070581
1219559
2647553
32026550
Stop Event
node limit
Counts
163 → 168

prune149.0ms (5.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1662168
Fresh000
Picked101
Done000
Total1672169
Error
0.1b
Counts
169 → 2
Alt Table
StatusErrorProgram
33.9b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))) (/.f64 2 (pow.f64 x 9))))
23.4b
(/.f64 (+.f64 (*.f64 x (+.f64 1 x)) (*.f64 (+.f64 x -1) (-.f64 x (*.f64 (+.f64 1 x) 2)))) (*.f64 (+.f64 x -1) (*.f64 x (+.f64 1 x))))
Compiler

Compiled 4096 to 3239 computations (20.9% saved)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series9.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

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

rewrite86.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
285×log1p-udef_binary64
160×add-sqr-sqrt_binary64
155×log1p-expm1-u_binary64
155×expm1-log1p-u_binary64
153×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01490
132590
2487390
Stop Event
node limit
Counts
4 → 148
Calls

4 calls:

81.0ms
(*.f64 (+.f64 x -1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
81.0ms
(/.f64 (+.f64 (*.f64 x (+.f64 1 x)) (*.f64 (+.f64 x -1) (-.f64 x (*.f64 (+.f64 1 x) 2)))) (*.f64 (+.f64 x -1) (*.f64 x (+.f64 1 x))))
81.0ms
(*.f64 (+.f64 x -1) (*.f64 x (+.f64 1 x)))
81.0ms
(+.f64 (*.f64 x (+.f64 1 x)) (*.f64 (+.f64 x -1) (-.f64 x (*.f64 (+.f64 1 x) 2))))

simplify36.0ms (1.3%)

Algorithm
egg-herbie
Rules
497×fma-neg_binary64
354×cancel-sign-sub-inv_binary64
262×sub-neg_binary64
220×associate-*l*_binary64
196×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
050404
1152382
2432376
31404376
44384376
Stop Event
node limit
Counts
196 → 174

prune151.0ms (5.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1722174
Fresh101
Picked011
Done000
Total1733176
Error
0.1b
Counts
176 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 2 (*.f64 (+.f64 x -1) (*.f64 x (+.f64 1 x))))
23.4b
(/.f64 (+.f64 (*.f64 x (+.f64 1 x)) (*.f64 (+.f64 x -1) (-.f64 x (*.f64 (+.f64 1 x) 2)))) (*.f64 (+.f64 x -1) (*.f64 x (+.f64 1 x))))
33.9b
(+.f64 (/.f64 2 (pow.f64 x 3)) (+.f64 (/.f64 2 (pow.f64 x 5)) (/.f64 2 (pow.f64 x 7))))
Compiler

Compiled 5996 to 3895 computations (35% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite55.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
489×log-prod_binary64
282×fma-def_binary64
248×prod-diff_binary64
184×expm1-udef_binary64
184×log1p-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01016
122216
2287411
Stop Event
node limit
Counts
1 → 26
Calls

1 calls:

54.0ms
(/.f64 2 (*.f64 (+.f64 x -1) (*.f64 x (+.f64 1 x))))

simplify33.0ms (1.2%)

Algorithm
egg-herbie
Rules
591×fma-def_binary64
448×fma-neg_binary64
277×cancel-sign-sub-inv_binary64
228×distribute-rgt-neg-in_binary64
210×sub-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041223
1127217
2375211
31222211
43953211
Stop Event
node limit
Counts
38 → 40

prune83.0ms (2.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New71475
Fresh101
Picked011
Done101
Total73578
Error
0.0b
Counts
78 → 5
Alt Table
StatusErrorProgram
0.9b
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))) 2))
0.1b
(/.f64 2 (*.f64 (+.f64 x -1) (*.f64 x (+.f64 1 x))))
31.0b
(cbrt.f64 (pow.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1))) 3))
0.1b
(*.f64 (/.f64 2 (-.f64 x 1)) (/.f64 1 (fma.f64 x x x)))
0.1b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 1180 to 829 computations (29.7% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (-.f64 x 1))
0.1b
(*.f64 (/.f64 2 (-.f64 x 1)) (/.f64 1 (fma.f64 x x x)))
0.8b
(/.f64 1 (fma.f64 x x x))

series8.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite50.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
453×log-prod_binary64
181×prod-diff_binary64
167×log-div_binary64
166×expm1-udef_binary64
166×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
120529
2274529
Stop Event
node limit
Counts
3 → 109
Calls

3 calls:

48.0ms
(/.f64 2 (-.f64 x 1))
48.0ms
(*.f64 (/.f64 2 (-.f64 x 1)) (/.f64 1 (fma.f64 x x x)))
48.0ms
(/.f64 1 (fma.f64 x x x))

simplify34.0ms (1.2%)

Algorithm
egg-herbie
Rules
691×fma-neg_binary64
507×cancel-sign-sub-inv_binary64
341×fma-def_binary64
208×distribute-lft-out_binary64
160×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
072611
1231592
2687582
32229577
Stop Event
node limit
Counts
145 → 152

prune133.0ms (4.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1493152
Fresh123
Picked101
Done101
Total1525157
Error
0b
Counts
157 → 5
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 2 (fma.f64 x x x)) (+.f64 x -1))
0.1b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
0.9b
(*.f64 (cbrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))) 2))
0.1b
(/.f64 (/.f64 2 (+.f64 x -1)) (fma.f64 x x x))
49.8b
(*.f64 (pow.f64 (sqrt.f64 (/.f64 2 (+.f64 x -1))) 2) (/.f64 1 (fma.f64 x x x)))
Compiler

Compiled 2472 to 1631 computations (34% saved)

regimes326.0ms (11.2%)

Accuracy

Total 0.1b remaining (88.6%)

Threshold costs 0.1b (88.6%)

Counts
142 → 1
Compiler

Compiled 4950 to 3906 computations (21.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
1914
Stop Event
saturated

end77.0ms (2.7%)

Compiler

Compiled 90 to 62 computations (31.1% saved)

Profiling

Loading profile data...