Details

Time bar (total: 8.9s)

analyze1.1s (12.2%)

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 15 to 12 computations (20% saved)

sample147.0ms (1.7%)

Algorithm
intervals
Results
36.0ms73×body1024valid
14.0ms127×body128valid
9.0ms33×body512valid
4.0ms23×body256valid
1.0msbody128invalid
0.0msbody1024invalid
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Rules
105×fma-def_binary64
66×fma-neg_binary64
27×cancel-sign-sub-inv_binary64
19×sub-neg_binary64
11×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01119
12414
24814
38114
412214
516814
618714
722914
822614
924414
1024114
1121614

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
0.2b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
Compiler

Compiled 73 to 53 computations (27.4% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series191.0ms (2.1%)

Counts
3 → 52
Calls

3 calls:

141.0ms
(/.f64 x (tan.f64 B))
43.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
6.0ms
(/.f64 1 (sin.f64 B))

rewrite62.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
288×times-frac_binary64
239×add-sqr-sqrt_binary64
231×*-un-lft-identity_binary64
222×add-cube-cbrt_binary64
182×prod-diff_binary64
Counts
3 → 295
Calls

3 calls:

17.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
3.0ms
(/.f64 x (tan.f64 B))
2.0ms
(/.f64 1 (sin.f64 B))

simplify342.0ms (3.9%)

Algorithm
egg-herbie
Rules
908×fma-def_binary64
453×times-frac_binary64
255×fma-neg_binary64
182×associate-/l/_binary64
153×cancel-sign-sub-inv_binary64
Counts
347 → 340
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031211199
17497806
217756080
343566080
448286080
549966080
647886080

prune479.0ms (5.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3328340
Fresh101
Picked101
Done000
Total3348342
Error
0b
Counts
342 → 8
Alt Table
StatusErrorProgram
35.5b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))))
13.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
17.6b
(-.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (sin.f64 B) (sin.f64 B)) (sin.f64 B)))) (/.f64 x (tan.f64 B)))
17.6b
(-.f64 (cbrt.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3)) (/.f64 x (tan.f64 B)))
0.8b
(fma.f64 (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B)))) (/.f64 1 (cbrt.f64 (sin.f64 B))) (neg.f64 (/.f64 x (tan.f64 B))))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
32.0b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
Compiler

Compiled 12085 to 3788 computations (68.7% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series56.0ms (0.6%)

Counts
3 → 35
Calls

3 calls:

27.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
22.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
7.0ms
(*.f64 x (cos.f64 B))

rewrite39.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
120×times-frac_binary64
100×add-sqr-sqrt_binary64
98×*-un-lft-identity_binary64
91×prod-diff_binary64
91×add-cube-cbrt_binary64
Counts
3 → 177
Calls

3 calls:

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

simplify217.0ms (2.4%)

Algorithm
egg-herbie
Rules
319×associate-/l/_binary64
318×fma-neg_binary64
292×associate-/r*_binary64
287×cancel-sign-sub-inv_binary64
231×distribute-rgt-neg-in_binary64
Counts
212 → 218
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02526796
15915509
220824195
344074192
449364192
549904192
648564192

prune300.0ms (3.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2582260
Fresh347
Picked011
Done000
Total2617268
Error
0b
Counts
268 → 7
Alt Table
StatusErrorProgram
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B))))
13.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
35.5b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))))
17.6b
(-.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (sin.f64 B) (sin.f64 B)) (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
13.5b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
Compiler

Compiled 8536 to 2554 computations (70.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B))))
0.1b
(/.f64 1 (sin.f64 B))
0.1b
(*.f64 x (cos.f64 B))
0.3b
(*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B)))

series55.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

30.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B))))
25.0ms
(*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B)))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
21×times-frac_binary64
21×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
13×fma-def_binary64
Counts
2 → 75
Calls

2 calls:

8.0ms
(*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B)))
7.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B))))

simplify86.0ms (1%)

Algorithm
egg-herbie
Rules
717×fma-def_binary64
542×times-frac_binary64
397×fma-neg_binary64
307×associate-/l*_binary64
166×log-prod_binary64
Counts
123 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01451940
13901755
214321729
343231727
449881727

prune297.0ms (3.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2430243
Fresh055
Picked011
Done011
Total2437250
Error
0b
Counts
250 → 7
Alt Table
StatusErrorProgram
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B))))
13.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
35.5b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))))
17.6b
(-.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (sin.f64 B) (sin.f64 B)) (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
13.5b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
Compiler

Compiled 5389 to 2523 computations (53.2% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B))))
0.4b
(/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B)))
0.5b
(*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))
0.6b
(cbrt.f64 (tan.f64 B))

series2.2s (25.2%)

Counts
4 → 72
Calls

4 calls:

1.3s
(/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B))))
559.0ms
(*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))
329.0ms
(cbrt.f64 (tan.f64 B))
45.0ms
(/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B)))

rewrite41.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
59×add-sqr-sqrt_binary64
52×cbrt-prod_binary64
51×*-un-lft-identity_binary64
51×add-cube-cbrt_binary64
Counts
4 → 181
Calls

4 calls:

10.0ms
(/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B)))
6.0ms
(*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))
6.0ms
(/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B))))
3.0ms
(cbrt.f64 (tan.f64 B))

simplify216.0ms (2.4%)

Algorithm
egg-herbie
Rules
515×associate-/l*_binary64
429×fma-neg_binary64
398×associate-/r/_binary64
338×fma-def_binary64
296×associate-*l/_binary64
Counts
253 → 311
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03055509
16615196
218414905
345254905
449934905
549184905

prune295.0ms (3.3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New3630363
Fresh044
Picked011
Done022
Total3637370
Error
0b
Counts
370 → 7
Alt Table
StatusErrorProgram
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (*.f64 x (cos.f64 B))) (/.f64 1 (sin.f64 B))))
13.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
35.5b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))))
17.6b
(-.f64 (cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (sin.f64 B) (sin.f64 B)) (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (/.f64 x (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (cbrt.f64 (tan.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
13.5b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
Compiler

Compiled 9443 to 3159 computations (66.5% saved)

regimes373.0ms (4.2%)

Accuracy

Total 0.1b remaining (81.4%)

Threshold costs 0.1b (81.4%)

Counts
120 → 1
Compiler

Compiled 5833 to 3999 computations (31.4% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11314
21914
32314
42614
52714
62614

end1.0ms (0%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

sample2.3s (25.7%)

Algorithm
intervals
Results
1.1s2345×body1024valid
402.0ms3959×body128valid
314.0ms1137×body512valid
104.0ms555×body256valid
15.0ms159×body128invalid
4.0msbody2048valid
1.0msbody1024invalid
Compiler

Compiled 178 to 111 computations (37.6% saved)

Profiling

Loading profile data...