Details

Time bar (total: 4.3s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%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 15 to 11 computations (26.7% saved)

sample127.0ms (2.9%)

Algorithm
intervals
Results
11.0ms62×body1024valid
7.0ms143×body128valid
4.0ms28×body512valid
2.0ms11×body2048valid
1.0ms12×body256valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify88.0ms (2%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
770×fma-def_binary64
322×div-sub_binary64
178×associate-/l*_binary64
150×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
45719
59119
617819
727719
864319
978819
10102419
11126519
12124219
13124819
14124619
15124819
16125019
17126019
18126019
19117119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
27.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
27.6b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite220.0ms (5.1%)

Algorithm
rewrite-expression-head
Rules
1322×*-un-lft-identity_binary64
1012×times-frac_binary64
869×add-sqr-sqrt_binary64
612×prod-diff_binary64
533×add-cube-cbrt_binary64
Counts
3 → 783
Calls

3 calls:

44.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
4.0ms
(/.f64 x (+.f64 x 1))

simplify915.0ms (21%)

Algorithm
egg-herbie
Rules
654×fma-neg_binary64
367×unsub-neg_binary64
299×fma-udef_binary64
213×sub-neg_binary64
202×associate-+r-_binary64
Counts
819 → 619
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054554602
1129031108
2304322839
3432322837
4498322837
5499122837
6474222837

prune653.0ms (15%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New6163619
Fresh000
Picked011
Done000
Total6164620
Error
0b
Counts
620 → 4
Alt Table
StatusErrorProgram
33.7b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
33.8b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
27.6b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
29.9b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 30382 to 22391 computations (26.3% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (+.f64 3 x))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(*.f64 x (+.f64 3 x))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
add-cube-cbrt_binary64
Counts
1 → 25
Calls

1 calls:

4.0ms
(*.f64 x (+.f64 3 x))

simplify87.0ms (2%)

Algorithm
egg-herbie
Rules
982×fma-def_binary64
428×unswap-sqr_binary64
372×distribute-rgt-out_binary64
345×+-commutative_binary64
343×associate-+r+_binary64
Counts
37 → 33
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048335
1122303
2392303
31110303
42468303
53561303
64612303
74910303
84853303

prune18.0ms (0.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New33033
Fresh022
Picked011
Done011
Total33437
Error
0b
Counts
37 → 4
Alt Table
StatusErrorProgram
33.7b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
33.8b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
27.6b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
29.9b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 491 to 352 computations (28.3% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
0.3b
(/.f64 3 (pow.f64 x 3))
0.4b
(/.f64 1 (*.f64 x x))
7.0b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))

series12.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

4.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
3.0ms
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
3.0ms
(/.f64 3 (pow.f64 x 3))
2.0ms
(/.f64 1 (*.f64 x x))

rewrite80.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity_binary64
136×times-frac_binary64
101×add-sqr-sqrt_binary64
96×add-cube-cbrt_binary64
78×prod-diff_binary64
Counts
4 → 245
Calls

4 calls:

29.0ms
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
19.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
4.0ms
(/.f64 3 (pow.f64 x 3))
3.0ms
(/.f64 1 (*.f64 x x))

simplify181.0ms (4.2%)

Algorithm
egg-herbie
Rules
508×unswap-sqr_binary64
388×cancel-sign-sub-inv_binary64
372×fma-neg_binary64
185×associate-*l*_binary64
185×associate-/r*_binary64
Counts
281 → 274
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02988270
16106566
225005026
346845026
448805026

prune219.0ms (5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2740274
Fresh011
Picked011
Done022
Total2744278
Error
0b
Counts
278 → 4
Alt Table
StatusErrorProgram
33.7b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
33.8b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
27.6b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
29.9b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 9349 to 6482 computations (30.7% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (pow.f64 x 3))
0.3b
(*.f64 3 (/.f64 1 x))
0.4b
(/.f64 1 (pow.f64 x 2))
7.0b
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))

series10.0ms (0.2%)

Counts
4 → 15
Calls

4 calls:

4.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
3.0ms
(/.f64 1 (pow.f64 x 3))
2.0ms
(/.f64 1 (pow.f64 x 2))
1.0ms
(*.f64 3 (/.f64 1 x))

rewrite37.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
71×times-frac_binary64
61×add-sqr-sqrt_binary64
55×*-un-lft-identity_binary64
54×add-cube-cbrt_binary64
31×add-exp-log_binary64
Counts
4 → 188
Calls

4 calls:

13.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
5.0ms
(*.f64 3 (/.f64 1 x))
4.0ms
(/.f64 1 (pow.f64 x 3))
3.0ms
(/.f64 1 (pow.f64 x 2))

simplify133.0ms (3.1%)

Algorithm
egg-herbie
Rules
774×fma-neg_binary64
443×associate-/l*_binary64
339×unswap-sqr_binary64
281×log-prod_binary64
276×associate-/l/_binary64
Counts
203 → 232
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01722198
13462025
210851812
333331718
441631709
549271709
650621709

prune177.0ms (4.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2320232
Fresh000
Picked011
Done033
Total2324236
Error
0b
Counts
236 → 4
Alt Table
StatusErrorProgram
33.7b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
33.8b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
27.6b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
29.9b
(+.f64 1 (*.f64 x (+.f64 3 x)))
Compiler

Compiled 6095 to 5042 computations (17.3% saved)

regimes75.0ms (1.7%)

Accuracy

Total 0.0b remaining (19.1%)

Threshold costs 0.0b (19.1%)

Counts
27 → 3
Compiler

Compiled 772 to 612 computations (20.7% saved)

bsearch32.0ms (0.7%)

Steps
ItersRangePoint
9
14.555179136679113
1898572075.0696535
11243.776937313149
10
-231595.90953896684
-2.3457489550793586e-6
-10559.50745449947
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02455
13855
25155
36955
48055
58555
68655
78355

end1.0ms (0%)

Compiler

Compiled 38 to 28 computations (26.3% saved)

sample1.2s (28.1%)

Algorithm
intervals
Results
374.0ms1933×body1024valid
323.0ms4337×body128valid
140.0ms1011×body512valid
59.0ms233×body2048valid
45.0ms486×body256valid
Compiler

Compiled 113 to 86 computations (23.9% saved)

Profiling

Loading profile data...