Details

Time bar (total: 6.2s)

analyze1.2s (19.7%)

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)

sample73.0ms (1.2%)

Algorithm
intervals
Results
38.0ms82×body1024valid
12.0ms113×body128valid
10.0ms42×body512valid
3.0ms19×body256valid
0.0msbody128invalid
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify15.0ms (0.3%)

Algorithm
egg-herbie
Rules
27×cancel-sign-sub-inv_binary64
22×sub-neg_binary64
11×associate-/l*_binary64
11×distribute-rgt-in_binary64
10×associate--r+_binary64
Counts
1 → 1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01119
12414
24514
37314
410214
512914
613614
717114
816214
916814
1016514
1114014

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 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 61 to 46 computations (24.6% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite98.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
43×add-sqr-sqrt_binary64
36×times-frac_binary64
35×*-un-lft-identity_binary64
26×add-cube-cbrt_binary64
14×cancel-sign-sub-inv_binary64
Counts
3 → 94
Calls

3 calls:

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

Compiled 1508 to 610 computations (59.5% saved)

series130.0ms (2.1%)

Error
0.1b
Counts
3 → 26
Calls

3 calls:

73.0ms
(/.f64 x (tan.f64 B))
39.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
7.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 862 to 565 computations (34.5% saved)

simplify91.0ms (1.5%)

Algorithm
egg-herbie
Rules
378×associate-+l+_binary64
338×associate-/l*_binary64
257×associate-*r*_binary64
254×associate-+r+_binary64
244×associate-*l*_binary64
Counts
120 → 64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01961862
14911809
213471806
343721806
449771806

prune34.0ms (0.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New57764
Fresh101
Picked101
Done000
Total59766
Error
0.0b
Counts
66 → 7
Alt Table
StatusErrorProgram
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
23.0b
(/.f64 (-.f64 (/.f64 (/.f64 1 (sin.f64 B)) (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))))
31.1b
(/.f64 (-.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (+.f64 (*.f64 (/.f64 x (tan.f64 B)) (/.f64 x (tan.f64 B))) (/.f64 (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B))) (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
17.3b
(-.f64 (cbrt.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3)) (/.f64 x (tan.f64 B)))
31.3b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
Compiler

Compiled 880 to 451 computations (48.8% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (/.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))

rewrite99.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
25×*-un-lft-identity_binary64
18×add-sqr-sqrt_binary64
16×add-cube-cbrt_binary64
15×add-exp-log_binary64
13×times-frac_binary64
Counts
4 → 93
Calls

4 calls:

12.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
6.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
3.0ms
(*.f64 x (cos.f64 B))
2.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 1661 to 599 computations (63.9% saved)

series154.0ms (2.5%)

Error
0.0b
Counts
4 → 34
Calls

4 calls:

94.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
23.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
15.0ms
(*.f64 x (cos.f64 B))
8.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 1244 to 806 computations (35.2% saved)

simplify193.0ms (3.1%)

Algorithm
egg-herbie
Rules
442×associate-+l+_binary64
276×associate-/r*_binary64
269×associate-/l/_binary64
253×associate-/r/_binary64
220×cancel-sign-sub-inv_binary64
Counts
127 → 82
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01992117
14991951
217751934
346981934
449871934

prune42.0ms (0.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New80282
Fresh246
Picked011
Done000
Total82789
Error
0.0b
Counts
89 → 7
Alt Table
StatusErrorProgram
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
23.1b
(/.f64 (-.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
17.3b
(-.f64 (cbrt.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3)) (/.f64 x (tan.f64 B)))
31.3b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
Compiler

Compiled 1064 to 496 computations (53.4% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (*.f64 x (/.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 x (/.f64 (cos.f64 B) (sin.f64 B)))

rewrite174.0ms (2.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
33×add-sqr-sqrt_binary64
31×*-un-lft-identity_binary64
28×times-frac_binary64
28×add-cube-cbrt_binary64
15×add-exp-log_binary64
Counts
4 → 107
Calls

4 calls:

8.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))))
6.0ms
(*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))
3.0ms
(/.f64 (cos.f64 B) (sin.f64 B))
3.0ms
(/.f64 1 (sin.f64 B))
Compiler

Compiled 2095 to 727 computations (65.3% saved)

series87.0ms (1.4%)

Error
0.0b
Counts
4 → 31
Calls

4 calls:

34.0ms
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))))
23.0ms
(*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))
9.0ms
(/.f64 1 (sin.f64 B))
8.0ms
(/.f64 (cos.f64 B) (sin.f64 B))
Compiler

Compiled 1133 to 743 computations (34.4% saved)

simplify150.0ms (2.4%)

Algorithm
egg-herbie
Rules
497×times-frac_binary64
349×associate-/l*_binary64
259×cancel-sign-sub-inv_binary64
231×div-sub_binary64
214×neg-mul-1_binary64
Counts
138 → 84
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02082394
15162219
218342210
341162210
450082210

prune40.0ms (0.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh055
Picked011
Done011
Total84791
Error
0.0b
Counts
91 → 7
Alt Table
StatusErrorProgram
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
23.1b
(/.f64 (-.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
17.3b
(-.f64 (cbrt.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3)) (/.f64 x (tan.f64 B)))
31.3b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
Compiler

Compiled 1176 to 514 computations (56.3% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
0.6b
(cbrt.f64 x)
0.6b
(cbrt.f64 x)
0.6b
(cbrt.f64 x)

rewrite66.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
25×cbrt-prod_binary64
23×add-sqr-sqrt_binary64
15×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
11×pow1_binary64
Counts
4 → 73
Calls

4 calls:

7.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
1.0ms
(cbrt.f64 x)
1.0ms
(cbrt.f64 x)
1.0ms
(cbrt.f64 x)
Compiler

Compiled 1421 to 438 computations (69.2% saved)

series66.0ms (1.1%)

Error
0.0b
Counts
4 → 12
Calls

4 calls:

16.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
14.0ms
(cbrt.f64 x)
14.0ms
(cbrt.f64 x)
14.0ms
(cbrt.f64 x)
Compiler

Compiled 646 to 443 computations (31.4% saved)

simplify228.0ms (3.7%)

Algorithm
egg-herbie
Rules
599×associate-/l*_binary64
494×log-prod_binary64
484×unswap-sqr_binary64
309×distribute-rgt-neg-in_binary64
281×distribute-lft-neg-in_binary64
Counts
85 → 64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
081803
1165723
2600709
31315695
44524571
54354571
64308571
74919571
84947571

prune30.0ms (0.5%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh044
Picked011
Done022
Total64771
Error
0.0b
Counts
71 → 7
Alt Table
StatusErrorProgram
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (*.f64 x (/.f64 (cos.f64 B) (sin.f64 B)))))
0.6b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (/.f64 (cbrt.f64 x) (tan.f64 B))))
23.1b
(/.f64 (-.f64 (/.f64 1 (*.f64 (sin.f64 B) (sin.f64 B))) (*.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))) (+.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
0.2b
(+.f64 (/.f64 1 (sin.f64 B)) (neg.f64 (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))))
11.5b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
17.3b
(-.f64 (cbrt.f64 (pow.f64 (/.f64 1 (sin.f64 B)) 3)) (/.f64 x (tan.f64 B)))
31.3b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 (sqrt.f64 x) (/.f64 (sqrt.f64 x) (tan.f64 B))))
Compiler

Compiled 653 to 304 computations (53.4% saved)

regimes643.0ms (10.4%)

Accuracy

Total 0.1b remaining (82.2%)

Threshold costs 0.1b (82.2%)

Compiler

Compiled 8083 to 5364 computations (33.6% saved)

simplify4.0ms (0.1%)

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

end2.0ms (0%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

sample2.5s (40.4%)

Algorithm
intervals
Results
1.2s2242×body1024valid
390.0ms4007×body128valid
324.0ms1190×body512valid
140.0ms552×body256valid
14.0ms156×body128invalid
8.0msbody2048valid
1.0msbody1024invalid
Compiler

Compiled 158 to 97 computations (38.6% saved)

Profiling

Loading profile data...