Details

Time bar (total: 8.3s)

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

sample3.1s (36.8%)

Results
1.6s2331×body1024valid
707.0ms4156×body128valid
501.0ms1195×body512valid
176.0ms572×body256valid
31.0ms183×body128invalid
2.0msbody2048valid
1.0msbody1024invalid
1.0msbody512invalid
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.1b
(-.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)

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

series83.0ms (1%)

Counts
3 → 52
Calls

3 calls:

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

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

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

simplify296.0ms (3.6%)

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

prune353.0ms (4.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3328340
Fresh101
Picked101
Done000
Total3348342
Error
0.0b
Counts
342 → 8
Alt Table
StatusErrorProgram
25.2b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (sin.f64 B)) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 6)) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
30.7b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x))))
35.5b
(-.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)))
10.4b
(/.f64 (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B))) (*.f64 (sin.f64 B) (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)))
15.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 12025 to 3768 computations (68.7% saved)

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

series103.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

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

rewrite215.0ms (2.6%)

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:

38.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
12.0ms
(/.f64 1 (/.f64 (tan.f64 B) x))
3.0ms
(/.f64 (tan.f64 B) x)

simplify829.0ms (9.9%)

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

prune863.0ms (10.3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New8462848
Fresh257
Picked011
Done000
Total8488856
Error
0.0b
Counts
856 → 8
Alt Table
StatusErrorProgram
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (/.f64 1 (tan.f64 B))) x))
30.7b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x))))
8.1b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
35.5b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
34.7b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
15.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 43519 to 21495 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 x (sin.f64 B))
0.1b
(/.f64 1 (sin.f64 B))
0.2b
(*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B))

series60.0ms (0.7%)

Counts
3 → 52
Calls

3 calls:

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

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

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

prune182.0ms (2.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2211222
Fresh156
Picked011
Done011
Total2228230
Error
0.0b
Counts
230 → 8
Alt Table
StatusErrorProgram
8.1b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
35.5b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
30.7b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
34.7b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
15.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)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
Compiler

Compiled 4747 to 1749 computations (63.2% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 x (cos.f64 B)))
0.1b
(*.f64 x (cos.f64 B))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))

series32.0ms (0.4%)

Counts
3 → 55
Calls

3 calls:

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

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
15×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 72
Calls

3 calls:

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

simplify80.0ms (1%)

Algorithm
egg-herbie
Rules
695×fma-def_binary64
458×fma-neg_binary64
343×associate-+l+_binary64
244×cancel-sign-sub-inv_binary64
241×associate-+r+_binary64
Counts
127 → 115
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01821949
14291830
213761785
341771783
449171783

prune170.0ms (2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1150115
Fresh055
Picked011
Done022
Total1158123
Error
0.0b
Counts
123 → 8
Alt Table
StatusErrorProgram
8.1b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 x (sin.f64 B)) (cos.f64 B)))
35.5b
(-.f64 (expm1.f64 (log1p.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
30.7b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
34.7b
(-.f64 (*.f64 (sqrt.f64 (/.f64 1 (sin.f64 B))) (sqrt.f64 (/.f64 1 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
15.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)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
Compiler

Compiled 2050 to 985 computations (52% saved)

regimes378.0ms (4.5%)

Accuracy

Total 0.1b remaining (79.7%)

Threshold costs 0.1b (79.7%)

Counts
115 → 1
Compiler

Compiled 5434 to 3846 computations (29.2% saved)

simplify11.0ms (0.1%)

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
01214
11714
22314
32714
43014
53114
62814

end111.0ms (1.3%)

Compiler

Compiled 145 to 99 computations (31.7% saved)

Profiling

Loading profile data...