Details

Time bar (total: 6.7s)

analyze1.5s (21.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.9s (42.9%)

Results
1.5s2295×body1024valid
656.0ms4142×body128valid
470.0ms1216×body512valid
167.0ms598×body256valid
24.0ms156×body128invalid
5.0msbody2048valid
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

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

series91.0ms (1.3%)

Counts
3 → 52
Calls

3 calls:

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

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

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

simplify317.0ms (4.7%)

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

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3319340
Fresh101
Picked101
Done000
Total3339342
Error
0.0b
Counts
342 → 9
Alt Table
StatusErrorProgram
34.6b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
34.9b
(/.f64 (-.f64 1 x) B)
35.4b
(-.f64 (expm1.f64 (log1p.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 1 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B)))) (/.f64 1 (cbrt.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
34.7b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
18.7b
(-.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)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

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

series54.0ms (0.8%)

Counts
3 → 35
Calls

3 calls:

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

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

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

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

prune200.0ms (3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2573260
Fresh268
Picked101
Done000
Total2609269
Error
0.0b
Counts
269 → 9
Alt Table
StatusErrorProgram
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))))
32.5b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 3)) (pow.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) 3)) (+.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (*.f64 (sin.f64 B) (sin.f64 B))) (+.f64 (*.f64 x (cos.f64 B)) 1))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
12.8b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.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)))
34.7b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
34.6b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
18.7b
(-.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)))
Compiler

Compiled 8604 to 2605 computations (69.7% saved)

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

series63.0ms (0.9%)

Counts
3 → 52
Calls

3 calls:

26.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))
15.0ms
(/.f64 x (sin.f64 B))

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

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

simplify149.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.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2211222
Fresh088
Picked011
Done000
Total22110231
Error
0b
Counts
231 → 10
Alt Table
StatusErrorProgram
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))))
32.5b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 3)) (pow.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) 3)) (+.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (*.f64 (sin.f64 B) (sin.f64 B))) (+.f64 (*.f64 x (cos.f64 B)) 1))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
12.8b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.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)))
0.9b
(+.f64 (-.f64 (pow.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) 3) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))) 0)
34.7b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
34.6b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
18.7b
(-.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)))
Compiler

Compiled 4906 to 1841 computations (62.5% 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))

series19.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

simplify94.0ms (1.4%)

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

prune66.0ms (1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh088
Picked011
Done011
Total781088
Error
0b
Counts
88 → 10
Alt Table
StatusErrorProgram
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))))
32.5b
(/.f64 (-.f64 (/.f64 1 (pow.f64 (sin.f64 B) 3)) (pow.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) 3)) (+.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (*.f64 (sin.f64 B) (sin.f64 B))) (+.f64 (*.f64 x (cos.f64 B)) 1))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
12.8b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.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)))
0.9b
(+.f64 (-.f64 (pow.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) 3) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))) 0)
34.7b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
34.6b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
18.7b
(-.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)))
Compiler

Compiled 1547 to 761 computations (50.8% saved)

regimes325.0ms (4.8%)

Accuracy

Total 0.1b remaining (88.6%)

Threshold costs 0.1b (88.6%)

Counts
106 → 1
Compiler

Compiled 5041 to 3504 computations (30.5% saved)

simplify3.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
01114
11514
22114
32514
42814
52914
62614

end137.0ms (2%)

Compiler

Compiled 218 to 140 computations (35.8% saved)

Profiling

Loading profile data...