Details

Time bar (total: 9.1s)

analyze1.3s (13.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054628
154628
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%87.4%0.1%6
18.7%81.2%0.1%7
25%73.4%1.7%8
28.1%68.7%3.2%9
31.2%62.8%6%10
32.8%60.1%7.1%11
34.3%56.7%9%12
35.1%55.2%9.7%13
35.9%53.4%10.7%14
Compiler

Compiled 13 to 12 computations (7.7% saved)

sample56.0ms (0.6%)

Algorithm
intervals
Results
18.0ms69×body1024valid
9.0ms127×body128valid
9.0ms42×body512valid
6.0ms18×body256valid
0.0msbody128invalid
Compiler

Compiled 25 to 25 computations (0% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
014014
114014

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 27 computations (10% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
0.1b
(/.f64 1 (sin.f64 B))
0.2b
(/.f64 x (tan.f64 B))

rewrite148.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
43×add-sqr-sqrt_binary64
36×times-frac_binary64
35×*-un-lft-identity_binary64
26×add-cube-cbrt_binary64
14×cancel-sign-sub-inv_binary64
add-exp-log_binary64
add-cbrt-cube_binary64
associate-/l*_binary64 associate-/r*_binary64 difference-of-squares_binary64
add-log-exp_binary64
pow1_binary64 div-inv_binary64
div-exp_binary64 distribute-lft-out--_binary64
cbrt-undiv_binary64 frac-2neg_binary64 clear-num_binary64 tan-quot_binary64 associate-/r/_binary64
inv-pow_binary64 pow-flip_binary64 1-exp_binary64 rec-exp_binary64 diff-log_binary64 frac-sub_binary64 flip3--_binary64 sub-neg_binary64 flip--_binary64
Counts
3 → 94
Calls

3 calls:

17.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
7.0ms
(/.f64 1 (sin.f64 B))
5.0ms
(/.f64 x (tan.f64 B))
Compiler

Compiled 1561 to 635 computations (59.3% saved)

series651.0ms (7.1%)

Error
0.1b
Counts
3 → 25
Calls

3 calls:

322.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
262.0ms
(/.f64 x (tan.f64 B))
41.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 844 to 557 computations (34% saved)

simplify91.0ms (1%)

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049141698
149141698

prune161.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1109119
Fresh101
Picked101
Done000
Total1129121
Error
0.0b
Counts
121 → 9
Compiler

Compiled 1810 to 770 computations (57.5% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
0.1b
(/.f64 1 (sin.f64 B))
0.2b
(*.f64 x (cos.f64 B))
0.2b
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))

rewrite141.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
27×add-sqr-sqrt_binary64
25×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64 times-frac_binary64
15×add-exp-log_binary64
13×add-cbrt-cube_binary64
div-inv_binary64
pow1_binary64 cancel-sign-sub-inv_binary64
add-log-exp_binary64 associate-/r*_binary64
div-exp_binary64 associate-/l*_binary64
cbrt-undiv_binary64 associate-*l*_binary64 associate-*r*_binary64 difference-of-squares_binary64 distribute-rgt-out--_binary64
prod-exp_binary64 cbrt-unprod_binary64 frac-2neg_binary64 clear-num_binary64 distribute-lft-out--_binary64
pow-prod-down_binary64 unswap-sqr_binary64 *-commutative_binary64 inv-pow_binary64 pow-flip_binary64 1-exp_binary64 rec-exp_binary64 diff-log_binary64 frac-sub_binary64 sub-div_binary64 flip3--_binary64 sub-neg_binary64 flip--_binary64
Counts
4 → 98
Calls

4 calls:

12.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
9.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
8.0ms
(*.f64 x (cos.f64 B))
4.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 1848 to 644 computations (65.2% saved)

series632.0ms (6.9%)

Error
0.0b
Counts
4 → 32
Calls

4 calls:

251.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
189.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
119.0ms
(*.f64 x (cos.f64 B))
41.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 1143 to 725 computations (36.6% saved)

simplify118.0ms (1.3%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
049611820
149611820

prune129.0ms (1.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh268
Picked011
Done000
Total1318139
Error
0.0b
Counts
139 → 8
Compiler

Compiled 2190 to 850 computations (61.2% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
0.1b
(/.f64 x (sin.f64 B))
0.1b
(/.f64 1 (sin.f64 B))
0.2b
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))

rewrite146.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
33×add-sqr-sqrt_binary64
28×add-cube-cbrt_binary64 *-un-lft-identity_binary64 times-frac_binary64
15×add-exp-log_binary64
13×add-cbrt-cube_binary64 associate-*l*_binary64
pow1_binary64
add-log-exp_binary64 associate-/l*_binary64 associate-/r*_binary64
div-exp_binary64
cbrt-undiv_binary64 associate-*l/_binary64 div-inv_binary64 associate-*r*_binary64
prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 frac-2neg_binary64 clear-num_binary64
pow-prod-down_binary64 *-commutative_binary64 inv-pow_binary64 pow-flip_binary64 1-exp_binary64 rec-exp_binary64 diff-log_binary64 frac-sub_binary64 sub-div_binary64 flip3--_binary64 sub-neg_binary64 flip--_binary64 cancel-sign-sub-inv_binary64
Counts
4 → 104
Calls

4 calls:

12.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
8.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
3.0ms
(/.f64 1 (sin.f64 B))
3.0ms
(/.f64 x (sin.f64 B))
Compiler

Compiled 2008 to 687 computations (65.8% saved)

series609.0ms (6.7%)

Error
0.0b
Counts
4 → 32
Calls

4 calls:

285.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
148.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
102.0ms
(/.f64 x (sin.f64 B))
51.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 1147 to 726 computations (36.7% saved)

simplify91.0ms (1%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
052031912

prune133.0ms (1.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1360136
Fresh066
Picked011
Done011
Total1368144
Error
0.0b
Counts
144 → 8
Compiler

Compiled 2407 to 859 computations (64.3% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
0.1b
(/.f64 1 (sin.f64 B))
0.1b
(/.f64 (tan.f64 B) x)
0.3b
(/.f64 1 (/.f64 (tan.f64 B) x))

rewrite312.0ms (3.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
193×times-frac_binary64
146×add-sqr-sqrt_binary64
120×*-un-lft-identity_binary64
99×add-cube-cbrt_binary64
44×cancel-sign-sub-inv_binary64
21×add-exp-log_binary64
19×associate-/r*_binary64
15×div-inv_binary64 difference-of-squares_binary64
13×add-cbrt-cube_binary64
10×div-exp_binary64
associate-/l*_binary64
distribute-lft-out--_binary64
pow1_binary64 add-log-exp_binary64
cbrt-undiv_binary64
1-exp_binary64 rec-exp_binary64 frac-2neg_binary64 clear-num_binary64
inv-pow_binary64 pow-flip_binary64 associate-/r/_binary64
tan-quot_binary64 associate-/l/_binary64 diff-log_binary64 frac-sub_binary64 flip3--_binary64 sub-neg_binary64 flip--_binary64
Counts
4 → 213
Calls

4 calls:

42.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
6.0ms
(/.f64 1 (/.f64 (tan.f64 B) x))
4.0ms
(/.f64 (tan.f64 B) x)
3.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 4456 to 2172 computations (51.3% saved)

series814.0ms (8.9%)

Error
0.0b
Counts
4 → 34
Calls

4 calls:

322.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
243.0ms
(/.f64 1 (/.f64 (tan.f64 B) x))
177.0ms
(/.f64 (tan.f64 B) x)
45.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 1258 to 850 computations (32.4% saved)

simplify127.0ms (1.4%)

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049324124
149324124

prune237.0ms (2.6%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2470247
Fresh055
Picked011
Done022
Total2478255
Error
0.0b
Counts
255 → 8
Compiler

Compiled 4094 to 1656 computations (59.6% saved)

regimes301.0ms (3.3%)

Accuracy

Total 0.2b remaining (96.4%)

Threshold costs 0.2b (96.4%)

Compiler

Compiled 2314 to 1644 computations (29% saved)

bsearch0.0ms (0%)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04419
14419

end0.0ms (0%)

sample2.9s (31.7%)

Algorithm
intervals
Results
778.0ms2280×body1024valid
359.0ms4020×body128valid
284.0ms1117×body512valid
106.0ms577×body256valid
15.0ms189×body128invalid
3.0msbody2048valid
0.0msbody1024invalid
Compiler

Compiled 787 to 561 computations (28.7% saved)

Profiling

Loading profile data...