Details

Time bar (total: 4.5s)

analyze239.0ms (5.3%)

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)

sample64.0ms (1.4%)

Algorithm
intervals
Results
38.0ms77×body2048valid
7.0ms37×body1024valid
6.0ms42×body512valid
3.0ms75×body128valid
2.0ms23×body256valid
1.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify182.0ms (4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
036412
136412

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 1
Compiler

Compiled 16 to 12 computations (25% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.2b
(-.f64 1 (cos.f64 x))
18.7b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite20.0ms (0.5%)

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:

13.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
4.0ms
(-.f64 1 (cos.f64 x))

series83.0ms (1.8%)

Counts
2 → 6
Calls

2 calls:

62.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
21.0ms
(-.f64 1 (cos.f64 x))

simplify61.0ms (1.4%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04925715
14925715

prune249.0ms (5.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New46753
Fresh000
Picked101
Done000
Total47754

Merged error: 0.0b

Counts
54 → 7
Compiler

Compiled 3613 to 2395 computations (33.7% saved)

localize11.0ms (0.2%)

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.3b
(+.f64 1 (cos.f64 x))
18.5b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite40.0ms (0.9%)

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:

12.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)))
5.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
4.0ms
(+.f64 1 (cos.f64 x))

series254.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

127.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
89.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
26.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
12.0ms
(+.f64 1 (cos.f64 x))

simplify64.0ms (1.4%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049731781
149731781

prune211.0ms (4.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1194123
Fresh246
Picked101
Done000
Total1228130

Merged error: 0b

Counts
130 → 8
Compiler

Compiled 3644 to 2156 computations (40.8% saved)

localize9.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)))

rewrite33.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 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
9.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
4.0ms
(/.f64 (sin.f64 x) x)

series336.0ms (7.5%)

Counts
3 → 9
Calls

3 calls:

154.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
148.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
34.0ms
(/.f64 (sin.f64 x) x)

simplify84.0ms (1.9%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049371539
149371539

prune111.0ms (2.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New94296
Fresh257
Picked011
Done000
Total968104

Merged error: 0b

Counts
104 → 8
Compiler

Compiled 2037 to 1116 computations (45.2% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite28.0ms (0.6%)

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-*r*_binary64_19
associate-/r*_binary64_23 cbrt-undiv_binary64_113 div-exp_binary64_130
pow1_binary64_140
associate-/l*_binary64_24 cbrt-unprod_binary64_112 prod-exp_binary64_128
associate-*l*_binary64_20 div-inv_binary64_76 add-log-exp_binary64_118
associate-*r/_binary64_21 unswap-sqr_binary64_47 clear-num_binary64_78 associate-/l/_binary64_26 frac-2neg_binary64_90
tan-quot_binary64_238 *-commutative_binary64_10 pow-prod-down_binary64_150
Counts
3 → 84
Calls

3 calls:

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

series401.0ms (8.9%)

Counts
3 → 9
Calls

3 calls:

165.0ms
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x))
147.0ms
(/.f64 (*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
89.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

simplify99.0ms (2.2%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049341640
149341640

prune90.0ms (2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh156
Picked011
Done101
Total947101

Merged error: 0b

Counts
101 → 7
Compiler

Compiled 1695 to 1030 computations (39.2% saved)

regimes17.0ms (0.4%)

Compiler

Compiled 90 to 67 computations (25.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample1.8s (39.9%)

Algorithm
intervals
Results
833.0ms1954×body2048valid
234.0ms1113×body1024valid
207.0ms1483×body512valid
111.0ms2570×body128valid
74.0ms768×body256valid
52.0ms112×body4096valid
Compiler

Compiled 108 to 81 computations (25% saved)

Profiling

Loading profile data...