Details

Time bar (total: 8.8s)

analyze1.1s (12.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 (31.9%)

Results
1.3s2313×body1024valid
722.0ms4122×body128valid
472.0ms1240×body512valid
157.0ms575×body256valid
23.0ms158×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

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

series83.0ms (0.9%)

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

rewrite57.0ms (0.6%)

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

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

prune369.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
16.0b
(-.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.8b
(-.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)))
1.2b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))) (cbrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))) (cbrt.f64 (-.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)))
33.5b
(-.f64 (*.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (/.f64 1 (sqrt.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
24.9b
(/.f64 (-.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B)))) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.8b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
34.4b
(/.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.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
Compiler

Compiled 12225 to 3866 computations (68.4% 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 (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))

series52.0ms (0.6%)

Counts
3 → 35
Calls

3 calls:

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

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

10.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 (2.5%)

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

prune294.0ms (3.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2573260
Fresh369
Picked101
Done000
Total2619270
Error
0b
Counts
270 → 9
Alt Table
StatusErrorProgram
0.8b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
9.4b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
0.3b
(*.f64 (/.f64 1 (sin.f64 B)) (-.f64 (/.f64 1 1) (*.f64 x (cos.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
33.5b
(-.f64 (*.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (/.f64 1 (sqrt.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
34.5b
(/.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))))
24.9b
(/.f64 (-.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B)))) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.8b
(-.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.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
Compiler

Compiled 8646 to 2619 computations (69.7% 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 1 (sin.f64 B))
0.2b
(/.f64 (tan.f64 B) x)
0.3b
(/.f64 1 (/.f64 (tan.f64 B) x))

series100.0ms (1.1%)

Counts
3 → 72
Calls

3 calls:

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

rewrite200.0ms (2.3%)

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:

34.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
5.0ms
(/.f64 1 (/.f64 (tan.f64 B) x))
2.0ms
(/.f64 (tan.f64 B) x)

simplify806.0ms (9.1%)

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

prune974.0ms (11%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New8480848
Fresh088
Picked011
Done000
Total8489857
Error
0b
Counts
857 → 9
Alt Table
StatusErrorProgram
0.8b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
9.4b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
0.3b
(*.f64 (/.f64 1 (sin.f64 B)) (-.f64 (/.f64 1 1) (*.f64 x (cos.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
33.5b
(-.f64 (*.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (/.f64 1 (sqrt.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
34.5b
(/.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))))
24.9b
(/.f64 (-.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B)))) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.8b
(-.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.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
Compiler

Compiled 43663 to 21557 computations (50.6% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series56.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

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

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
47×times-frac_binary64
45×add-sqr-sqrt_binary64
39×prod-diff_binary64
39×*-un-lft-identity_binary64
38×add-cube-cbrt_binary64
Counts
2 → 111
Calls

2 calls:

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

simplify119.0ms (1.4%)

Algorithm
egg-herbie
Rules
648×fma-def_binary64
453×fma-neg_binary64
370×div-sub_binary64
342×associate-+l+_binary64
307×times-frac_binary64
Counts
159 → 170
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01673246
14122786
212752270
339392270
445732270
550732270

prune291.0ms (3.3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2401241
Fresh167
Picked011
Done011
Total2419250
Error
0b
Counts
250 → 9
Alt Table
StatusErrorProgram
0.2b
(/.f64 (-.f64 1 (*.f64 (cos.f64 B) x)) (sin.f64 B))
0.3b
(*.f64 (/.f64 1 (sin.f64 B)) (-.f64 (/.f64 1 1) (*.f64 x (cos.f64 B))))
0.8b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (tan.f64 B)) (cbrt.f64 (tan.f64 B)))) (/.f64 x (cbrt.f64 (tan.f64 B)))))
9.4b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
33.5b
(-.f64 (*.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (/.f64 1 (sqrt.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
34.5b
(/.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))))
24.9b
(/.f64 (-.f64 (*.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (sin.f64 B))) (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B)))) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))))
0.8b
(-.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)))
Compiler

Compiled 5502 to 3040 computations (44.7% saved)

regimes751.0ms (8.5%)

Accuracy

Total 0.2b remaining (86.3%)

Threshold costs 0.2b (86.3%)

Counts
223 → 1
Compiler

Compiled 11833 to 8088 computations (31.6% 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
0914
11714
22614
33214
43614
53714
63614

end138.0ms (1.6%)

Compiler

Compiled 213 to 130 computations (39% saved)

Profiling

Loading profile data...