Details

Time bar (total: 3.7s)

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.8s (48.2%)

Results
581.0ms1388×body1024valid
508.0ms1596×body512valid
474.0ms4524×body128valid
162.0ms748×body256valid
0.0msbody128invalid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify16.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

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

localize8.0ms (0.2%)

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

series13.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

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

rewrite101.0ms (2.7%)

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

4 calls:

97.0ms
(/.f64 1 (-.f64 x 1))
97.0ms
(/.f64 1 (+.f64 x 1))
97.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
97.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

simplify80.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
218 → 223
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078752
1246726
2697720
31844717
44130717
54617717
64921717

prune293.0ms (7.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2221223
Fresh000
Picked011
Done000
Total2222224
Error
0.2b
Counts
224 → 2
Alt Table
StatusErrorProgram
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
29.4b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
Compiler

Compiled 5100 to 4041 computations (20.8% saved)

localize11.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 7))
0.2b
(/.f64 2 (pow.f64 x 3))
0.3b
(/.f64 2 (pow.f64 x 5))

series17.0ms (0.5%)

Counts
4 → 12
Calls

4 calls:

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

rewrite78.0ms (2.1%)

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 → 137
Calls

4 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01337
130834
2373534
3477634

simplify109.0ms (2.9%)

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
149 → 139
Iterations

Useful iterations: 0 (0.0ms)

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

prune296.0ms (8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1372139
Fresh000
Picked011
Done011
Total1374141
Error
0b
Counts
141 → 4
Alt Table
StatusErrorProgram
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
29.6b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (pow.f64 (/.f64 (cbrt.f64 2) x) 3) (/.f64 2 (pow.f64 x 7))))
29.4b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
29.2b
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -3) (pow.f64 x -7))))
Compiler

Compiled 3131 to 2610 computations (16.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series16.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

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

rewrite75.0ms (2%)

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 → 145
Calls

3 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01345
131242
2377142
3504942

simplify61.0ms (1.6%)

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
181 → 158
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023549
160549
2122549
3205549
4373549
5997549
63228549
73983549
85062549

prune149.0ms (4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1810181
Fresh011
Picked011
Done022
Total1814185
Error
0b
Counts
185 → 4
Alt Table
StatusErrorProgram
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
29.6b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (pow.f64 (/.f64 (cbrt.f64 2) x) 3) (/.f64 2 (pow.f64 x 7))))
29.4b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
29.2b
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -3) (pow.f64 x -7))))
Compiler

Compiled 3889 to 3167 computations (18.6% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (cbrt.f64 2) x)
0.3b
(/.f64 2 (pow.f64 x 5))
0.3b
(pow.f64 (/.f64 (cbrt.f64 2) x) 3)
1.0b
(cbrt.f64 2)

series18.0ms (0.5%)

Counts
3 → 12
Calls

3 calls:

13.0ms
(pow.f64 (/.f64 (cbrt.f64 2) x) 3)
5.0ms
(/.f64 (cbrt.f64 2) x)
0.0ms
(cbrt.f64 2)

rewrite48.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
636×log1p-expm1-u_binary64
636×expm1-log1p-u_binary64
298×log-prod_binary64
117×expm1-udef_binary64
117×log1p-udef_binary64
Counts
3 → 97
Calls

3 calls:

47.0ms
(/.f64 (cbrt.f64 2) x)
47.0ms
(pow.f64 (/.f64 (cbrt.f64 2) x) 3)
47.0ms
(cbrt.f64 2)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0718
115016
2165416
3491516

simplify132.0ms (3.6%)

Algorithm
egg-herbie
Rules
1032×sqr-pow_binary64
522×pow-sqr_binary64
471×cube-prod_binary64
456×associate-/r*_binary64
430×fabs-mul_binary64
Counts
109 → 97
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11384
22484
33884
46984
515684
644284
7122784
8121784
9132584
10147084
11160384
12179884
13209984
14244784
15292284
16354084
17373684
18391084
19402484
20407184
21412384
22468384

prune101.0ms (2.7%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done033
Total1204124
Error
0b
Counts
124 → 4
Alt Table
StatusErrorProgram
9.9b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
29.6b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (pow.f64 (/.f64 (cbrt.f64 2) x) 3) (/.f64 2 (pow.f64 x 7))))
29.4b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
29.2b
(+.f64 (/.f64 2 (pow.f64 x 5)) (*.f64 2 (+.f64 (pow.f64 x -3) (pow.f64 x -7))))
Compiler

Compiled 2756 to 2334 computations (15.3% saved)

regimes158.0ms (4.3%)

Accuracy

Total 0.2b remaining (89.1%)

Threshold costs 0.2b (89.1%)

Counts
38 → 3
Compiler

Compiled 1104 to 902 computations (18.3% saved)

bsearch1.0ms (0%)

Compiler

Compiled 16 to 13 computations (18.8% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
032118
147118
257118
360118
461118
558118

end106.0ms (2.9%)

Compiler

Compiled 227 to 179 computations (21.1% saved)

Profiling

Loading profile data...