Details

Time bar (total: 8.4s)

analyze1.1s (13.5%)

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)

sample3.0s (35.7%)

Results
1.5s2430×body1024valid
748.0ms4054×body128valid
487.0ms1219×body512valid
162.0ms542×body256valid
28.0ms167×body128invalid
11.0ms11×body2048valid
1.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.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.2b
(/.f64 x (tan.f64 B))

series83.0ms (1%)

Counts
3 → 52
Calls

3 calls:

38.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))

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

14.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))

simplify401.0ms (4.8%)

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

prune268.0ms (3.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3328340
Fresh101
Picked101
Done000
Total3348342
Error
0.0b
Counts
342 → 8
Alt Table
StatusErrorProgram
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
16.5b
(-.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)))
37.8b
(/.f64 (-.f64 1 x) B)
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
22.3b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
34.4b
(fma.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B))) (neg.f64 (/.f64 x (tan.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
12.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
Compiler

Compiled 12011 to 3756 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))

series58.0ms (0.7%)

Counts
3 → 35
Calls

3 calls:

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

rewrite54.0ms (0.6%)

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:

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

simplify211.0ms (2.5%)

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

prune198.0ms (2.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2582260
Fresh257
Picked101
Done000
Total2617268
Error
0.0b
Counts
268 → 7
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
16.5b
(-.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)))
12.1b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
22.3b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
12.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
Compiler

Compiled 8488 to 2537 computations (70.1% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series18.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 32
Calls

1 calls:

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

simplify91.0ms (1.1%)

Algorithm
egg-herbie
Rules
406×fma-def_binary64
324×distribute-rgt-in_binary64
312×distribute-lft-in_binary64
299×associate-+l+_binary64
245×fma-neg_binary64
Counts
56 → 49
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01101158
12721083
27981076
328561072
448311072
549971072
649501072

prune61.0ms (0.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New77178
Fresh246
Picked011
Done000
Total79685
Error
0.0b
Counts
85 → 6
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
16.5b
(-.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 1 (/.f64 (tan.f64 B) x)))
22.3b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.3b
(/.f64 1 (/.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))))
12.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
Compiler

Compiled 1542 to 763 computations (50.5% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
0.1b
(/.f64 1 (sin.f64 B))
0.1b
(/.f64 (tan.f64 B) x)
0.3b
(/.f64 1 (/.f64 (tan.f64 B) x))

series173.0ms (2.1%)

Counts
3 → 72
Calls

3 calls:

94.0ms
(/.f64 (tan.f64 B) x)
41.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
38.0ms
(/.f64 1 (/.f64 (tan.f64 B) x))

rewrite198.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
1447×times-frac_binary64
907×add-sqr-sqrt_binary64
881×*-un-lft-identity_binary64
860×add-cube-cbrt_binary64
572×prod-diff_binary64
Counts
3 → 773
Calls

3 calls:

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

simplify799.0ms (9.6%)

Algorithm
egg-herbie
Rules
410×fma-neg_binary64
391×cancel-sign-sub-inv_binary64
275×associate-/l/_binary64
265×distribute-rgt-out_binary64
204×distribute-rgt-neg-in_binary64
Counts
845 → 806
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
037335425
185721208
2252215811
3441015811
4463615811
5496315811
6463015811

prune1.0s (12.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New8480848
Fresh044
Picked011
Done011
Total8486854
Error
0.0b
Counts
854 → 6
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
16.5b
(-.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 1 (/.f64 (tan.f64 B) x)))
22.3b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.3b
(/.f64 1 (/.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))))
12.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
Compiler

Compiled 43381 to 21400 computations (50.7% saved)

regimes395.0ms (4.7%)

Accuracy

Total 0.1b remaining (78.9%)

Threshold costs 0.1b (78.9%)

Counts
121 → 1
Compiler

Compiled 6871 to 4431 computations (35.5% saved)

simplify2.0ms (0%)

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

end98.0ms (1.2%)

Compiler

Compiled 123 to 83 computations (32.5% saved)

Profiling

Loading profile data...