Details

Time bar (total: 5.5s)

analyze796.0ms (14.4%)

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
25%74.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
37.5%62.4%0.1%7
43.7%56.2%0.1%8
43.7%56.2%0.1%9
46.8%53.1%0.1%10
46.8%53.1%0.1%11
48.4%51.5%0.1%12
48.4%51.5%0.1%13
49.2%50.7%0.1%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample2.3s (41.9%)

Results
1.1s2093×body1024valid
629.0ms4660×body128valid
339.0ms1022×body512valid
112.0ms478×body256valid
3.0msbody2048valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify14.0ms (0.3%)

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

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

series91.0ms (1.6%)

Counts
4 → 56
Calls

4 calls:

42.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
41.0ms
(/.f64 x (tan.f64 B))
7.0ms
(/.f64 1 (sin.f64 B))
2.0ms
(sin.f64 B)

rewrite64.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
288×times-frac_binary64
240×add-sqr-sqrt_binary64
232×*-un-lft-identity_binary64
223×add-cube-cbrt_binary64
182×prod-diff_binary64
Counts
4 → 304
Calls

4 calls:

19.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))
1.0ms
(sin.f64 B)

simplify332.0ms (6%)

Algorithm
egg-herbie
Rules
584×associate-/l*_binary64
453×times-frac_binary64
297×fma-neg_binary64
215×cancel-sign-sub-inv_binary64
182×associate-/l/_binary64
Counts
360 → 365
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
032713369
17908583
218926789
345336789
447866789

prune308.0ms (5.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3569365
Fresh101
Picked101
Done000
Total3589367
Error
0.0b
Counts
367 → 9
Alt Table
StatusErrorProgram
8.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (expm1.f64 (log1p.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
27.4b
(-.f64 (log1p.f64 (expm1.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
31.4b
(/.f64 (-.f64 1 x) B)
0.7b
(-.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B)))) (cbrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
0.1b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
24.4b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
Compiler

Compiled 12401 to 3937 computations (68.3% saved)

localize9.0ms (0.2%)

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

series62.0ms (1.1%)

Counts
3 → 35
Calls

3 calls:

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

rewrite38.0ms (0.7%)

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

simplify217.0ms (3.9%)

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

prune225.0ms (4.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2582260
Fresh358
Picked011
Done000
Total2618269
Error
0.0b
Counts
269 → 8
Alt Table
StatusErrorProgram
8.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (expm1.f64 (log1p.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.7b
(-.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B)))) (cbrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
0.1b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
24.4b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
34.6b
(/.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 (sin.f64 B)) (-.f64 1 (*.f64 x (cos.f64 B))))
Compiler

Compiled 8530 to 2560 computations (70% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series212.0ms (3.8%)

Counts
3 → 36
Calls

3 calls:

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

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-exp-log_binary64
Counts
3 → 55
Calls

3 calls:

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

simplify103.0ms (1.9%)

Algorithm
egg-herbie
Rules
732×fma-def_binary64
533×distribute-rgt-neg-in_binary64
425×distribute-lft-neg-in_binary64
355×associate-*l*_binary64
337×cancel-sign-sub-inv_binary64
Counts
91 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
095747
1188701
2398689
31023679
42967679
54512679
64998679
74907679

prune121.0ms (2.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1410141
Fresh066
Picked011
Done011
Total1418149
Error
0.0b
Counts
149 → 8
Alt Table
StatusErrorProgram
8.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (expm1.f64 (log1p.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.7b
(-.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B)))) (cbrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
0.1b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (log1p.f64 (expm1.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
24.4b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
34.6b
(/.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 (sin.f64 B)) (-.f64 1 (*.f64 x (cos.f64 B))))
Compiler

Compiled 2575 to 1125 computations (56.3% saved)

localize10.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
(/.f64 x (tan.f64 B))
0.2b
(expm1.f64 (sin.f64 B))
0.2b
(log1p.f64 (expm1.f64 (sin.f64 B)))

series12.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-exp-log_binary64
Counts
3 → 55
Calls

3 calls:

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

simplify82.0ms (1.5%)

Algorithm
egg-herbie
Rules
712×fma-def_binary64
563×distribute-rgt-neg-in_binary64
458×distribute-lft-neg-in_binary64
384×associate-*l*_binary64
332×cancel-sign-sub-inv_binary64
Counts
91 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
095753
1190707
2430688
31061684
43128684
54580684
64965684

prune119.0ms (2.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1391140
Fresh055
Picked101
Done022
Total1408148
Error
0b
Counts
148 → 8
Alt Table
StatusErrorProgram
0.2b
(-.f64 (/.f64 1 (log1p.f64 (log1p.f64 (expm1.f64 (expm1.f64 (sin.f64 B)))))) (/.f64 x (tan.f64 B)))
8.1b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (expm1.f64 (log1p.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.7b
(-.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B)))) (cbrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
0.1b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
24.4b
(cbrt.f64 (pow.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) 3))
34.6b
(/.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 (sin.f64 B)) (-.f64 1 (*.f64 x (cos.f64 B))))
Compiler

Compiled 2450 to 1051 computations (57.1% saved)

regimes254.0ms (4.6%)

Accuracy

Total 0.1b remaining (78.6%)

Threshold costs 0.1b (78.6%)

Counts
82 → 1
Compiler

Compiled 3991 to 2754 computations (31% saved)

simplify3.0ms (0.1%)

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
22014
32414
42714
52814
62614

end115.0ms (2.1%)

Compiler

Compiled 170 to 109 computations (35.9% saved)

Profiling

Loading profile data...