Details

Time bar (total: 6.9s)

analyze1.1s (16.3%)

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.9s (42.5%)

Results
1.5s2395×body1024valid
652.0ms4067×body128valid
464.0ms1172×body512valid
177.0ms616×body256valid
27.0ms172×body128invalid
6.0msbody2048valid
2.0msbody1024invalid
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%)

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

series86.0ms (1.2%)

Counts
3 → 52
Calls

3 calls:

41.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
39.0ms
(/.f64 x (tan.f64 B))
6.0ms
(/.f64 1 (sin.f64 B))

rewrite58.0ms (0.8%)

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:

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

simplify387.0ms (5.6%)

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

prune315.0ms (4.6%)

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
16.3b
(-.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.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 (*.f64 x (cos.f64 B)) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
36.0b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.5b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) (cbrt.f64 (/.f64 x (tan.f64 B)))) (cbrt.f64 (/.f64 x (tan.f64 B)))))
11.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
16.3b
(-.f64 (cbrt.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3)) (/.f64 x (tan.f64 B)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.8b
(-.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)))
Compiler

Compiled 12097 to 3804 computations (68.6% saved)

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

series97.0ms (1.4%)

Counts
3 → 60
Calls

3 calls:

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

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

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

simplify116.0ms (1.7%)

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

prune212.0ms (3.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2301231
Fresh279
Picked011
Done000
Total2329241
Error
0.0b
Counts
241 → 9
Alt Table
StatusErrorProgram
16.3b
(-.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.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
36.0b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
11.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
16.3b
(-.f64 (cbrt.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3)) (/.f64 x (tan.f64 B)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B))))
0.8b
(-.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)))
Compiler

Compiled 4480 to 2501 computations (44.2% 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.1b
(/.f64 1 (sin.f64 B))
0.1b
(/.f64 x (sin.f64 B))
0.2b
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))

series64.0ms (0.9%)

Counts
3 → 52
Calls

3 calls:

27.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
21.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
16.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))

simplify137.0ms (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

prune234.0ms (3.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2193222
Fresh347
Picked101
Done011
Total2238231
Error
0.0b
Counts
231 → 8
Alt Table
StatusErrorProgram
23.6b
(/.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))))
16.3b
(-.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.2b
(-.f64 (pow.f64 (sin.f64 B) -1) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
11.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
30.5b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 3)) (pow.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) 3)) (fma.f64 (cos.f64 B) (*.f64 (/.f64 x (sin.f64 B)) (fma.f64 x (/.f64 (cos.f64 B) (sin.f64 B)) (/.f64 1 (sin.f64 B)))) (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B)))))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B))))
Compiler

Compiled 4879 to 1800 computations (63.1% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series33.0ms (0.5%)

Counts
2 → 36
Calls

2 calls:

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

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
unpow-prod-down_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
fma-neg_binary64
Counts
2 → 50
Calls

2 calls:

5.0ms
(-.f64 (pow.f64 (sin.f64 B) -1) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
2.0ms
(pow.f64 (sin.f64 B) -1)

simplify74.0ms (1.1%)

Algorithm
egg-herbie
Rules
517×fma-def_binary64
442×associate-*l*_binary64
413×fma-neg_binary64
411×associate-*r*_binary64
271×associate-*l/_binary64
Counts
86 → 98
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01281630
13211497
210361382
342251382
450191382

prune180.0ms (2.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1991200
Fresh246
Picked011
Done011
Total2017208
Error
0.0b
Counts
208 → 7
Alt Table
StatusErrorProgram
0.2b
(-.f64 (pow.f64 (sin.f64 B) -1) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
23.6b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (*.f64 (cos.f64 B) (*.f64 (*.f64 (*.f64 x (cos.f64 B)) (pow.f64 (sin.f64 B) -2)) x))) (fma.f64 (cos.f64 B) (/.f64 x (sin.f64 B)) (/.f64 1 (sin.f64 B))))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
16.3b
(-.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)))
30.5b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 3)) (pow.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) 3)) (fma.f64 (cos.f64 B) (*.f64 (/.f64 x (sin.f64 B)) (fma.f64 x (/.f64 (cos.f64 B) (sin.f64 B)) (/.f64 1 (sin.f64 B)))) (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B))))
Compiler

Compiled 4129 to 1521 computations (63.2% saved)

regimes631.0ms (9.1%)

Accuracy

Total 0.1b remaining (81.8%)

Threshold costs 0.1b (81.8%)

Counts
188 → 1
Compiler

Compiled 10645 to 6888 computations (35.3% 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: 1 (0.0ms)

IterNodesCost
01016
11814
22314
32614
42714
52614

end122.0ms (1.8%)

Compiler

Compiled 185 to 114 computations (38.4% saved)

Profiling

Loading profile data...