Details

Time bar (total: 6.1s)

analyze917.0ms (15%)

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

sample57.0ms (0.9%)

Algorithm
intervals
Results
26.0ms74×body1024valid
9.0ms127×body128valid
7.0ms30×body512valid
4.0ms25×body256valid
0.0msbody128invalid
Compiler

Compiled 25 to 25 computations (0% saved)

simplify186.0ms (3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
013014
113014

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2
Compiler

Compiled 30 to 27 computations (10% saved)

localize11.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.1b
(/.f64 x (tan.f64 B))

rewrite43.0ms (0.7%)

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:

18.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
6.0ms
(/.f64 x (tan.f64 B))
4.0ms
(/.f64 1 (sin.f64 B))

series518.0ms (8.5%)

Counts
3 → 9
Calls

3 calls:

242.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
230.0ms
(/.f64 x (tan.f64 B))
46.0ms
(/.f64 1 (sin.f64 B))

simplify70.0ms (1.1%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
057911419

prune99.0ms (1.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9211103
Fresh101
Picked101
Done000
Total9411105

Merged error: 0.0b

Counts
105 → 11
Compiler

Compiled 1619 to 682 computations (57.9% saved)

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

rewrite33.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:

9.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))
4.0ms
(/.f64 1 (sin.f64 B))
4.0ms
(/.f64 x (sin.f64 B))

series525.0ms (8.6%)

Counts
4 → 12
Calls

4 calls:

219.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
170.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
99.0ms
(/.f64 x (sin.f64 B))
37.0ms
(/.f64 1 (sin.f64 B))

simplify72.0ms (1.2%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049391611
149391611

prune102.0ms (1.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1124116
Fresh7310
Picked011
Done000
Total1198127

Merged error: 0b

Counts
127 → 8
Compiler

Compiled 2163 to 755 computations (65.1% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64 add-cube-cbrt_binary64
times-frac_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64
associate-/r*_binary64 associate-*r*_binary64 associate-*l*_binary64 associate-/l*_binary64
associate-/l/_binary64 add-log-exp_binary64
pow-prod-down_binary64 flip3--_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 unswap-sqr_binary64 div-sub_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 *-commutative_binary64
Counts
2 → 48
Calls

2 calls:

6.0ms
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
4.0ms
(*.f64 x (cos.f64 B))

series196.0ms (3.2%)

Counts
2 → 6
Calls

2 calls:

144.0ms
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
51.0ms
(*.f64 x (cos.f64 B))

simplify65.0ms (1.1%)

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04946882
14946882

prune49.0ms (0.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New54054
Fresh066
Picked011
Done011
Total54862

Merged error: 0b

Counts
62 → 8
Compiler

Compiled 962 to 426 computations (55.7% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite55.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
165×times-frac_binary64
112×add-sqr-sqrt_binary64
100×*-un-lft-identity_binary64
98×add-cube-cbrt_binary64
44×associate-*l*_binary64
40×add-exp-log_binary64
22×add-cbrt-cube_binary64
19×associate-/r*_binary64
17×div-exp_binary64
11×div-inv_binary64
associate-/l*_binary64
pow1_binary64 cbrt-undiv_binary64
prod-exp_binary64
1-exp_binary64 unswap-sqr_binary64 rec-exp_binary64
add-log-exp_binary64
cbrt-unprod_binary64 associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64
associate-/r/_binary64 inv-pow_binary64 pow-flip_binary64
pow-prod-down_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 206
Calls

4 calls:

18.0ms
(*.f64 (/.f64 1 (/.f64 (sin.f64 B) x)) (cos.f64 B))
7.0ms
(/.f64 1 (/.f64 (sin.f64 B) x))
4.0ms
(/.f64 (sin.f64 B) x)
4.0ms
(/.f64 1 (sin.f64 B))

series339.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

160.0ms
(*.f64 (/.f64 1 (/.f64 (sin.f64 B) x)) (cos.f64 B))
95.0ms
(/.f64 1 (/.f64 (sin.f64 B) x))
47.0ms
(/.f64 (sin.f64 B) x)
37.0ms
(/.f64 1 (sin.f64 B))

simplify107.0ms (1.7%)

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
050183064

prune195.0ms (3.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2180218
Fresh055
Picked011
Done022
Total2188226

Merged error: 0b

Counts
226 → 8
Compiler

Compiled 4380 to 1709 computations (61% saved)

regimes187.0ms (3.1%)

Compiler

Compiled 1699 to 1182 computations (30.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02614
12614

end0.0ms (0%)

sample2.2s (36.6%)

Algorithm
intervals
Results
812.0ms2276×body1024valid
311.0ms4065×body128valid
237.0ms1080×body512valid
85.0ms574×body256valid
15.0ms207×body128invalid
4.0msbody2048valid
0.0msbody512invalid
0.0msbody1024invalid
Compiler

Compiled 579 to 406 computations (29.9% saved)

Profiling

Loading profile data...