Details

Time bar (total: 5.3s)

analyze1.1s (20.5%)

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)

sample55.0ms (1%)

Algorithm
intervals
Results
20.0ms69×body1024valid
14.0ms136×body128valid
6.0ms31×body512valid
3.0ms20×body256valid
0.0msbody128invalid
Compiler

Compiled 25 to 25 computations (0% saved)

simplify14.0ms (0.3%)

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)

localize10.0ms (0.2%)

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

rewrite32.0ms (0.6%)

Algorithm
rewrite-expression-head
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-/r*_binary64 difference-of-squares_binary64 associate-/l*_binary64
add-log-exp_binary64
pow1_binary64 div-inv_binary64
distribute-lft-out--_binary64 div-exp_binary64
cbrt-undiv_binary64 associate-/r/_binary64 clear-num_binary64 frac-2neg_binary64 tan-quot_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 1-exp_binary64 inv-pow_binary64 rec-exp_binary64 flip--_binary64 pow-flip_binary64 frac-sub_binary64
Counts
3 → 94
Calls

3 calls:

16.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
5.0ms
(/.f64 x (tan.f64 B))
3.0ms
(/.f64 1 (sin.f64 B))

series287.0ms (5.4%)

Counts
3 → 9
Calls

3 calls:

140.0ms
(/.f64 x (tan.f64 B))
128.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
20.0ms
(/.f64 1 (sin.f64 B))

simplify86.0ms (1.6%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
048911413
148911413

prune94.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh101
Picked101
Done000
Total969105
Error
0.0b
Counts
105 → 9
Compiler

Compiled 1585 to 658 computations (58.5% saved)

localize9.0ms (0.2%)

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 1 (sin.f64 B))
0.1b
(/.f64 x (sin.f64 B))
0.2b
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))

rewrite29.0ms (0.5%)

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

4 calls:

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

series282.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

108.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
92.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
59.0ms
(/.f64 x (sin.f64 B))
22.0ms
(/.f64 1 (sin.f64 B))

simplify71.0ms (1.3%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049651578
149651578

prune100.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1142116
Fresh358
Picked101
Done000
Total1187125
Error
0.0b
Counts
125 → 7
Compiler

Compiled 2105 to 771 computations (63.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite31.0ms (0.6%)

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

4 calls:

10.0ms
(*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))
7.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B))))
4.0ms
(/.f64 (cos.f64 B) (sin.f64 B))
3.0ms
(/.f64 1 (sin.f64 B))

series259.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

112.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B))))
93.0ms
(*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))
31.0ms
(/.f64 (cos.f64 B) (sin.f64 B))
22.0ms
(/.f64 1 (sin.f64 B))

simplify70.0ms (1.3%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050321670

prune91.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1160116
Fresh066
Picked011
Done000
Total1167123
Error
0.0b
Counts
123 → 7
Compiler

Compiled 2110 to 754 computations (64.3% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
0.6b
(cbrt.f64 x)
0.6b
(cbrt.f64 x)
0.6b
(cbrt.f64 x)

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64
23×add-sqr-sqrt_binary64
15×*-un-lft-identity_binary64 add-cube-cbrt_binary64
11×pow1_binary64
pow1/3_binary64
swap-sqr_binary64 associate-*r*_binary64 add-exp-log_binary64 associate-*l*_binary64
add-log-exp_binary64 add-cbrt-cube_binary64 unswap-sqr_binary64
pow-prod-down_binary64 pow-prod-up_binary64 pow-sqr_binary64
cbrt-unprod_binary64 pow-plus_binary64 prod-exp_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 73
Calls

4 calls:

6.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
1.0ms
(cbrt.f64 x)
1.0ms
(cbrt.f64 x)
1.0ms
(cbrt.f64 x)

series361.0ms (6.8%)

Counts
4 → 12
Calls

4 calls:

110.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
86.0ms
(cbrt.f64 x)
82.0ms
(cbrt.f64 x)
82.0ms
(cbrt.f64 x)

simplify59.0ms (1.1%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04892563
14892563

prune67.0ms (1.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh055
Picked011
Done011
Total85792
Error
0.0b
Counts
92 → 7
Compiler

Compiled 1584 to 574 computations (63.8% saved)

regimes163.0ms (3%)

Accuracy

Total 0.1b remaining (93.9%)

Threshold costs 0.1b (93.9%)

Compiler

Compiled 1465 to 1080 computations (26.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02614
12614

end0.0ms (0%)

sample2.0s (38%)

Algorithm
intervals
Results
664.0ms2351×body1024valid
307.0ms3961×body128valid
235.0ms1140×body512valid
82.0ms546×body256valid
14.0ms189×body128invalid
1.0msbody2048valid
Compiler

Compiled 501 to 372 computations (25.7% saved)

Profiling

Loading profile data...