Details

Time bar (total: 12.4s)

analyze2.1s (17%)

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)

sample5.2s (42.3%)

Results
2.6s2337×body1024valid
1.2s4106×body128valid
981.0ms1223×body512valid
301.0ms584×body256valid
46.0ms160×body128invalid
12.0msbody2048valid
2.0msbody1024invalid
1.0msbody512invalid
1.0msbody256invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

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

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

localize15.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.1b
(/.f64 x (tan.f64 B))

series190.0ms (1.5%)

Counts
4 → 56
Calls

4 calls:

87.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
86.0ms
(/.f64 x (tan.f64 B))
13.0ms
(/.f64 1 (sin.f64 B))
3.0ms
(sin.f64 B)

rewrite178.0ms (1.4%)

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:

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

simplify498.0ms (4%)

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

prune702.0ms (5.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3578365
Fresh101
Picked101
Done000
Total3598367
Error
0.0b
Counts
367 → 8
Alt Table
StatusErrorProgram
30.7b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
16.5b
(-.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.6b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (tan.f64 B) (cbrt.f64 x))))
0.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) (cbrt.f64 (/.f64 x (tan.f64 B)))) (cbrt.f64 (/.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 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
0.8b
(-.f64 (/.f64 1 (*.f64 (*.f64 (cbrt.f64 (sin.f64 B)) (cbrt.f64 (sin.f64 B))) (cbrt.f64 (sin.f64 B)))) (/.f64 x (tan.f64 B)))
35.2b
(/.f64 (-.f64 1 x) B)
Compiler

Compiled 12425 to 3933 computations (68.3% saved)

localize18.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 1 (sin.f64 B))
0.1b
(*.f64 x (cos.f64 B))
0.2b
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))

series116.0ms (0.9%)

Counts
3 → 35
Calls

3 calls:

52.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
49.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
14.0ms
(*.f64 x (cos.f64 B))

rewrite72.0ms (0.6%)

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:

20.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
8.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
5.0ms
(*.f64 x (cos.f64 B))

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

prune454.0ms (3.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2564260
Fresh437
Picked101
Done000
Total2617268
Error
0b
Counts
268 → 7
Alt Table
StatusErrorProgram
30.7b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
0.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) (cbrt.f64 (/.f64 x (tan.f64 B)))) (cbrt.f64 (/.f64 x (tan.f64 B)))))
35.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))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (/.f64 x 1)) (/.f64 (cos.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
11.7b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
Compiler

Compiled 8536 to 2553 computations (70.1% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series39.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 32
Calls

1 calls:

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

simplify127.0ms (1%)

Algorithm
egg-herbie
Rules
406×fma-def_binary64
324×distribute-rgt-in_binary64
312×distribute-lft-in_binary64
299×associate-+l+_binary64
245×fma-neg_binary64
Counts
56 → 49
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01101158
12721083
27981076
328561072
448311072
549971072
649501072

prune156.0ms (1.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New95095
Fresh066
Picked011
Done000
Total957102
Error
0b
Counts
102 → 7
Alt Table
StatusErrorProgram
30.7b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
0.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) (cbrt.f64 (/.f64 x (tan.f64 B)))) (cbrt.f64 (/.f64 x (tan.f64 B)))))
35.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))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (/.f64 x 1)) (/.f64 (cos.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
11.7b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
Compiler

Compiled 1875 to 920 computations (50.9% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series117.0ms (0.9%)

Counts
3 → 52
Calls

3 calls:

56.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (/.f64 x 1)) (/.f64 (cos.f64 B) (sin.f64 B))))
46.0ms
(*.f64 (neg.f64 (/.f64 x 1)) (/.f64 (cos.f64 B) (sin.f64 B)))
14.0ms
(/.f64 (cos.f64 B) (sin.f64 B))

rewrite55.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
46×times-frac_binary64
45×add-sqr-sqrt_binary64
40×*-un-lft-identity_binary64
40×add-cube-cbrt_binary64
30×associate-*l*_binary64
Counts
3 → 123
Calls

3 calls:

21.0ms
(*.f64 (neg.f64 (/.f64 x 1)) (/.f64 (cos.f64 B) (sin.f64 B)))
13.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (/.f64 x 1)) (/.f64 (cos.f64 B) (sin.f64 B))))
5.0ms
(/.f64 (cos.f64 B) (sin.f64 B))

simplify230.0ms (1.9%)

Algorithm
egg-herbie
Rules
721×fma-def_binary64
494×times-frac_binary64
301×fma-neg_binary64
200×distribute-lft-neg-out_binary64
172×distribute-rgt-neg-out_binary64
Counts
175 → 211
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02122751
15382649
218952625
345392625
450002625
549972625
649582625

prune464.0ms (3.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2530253
Fresh055
Picked011
Done011
Total2537260
Error
0b
Counts
260 → 7
Alt Table
StatusErrorProgram
30.7b
(-.f64 (/.f64 (/.f64 1 (sqrt.f64 (sin.f64 B))) (sqrt.f64 (sin.f64 B))) (/.f64 x (tan.f64 B)))
0.7b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) (cbrt.f64 (/.f64 x (tan.f64 B)))) (cbrt.f64 (/.f64 x (tan.f64 B)))))
35.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))))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (*.f64 (neg.f64 (/.f64 x 1)) (/.f64 (cos.f64 B) (sin.f64 B))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 1 (/.f64 (tan.f64 B) x)))
11.7b
(/.f64 (*.f64 (sin.f64 B) (-.f64 1 (*.f64 x (cos.f64 B)))) (*.f64 (sin.f64 B) (sin.f64 B)))
Compiler

Compiled 5663 to 2677 computations (52.7% saved)

regimes883.0ms (7.1%)

Accuracy

Total 0.1b remaining (77.5%)

Threshold costs 0.1b (77.5%)

Counts
155 → 1
Compiler

Compiled 8311 to 5634 computations (32.2% saved)

simplify4.0ms (0%)

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
01014
11414
22014
32414
42714
52814
62714

end196.0ms (1.6%)

Compiler

Compiled 164 to 99 computations (39.6% saved)

Profiling

Loading profile data...