Details

Time bar (total: 4.2s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.4s (33%)

Results
583.0ms2084×body512valid
459.0ms4651×body128valid
174.0ms1056×body256valid
141.0ms465×body1024valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
13×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11616
22116
32916
43716
55516
68016
79716
811416
912416
1012816
1113016
1211616

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 47 to 39 computations (17% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
3.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite269.0ms (6.4%)

Algorithm
rewrite-expression-head
Rules
845×*-un-lft-identity_binary64
783×times-frac_binary64
704×add-sqr-sqrt_binary64
486×prod-diff_binary64
452×add-cube-cbrt_binary64
Counts
2 → 610
Calls

2 calls:

151.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
4.0ms
(/.f64 1 (+.f64 x 1))

simplify549.0ms (13%)

Algorithm
egg-herbie
Rules
372×div-sub_binary64
293×times-frac_binary64
259×unsub-neg_binary64
206×exp-prod_binary64
201×distribute-rgt-in_binary64
Counts
634 → 449
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024827037
158117682
2162213025
3395611972
4479411972
5479811972

prune623.0ms (14.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New4472449
Fresh000
Picked011
Done000
Total4473450
Error
0.4b
Counts
450 → 3
Alt Table
StatusErrorProgram
17.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
17.3b
(*.f64 (/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1))) (-.f64 (-.f64 x 1) (+.f64 x 1)))
30.9b
(-.f64 (-.f64 (-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
Compiler

Compiled 21705 to 18052 computations (16.8% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1)))
3.4b
(-.f64 (-.f64 x 1) (+.f64 x 1))

series4.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1)))
1.0ms
(-.f64 (-.f64 x 1) (+.f64 x 1))

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity_binary64
53×add-sqr-sqrt_binary64
37×prod-diff_binary64
31×add-cube-cbrt_binary64
15×difference-of-squares_binary64
Counts
2 → 118
Calls

2 calls:

11.0ms
(-.f64 (-.f64 x 1) (+.f64 x 1))
4.0ms
(/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1)))

simplify98.0ms (2.3%)

Algorithm
egg-herbie
Rules
361×associate-+l+_binary64
268×times-frac_binary64
192×cancel-sign-sub-inv_binary64
191×associate--r+_binary64
172×associate-/r*_binary64
Counts
142 → 167
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01751700
14121374
215641098
347201098
449861098
548021098

prune151.0ms (3.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1670167
Fresh011
Picked011
Done011
Total1673170
Error
0.4b
Counts
170 → 3
Alt Table
StatusErrorProgram
17.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
17.3b
(*.f64 (/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1))) (-.f64 (-.f64 x 1) (+.f64 x 1)))
30.9b
(-.f64 (-.f64 (-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
Compiler

Compiled 4597 to 3399 computations (26.1% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (pow.f64 x 6))
0.0b
(/.f64 2 (pow.f64 x 4))
0.1b
(/.f64 2 (pow.f64 x 8))
0.5b
(/.f64 -2 (*.f64 x x))

series12.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

3.0ms
(/.f64 2 (pow.f64 x 8))
3.0ms
(/.f64 2 (pow.f64 x 6))
3.0ms
(/.f64 2 (pow.f64 x 4))
3.0ms
(/.f64 -2 (*.f64 x x))

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64
54×*-un-lft-identity_binary64
54×add-sqr-sqrt_binary64
54×add-cube-cbrt_binary64
36×unpow-prod-down_binary64
Counts
4 → 164
Calls

4 calls:

4.0ms
(/.f64 -2 (*.f64 x x))
3.0ms
(/.f64 2 (pow.f64 x 6))
3.0ms
(/.f64 2 (pow.f64 x 4))
3.0ms
(/.f64 2 (pow.f64 x 8))

simplify106.0ms (2.5%)

Algorithm
egg-herbie
Rules
785×times-frac_binary64
456×associate-*l*_binary64
455×associate-/l*_binary64
365×associate-/l/_binary64
337×associate-*r*_binary64
Counts
176 → 212
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02482435
14132282
210742087
342282087
450182087

prune204.0ms (4.8%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2102212
Fresh000
Picked011
Done022
Total2105215
Error
0.0b
Counts
215 → 5
Alt Table
StatusErrorProgram
17.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
17.3b
(*.f64 (/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1))) (-.f64 (-.f64 x 1) (+.f64 x 1)))
30.9b
(-.f64 (-.f64 (-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
30.5b
(-.f64 (-.f64 (-.f64 (/.f64 (/.f64 -2 x) x) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
43.5b
(-.f64 (-.f64 (-.f64 (cbrt.f64 (*.f64 (*.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (*.f64 x x))) (/.f64 -2 (*.f64 x x)))) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
Compiler

Compiled 6537 to 4945 computations (24.4% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (pow.f64 x 6))
0.0b
(/.f64 2 (pow.f64 x 4))
0.1b
(/.f64 2 (pow.f64 x 8))
0.1b
(/.f64 (/.f64 -2 x) x)

series2.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(/.f64 (/.f64 -2 x) x)

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64
43×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
43×add-cube-cbrt_binary64
13×associate-/l*_binary64
Counts
1 → 72
Calls

1 calls:

4.0ms
(/.f64 (/.f64 -2 x) x)

simplify115.0ms (2.7%)

Algorithm
egg-herbie
Rules
508×associate-/r/_binary64
476×*-commutative_binary64
393×associate-*r/_binary64
346×distribute-rgt-in_binary64
345×fma-neg_binary64
Counts
84 → 113
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01421388
12931287
25411206
312051182
421811177
533801127
648031097
749771097
848481097

prune303.0ms (7.2%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New2933296
Fresh101
Picked011
Done033
Total2947301
Error
0b
Counts
301 → 7
Alt Table
StatusErrorProgram
17.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
17.3b
(*.f64 (/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1))) (-.f64 (-.f64 x 1) (+.f64 x 1)))
30.9b
(-.f64 (-.f64 (-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
30.5b
(-.f64 (-.f64 (-.f64 (/.f64 (/.f64 -2 x) x) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
30.9b
(-.f64 (-.f64 (-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 -2 x)) (cbrt.f64 (/.f64 -2 x))) (/.f64 (cbrt.f64 (/.f64 -2 x)) x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
45.3b
(-.f64 (-.f64 (-.f64 (/.f64 (/.f64 -2 (pow.f64 x 3/2)) (sqrt.f64 x)) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
49.3b
(-.f64 (-.f64 (-.f64 (/.f64 (sqrt.f64 (/.f64 -2 x)) (/.f64 x (sqrt.f64 (/.f64 -2 x)))) (/.f64 2 (pow.f64 x 4))) (/.f64 2 (pow.f64 x 6))) (/.f64 2 (pow.f64 x 8)))
Compiler

Compiled 9278 to 7155 computations (22.9% saved)

regimes110.0ms (2.6%)

Accuracy

Total 0.4b remaining (97.1%)

Threshold costs 0.4b (97.1%)

Counts
58 → 1
Compiler

Compiled 2310 to 1826 computations (21% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11613
21713
31313

end156.0ms (3.7%)

Compiler

Compiled 190 to 152 computations (20% saved)

Profiling

Loading profile data...