Details

Time bar (total: 5.7s)

analyze331.0ms (5.8%)

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)

sample59.0ms (1%)

Algorithm
intervals
Results
25.0ms53×body2048valid
8.0ms39×body1024valid
7.0ms49×body512valid
4.0ms31×body256valid
3.0ms81×body128valid
1.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify113.0ms (2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
036612
136612

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 16 to 12 computations (25% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

3.2b
(-.f64 1 (cos.f64 x))
13.6b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite68.0ms (1.2%)

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

2 calls:

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

Compiled 708 to 357 computations (49.6% saved)

series73.0ms (1.3%)

Error
0.4b
Counts
2 → 12
Calls

2 calls:

42.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
19.0ms
(-.f64 1 (cos.f64 x))
Compiler

Compiled 320 to 251 computations (21.6% saved)

simplify68.0ms (1.2%)

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
06299811

prune59.0ms (1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New50959
Fresh000
Picked101
Done000
Total51960
Error
0.0b
Counts
60 → 9
Compiler

Compiled 886 to 490 computations (44.7% 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.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.3b
(+.f64 1 (cos.f64 x))
13.4b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite153.0ms (2.7%)

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

Compiled 2503 to 957 computations (61.8% saved)

series204.0ms (3.6%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

81.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
60.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
29.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
14.0ms
(+.f64 1 (cos.f64 x))
Compiler

Compiled 870 to 613 computations (29.5% saved)

simplify88.0ms (1.5%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049361964
149361964

prune121.0ms (2.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh358
Picked101
Done000
Total1359144
Error
0b
Counts
144 → 9
Compiler

Compiled 2390 to 1220 computations (49% saved)

localize8.0ms (0.1%)

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

rewrite99.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0b
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-exp-log_binary64_116 add-cbrt-cube_binary64_114
13×associate-*l*_binary64_19
div-exp_binary64_129 cbrt-undiv_binary64_112 associate-/r*_binary64_22
pow1_binary64_139
prod-exp_binary64_127 cbrt-unprod_binary64_111 tan-quot_binary64_237 associate-/l*_binary64_23
add-log-exp_binary64_117 div-inv_binary64_75 associate-*r*_binary64_18 associate-/l/_binary64_25
frac-times_binary64_88 unswap-sqr_binary64_46 associate-*l/_binary64_21 associate-*r/_binary64_20 frac-2neg_binary64_89 clear-num_binary64_77
pow-prod-down_binary64_149 *-commutative_binary64_9
Counts
3 → 87
Calls

3 calls:

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

Compiled 1623 to 756 computations (53.4% saved)

series225.0ms (3.9%)

Error
0b
Counts
3 → 18
Calls

3 calls:

99.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
82.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
31.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 586 to 459 computations (21.7% saved)

simplify85.0ms (1.5%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049371665
149371665

prune86.0ms (1.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1032105
Fresh358
Picked101
Done000
Total1077114
Error
0b
Counts
114 → 7
Compiler

Compiled 1779 to 921 computations (48.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite280.0ms (4.9%)

Algorithm
rewrite-expression-head
Error
0b
Rules
159×times-frac_binary64_84
106×add-sqr-sqrt_binary64_100
94×*-un-lft-identity_binary64_78
92×add-cube-cbrt_binary64_113
64×add-exp-log_binary64_116
44×associate-*l*_binary64_19
34×add-cbrt-cube_binary64_114
30×div-exp_binary64_129
19×associate-/r*_binary64_22
14×prod-exp_binary64_127 cbrt-undiv_binary64_112
11×div-inv_binary64_75
pow1_binary64_139 associate-/l*_binary64_23
1-exp_binary64_122 rec-exp_binary64_128 cbrt-unprod_binary64_111
unswap-sqr_binary64_46
add-log-exp_binary64_117 tan-quot_binary64_237
associate-*r*_binary64_18 frac-2neg_binary64_89 clear-num_binary64_77 associate-/l/_binary64_25
frac-times_binary64_88 associate-*l/_binary64_21 associate-*r/_binary64_20 associate-/r/_binary64_24
pow-prod-down_binary64_149 *-commutative_binary64_9 inv-pow_binary64_163 pow-flip_binary64_152
Counts
4 → 209
Calls

4 calls:

17.0ms
(*.f64 (/.f64 1 (/.f64 x (sin.f64 x))) (tan.f64 (/.f64 x 2)))
13.0ms
(/.f64 (*.f64 (/.f64 1 (/.f64 x (sin.f64 x))) (tan.f64 (/.f64 x 2))) x)
6.0ms
(/.f64 1 (/.f64 x (sin.f64 x)))
3.0ms
(/.f64 x (sin.f64 x))
Compiler

Compiled 4722 to 2491 computations (47.2% saved)

series263.0ms (4.6%)

Error
0b
Counts
4 → 24
Calls

4 calls:

97.0ms
(*.f64 (/.f64 1 (/.f64 x (sin.f64 x))) (tan.f64 (/.f64 x 2)))
81.0ms
(/.f64 (*.f64 (/.f64 1 (/.f64 x (sin.f64 x))) (tan.f64 (/.f64 x 2))) x)
41.0ms
(/.f64 x (sin.f64 x))
26.0ms
(/.f64 1 (/.f64 x (sin.f64 x)))
Compiler

Compiled 816 to 642 computations (21.3% saved)

simplify115.0ms (2%)

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049313841
149313841

prune200.0ms (3.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2312233
Fresh246
Picked011
Done000
Total2337240
Error
0b
Counts
240 → 7
Compiler

Compiled 4337 to 2176 computations (49.8% saved)

regimes233.0ms (4.1%)

Accuracy

Total 0.1b remaining (99.4%)

Threshold costs 0.1b (99.4%)

Compiler

Compiled 2599 to 1779 computations (31.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
1917

end0.0ms (0%)

sample2.8s (48.5%)

Algorithm
intervals
Results
805.0ms1916×body2048valid
210.0ms1115×body1024valid
183.0ms1485×body512valid
120.0ms2648×body128valid
63.0ms739×body256valid
37.0ms97×body4096valid
Compiler

Compiled 1245 to 854 computations (31.4% saved)

Profiling

Loading profile data...