Details

Time bar (total: 3.2s)

analyze8.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 (46.8%)

Results
468.0ms4586×body128valid
452.0ms1328×body1024valid
397.0ms1571×body512valid
140.0ms771×body256valid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify15.0ms (0.5%)

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

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
9.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
9.4b
(+.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.4%)

Local error

Found 4 expressions with local error:

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

rewrite88.0ms (2.8%)

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:

79.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
79.0ms
(/.f64 1 (+.f64 x 1))
78.0ms
(/.f64 1 (-.f64 x 1))
78.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

simplify83.0ms (2.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
214 → 219
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078752
1246726
2697720
31844717
44130717
54617717
64921717

prune150.0ms (4.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2172219
Fresh000
Picked011
Done000
Total2173220
Error
0.1b
Counts
220 → 3
Alt Table
StatusErrorProgram
33.3b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
30.6b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
9.4b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 5062 to 4009 computations (20.8% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))

rewrite44.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
851×log1p-expm1-u_binary64
851×expm1-log1p-u_binary64
672×prod-diff_binary64
88×add-sqr-sqrt_binary64
83×add-cbrt-cube_binary64
Counts
1 → 24
Calls

1 calls:

44.0ms
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
118114
2217014
3634214
000
100

simplify115.0ms (3.6%)

Algorithm
egg-herbie
Rules
1220×fma-neg_binary64
747×fma-def_binary64
602×associate-/l*_binary64
520×distribute-rgt-neg-in_binary64
376×cancel-sign-sub-inv_binary64
Counts
36 → 32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
019162
158144
2167130
3457130
41041130
51673130
62454130
73304130
83452130
93806130
104999130
114780130

prune17.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh011
Picked011
Done011
Total32335
Error
0.1b
Counts
35 → 3
Alt Table
StatusErrorProgram
33.3b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
30.6b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
9.4b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 524 to 399 computations (23.9% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series19.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

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

rewrite90.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
325×fma-def_binary64
253×expm1-udef_binary64
253×log1p-udef_binary64
176×fma-neg_binary64
147×add-sqr-sqrt_binary64
Counts
4 → 134
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01337
130834
2373534
3477634
000
100

simplify111.0ms (3.5%)

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
146 → 138
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015165
135165
267165
3119165
4233165
5649165
62447165
73734165
83739165
94310165
104629165
114838165
124977165
134903165

prune134.0ms (4.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1362138
Fresh000
Picked101
Done022
Total1374141
Error
0b
Counts
141 → 4
Alt Table
StatusErrorProgram
33.2b
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3))))
9.4b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
33.5b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (pow.f64 (/.f64 (cbrt.f64 2) x) 3) (/.f64 2 (pow.f64 x 7))))
30.6b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
Compiler

Compiled 3107 to 2589 computations (16.7% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3)))
0.0b
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3))))
0.0b
(+.f64 (pow.f64 x -7) (pow.f64 x -3))
0.2b
(/.f64 2 (pow.f64 x 5))

series14.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

5.0ms
(*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3)))
5.0ms
(+.f64 (pow.f64 x -7) (pow.f64 x -3))
4.0ms
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3))))

rewrite180.0ms (5.6%)

Algorithm
batch-egg-rewrite
Rules
488×fma-def_binary64
262×expm1-udef_binary64
262×log1p-udef_binary64
247×fma-neg_binary64
153×add-sqr-sqrt_binary64
Counts
3 → 143
Calls

3 calls:

177.0ms
(*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3)))
177.0ms
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3))))
177.0ms
(+.f64 (pow.f64 x -7) (pow.f64 x -3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01345
131242
2377142
3504942
000
100

simplify63.0ms (2%)

Algorithm
egg-herbie
Rules
817×fma-def_binary64
533×times-frac_binary64
500×distribute-lft-out_binary64
493×associate-*l*_binary64
354×associate-/l*_binary64
Counts
179 → 156
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023549
160549
2122549
3205549
4373549
5997549
63228549
73983549
85062549

prune272.0ms (8.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1780178
Fresh011
Picked011
Done022
Total1784182
Error
0b
Counts
182 → 4
Alt Table
StatusErrorProgram
33.2b
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -7) (pow.f64 x -3))))
9.4b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
33.5b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (pow.f64 (/.f64 (cbrt.f64 2) x) 3) (/.f64 2 (pow.f64 x 7))))
30.6b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
Compiler

Compiled 3806 to 3098 computations (18.6% saved)

regimes115.0ms (3.6%)

Accuracy

Total 0.4b remaining (94%)

Threshold costs 0.4b (94%)

Counts
34 → 3
Compiler

Compiled 976 to 794 computations (18.6% saved)

bsearch1.0ms (0%)

Compiler

Compiled 16 to 13 computations (18.8% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
038110
154110
262110
365110
466110
563110

end129.0ms (4%)

Compiler

Compiled 212 to 170 computations (19.8% saved)

Profiling

Loading profile data...