Details

Time bar (total: 4.1s)

analyze318.0ms (7.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample76.0ms (1.8%)

Algorithm
intervals
Results
37.0ms78×body1280valid
14.0ms48×body640valid
11.0ms31×body2560valid
4.0ms26×body320valid
3.0ms62×body80valid
1.0ms11×body160valid
Compiler

Compiled 19 to 16 computations (15.8% saved)

simplify15.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01214
11214

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 54.3b

Counts
2 → 1
Compiler

Compiled 18 to 14 computations (22.2% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

1.1b
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
2.4b
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
16.3b
(sqrt.f64 (+.f64 (*.f64 x x) 1))

rewrite19.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64
log-prod_binary64 add-exp-log_binary64
flip3-+_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64 flip-+_binary64
distribute-lft-out_binary64 log-div_binary64 sqrt-div_binary64
pow1/2_binary64 rem-log-exp_binary64 log-pow_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 +-commutative_binary64 sum-log_binary64
Counts
3 → 42
Calls

3 calls:

7.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
6.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

series16.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

8.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
5.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

simplify68.0ms (1.6%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05010862

prune60.0ms (1.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New47451
Fresh000
Picked101
Done000
Total48452

Merged error: 0.0b

Counts
52 → 4
Compiler

Compiled 812 to 538 computations (33.7% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 3/40 (pow.f64 x 5))
0.1b
(*.f64 (pow.f64 x 3) 1/6)
20.7b
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
15×associate-*l*_binary64
13×add-exp-log_binary64
10×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 unpow-prod-down_binary64
add-cbrt-cube_binary64 unswap-sqr_binary64
prod-exp_binary64
sqr-pow_binary64 cube-prod_binary64
pow1_binary64
pow-to-exp_binary64 diff-log_binary64 cbrt-unprod_binary64 pow-exp_binary64 *-commutative_binary64
sub-neg_binary64 flip3--_binary64 flip--_binary64 unpow3_binary64 associate--l+_binary64 sum-log_binary64 cube-mult_binary64
Counts
3 → 69
Calls

3 calls:

7.0ms
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))
6.0ms
(*.f64 (pow.f64 x 3) 1/6)
6.0ms
(*.f64 3/40 (pow.f64 x 5))

series16.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

6.0ms
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))
5.0ms
(*.f64 3/40 (pow.f64 x 5))
4.0ms
(*.f64 (pow.f64 x 3) 1/6)

simplify80.0ms (1.9%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050041008

prune67.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New77178
Fresh033
Picked011
Done000
Total77582

Merged error: 0.0b

Counts
82 → 5
Compiler

Compiled 1459 to 1133 computations (22.3% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 1/16 (pow.f64 x 5))
0.4b
(/.f64 1/8 (pow.f64 x 3))
14.3b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
17.7b
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

rewrite88.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt_binary64
71×times-frac_binary64
68×*-un-lft-identity_binary64
46×add-cube-cbrt_binary64
26×unpow-prod-down_binary64
19×associate-/r*_binary64
15×add-exp-log_binary64
14×cube-prod_binary64
11×log-prod_binary64
10×sqr-pow_binary64 difference-of-squares_binary64
add-log-exp_binary64
add-cbrt-cube_binary64
associate-/l*_binary64 distribute-lft-out--_binary64 div-exp_binary64 frac-sub_binary64
pow1_binary64 log-div_binary64
distribute-lft-out_binary64 unpow3_binary64 cube-mult_binary64
pow-to-exp_binary64 flip3-+_binary64 flip3--_binary64 diff-log_binary64 cbrt-undiv_binary64 frac-add_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 flip--_binary64 flip-+_binary64 pow-exp_binary64
sub-neg_binary64 associate--r+_binary64 rem-log-exp_binary64 log-pow_binary64 sum-log_binary64
Counts
4 → 159
Calls

4 calls:

36.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
35.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
6.0ms
(/.f64 1/8 (pow.f64 x 3))
5.0ms
(/.f64 1/16 (pow.f64 x 5))

series25.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

9.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
6.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
5.0ms
(/.f64 1/16 (pow.f64 x 5))
4.0ms
(/.f64 1/8 (pow.f64 x 3))

simplify102.0ms (2.5%)

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
053173623

prune196.0ms (4.8%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh033
Picked011
Done011
Total1715176

Merged error: 0.0b

Counts
176 → 5
Compiler

Compiled 4121 to 3275 computations (20.5% saved)

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.4b
(/.f64 1/8 (pow.f64 x 3))
11.4b
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

rewrite31.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64
36×times-frac_binary64
28×add-cube-cbrt_binary64 add-sqr-sqrt_binary64
12×associate-/r*_binary64 unpow-prod-down_binary64 cube-prod_binary64
add-exp-log_binary64
log-prod_binary64
distribute-lft-out_binary64 sqr-pow_binary64 add-cbrt-cube_binary64 unpow3_binary64 cube-mult_binary64
pow1_binary64 associate-/l*_binary64 div-exp_binary64
add-log-exp_binary64 distribute-lft-out--_binary64 log-div_binary64
pow-to-exp_binary64 flip3-+_binary64 cbrt-undiv_binary64 rem-log-exp_binary64 log-pow_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 flip-+_binary64 pow-exp_binary64
Counts
2 → 82
Calls

2 calls:

22.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))
6.0ms
(/.f64 1/8 (pow.f64 x 3))

series12.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

8.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))
4.0ms
(/.f64 1/8 (pow.f64 x 3))

simplify76.0ms (1.8%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050491420

prune68.0ms (1.7%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done022
Total88593

Merged error: 0.0b

Counts
93 → 5
Compiler

Compiled 1752 to 1285 computations (26.7% saved)

regimes31.0ms (0.8%)

Compiler

Compiled 72 to 61 computations (15.3% saved)

bsearch26.0ms (0.6%)

Steps
ItersRangePoint
9
0.04411607610495515
177787.32042252456
0.9667608709422276
9
-1493439.6319824792
-0.00423940421494459
-1.0832968729492856
Compiler

Compiled 1 to 1 computations (0% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
011776
111776

end0.0ms (0%)

sample2.7s (64.8%)

Algorithm
intervals
Results
1.2s2307×body1280valid
467.0ms1558×body640valid
305.0ms825×body2560valid
143.0ms775×body320valid
101.0ms2164×body80valid
40.0ms371×body160valid
Compiler

Compiled 155 to 125 computations (19.4% saved)

Profiling

Loading profile data...