Details

Time bar (total: 4.1s)

analyze228.0ms (5.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample48.0ms (1.2%)

Algorithm
intervals
Results
22.0ms54×body2048valid
7.0ms38×body1024valid
6.0ms51×body512valid
3.0ms84×body128valid
2.0ms28×body256valid
0.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify236.0ms (5.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
036412
136412

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.7b

Counts
2 → 1
Compiler

Compiled 16 to 12 computations (25% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.9b
(-.f64 1 (cos.f64 x))
11.8b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_101 *-un-lft-identity_binary64_79
add-exp-log_binary64_117 add-cbrt-cube_binary64_115
times-frac_binary64_85 associate-/l*_binary64_24 difference-of-squares_binary64_48
add-cube-cbrt_binary64_114
add-log-exp_binary64_118
distribute-lft-out--_binary64_31 cancel-sign-sub-inv_binary64_45
cbrt-undiv_binary64_113 div-exp_binary64_130 flip--_binary64_54 flip3--_binary64_83 associate-/l/_binary64_26 pow1_binary64_140
associate-/r*_binary64_23 div-sub_binary64_84 div-inv_binary64_76 cbrt-unprod_binary64_112 prod-exp_binary64_128 diff-log_binary64_171 clear-num_binary64_78 sub-neg_binary64_72 frac-2neg_binary64_90
Counts
2 → 47
Calls

2 calls:

9.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
5.0ms
(-.f64 1 (cos.f64 x))

series76.0ms (1.9%)

Counts
2 → 6
Calls

2 calls:

56.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
20.0ms
(-.f64 1 (cos.f64 x))

simplify61.0ms (1.5%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04925715
14925715

prune199.0ms (4.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New46753
Fresh000
Picked011
Done000
Total46854

Merged error: 0.0b

Counts
54 → 8
Compiler

Compiled 3051 to 2005 computations (34.3% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(+.f64 1 (cos.f64 x))
11.7b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite44.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64_117 add-cbrt-cube_binary64_115
24×*-un-lft-identity_binary64_79
22×times-frac_binary64_85
16×add-sqr-sqrt_binary64_101
14×add-cube-cbrt_binary64_114
12×cbrt-undiv_binary64_113 div-exp_binary64_130
11×associate-/l*_binary64_24 pow1_binary64_140
cbrt-unprod_binary64_112 prod-exp_binary64_128
associate-/r/_binary64_25 add-log-exp_binary64_118
associate-/r*_binary64_23 distribute-lft-out_binary64_30
flip-+_binary64_53 div-inv_binary64_76 flip3-+_binary64_82
associate-*l*_binary64_20 div-sub_binary64_84 sqr-sin-a_binary64_227 swap-sqr_binary64_46 associate-*r*_binary64_19
sin-mult_binary64_234 clear-num_binary64_78 associate-/l/_binary64_26 frac-2neg_binary64_90
sum-log_binary64_170 +-commutative_binary64_9 pow-prod-up_binary64_149 unswap-sqr_binary64_47 pow-sqr_binary64_52 *-commutative_binary64_10 pow-prod-down_binary64_150 pow-plus_binary64_142 pow2_binary64_160
Counts
4 → 111
Calls

4 calls:

15.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
9.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
6.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
4.0ms
(+.f64 1 (cos.f64 x))

series263.0ms (6.5%)

Counts
4 → 12
Calls

4 calls:

128.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
97.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
27.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
11.0ms
(+.f64 1 (cos.f64 x))

simplify66.0ms (1.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049731781
149731781

prune141.0ms (3.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1212123
Fresh246
Picked101
Done101
Total1256131

Merged error: 0b

Counts
131 → 6
Compiler

Compiled 2679 to 1458 computations (45.6% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(/.f64 (sin.f64 x) x)
0.2b
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

rewrite30.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64_101
22×times-frac_binary64_85
21×add-cube-cbrt_binary64_114 *-un-lft-identity_binary64_79
19×add-exp-log_binary64_117 add-cbrt-cube_binary64_115
13×associate-*l*_binary64_20
associate-/r*_binary64_23 cbrt-undiv_binary64_113 div-exp_binary64_130
pow1_binary64_140
associate-/l*_binary64_24 tan-quot_binary64_238 cbrt-unprod_binary64_112 prod-exp_binary64_128
div-inv_binary64_76 add-log-exp_binary64_118 associate-/l/_binary64_26 associate-*r*_binary64_19
frac-times_binary64_89 associate-*l/_binary64_22 associate-*r/_binary64_21 unswap-sqr_binary64_47 clear-num_binary64_78 frac-2neg_binary64_90
*-commutative_binary64_10 pow-prod-down_binary64_150
Counts
3 → 87
Calls

3 calls:

9.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
9.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
4.0ms
(/.f64 (sin.f64 x) x)

series317.0ms (7.8%)

Counts
3 → 9
Calls

3 calls:

150.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
132.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
35.0ms
(/.f64 (sin.f64 x) x)

simplify85.0ms (2.1%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049371539
149371539

prune92.0ms (2.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh055
Picked011
Done000
Total966102

Merged error: 0b

Counts
102 → 6
Compiler

Compiled 1809 to 950 computations (47.5% saved)

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.2b
(*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x)))
11.7b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x))) (neg.f64 (*.f64 x x)))

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_101 associate-*r*_binary64_19
add-exp-log_binary64_117 add-cbrt-cube_binary64_115
add-cube-cbrt_binary64_114 *-un-lft-identity_binary64_79
associate-/r*_binary64_23 times-frac_binary64_85
distribute-lft-neg-in_binary64_36 distribute-rgt-neg-in_binary64_37
pow1_binary64_140
associate-*l*_binary64_20 neg-mul-1_binary64_75
cbrt-undiv_binary64_113 div-exp_binary64_130 tan-quot_binary64_238 associate-*l/_binary64_22 cbrt-unprod_binary64_112 prod-exp_binary64_128 add-log-exp_binary64_118 distribute-rgt-neg-out_binary64_39
div-inv_binary64_76 associate-/l*_binary64_24 unswap-sqr_binary64_47 *-commutative_binary64_10 pow-prod-down_binary64_150 distribute-frac-neg_binary64_42 clear-num_binary64_78 associate-/l/_binary64_26 frac-2neg_binary64_90
Counts
2 → 56
Calls

2 calls:

9.0ms
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x))) (neg.f64 (*.f64 x x)))
8.0ms
(*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x)))

series257.0ms (6.3%)

Counts
2 → 6
Calls

2 calls:

135.0ms
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x))) (neg.f64 (*.f64 x x)))
121.0ms
(*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x)))

simplify53.0ms (1.3%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049311105
149311105

prune57.0ms (1.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New61162
Fresh134
Picked011
Done011
Total62668

Merged error: 0b

Counts
68 → 6
Compiler

Compiled 1129 to 559 computations (50.5% saved)

regimes13.0ms (0.3%)

Compiler

Compiled 74 to 54 computations (27% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample1.7s (42.4%)

Algorithm
intervals
Results
822.0ms1946×body2048valid
237.0ms1183×body1024valid
195.0ms1500×body512valid
94.0ms2482×body128valid
78.0ms783×body256valid
44.0ms106×body4096valid
Compiler

Compiled 92 to 68 computations (26.1% saved)

Profiling

Loading profile data...