Details

Time bar (total: 6.4s)

analyze1.1s (16.9%)

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 (44.1%)

Results
1.3s2337×body1024valid
724.0ms4081×body128valid
460.0ms1202×body512valid
177.0ms631×body256valid
29.0ms192×body128invalid
5.0msbody2048valid
0.0msbody512invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

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

series81.0ms (1.3%)

Counts
3 → 52
Calls

3 calls:

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

rewrite120.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
785×prod-diff_binary64
276×fma-def_binary64
254×egg-rr
223×fma-neg_binary64
184×expm1-udef_binary64
Counts
3 → 254
Calls

3 calls:

113.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
113.0ms
(/.f64 1 (sin.f64 B))
113.0ms
(/.f64 x (tan.f64 B))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
119926
2271426
3496526
4496626

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Rules
610×+-commutative_binary64
500×sub-neg_binary64
422×associate--l+_binary64
420×fma-def_binary64
331×associate-+l+_binary64
Counts
306 → 281
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
063830
1177817
2528799
31983797
44141793
54721793
64945793

prune217.0ms (3.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2747281
Fresh101
Picked101
Done000
Total2767283
Error
0b
Counts
283 → 7
Alt Table
StatusErrorProgram
8.9b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
23.5b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
12.3b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
28.5b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

Compiled 8054 to 3047 computations (62.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 x (sin.f64 B))
0.1b
(/.f64 1 (sin.f64 B))
0.2b
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))

series57.0ms (0.9%)

Counts
3 → 52
Calls

3 calls:

24.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
19.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
14.0ms
(/.f64 x (sin.f64 B))

rewrite175.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
810×prod-diff_binary64
242×egg-rr
194×expm1-udef_binary64
194×log1p-udef_binary64
110×add-sqr-sqrt_binary64
Counts
3 → 242
Calls

3 calls:

168.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
168.0ms
(/.f64 x (sin.f64 B))
168.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01036
121631
2280731
3496631

simplify81.0ms (1.3%)

Algorithm
egg-herbie
Rules
619×+-commutative_binary64
496×sub-neg_binary64
474×fma-def_binary64
418×associate--l+_binary64
394×associate-*l*_binary64
Counts
294 → 267
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
067844
1190829
2574811
32123809
44366805
54965805
65066805

prune239.0ms (3.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2961297
Fresh156
Picked011
Done000
Total2977304
Error
0b
Counts
304 → 7
Alt Table
StatusErrorProgram
28.5b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (cos.f64 B) (/.f64 (sin.f64 B) x)))
23.5b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
12.3b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

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

series55.0ms (0.9%)

Counts
3 → 52
Calls

3 calls:

27.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (cos.f64 B) (/.f64 (sin.f64 B) x)))
20.0ms
(/.f64 (cos.f64 B) (/.f64 (sin.f64 B) x))
8.0ms
(/.f64 (sin.f64 B) x)

rewrite84.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
339×fma-def_binary64
216×log-div_binary64
206×expm1-udef_binary64
206×log1p-udef_binary64
204×egg-rr
Counts
3 → 204
Calls

3 calls:

79.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (cos.f64 B) (/.f64 (sin.f64 B) x)))
79.0ms
(/.f64 (sin.f64 B) x)
79.0ms
(/.f64 (cos.f64 B) (/.f64 (sin.f64 B) x))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01036
122436
2319032
3511432

simplify86.0ms (1.3%)

Algorithm
egg-herbie
Rules
440×associate--l+_binary64
396×fma-def_binary64
383×cancel-sign-sub-inv_binary64
340×associate-*l*_binary64
317×associate-+l+_binary64
Counts
256 → 231
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
075861
1211846
2622828
32229826
44450822
54780822
65198822

prune216.0ms (3.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2601261
Fresh145
Picked011
Done011
Total2617268
Error
0b
Counts
268 → 7
Alt Table
StatusErrorProgram
28.5b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (cos.f64 B) (/.f64 (sin.f64 B) x)))
23.5b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (cos.f64 B) (pow.f64 (/.f64 x (sin.f64 B)) -1)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

Compiled 5871 to 3120 computations (46.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series78.0ms (1.2%)

Counts
2 → 48
Calls

2 calls:

57.0ms
(pow.f64 (/.f64 x (sin.f64 B)) -1)
21.0ms
(/.f64 (cos.f64 B) (pow.f64 (/.f64 x (sin.f64 B)) -1))

rewrite58.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
910×log1p-expm1-u_binary64
910×expm1-log1p-u_binary64
96×add-sqr-sqrt_binary64
88×add-cbrt-cube_binary64
88×add-log-exp_binary64
Counts
2 → 77
Calls

2 calls:

57.0ms
(pow.f64 (/.f64 x (sin.f64 B)) -1)
57.0ms
(/.f64 (cos.f64 B) (pow.f64 (/.f64 x (sin.f64 B)) -1))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0923
119017
2234517
3570617

simplify108.0ms (1.7%)

Algorithm
egg-herbie
Rules
622×distribute-rgt-neg-in_binary64
546×fma-def_binary64
527×distribute-lft-neg-in_binary64
374×cancel-sign-sub-inv_binary64
359×neg-mul-1_binary64
Counts
125 → 92
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045499
1124493
2335482
3938478
42914478
54533478
64995478
74986478
85268478

prune130.0ms (2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1640164
Fresh044
Picked011
Done022
Total1647171
Error
0b
Counts
171 → 7
Alt Table
StatusErrorProgram
28.5b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (cos.f64 B) (/.f64 (sin.f64 B) x)))
23.5b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (cos.f64 B) (pow.f64 (/.f64 x (sin.f64 B)) -1)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
Compiler

Compiled 3134 to 1476 computations (52.9% saved)

regimes488.0ms (7.6%)

Accuracy

Total 0.1b remaining (83.6%)

Threshold costs 0.1b (83.6%)

Counts
143 → 1
Compiler

Compiled 6820 to 4893 computations (28.3% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01319
12219
23219
33519
43619
53419

end107.0ms (1.7%)

Compiler

Compiled 137 to 94 computations (31.4% saved)

Profiling

Loading profile data...