Details

Time bar (total: 5.2s)

analyze16.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)

sample2.9s (54.8%)

Results
916.0ms1390×body1024valid
852.0ms4526×body128valid
716.0ms1538×body512valid
309.0ms802×body256valid
0.0msbody128invalid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify29.0ms (0.6%)

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

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 63 to 51 computations (19% saved)

localize17.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))
2.2b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

series19.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

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

rewrite138.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
425×fma-neg_binary64
236×expm1-udef_binary64
236×log1p-udef_binary64
166×egg-rr
136×add-sqr-sqrt_binary64
Counts
4 → 166
Calls

4 calls:

132.0ms
(/.f64 1 (-.f64 x 1))
132.0ms
(/.f64 1 (+.f64 x 1))
132.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
132.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01149
127249
2385649
3491249
000
100

simplify117.0ms (2.2%)

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
214 → 219
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078752
1246726
2697720
31844717
44130717
54617717
64921717

prune312.0ms (6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2172219
Fresh000
Picked011
Done000
Total2173220
Error
0.4b
Counts
220 → 3
Alt Table
StatusErrorProgram
25.5b
(+.f64 (/.f64 (-.f64 x (*.f64 (+.f64 1 x) 2)) (*.f64 x (+.f64 1 x))) (/.f64 1 (-.f64 x 1)))
31.6b
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 5068 to 4013 computations (20.8% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series21.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

7.0ms
(+.f64 (/.f64 (-.f64 x (*.f64 (+.f64 1 x) 2)) (*.f64 x (+.f64 1 x))) (/.f64 1 (-.f64 x 1)))
6.0ms
(*.f64 x (+.f64 1 x))
5.0ms
(/.f64 (-.f64 x (*.f64 (+.f64 1 x) 2)) (*.f64 x (+.f64 1 x)))
2.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

rewrite147.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
263×expm1-udef_binary64
263×log1p-udef_binary64
167×egg-rr
151×add-sqr-sqrt_binary64
147×log1p-expm1-u_binary64
Counts
4 → 167
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01264
129764
2450464
3520364
000
100

simplify136.0ms (2.6%)

Algorithm
egg-herbie
Rules
513×fma-neg_binary64
507×div-sub_binary64
506×sub-neg_binary64
348×cancel-sign-sub-inv_binary64
312×times-frac_binary64
Counts
215 → 204
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
062537
1190489
2512483
31409483
43480483
54294483
64872483
75199483

prune258.0ms (4.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2040204
Fresh011
Picked011
Done011
Total2043207
Error
0.4b
Counts
207 → 3
Alt Table
StatusErrorProgram
25.5b
(+.f64 (/.f64 (-.f64 x (*.f64 (+.f64 1 x) 2)) (*.f64 x (+.f64 1 x))) (/.f64 1 (-.f64 x 1)))
31.6b
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 5352 to 3977 computations (25.7% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
0.2b
(/.f64 2 (pow.f64 x 5))
0.4b
(/.f64 2 (pow.f64 x 3))

series20.0ms (0.4%)

Counts
3 → 12
Calls

3 calls:

8.0ms
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
6.0ms
(/.f64 2 (pow.f64 x 5))
5.0ms
(/.f64 2 (pow.f64 x 3))

rewrite90.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
931×prod-diff_binary64
199×log1p-udef_binary64
114×add-sqr-sqrt_binary64
113×log1p-expm1-u_binary64
113×expm1-log1p-u_binary64
Counts
3 → 104
Calls

3 calls:

87.0ms
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
87.0ms
(/.f64 2 (pow.f64 x 5))
87.0ms
(/.f64 2 (pow.f64 x 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01030
123727
2297627
3502227
000
100

simplify160.0ms (3.1%)

Algorithm
egg-herbie
Rules
724×unswap-sqr_binary64
503×associate-/l/_binary64
501×associate-/r*_binary64
402×fma-def_binary64
356×times-frac_binary64
Counts
116 → 108
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015165
135165
267165
3119165
4233165
5649165
62447165
73733165
83737165
94307165
104626165
114835165
124902165

prune123.0ms (2.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1071108
Fresh000
Picked101
Done022
Total1083111
Error
0b
Counts
111 → 3
Alt Table
StatusErrorProgram
25.5b
(+.f64 (/.f64 (-.f64 x (*.f64 (+.f64 1 x) 2)) (*.f64 x (+.f64 1 x))) (/.f64 1 (-.f64 x 1)))
31.2b
(*.f64 2 (+.f64 (pow.f64 x -3) (pow.f64 x -5)))
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 1840 to 1531 computations (16.8% saved)

localize9.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 x -3) (pow.f64 x -5))

series8.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

8.0ms
(+.f64 (pow.f64 x -3) (pow.f64 x -5))

rewrite74.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
754×log1p-expm1-u_binary64
754×expm1-log1p-u_binary64
556×prod-diff_binary64
80×add-sqr-sqrt_binary64
76×add-log-exp_binary64
Counts
1 → 35
Calls

1 calls:

72.0ms
(+.f64 (pow.f64 x -3) (pow.f64 x -5))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
116310
2188710
3544110
000
100

simplify158.0ms (3%)

Algorithm
egg-herbie
Rules
1024×sqr-pow_binary64
724×unswap-sqr_binary64
630×associate-/l/_binary64
502×cube-prod_binary64
470×pow-sqr_binary64
Counts
47 → 38
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010165
125165
243165
370165
4132165
5302165
6867165
71452165
81591165
91853165
102158165
112448165
123302165
133656165
143839165
154096165
164235165
174314165
184394165
194920165

prune44.0ms (0.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New38038
Fresh000
Picked011
Done022
Total38341
Error
0b
Counts
41 → 3
Alt Table
StatusErrorProgram
25.5b
(+.f64 (/.f64 (-.f64 x (*.f64 (+.f64 1 x) 2)) (*.f64 x (+.f64 1 x))) (/.f64 1 (-.f64 x 1)))
31.2b
(*.f64 2 (+.f64 (pow.f64 x -3) (pow.f64 x -5)))
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 608 to 485 computations (20.2% saved)

regimes236.0ms (4.5%)

Accuracy

Total 0.1b remaining (62.1%)

Threshold costs 0.1b (62.1%)

Counts
37 → 3
Compiler

Compiled 1406 to 1124 computations (20.1% saved)

bsearch3.0ms (0%)

Compiler

Compiled 16 to 13 computations (18.8% saved)

simplify10.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
035117
157117
277117
387117
492117
593117
690117

end175.0ms (3.4%)

Compiler

Compiled 204 to 162 computations (20.6% saved)

Profiling

Loading profile data...