Details

Time bar (total: 8.1s)

analyze1.1s (14%)

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

Results
1.5s2428×body1024valid
636.0ms4046×body128valid
461.0ms1192×body512valid
165.0ms584×body256valid
28.0ms184×body128invalid
6.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%)

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 (/.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))

series84.0ms (1%)

Counts
3 → 52
Calls

3 calls:

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

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

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

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

prune341.0ms (4.2%)

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
31.2b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
31.8b
(-.f64 (exp.f64 (neg.f64 (log.f64 (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)))
12.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
31.8b
(-.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 1 (/.f64 (tan.f64 B) x)))
33.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
17.7b
(-.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)))
Compiler

Compiled 12055 to 3788 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 1 (/.f64 (tan.f64 B) x)))
0.1b
(/.f64 (tan.f64 B) x)
0.1b
(/.f64 1 (sin.f64 B))
0.3b
(/.f64 1 (/.f64 (tan.f64 B) x))

series138.0ms (1.7%)

Counts
3 → 72
Calls

3 calls:

75.0ms
(/.f64 1 (/.f64 (tan.f64 B) x))
40.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
23.0ms
(/.f64 (tan.f64 B) x)

rewrite203.0ms (2.5%)

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:

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

simplify796.0ms (9.8%)

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

prune880.0ms (10.8%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New8471848
Fresh189
Picked011
Done000
Total84810858
Error
0.0b
Counts
858 → 10
Alt Table
StatusErrorProgram
33.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
10.8b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
31.2b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (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)))
12.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
31.8b
(-.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 1 (/.f64 (tan.f64 B) x)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
17.7b
(-.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)))
Compiler

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

series63.0ms (0.8%)

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

rewrite20.0ms (0.2%)

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

simplify137.0ms (1.7%)

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

prune251.0ms (3.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2202222
Fresh268
Picked011
Done011
Total22210232
Error
0.0b
Counts
232 → 10
Alt Table
StatusErrorProgram
33.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
10.8b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
17.7b
(-.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)))
1.0b
(+.f64 (-.f64 (pow.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) 3) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))) 0)
31.2b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
12.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.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 1 (/.f64 (tan.f64 B) x)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
Compiler

Compiled 4821 to 1789 computations (62.9% 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))

series26.0ms (0.3%)

Counts
2 → 40
Calls

2 calls:

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

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 52
Calls

2 calls:

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

simplify86.0ms (1.1%)

Algorithm
egg-herbie
Rules
600×div-sub_binary64
557×fma-def_binary64
511×fma-neg_binary64
391×associate-*l*_binary64
329×associate-*r*_binary64
Counts
92 → 78
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01571498
13721396
211701379
338821377
446571377
557191377

prune119.0ms (1.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New77178
Fresh077
Picked101
Done112
Total79988
Error
0.0b
Counts
88 → 9
Alt Table
StatusErrorProgram
33.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
10.8b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
17.7b
(-.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)))
1.0b
(+.f64 (-.f64 (pow.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) 3) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))) 0)
31.2b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
12.7b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
13.7b
(/.f64 (-.f64 (*.f64 1 1) (*.f64 (*.f64 x (cos.f64 B)) (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (fma.f64 x (cos.f64 B) 1)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
Compiler

Compiled 1509 to 738 computations (51.1% saved)

regimes387.0ms (4.8%)

Accuracy

Total 0.1b remaining (84.8%)

Threshold costs 0.1b (84.8%)

Counts
124 → 1
Compiler

Compiled 5731 to 4062 computations (29.1% 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
01014
11414
22014
32414
42714
52814
62614

end136.0ms (1.7%)

Compiler

Compiled 181 to 116 computations (35.9% saved)

Profiling

Loading profile data...