Details

Time bar (total: 2.4s)

analyze6.0ms (0.3%)

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 16 to 14 computations (12.5% saved)

sample25.0ms (1%)

Algorithm
intervals
Results
8.0ms62×body640valid
4.0ms127×body80valid
3.0ms34×body320valid
3.0ms17×body1280valid
1.0ms16×body160valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify24.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
019322
119322

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 11.2b

Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite74.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity_binary64
58×add-sqr-sqrt_binary64
56×times-frac_binary64
25×add-cube-cbrt_binary64
18×distribute-lft-out--_binary64
17×distribute-lft-out_binary64
14×difference-of-squares_binary64
12×add-exp-log_binary64
11×associate-/r*_binary64 add-log-exp_binary64
add-cbrt-cube_binary64 div-inv_binary64
pow1_binary64 associate-/l*_binary64
difference-of-sqr-1_binary64 associate-/r/_binary64 div-exp_binary64
flip3--_binary64 frac-add_binary64 flip--_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 1-exp_binary64 cbrt-undiv_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 rec-exp_binary64 pow-flip_binary64 flip-+_binary64 frac-sub_binary64 sum-log_binary64
associate-+l+_binary64 associate-+l-_binary64 +-commutative_binary64
Counts
4 → 135
Calls

4 calls:

37.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
20.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
6.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series15.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

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

simplify103.0ms (4.3%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049892576
149892576

prune161.0ms (6.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1434147
Fresh000
Picked101
Done000
Total1444148

Merged error: 0.0b

Counts
148 → 4
Compiler

Compiled 3249 to 2610 computations (19.7% saved)

localize16.0ms (0.7%)

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (+.f64 1 x))
0.3b
(cbrt.f64 (+.f64 1 x))
0.3b
(*.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 (+.f64 1 x)))
19.2b
(+.f64 (-.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 (+.f64 1 x)))) (cbrt.f64 (+.f64 x 1))) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite131.0ms (5.5%)

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity_binary64
32×cbrt-prod_binary64
22×add-sqr-sqrt_binary64
16×cbrt-div_binary64 distribute-lft-out_binary64
14×add-cube-cbrt_binary64
12×times-frac_binary64
11×pow1_binary64
flip3-+_binary64 add-log-exp_binary64 swap-sqr_binary64 flip-+_binary64
pow1/3_binary64 distribute-lft-out--_binary64
associate-*r*_binary64 associate-*l*_binary64
add-exp-log_binary64
add-cbrt-cube_binary64 unswap-sqr_binary64 div-inv_binary64 frac-times_binary64
frac-add_binary64
pow-prod-down_binary64 pow-prod-up_binary64 associate-*r/_binary64 pow-sqr_binary64 associate-*l/_binary64 sum-log_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 cbrt-unprod_binary64 associate-+l+_binary64 associate-+l-_binary64 pow-plus_binary64 prod-exp_binary64 +-commutative_binary64 flip--_binary64 frac-sub_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 106
Calls

4 calls:

110.0ms
(+.f64 (-.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 (+.f64 1 x)))) (cbrt.f64 (+.f64 x 1))) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
11.0ms
(*.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 (+.f64 1 x)))
3.0ms
(cbrt.f64 (+.f64 1 x))
3.0ms
(cbrt.f64 (+.f64 1 x))

series26.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

10.0ms
(+.f64 (-.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 (+.f64 1 x)))) (cbrt.f64 (+.f64 x 1))) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
6.0ms
(*.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 (+.f64 1 x)))
5.0ms
(cbrt.f64 (+.f64 1 x))
5.0ms
(cbrt.f64 (+.f64 1 x))

simplify106.0ms (4.5%)

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049052222
149052222

prune155.0ms (6.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1180118
Fresh033
Picked011
Done000
Total1184122

Merged error: 0.0b

Counts
122 → 4
Compiler

Compiled 3623 to 2938 computations (18.9% saved)

localize13.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 x (*.f64 (+.f64 1 x) 2))
0.0b
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
0.0b
(*.f64 x (+.f64 1 x))
17.3b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

rewrite35.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
24×associate-*r/_binary64
19×flip3--_binary64 flip--_binary64
16×frac-add_binary64 add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
12×frac-times_binary64
10×flip3-+_binary64 associate-*l*_binary64 flip-+_binary64
add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-*r*_binary64
associate-*l/_binary64
sub-neg_binary64
distribute-lft-in_binary64 distribute-rgt-in_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-+l+_binary64 unswap-sqr_binary64 prod-exp_binary64 difference-of-squares_binary64 associate-+r+_binary64 *-commutative_binary64
diff-log_binary64 distribute-lft-out_binary64 difference-of-sqr-1_binary64 distribute-lft-out--_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 97
Calls

4 calls:

12.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
9.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
6.0ms
(*.f64 x (+.f64 1 x))
3.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series11.0ms (0.5%)

Counts
4 → 12
Calls

4 calls:

4.0ms
(*.f64 x (+.f64 1 x))
3.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
2.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
1.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify92.0ms (3.9%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049803152
149803152

prune318.0ms (13.4%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1081109
Fresh202
Picked101
Done101
Total1121113

Merged error: 0.0b

Counts
113 → 1
Compiler

Compiled 3814 to 2650 computations (30.5% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

rewrite11.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt_binary64
27×*-un-lft-identity_binary64 times-frac_binary64
16×difference-of-squares_binary64
15×add-cube-cbrt_binary64
associate-/r*_binary64
distribute-rgt-out--_binary64 sqr-pow_binary64 unpow-prod-down_binary64 cube-prod_binary64 distribute-lft-out--_binary64 unpow3_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
associate-/r/_binary64
add-log-exp_binary64 pow1_binary64 flip3--_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64
Counts
1 → 53
Calls

1 calls:

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

series5.0ms (0.2%)

Counts
1 → 3
Calls

1 calls:

5.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))

simplify69.0ms (2.9%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050591071

prune42.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New54256
Fresh000
Picked011
Done000
Total54357

Merged error: 0b

Counts
57 → 3
Compiler

Compiled 863 to 636 computations (26.3% saved)

regimes16.0ms (0.7%)

Compiler

Compiled 29 to 25 computations (13.8% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01710
11710

end0.0ms (0%)

sample902.0ms (37.9%)

Algorithm
intervals
Results
260.0ms1921×body640valid
147.0ms4108×body80valid
97.0ms577×body1280valid
91.0ms911×body320valid
32.0ms483×body160valid
0.0msbody80invalid
Compiler

Compiled 59 to 51 computations (13.6% saved)

Profiling

Loading profile data...