Details

Time bar (total: 6.3s)

analyze1.2s (18.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)

sample2.7s (43.3%)

Results
1.4s2342×body1024valid
625.0ms4077×body128valid
442.0ms1190×body512valid
173.0ms644×body256valid
27.0ms177×body128invalid
3.0msbody2048valid
1.0msbody1024invalid
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
25×cancel-sign-sub-inv_binary64
19×sub-neg_binary64
11×associate-/l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01119
12414
25114
39014
414314
521614
626714
733714
841914
943914
1044414
Stop Event
saturated
Counts
1 → 2

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.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 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 B)
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))

series85.0ms (1.4%)

Counts
4 → 56
Calls

4 calls:

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

rewrite84.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
785×prod-diff_binary64
253×egg-rr
184×expm1-udef_binary64
184×log1p-udef_binary64
103×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
120029
2290329
Stop Event
node limit
Counts
4 → 253
Calls

4 calls:

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

simplify39.0ms (0.6%)

Algorithm
egg-herbie
Rules
481×cancel-sign-sub-inv_binary64
475×fma-def_binary64
382×fma-neg_binary64
370×associate-*l*_binary64
328×associate-+l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
075882
1219869
2671847
32883845
Stop Event
node limit
Counts
309 → 289

prune234.0ms (3.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2827289
Fresh101
Picked101
Done000
Total2847291
Error
0.0b
Counts
291 → 7
Alt Table
StatusErrorProgram
9.1b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 B) 2))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
37.4b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (sqrt.f64 (/.f64 x (tan.f64 B))) 2))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
9.0b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
Compiler

Compiled 7996 to 3417 computations (57.3% 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))

series51.0ms (0.8%)

Counts
3 → 35
Calls

3 calls:

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

rewrite153.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
911×prod-diff_binary64
328×egg-rr
111×add-sqr-sqrt_binary64
104×add-cbrt-cube_binary64
104×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01031
121926
2325626
Stop Event
node limit
Counts
3 → 328
Calls

3 calls:

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

simplify38.0ms (0.6%)

Algorithm
egg-herbie
Rules
504×fma-neg_binary64
428×fma-def_binary64
310×associate-+l+_binary64
257×distribute-rgt-neg-in_binary64
252×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
076526
1218514
2686492
33116488
Stop Event
node limit
Counts
363 → 356

prune342.0ms (5.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3860386
Fresh066
Picked011
Done000
Total3867393
Error
0.0b
Counts
393 → 7
Alt Table
StatusErrorProgram
9.1b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 B) 2))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
37.4b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (sqrt.f64 (/.f64 x (tan.f64 B))) 2))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
9.0b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
Compiler

Compiled 13236 to 5129 computations (61.2% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B))))
0.2b
(expm1.f64 (sin.f64 B))
0.2b
(/.f64 x (tan.f64 B))
0.2b
(log1p.f64 (expm1.f64 (sin.f64 B)))

series10.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

6.0ms
(/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B))))
2.0ms
(expm1.f64 (sin.f64 B))
2.0ms
(log1p.f64 (expm1.f64 (sin.f64 B)))

rewrite41.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
461×expm1-log1p-u_binary64
460×log1p-expm1-u_binary64
293×unpow-prod-down_binary64
232×log-prod_binary64
136×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
111914
2130914
Stop Event
node limit
Counts
3 → 108
Calls

3 calls:

39.0ms
(/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B))))
39.0ms
(expm1.f64 (sin.f64 B))
39.0ms
(log1p.f64 (expm1.f64 (sin.f64 B)))

simplify32.0ms (0.5%)

Algorithm
egg-herbie
Rules
683×fma-def_binary64
556×distribute-rgt-neg-in_binary64
366×associate-*l*_binary64
332×cancel-sign-sub-inv_binary64
322×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049269
1135267
2352257
31145253
43894253
Stop Event
node limit
Counts
144 → 130

prune120.0ms (1.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1720172
Fresh055
Picked011
Done011
Total1727179
Error
0.0b
Counts
179 → 7
Alt Table
StatusErrorProgram
9.1b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (tan.f64 B) 2))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
37.4b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (sqrt.f64 (/.f64 x (tan.f64 B))) 2))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
9.0b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
Compiler

Compiled 2908 to 1429 computations (50.9% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (tan.f64 B) (*.f64 x (sin.f64 B)))
0.2b
(*.f64 x (sin.f64 B))
0.2b
(*.f64 (tan.f64 B) (sin.f64 B))
8.3b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))

series125.0ms (2%)

Counts
4 → 84
Calls

4 calls:

71.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))
24.0ms
(-.f64 (tan.f64 B) (*.f64 x (sin.f64 B)))
22.0ms
(*.f64 (tan.f64 B) (sin.f64 B))
7.0ms
(*.f64 x (sin.f64 B))

rewrite74.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
635×log-prod_binary64
243×fma-def_binary64
196×egg-rr
196×expm1-udef_binary64
196×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0946
120446
2318246
Stop Event
node limit
Counts
4 → 196
Calls

4 calls:

70.0ms
(-.f64 (tan.f64 B) (*.f64 x (sin.f64 B)))
70.0ms
(*.f64 x (sin.f64 B))
70.0ms
(*.f64 (tan.f64 B) (sin.f64 B))
70.0ms
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (tan.f64 B) (sin.f64 B)))

simplify53.0ms (0.8%)

Algorithm
egg-herbie
Rules
670×fma-def_binary64
598×fma-neg_binary64
538×associate-+l+_binary64
351×associate-+r+_binary64
244×associate--l+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01081336
13171317
210471290
348011290
Stop Event
node limit
Counts
280 → 240

prune160.0ms (2.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2373240
Fresh224
Picked101
Done022
Total2407247
Error
0b
Counts
247 → 7
Alt Table
StatusErrorProgram
26.8b
(/.f64 (/.f64 1 (/.f64 (fma.f64 (*.f64 x (sin.f64 B)) (fma.f64 x (sin.f64 B) (tan.f64 B)) (pow.f64 (tan.f64 B) 2)) (-.f64 (pow.f64 (tan.f64 B) 3) (pow.f64 (*.f64 x (sin.f64 B)) 3)))) (*.f64 (tan.f64 B) (sin.f64 B)))
9.2b
(-.f64 (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))) (/.f64 x (tan.f64 B)))
0.3b
(pow.f64 (/.f64 (sin.f64 B) (/.f64 (fma.f64 (sin.f64 B) (neg.f64 x) (tan.f64 B)) (tan.f64 B))) -1)
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.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)))
0.2b
(*.f64 (/.f64 (fma.f64 (sin.f64 B) (neg.f64 x) (tan.f64 B)) (tan.f64 B)) (/.f64 1 (sin.f64 B)))
9.1b
(*.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (/.f64 1 (*.f64 (tan.f64 B) (sin.f64 B))))
Compiler

Compiled 5481 to 1460 computations (73.4% saved)

regimes579.0ms (9.3%)

Accuracy

Total 0.2b remaining (83.1%)

Threshold costs 0.2b (83.1%)

Counts
189 → 1
Compiler

Compiled 8440 to 5862 computations (30.5% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
11519
22119
33119
43819
54319
64519
Stop Event
saturated

end108.0ms (1.7%)

Compiler

Compiled 161 to 99 computations (38.5% saved)

Profiling

Loading profile data...