Details

Time bar (total: 6.4s)

analyze1.1s (16.8%)

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)

sample2.8s (43.7%)

Results
1.3s2356×body1024valid
620.0ms4093×body128valid
544.0ms1227×body512valid
158.0ms576×body256valid
24.0ms170×body128invalid
4.0msbody2048valid
0.0msbody512invalid
Compiler

Compiled 44 to 35 computations (20.5% 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

prune3.0ms (0.1%)

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)

localize7.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.2b
(/.f64 1 (sin.f64 B))
0.2b
(/.f64 x (tan.f64 B))

series83.0ms (1.3%)

Counts
3 → 52
Calls

3 calls:

37.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
37.0ms
(/.f64 x (tan.f64 B))
8.0ms
(/.f64 1 (sin.f64 B))

rewrite56.0ms (0.9%)

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:

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

simplify288.0ms (4.5%)

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

prune362.0ms (5.7%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New33010340
Fresh101
Picked101
Done000
Total33210342
Error
0.0b
Counts
342 → 10
Alt Table
StatusErrorProgram
0.8b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 1 (sin.f64 B))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
32.9b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
15.5b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
38.0b
(/.f64 (-.f64 1 x) B)
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
25.8b
(-.f64 (log1p.f64 (expm1.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.9b
(-.f64 (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B)))) (/.f64 1 (cbrt.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (tan.f64 B) (cbrt.f64 x))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
Compiler

Compiled 12077 to 3804 computations (68.5% 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 (sin.f64 B)) (cos.f64 B)))
0.2b
(/.f64 1 (sin.f64 B))
0.2b
(/.f64 x (sin.f64 B))
0.2b
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))

series94.0ms (1.5%)

Counts
3 → 52
Calls

3 calls:

59.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
20.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
14.0ms
(/.f64 x (sin.f64 B))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
37×times-frac_binary64
33×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
13×fma-neg_binary64
Counts
3 → 105
Calls

3 calls:

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

simplify141.0ms (2.2%)

Algorithm
egg-herbie
Rules
673×fma-def_binary64
414×fma-neg_binary64
372×associate-/l*_binary64
342×times-frac_binary64
338×associate-*l/_binary64
Counts
157 → 180
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01942974
14762749
214262544
343282511
449452511
549952511
649202511

prune180.0ms (2.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2202222
Fresh459
Picked011
Done000
Total2248232
Error
0.0b
Counts
232 → 8
Alt Table
StatusErrorProgram
15.5b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
24.8b
(/.f64 (-.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))) (fma.f64 x (/.f64 (cos.f64 B) (sin.f64 B)) (/.f64 1 (sin.f64 B))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
25.8b
(-.f64 (log1p.f64 (expm1.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (tan.f64 B) (cbrt.f64 x))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
0.8b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 1 (sin.f64 B))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
Compiler

Compiled 4818 to 1785 computations (63% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series33.0ms (0.5%)

Counts
4 → 59
Calls

4 calls:

18.0ms
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
7.0ms
(*.f64 x (cos.f64 B))
6.0ms
(-.f64 1 (*.f64 x (cos.f64 B)))
2.0ms
(cos.f64 B)

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
16×*-un-lft-identity_binary64
16×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
4 → 81
Calls

4 calls:

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

simplify84.0ms (1.3%)

Algorithm
egg-herbie
Rules
744×fma-def_binary64
451×fma-neg_binary64
348×associate-+l+_binary64
292×cancel-sign-sub-inv_binary64
247×associate-+r+_binary64
Counts
140 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01932065
14571932
214441882
343641880
450751880

prune169.0ms (2.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1301131
Fresh156
Picked011
Done011
Total1318139
Error
0.0b
Counts
139 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 1 (*.f64 x (log.f64 (exp.f64 (cos.f64 B))))) (sin.f64 B))
15.5b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
24.8b
(/.f64 (-.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))) (fma.f64 x (/.f64 (cos.f64 B) (sin.f64 B)) (/.f64 1 (sin.f64 B))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
25.8b
(-.f64 (log1p.f64 (expm1.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
0.8b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 1 (sin.f64 B))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
Compiler

Compiled 2439 to 1213 computations (50.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series93.0ms (1.5%)

Counts
3 → 60
Calls

3 calls:

38.0ms
(*.f64 x (/.f64 1 (tan.f64 B)))
38.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
16.0ms
(/.f64 1 (tan.f64 B))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
38×times-frac_binary64
34×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
16×add-exp-log_binary64
Counts
3 → 115
Calls

3 calls:

7.0ms
(*.f64 x (/.f64 1 (tan.f64 B)))
6.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
3.0ms
(/.f64 1 (tan.f64 B))

simplify117.0ms (1.8%)

Algorithm
egg-herbie
Rules
719×fma-neg_binary64
690×fma-def_binary64
330×associate-+l+_binary64
308×associate-*l*_binary64
263×associate-*r*_binary64
Counts
175 → 189
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01782673
14262347
212192210
339532177
446712175
548922175

prune195.0ms (3.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2301231
Fresh145
Picked011
Done112
Total2327239
Error
0.0b
Counts
239 → 7
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 1 (*.f64 x (log.f64 (exp.f64 (cos.f64 B))))) (sin.f64 B))
15.5b
(-.f64 (cbrt.f64 (*.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
24.8b
(/.f64 (-.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))) (fma.f64 x (/.f64 (cos.f64 B) (sin.f64 B)) (/.f64 1 (sin.f64 B))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
25.8b
(-.f64 (log1p.f64 (expm1.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
11.0b
(/.f64 (-.f64 (*.f64 1 (tan.f64 B)) (*.f64 (sin.f64 B) (*.f64 x 1))) (*.f64 (sin.f64 B) (tan.f64 B)))
Compiler

Compiled 4323 to 2396 computations (44.6% saved)

regimes402.0ms (6.3%)

Accuracy

Total 0.1b remaining (83.4%)

Threshold costs 0.1b (83.4%)

Counts
133 → 1
Compiler

Compiled 7399 to 4968 computations (32.9% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11514
22114
32514
42814
52914
62814

end111.0ms (1.7%)

Compiler

Compiled 150 to 97 computations (35.3% saved)

Profiling

Loading profile data...