Details

Time bar (total: 3.7s)

analyze28.0ms (0.8%)

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)

sample24.0ms (0.7%)

Algorithm
intervals
Results
7.0ms68×body512valid
5.0ms134×body128valid
3.0ms40×body256valid
2.0ms14×body1024valid
Compiler

Compiled 26 to 22 computations (15.4% saved)

simplify16.0ms (0.4%)

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
15.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 47 to 39 computations (17% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite135.0ms (3.7%)

Algorithm
rewrite-expression-head
Rules
870×*-un-lft-identity_binary64
804×times-frac_binary64
733×add-sqr-sqrt_binary64
486×prod-diff_binary64
465×add-cube-cbrt_binary64
Counts
3 → 661
Calls

3 calls:

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

series9.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

simplify768.0ms (21%)

Algorithm
egg-herbie
Rules
947×fma-neg_binary64
335×times-frac_binary64
236×distribute-rgt-in_binary64
231×div-sub_binary64
202×associate-/l*_binary64
Counts
697 → 1368
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027227782
163218403
2177213759
3394512706
4497212706
5498912706
6490912706

prune554.0ms (15.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New136711368
Fresh000
Picked011
Done000
Total136721369
Error
0.3b
Counts
1369 → 2
Alt Table
StatusErrorProgram
15.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
31.8b
(/.f64 -2 (pow.f64 x 2))
Compiler

Compiled 23043 to 19136 computations (17% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(/.f64 -2 (pow.f64 x 2))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×times-frac_binary64
18×*-un-lft-identity_binary64
18×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
12×unpow-prod-down_binary64
Counts
1 → 51
Calls

1 calls:

3.0ms
(/.f64 -2 (pow.f64 x 2))

series9.0ms (0.3%)

Counts
1 → 0
Calls

1 calls:

9.0ms
(/.f64 -2 (pow.f64 x 2))

simplify110.0ms (3%)

Algorithm
egg-herbie
Rules
852×fma-neg_binary64
569×associate-/l*_binary64
550×associate-/l/_binary64
324×unswap-sqr_binary64
228×log-prod_binary64
Counts
51 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
090782
1139600
2290600
3873594
42777594
54092594
64941594
74957594
84772594

prune46.0ms (1.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New973100
Fresh000
Picked011
Done011
Total975102
Error
0.0b
Counts
102 → 5
Alt Table
StatusErrorProgram
15.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
31.5b
(/.f64 (/.f64 -2 x) x)
47.4b
(/.f64 (/.f64 -2 x) (pow.f64 (sqrt.f64 x) 2))
31.8b
(/.f64 -2 (pow.f64 x 2))
31.7b
(/.f64 (/.f64 -2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))
Compiler

Compiled 998 to 741 computations (25.8% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 -2 x) x)

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

series12.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

simplify140.0ms (3.8%)

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 → 153
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01421388
12931287
25411206
312051182
421811177
533801127
648031097
749771097
848481097

prune50.0ms (1.4%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1530153
Fresh022
Picked011
Done022
Total1535158
Error
0.0b
Counts
158 → 5
Alt Table
StatusErrorProgram
15.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
31.5b
(/.f64 (/.f64 -2 x) x)
47.4b
(/.f64 (/.f64 -2 x) (pow.f64 (sqrt.f64 x) 2))
31.8b
(/.f64 -2 (pow.f64 x 2))
31.7b
(/.f64 (/.f64 -2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))
Compiler

Compiled 1573 to 986 computations (37.3% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.5b
(/.f64 -2 (*.f64 x (cbrt.f64 x)))
0.6b
(cbrt.f64 x)
0.6b
(cbrt.f64 x)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
add-cbrt-cube_binary64
Counts
3 → 60
Calls

3 calls:

4.0ms
(/.f64 -2 (*.f64 x (cbrt.f64 x)))
2.0ms
(pow.f64 (cbrt.f64 x) 2)
1.0ms
(cbrt.f64 x)

series694.0ms (19%)

Counts
3 → 36
Calls

3 calls:

258.0ms
(/.f64 -2 (*.f64 x (cbrt.f64 x)))
218.0ms
(pow.f64 (cbrt.f64 x) 2)
218.0ms
(cbrt.f64 x)

simplify103.0ms (2.8%)

Algorithm
egg-herbie
Rules
839×fma-def_binary64
565×associate-/r/_binary64
524×associate-/r*_binary64
479×associate-*l*_binary64
331×log-prod_binary64
Counts
96 → 174
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0108919
1206777
2568740
32432740
43979736
54610736
64849736

prune55.0ms (1.5%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New2161217
Fresh101
Picked011
Done033
Total2175222
Error
0b
Counts
222 → 5
Alt Table
StatusErrorProgram
15.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
31.5b
(/.f64 (/.f64 -2 x) x)
31.8b
(/.f64 -2 (pow.f64 x 2))
31.7b
(/.f64 (/.f64 -2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))
31.9b
(/.f64 (/.f64 -2 (*.f64 x (cbrt.f64 x))) (cbrt.f64 (*.f64 x x)))
Compiler

Compiled 1732 to 992 computations (42.7% saved)

regimes79.0ms (2.2%)

Accuracy

Total 0.3b remaining (75.9%)

Threshold costs 0.3b (75.9%)

Compiler

Compiled 822 to 650 computations (20.9% saved)

bsearch1.0ms (0%)

Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
distribute-neg-frac_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01544
12244
22744
32944
43044
52844

end1.0ms (0%)

Compiler

Compiled 31 to 25 computations (19.4% saved)

sample780.0ms (21.3%)

Algorithm
intervals
Results
218.0ms1998×body512valid
178.0ms4568×body128valid
76.0ms987×body256valid
63.0ms447×body1024valid
Compiler

Compiled 93 to 72 computations (22.6% saved)

Profiling

Loading profile data...