Details

Time bar (total: 2.4s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%12.5%12.5%5
75%6.2%18.8%6
75%3.1%21.9%7
75%1.6%23.5%8
75%0.8%24.3%9
75%0.4%24.6%10
75%0.2%24.8%11
75%0.1%24.9%12
75%0%25%13
75%0%25%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample788.0ms (32.9%)

Results
755.0ms8256×body128valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify8.0ms (0.3%)

Algorithm
egg-herbie
Rules
fma-neg_binary64
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1158
2218
3248
4268
5278
6248

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.3b
(/.f64 (fma.f64 x x -3) 6)
Compiler

Compiled 28 to 20 computations (28.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (fma.f64 x x -3) 6)

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(/.f64 (fma.f64 x x -3) 6)

rewrite41.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
540×log1p-expm1-u_binary64
540×expm1-log1p-u_binary64
265×unpow-prod-down_binary64
237×log-prod_binary64
152×pow2_binary64
Counts
1 → 44
Calls

1 calls:

40.0ms
(/.f64 (fma.f64 x x -3) 6)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11298
214148
349578
000
100

simplify149.0ms (6.2%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
454×associate-*l*_binary64
Counts
56 → 49
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0987
11887
22987
35087
49987
523687
671687
7114187
8114387
9129187
10146187
11164387
12186687
13215187
14257087
15313587
16382187
17403987
18428387
19436587
20439887
21441987
22498787

prune36.0ms (1.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New44549
Fresh000
Picked011
Done000
Total44650
Error
0.3b
Counts
50 → 6
Alt Table
StatusErrorProgram
18.7b
-1/2
45.9b
(pow.f64 (sqrt.f64 (/.f64 (fma.f64 x x -3) 6)) 2)
0.4b
(*.f64 1/6 (pow.f64 (/.f64 1 (fma.f64 x x -3)) -1))
45.9b
(*.f64 (sqrt.f64 (fma.f64 x x -3)) (*.f64 (sqrt.f64 (fma.f64 x x -3)) 1/6))
0.4b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.3b
(/.f64 (fma.f64 x x -3) 6)
Compiler

Compiled 664 to 511 computations (23% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite85.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
873×log1p-udef_binary64
472×log1p-expm1-u_binary64
472×expm1-log1p-u_binary64
242×unpow-prod-down_binary64
213×log-prod_binary64
Counts
1 → 37
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11228
212308
348358
461868
000
100

simplify146.0ms (6.1%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
454×associate-*l*_binary64
Counts
49 → 41
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0987
11887
22987
35087
49987
523687
671687
7114187
8114387
9129187
10146187
11164387
12186687
13215187
14257087
15313587
16382187
17403987
18428387
19436587
20439887
21441987
22498787

prune31.0ms (1.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New40141
Fresh134
Picked011
Done011
Total41647
Error
0.3b
Counts
47 → 6
Alt Table
StatusErrorProgram
18.7b
-1/2
45.9b
(pow.f64 (sqrt.f64 (/.f64 (fma.f64 x x -3) 6)) 2)
13.1b
(/.f64 (+.f64 (*.f64 1/216 (pow.f64 x 6)) -1/8) (+.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2) (-.f64 1/4 (*.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))
45.9b
(*.f64 (sqrt.f64 (fma.f64 x x -3)) (*.f64 (sqrt.f64 (fma.f64 x x -3)) 1/6))
0.4b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.3b
(/.f64 (fma.f64 x x -3) 6)
Compiler

Compiled 600 to 417 computations (30.5% saved)

localize14.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 1/6 (*.f64 x x)) 2)
0.3b
(*.f64 1/216 (pow.f64 x 6))
0.5b
(*.f64 1/6 (*.f64 x x))
11.9b
(/.f64 (+.f64 (*.f64 1/216 (pow.f64 x 6)) -1/8) (+.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2) (-.f64 1/4 (*.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))

series14.0ms (0.6%)

Counts
4 → 36
Calls

4 calls:

5.0ms
(/.f64 (+.f64 (*.f64 1/216 (pow.f64 x 6)) -1/8) (+.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2) (-.f64 1/4 (*.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))
4.0ms
(*.f64 1/216 (pow.f64 x 6))
3.0ms
(pow.f64 (*.f64 1/6 (*.f64 x x)) 2)
2.0ms
(*.f64 1/6 (*.f64 x x))

rewrite95.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
771×prod-diff_binary64
199×log1p-expm1-u_binary64
199×expm1-log1p-u_binary64
195×add-sqr-sqrt_binary64
192×add-cbrt-cube_binary64
Counts
4 → 87
Calls

4 calls:

93.0ms
(pow.f64 (*.f64 1/6 (*.f64 x x)) 2)
93.0ms
(*.f64 1/216 (pow.f64 x 6))
93.0ms
(*.f64 1/6 (*.f64 x x))
93.0ms
(/.f64 (+.f64 (*.f64 1/216 (pow.f64 x 6)) -1/8) (+.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2) (-.f64 1/4 (*.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01959
143348
2460648
3594648
000
100

simplify157.0ms (6.6%)

Algorithm
egg-herbie
Rules
1078×sqr-pow_binary64
520×pow-sqr_binary64
443×cube-prod_binary64
411×associate-*l*_binary64
377×fabs-mul_binary64
Counts
123 → 91
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013255
125255
245255
393255
4224255
5660255
6982255
71004255
81158255
91343255
101583255
111847255
122175255
132561255
143093255
153738255
163922255
174110255
184172255
194192255
204201255
214674255

prune123.0ms (5.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1051106
Fresh033
Picked011
Done022
Total1057112
Error
0.3b
Counts
112 → 7
Alt Table
StatusErrorProgram
17.2b
(cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3)))
45.9b
(*.f64 (sqrt.f64 (fma.f64 x x -3)) (*.f64 (sqrt.f64 (fma.f64 x x -3)) 1/6))
18.7b
-1/2
45.9b
(pow.f64 (sqrt.f64 (/.f64 (fma.f64 x x -3) 6)) 2)
13.1b
(/.f64 (+.f64 (*.f64 1/216 (pow.f64 x 6)) -1/8) (+.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2) (-.f64 1/4 (*.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))
0.4b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.3b
(/.f64 (fma.f64 x x -3) 6)
Compiler

Compiled 2985 to 2271 computations (23.9% saved)

localize17.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 1/216 (pow.f64 x 6) -1/8)
0.5b
(*.f64 (*.f64 x x) -1/12)
12.6b
(cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3)))
13.7b
(/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3))

series16.0ms (0.7%)

Counts
4 → 48
Calls

4 calls:

6.0ms
(cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3)))
4.0ms
(/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3))
3.0ms
(fma.f64 1/216 (pow.f64 x 6) -1/8)
2.0ms
(*.f64 (*.f64 x x) -1/12)

rewrite97.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
780×prod-diff_binary64
204×log1p-expm1-u_binary64
204×expm1-log1p-u_binary64
198×add-cbrt-cube_binary64
196×add-sqr-sqrt_binary64
Counts
4 → 119
Calls

4 calls:

92.0ms
(fma.f64 1/216 (pow.f64 x 6) -1/8)
92.0ms
(*.f64 (*.f64 x x) -1/12)
92.0ms
(cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3)))
92.0ms
(/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02175
145972
2472572
3596972
000
100

simplify81.0ms (3.4%)

Algorithm
egg-herbie
Rules
840×fma-neg_binary64
829×distribute-rgt-neg-in_binary64
670×distribute-lft-neg-in_binary64
618×cancel-sign-sub-inv_binary64
351×*-commutative_binary64
Counts
167 → 138
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
030448
176440
2159432
3415432
41321432
53238432
64598432
75094432

prune159.0ms (6.6%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1371138
Fresh123
Picked011
Done033
Total1387145
Error
0.3b
Counts
145 → 7
Alt Table
StatusErrorProgram
17.2b
(cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/216 (pow.f64 x 6) -1/8) 3) (pow.f64 (-.f64 (fma.f64 1/36 (pow.f64 x 4) 1/4) (*.f64 (*.f64 x x) -1/12)) 3)))
45.9b
(*.f64 (sqrt.f64 (fma.f64 x x -3)) (*.f64 (sqrt.f64 (fma.f64 x x -3)) 1/6))
45.9b
(pow.f64 (sqrt.f64 (/.f64 (fma.f64 x x -3) 6)) 2)
13.1b
(/.f64 (+.f64 (*.f64 1/216 (pow.f64 x 6)) -1/8) (+.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 2) (-.f64 1/4 (*.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))
19.4b
(cbrt.f64 -1/8)
0.4b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.3b
(/.f64 (fma.f64 x x -3) 6)
Compiler

Compiled 3947 to 3134 computations (20.6% saved)

regimes207.0ms (8.6%)

Accuracy

Total 0.1b remaining (63.4%)

Threshold costs 0.1b (63.4%)

Counts
48 → 1
Compiler

Compiled 3202 to 2580 computations (19.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
168

end106.0ms (4.4%)

Compiler

Compiled 106 to 82 computations (22.6% saved)

Profiling

Loading profile data...