Details

Time bar (total: 4.3s)

analyze8.0ms (0.2%)

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.6s (37.8%)

Results
495.0ms4496×body128valid
478.0ms1378×body1024valid
451.0ms1623×body512valid
159.0ms759×body256valid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify17.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
12222
23822
36122
410922
518622
624622
729622
834822
936822
1034422

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 63 to 51 computations (19% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
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)))

series11.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

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

rewrite350.0ms (8.2%)

Algorithm
egg-rewrite
Rules
130×egg
67×egg
45×egg
44×egg
Counts
4 → 286
Calls

4 calls:

97.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
86.0ms
(/.f64 1 (-.f64 x 1))
82.0ms
(/.f64 1 (+.f64 x 1))
79.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
127222
2385622
3491222
0813
119213
2253413
3473613
4493413
057
11097
212417
347667
455257
057
11097
212547
348247
455587

simplify154.0ms (3.6%)

Algorithm
egg-herbie
Rules
653×fma-neg_binary64
489×cancel-sign-sub-inv_binary64
328×sub-neg_binary64
312×times-frac_binary64
273×unsub-neg_binary64
Counts
334 → 336
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078752
1246726
2697720
31844717
44130717
54617717
64921717

prune314.0ms (7.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3333336
Fresh000
Picked101
Done000
Total3343337
Error
0.3b
Counts
337 → 3
Alt Table
StatusErrorProgram
29.2b
(/.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))))
9.1b
(+.f64 (+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x))) (/.f64 -2 x))
30.7b
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 7))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 9))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))
Compiler

Compiled 8402 to 6704 computations (20.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite305.0ms (7.1%)

Algorithm
egg-rewrite
Rules
65×egg
47×egg
43×egg
Counts
3 → 155
Calls

3 calls:

125.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x)))
89.0ms
(+.f64 (+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x))) (/.f64 -2 x))
88.0ms
(/.f64 1 (+.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
119316
2260816
3506116
01122
127322
2391722
3494622
057
11087
212677
348777
456897

simplify79.0ms (1.9%)

Algorithm
egg-herbie
Rules
574×sub-neg_binary64
367×fma-def_binary64
314×associate-*l*_binary64
291×times-frac_binary64
264×distribute-lft-out_binary64
Counts
191 → 196
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
070595
1222581
2670569
31937568
44176568
55086568

prune193.0ms (4.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2531254
Fresh112
Picked011
Done000
Total2543257
Error
0.3b
Counts
257 → 3
Alt Table
StatusErrorProgram
9.1b
(+.f64 (+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x))) (/.f64 -2 x))
29.2b
(/.f64 (+.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) -2)) (*.f64 (fma.f64 x x -1) x))
30.7b
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 7))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 9))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))
Compiler

Compiled 6023 to 4826 computations (19.9% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) -2)) (*.f64 (fma.f64 x x -1) x))
0.0b
(*.f64 (fma.f64 x x -1) x)
3.2b
(+.f64 (-.f64 x 1) (+.f64 1 x))
21.4b
(+.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) -2))

series14.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

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

rewrite298.0ms (6.9%)

Algorithm
egg-rewrite
Rules
80×egg
64×egg
62×egg
58×egg
Counts
4 → 264
Calls

4 calls:

82.0ms
(*.f64 (fma.f64 x x -1) x)
82.0ms
(/.f64 (+.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) -2)) (*.f64 (fma.f64 x x -1) x))
68.0ms
(+.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) -2))
60.0ms
(+.f64 (-.f64 x 1) (+.f64 1 x))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01221
127115
2349115
3531415
0610
11454
219954
352514
058
1948
210288
347068
458988
01431
131925
2434625
3508225

simplify128.0ms (3%)

Algorithm
egg-herbie
Rules
789×times-frac_binary64
600×fma-def_binary64
446×fma-neg_binary64
306×sub-neg_binary64
292×div-sub_binary64
Counts
312 → 280
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
044357
1132351
2373345
31020345
42561345
53552345
64727345
74840345
84998345
94884345

prune189.0ms (4.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2791280
Fresh011
Picked101
Done011
Total2803283
Error
0.3b
Counts
283 → 3
Alt Table
StatusErrorProgram
0.3b
(/.f64 2 (*.f64 (fma.f64 x x -1) x))
9.1b
(+.f64 (+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x))) (/.f64 -2 x))
30.7b
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 7))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 9))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))
Compiler

Compiled 8255 to 5113 computations (38.1% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite46.0ms (1.1%)

Algorithm
egg-rewrite
Rules
41×egg
Counts
1 → 41
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114411
2166411
3506711

simplify98.0ms (2.3%)

Algorithm
egg-herbie
Rules
789×times-frac_binary64
599×fma-def_binary64
469×sub-neg_binary64
448×fma-neg_binary64
282×associate-/r*_binary64
Counts
53 → 54
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041223
1127217
2362211
31001211
42512211
53419211
64611211
74834211
85079211

prune135.0ms (3.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1154119
Fresh101
Picked101
Done101
Total1184122
Error
0.0b
Counts
122 → 4
Alt Table
StatusErrorProgram
21.4b
(pow.f64 (sqrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))) 2)
0.1b
(/.f64 (/.f64 2 (fma.f64 x x -1)) x)
0.3b
(*.f64 (/.f64 1 (*.f64 x (fma.f64 x x -1))) 2)
0.3b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 1617 to 1150 computations (28.9% saved)

regimes189.0ms (4.4%)

Accuracy

Total 0.0b remaining (73.5%)

Threshold costs 0.0b (73.5%)

Counts
58 → 1
Compiler

Compiled 1716 to 1324 computations (22.8% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1711

end85.0ms (2%)

Compiler

Compiled 58 to 41 computations (29.3% saved)

Profiling

Loading profile data...