Details

Time bar (total: 6.7s)

analyze1.1s (16.2%)

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

Results
1.5s2422×body1024valid
625.0ms4092×body128valid
443.0ms1181×body512valid
152.0ms559×body256valid
30.0ms189×body128invalid
2.0msbody2048valid
1.0msbody1024invalid
0.0msbody512invalid
0.0msbody256invalid
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.2b
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))

series87.0ms (1.3%)

Counts
3 → 52
Calls

3 calls:

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

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

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

simplify292.0ms (4.3%)

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

prune293.0ms (4.4%)

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
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
34.1b
(/.f64 (-.f64 1 x) B)
16.3b
(-.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)))
33.2b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))))
12.2b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
28.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 x (/.f64 1 (tan.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
27.8b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.8b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 1 (sin.f64 B))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (cbrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
Compiler

Compiled 12119 to 3828 computations (68.4% saved)

localize93.0ms (1.4%)

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

series62.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)))
20.0ms
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))
17.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))

simplify161.0ms (2.4%)

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

prune187.0ms (2.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2193222
Fresh459
Picked011
Done000
Total2239232
Error
0.0b
Counts
232 → 9
Alt Table
StatusErrorProgram
16.3b
(-.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)))
12.2b
(/.f64 (-.f64 (*.f64 1 (sin.f64 B)) (*.f64 (sin.f64 B) (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
33.2b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (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)
12.2b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (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.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
Compiler

Compiled 4858 to 1811 computations (62.7% 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.4%)

Counts
2 → 40
Calls

2 calls:

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

simplify88.0ms (1.3%)

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

prune74.0ms (1.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New77178
Fresh077
Picked011
Done011
Total771087
Error
0.0b
Counts
87 → 10
Alt Table
StatusErrorProgram
16.3b
(-.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)))
12.2b
(/.f64 (-.f64 (*.f64 1 (sin.f64 B)) (*.f64 (sin.f64 B) (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
33.2b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (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)
27.8b
(/.f64 (/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
12.2b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (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.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
Compiler

Compiled 1701 to 859 computations (49.5% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series126.0ms (1.9%)

Counts
3 → 60
Calls

3 calls:

69.0ms
(*.f64 x (/.f64 1 (tan.f64 B)))
40.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
16.0ms
(/.f64 1 (tan.f64 B))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
38×times-frac_binary64
34×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
16×add-exp-log_binary64
Counts
3 → 115
Calls

3 calls:

7.0ms
(*.f64 x (/.f64 1 (tan.f64 B)))
6.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
3.0ms
(/.f64 1 (tan.f64 B))

simplify117.0ms (1.7%)

Algorithm
egg-herbie
Rules
719×fma-neg_binary64
690×fma-def_binary64
330×associate-+l+_binary64
308×associate-*l*_binary64
263×associate-*r*_binary64
Counts
175 → 189
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01782673
14262347
212192210
339532177
446712175
548922175

prune219.0ms (3.3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New2301231
Fresh167
Picked011
Done022
Total23110241
Error
0.0b
Counts
241 → 10
Alt Table
StatusErrorProgram
16.3b
(-.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)))
12.2b
(/.f64 (-.f64 (*.f64 1 (sin.f64 B)) (*.f64 (sin.f64 B) (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
33.2b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))))
0.9b
(+.f64 (-.f64 (pow.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) 3) (/.f64 x (tan.f64 B))) 0)
27.8b
(/.f64 (/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
12.2b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (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.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
Compiler

Compiled 4380 to 2433 computations (44.5% saved)

regimes701.0ms (10.4%)

Accuracy

Total 0.1b remaining (88%)

Threshold costs 0.1b (88%)

Counts
196 → 1
Compiler

Compiled 11443 to 7545 computations (34.1% 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: 1 (0.0ms)

IterNodesCost
01016
11814
22314
32614
42714
52614

end134.0ms (2%)

Compiler

Compiled 207 to 134 computations (35.3% saved)

Profiling

Loading profile data...