Details

Time bar (total: 6.3s)

analyze522.0ms (8.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
37.5%62.5%0%4
43.7%56.2%0%5
46.9%53.1%0%6
48.4%51.5%0%7
49.2%50.8%0%8
49.6%50.4%0%9
49.8%50.2%0%10
49.9%50.1%0%11
49.9%50%0%12
50%50%0%13
50%49.9%0%14

sample150.0ms (2.4%)

Algorithm
intervals
Results
89.0ms71×body2560valid
29.0ms62×body1280valid
17.0ms65×body640valid
5.0ms30×body320valid
3.0ms20×body160valid
1.0msbody80valid

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
02297
12297

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.7b

Counts
2 → 1

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.1b
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
2.3b
(-.f64 1.0 (cos.f64 x))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
15×times-frac_binary64
12×add-cube-cbrt_binary64
difference-of-squares_binary64 associate-/l*_binary64 distribute-lft-out--_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
associate-/l/_binary64 pow1_binary64 flip3--_binary64 flip--_binary64
sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
2 → 51
Calls

2 calls:

6.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
4.0ms
(-.f64 1.0 (cos.f64 x))

series13.0ms (0.2%)

Counts
2 → 6
Calls

2 calls:

9.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (sin.f64 x))
4.0ms
(-.f64 1.0 (cos.f64 x))

simplify46.0ms (0.7%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05058605

prune109.0ms (1.7%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New451257
Fresh000
Picked101
Done000
Total461258

Merged error: 0.1b

Counts
58 → 12

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 x 1/2))
0.0b
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 x 1/2)))
0.1b
(*.f64 1/240 (pow.f64 x 5))
0.1b
(*.f64 1/24 (pow.f64 x 3))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
19×associate-*r*_binary64
14×add-exp-log_binary64
11×*-un-lft-identity_binary64 add-log-exp_binary64 add-cube-cbrt_binary64
add-cbrt-cube_binary64 unpow-prod-down_binary64
unswap-sqr_binary64
associate-*l*_binary64 prod-exp_binary64
pow1_binary64 sqr-pow_binary64 cube-prod_binary64 sum-log_binary64
pow-to-exp_binary64 flip3-+_binary64 cbrt-unprod_binary64 +-commutative_binary64 flip-+_binary64 pow-exp_binary64 *-commutative_binary64
associate-+r+_binary64 unpow3_binary64 cube-mult_binary64
Counts
4 → 80
Calls

4 calls:

9.0ms
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 x 1/2)))
6.0ms
(*.f64 1/24 (pow.f64 x 3))
5.0ms
(*.f64 1/240 (pow.f64 x 5))
5.0ms
(+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 x 1/2))

series38.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

19.0ms
(+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 x 1/2))
7.0ms
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (*.f64 x 1/2)))
6.0ms
(*.f64 1/240 (pow.f64 x 5))
5.0ms
(*.f64 1/24 (pow.f64 x 3))

simplify52.0ms (0.8%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05066875

prune144.0ms (2.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New91192
Fresh01111
Picked101
Done000
Total9212104

Merged error: 0.1b

Counts
104 → 12

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/240 (pow.f64 x 5))) (*.f64 x 1/2))
0.0b
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/240 (pow.f64 x 5)))
0.1b
(*.f64 1/240 (pow.f64 x 5))
0.1b
(*.f64 1/24 (pow.f64 x 3))

rewrite29.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
19×associate-*r*_binary64
14×add-exp-log_binary64
11×*-un-lft-identity_binary64 add-log-exp_binary64 add-cube-cbrt_binary64
add-cbrt-cube_binary64 unpow-prod-down_binary64
unswap-sqr_binary64
associate-*l*_binary64 prod-exp_binary64
pow1_binary64 sqr-pow_binary64 cube-prod_binary64 sum-log_binary64
pow-to-exp_binary64 flip3-+_binary64 cbrt-unprod_binary64 +-commutative_binary64 flip-+_binary64 pow-exp_binary64 *-commutative_binary64
associate-+l+_binary64 unpow3_binary64 cube-mult_binary64
Counts
4 → 80
Calls

4 calls:

8.0ms
(+.f64 (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/240 (pow.f64 x 5))) (*.f64 x 1/2))
8.0ms
(*.f64 1/24 (pow.f64 x 3))
5.0ms
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/240 (pow.f64 x 5)))
5.0ms
(*.f64 1/240 (pow.f64 x 5))

series35.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

16.0ms
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/240 (pow.f64 x 5)))
7.0ms
(+.f64 (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/240 (pow.f64 x 5))) (*.f64 x 1/2))
6.0ms
(*.f64 1/240 (pow.f64 x 5))
5.0ms
(*.f64 1/24 (pow.f64 x 3))

simplify51.0ms (0.8%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05104909

prune143.0ms (2.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh01111
Picked011
Done000
Total9212104

Merged error: 0.1b

Counts
104 → 12

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(/.f64 1 (sin.f64 x))
0.2b
(*.f64 (-.f64 1.0 (cos.f64 x)) (/.f64 1 (sin.f64 x)))
2.3b
(-.f64 1.0 (cos.f64 x))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64
24×*-un-lft-identity_binary64
20×times-frac_binary64
19×add-cube-cbrt_binary64
16×add-exp-log_binary64
13×associate-*r*_binary64
10×add-cbrt-cube_binary64
pow1_binary64
add-log-exp_binary64 associate-*l*_binary64
prod-exp_binary64 div-exp_binary64
associate-/r*_binary64 flip3--_binary64 unswap-sqr_binary64 associate-/l*_binary64 flip--_binary64
cbrt-unprod_binary64 1-exp_binary64 cbrt-undiv_binary64 difference-of-squares_binary64 rec-exp_binary64 distribute-lft-out--_binary64 div-inv_binary64 frac-times_binary64 associate-*l/_binary64
pow-prod-down_binary64 sub-neg_binary64 diff-log_binary64 associate-*r/_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 un-div-inv_binary64 pow-flip_binary64 *-commutative_binary64
Counts
3 → 86
Calls

3 calls:

10.0ms
(*.f64 (-.f64 1.0 (cos.f64 x)) (/.f64 1 (sin.f64 x)))
4.0ms
(-.f64 1.0 (cos.f64 x))
4.0ms
(/.f64 1 (sin.f64 x))

series16.0ms (0.3%)

Counts
3 → 9
Calls

3 calls:

8.0ms
(*.f64 (-.f64 1.0 (cos.f64 x)) (/.f64 1 (sin.f64 x)))
5.0ms
(/.f64 1 (sin.f64 x))
3.0ms
(-.f64 1.0 (cos.f64 x))

simplify48.0ms (0.8%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05161778

prune92.0ms (1.4%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New92395
Fresh2810
Picked101
Done011
Total9512107

Merged error: 0.1b

Counts
107 → 12

regimes123.0ms (1.9%)

Accuracy

Total 0.4b remaining (64.8%)

Threshold costs 0.4b (64.8%)

bsearch1.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06267
16267

end0.0ms (0%)

sample4.6s (72.8%)

Algorithm
intervals
Results
2.4s1692×body2560valid
1.3s2666×body1280valid
487.0ms1834×body640valid
184.0ms982×body320valid
66.0ms465×body160valid
31.0ms357×body80valid
19.0msbody5120valid

Profiling

Loading profile data...