Details

Time bar (total: 4.2s)

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

sample60.0ms (1.4%)

Algorithm
intervals
Results
31.0ms65×body2048valid
10.0ms49×body1024valid
7.0ms54×body512valid
3.0ms72×body128valid
1.0ms14×body256valid
1.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify114.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
036612
136612

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
34.2b
Counts
2 → 1
Compiler

Compiled 16 to 12 computations (25% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.0b
(-.f64 1 (cos.f64 x))
14.6b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite16.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_100 *-un-lft-identity_binary64_78
add-cbrt-cube_binary64_114 add-exp-log_binary64_116
times-frac_binary64_84 associate-/l*_binary64_23 difference-of-squares_binary64_47
add-cube-cbrt_binary64_113
add-log-exp_binary64_117
distribute-lft-out--_binary64_30 cancel-sign-sub-inv_binary64_44
cbrt-undiv_binary64_112 div-exp_binary64_129 flip3--_binary64_82 flip--_binary64_53 associate-/l/_binary64_25 pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127 diff-log_binary64_170 frac-2neg_binary64_89 div-inv_binary64_75 associate-/r*_binary64_22 clear-num_binary64_77 div-sub_binary64_83 sub-neg_binary64_71
Counts
2 → 47
Calls

2 calls:

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

series52.0ms (1.2%)

Counts
2 → 8
Calls

2 calls:

38.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
14.0ms
(-.f64 1 (cos.f64 x))
Compiler

Compiled 130 to 109 computations (16.2% saved)

simplify42.0ms (1%)

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04996705
14996705

prune65.0ms (1.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New48755
Fresh000
Picked101
Done000
Total49756
Error
0.0b
Counts
56 → 7
Compiler

Compiled 765 to 404 computations (47.2% saved)

localize9.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.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(+.f64 1 (cos.f64 x))
14.7b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite39.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
24×*-un-lft-identity_binary64_78
22×times-frac_binary64_84
16×add-sqr-sqrt_binary64_100
14×add-cube-cbrt_binary64_113
12×cbrt-undiv_binary64_112 div-exp_binary64_129
11×associate-/l*_binary64_23 pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127
add-log-exp_binary64_117 associate-/r/_binary64_24
associate-/r*_binary64_22 distribute-lft-out_binary64_29
flip-+_binary64_52 div-inv_binary64_75 flip3-+_binary64_81
associate-*l*_binary64_19 swap-sqr_binary64_45 associate-*r*_binary64_18 sqr-sin-a_binary64_226 div-sub_binary64_83
frac-2neg_binary64_89 sin-mult_binary64_233 clear-num_binary64_77 associate-/l/_binary64_25
+-commutative_binary64_8 pow2_binary64_159 *-commutative_binary64_9 pow-sqr_binary64_51 pow-prod-up_binary64_148 pow-prod-down_binary64_149 unswap-sqr_binary64_46 pow-plus_binary64_141 sum-log_binary64_169
Counts
4 → 111
Calls

4 calls:

11.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
10.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))

series162.0ms (3.8%)

Counts
4 → 18
Calls

4 calls:

63.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
56.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
28.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
15.0ms
(+.f64 1 (cos.f64 x))
Compiler

Compiled 442 to 341 computations (22.9% saved)

simplify68.0ms (1.6%)

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049311799
149311799

prune112.0ms (2.6%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1236129
Fresh606
Picked101
Done000
Total1306136
Error
0b
Counts
136 → 6
Compiler

Compiled 2245 to 1106 computations (50.7% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.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)))

rewrite29.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64_100
22×times-frac_binary64_84
21×add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
19×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
13×associate-*l*_binary64_19
cbrt-undiv_binary64_112 div-exp_binary64_129 associate-/r*_binary64_22
pow1_binary64_139
tan-quot_binary64_237 cbrt-unprod_binary64_111 prod-exp_binary64_127 associate-/l*_binary64_23
add-log-exp_binary64_117 div-inv_binary64_75 associate-*r*_binary64_18 associate-/l/_binary64_25
frac-2neg_binary64_89 frac-times_binary64_88 associate-*l/_binary64_21 unswap-sqr_binary64_46 associate-*r/_binary64_20 clear-num_binary64_77
*-commutative_binary64_9 pow-prod-down_binary64_149
Counts
3 → 87
Calls

3 calls:

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

series178.0ms (4.2%)

Counts
3 → 12
Calls

3 calls:

83.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
73.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
23.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 268 to 216 computations (19.4% saved)

simplify74.0ms (1.8%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049821518
149821518

prune81.0ms (1.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh055
Picked011
Done000
Total996105
Error
0b
Counts
105 → 6
Compiler

Compiled 1671 to 838 computations (49.9% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite34.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
49×add-exp-log_binary64_116
31×add-cbrt-cube_binary64_114 add-sqr-sqrt_binary64_100
28×times-frac_binary64_84
26×associate-*l*_binary64_19 add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
22×prod-exp_binary64_127
12×cbrt-unprod_binary64_111 div-exp_binary64_129
10×pow1_binary64_139
cbrt-undiv_binary64_112
tan-quot_binary64_237 frac-times_binary64_88 associate-*r/_binary64_20
associate-*r*_binary64_18 associate-*l/_binary64_21 pow-prod-down_binary64_149
add-log-exp_binary64_117 1-exp_binary64_122 div-inv_binary64_75 associate-/l*_binary64_23 rec-exp_binary64_128 associate-/r*_binary64_22
*-commutative_binary64_9 unswap-sqr_binary64_46
frac-2neg_binary64_89 clear-num_binary64_77
Counts
3 → 110
Calls

3 calls:

12.0ms
(*.f64 (/.f64 1 x) (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))))
8.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
4.0ms
(/.f64 (sin.f64 x) x)

series198.0ms (4.7%)

Counts
3 → 13
Calls

3 calls:

85.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
81.0ms
(*.f64 (/.f64 1 x) (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))))
31.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 324 to 268 computations (17.3% saved)

simplify94.0ms (2.2%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049431992
149431992

prune99.0ms (2.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh044
Picked011
Done011
Total1236129
Error
0b
Counts
129 → 6
Compiler

Compiled 2106 to 1153 computations (45.3% saved)

regimes129.0ms (3.1%)

Accuracy

Total 0.1b remaining (98.4%)

Threshold costs 0.1b (98.4%)

Compiler

Compiled 1294 to 908 computations (29.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample2.3s (54.5%)

Algorithm
intervals
Results
892.0ms2015×body2048valid
225.0ms1092×body1024valid
198.0ms1534×body512valid
108.0ms2536×body128valid
62.0ms718×body256valid
45.0ms105×body4096valid
Compiler

Compiled 611 to 430 computations (29.6% saved)

Profiling

Loading profile data...