Details

Time bar (total: 13.9s)

analyze3.5s (25.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample415.0ms (3%)

Algorithm
intervals
Results
296.0ms71×body2048valid
70.0ms92×body1024valid
22.0ms51×body512valid
8.0ms24×body256valid
3.0ms17×body128valid
2.0msbody4096valid
Compiler

Compiled 22 to 14 computations (36.4% saved)

simplify103.0ms (0.7%)

Algorithm
egg-herbie
Rules
583×fma-neg_binary64
430×div-sub_binary64
430×fma-def_binary64
335×times-frac_binary64
160×sub-neg_binary64
Counts
1 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11414
22414
34114
46714
511514
621214
741614
869914
9117614
10155514
11162114
12165214
13167914
14168914
15169314
16169314
17159214

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Error
29.9b
Counts
1 → 1
Alt Table
StatusErrorProgram
29.9b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 20 to 12 computations (40% saved)

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
0.8b
(-.f64 x (tan.f64 x))
0.8b
(-.f64 x (sin.f64 x))

rewrite138.0ms (1%)

Algorithm
rewrite-expression-head
Error
28.9b
Rules
59×*-un-lft-identity_binary64
59×add-sqr-sqrt_binary64
31×add-cube-cbrt_binary64
25×times-frac_binary64
18×prod-diff_binary64
Counts
3 → 114
Calls

3 calls:

16.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (sin.f64 x))
6.0ms
(-.f64 x (tan.f64 x))
Compiler

Compiled 2078 to 405 computations (80.5% saved)

series124.0ms (0.9%)

Error
0b
Counts
3 → 27
Calls

3 calls:

38.0ms
(-.f64 x (tan.f64 x))
37.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
14.0ms
(-.f64 x (sin.f64 x))
Compiler

Compiled 905 to 583 computations (35.6% saved)

simplify193.0ms (1.4%)

Algorithm
egg-herbie
Rules
784×fma-def_binary64
329×fma-neg_binary64
250×associate-/l/_binary64
226×cancel-sign-sub-inv_binary64
200×distribute-rgt-in_binary64
Counts
141 → 69
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02532798
15822518
219432398
346232398
448902398

prune48.0ms (0.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New66369
Fresh000
Picked101
Done000
Total67370
Error
0b
Counts
70 → 3
Alt Table
StatusErrorProgram
30.4b
(*.f64 (*.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (-.f64 x (sin.f64 x)))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x))))
30.0b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
Compiler

Compiled 792 to 327 computations (58.7% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 1 (cos.f64 x))
0.1b
(/.f64 (sin.f64 x) x)
0.2b
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
1.5b
(+.f64 (/.f64 1 (cos.f64 x)) -1)

rewrite131.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
0b
Rules
48×add-sqr-sqrt_binary64
43×*-un-lft-identity_binary64
41×times-frac_binary64
35×add-cube-cbrt_binary64
15×add-exp-log_binary64
Counts
4 → 138
Calls

4 calls:

22.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
10.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
5.0ms
(/.f64 (sin.f64 x) x)
5.0ms
(/.f64 1 (cos.f64 x))
Compiler

Compiled 2665 to 1472 computations (44.8% saved)

series60.0ms (0.4%)

Error
0b
Counts
4 → 13
Calls

4 calls:

18.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
12.0ms
(/.f64 (sin.f64 x) x)
11.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
11.0ms
(/.f64 1 (cos.f64 x))
Compiler

Compiled 465 to 349 computations (24.9% saved)

simplify202.0ms (1.5%)

Algorithm
egg-herbie
Rules
690×fma-neg_binary64
458×associate-*l*_binary64
410×associate-*l/_binary64
374×associate-*r*_binary64
338×associate-/l*_binary64
Counts
151 → 89
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01672073
14581896
211941877
339711877
447891877
552461877

prune33.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh022
Picked011
Done000
Total89392
Error
0b
Counts
92 → 3
Alt Table
StatusErrorProgram
30.4b
(*.f64 (*.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (-.f64 x (sin.f64 x)))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x))))
30.0b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
Compiler

Compiled 1397 to 687 computations (50.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.8b
(-.f64 x (tan.f64 x))
0.8b
(-.f64 x (sin.f64 x))
0.8b
(-.f64 x (sin.f64 x))
0.8b
(-.f64 x (sin.f64 x))

rewrite60.0ms (0.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
44×*-un-lft-identity_binary64
44×add-sqr-sqrt_binary64
36×prod-diff_binary64
36×add-cube-cbrt_binary64
12×cancel-sign-sub-inv_binary64
Counts
4 → 120
Calls

4 calls:

5.0ms
(-.f64 x (tan.f64 x))
4.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (sin.f64 x))
Compiler

Compiled 3969 to 606 computations (84.7% saved)

series50.0ms (0.4%)

Error
0b
Counts
4 → 29
Calls

4 calls:

12.0ms
(-.f64 x (tan.f64 x))
10.0ms
(-.f64 x (sin.f64 x))
10.0ms
(-.f64 x (sin.f64 x))
9.0ms
(-.f64 x (sin.f64 x))
Compiler

Compiled 1587 to 745 computations (53.1% saved)

simplify132.0ms (0.9%)

Algorithm
egg-herbie
Rules
484×fma-def_binary64
446×fma-neg_binary64
368×distribute-rgt-in_binary64
280×cancel-sign-sub-inv_binary64
262×distribute-lft-in_binary64
Counts
149 → 74
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01511824
13031496
29061312
321991312
444001312
549481312
647571312

prune18.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh011
Picked011
Done011
Total74377
Error
0b
Counts
77 → 3
Alt Table
StatusErrorProgram
30.4b
(*.f64 (*.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (-.f64 x (sin.f64 x)))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x))))
30.0b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
Compiler

Compiled 1036 to 311 computations (70% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 27/112000 (pow.f64 x 6))
0.1b
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
0.2b
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
20.2b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))

rewrite80.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
0b
Rules
22×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
add-exp-log_binary64
prod-diff_binary64
Counts
4 → 79
Calls

4 calls:

5.0ms
(*.f64 27/112000 (pow.f64 x 6))
3.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
0.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
0.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
Compiler

Compiled 2376 to 1799 computations (24.3% saved)

series53.0ms (0.4%)

Error
0b
Counts
4 → 23
Calls

4 calls:

15.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
12.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
9.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
7.0ms
(*.f64 27/112000 (pow.f64 x 6))
Compiler

Compiled 700 to 565 computations (19.3% saved)

simplify126.0ms (0.9%)

Algorithm
egg-herbie
Rules
439×fma-neg_binary64
370×fma-def_binary64
341×distribute-rgt-in_binary64
340×distribute-lft-in_binary64
292×exp-prod_binary64
Counts
102 → 62
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01421881
12591730
27961531
328071518
443711509
549951509
647521509

prune31.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New62062
Fresh000
Picked011
Done022
Total62365
Error
0b
Counts
65 → 3
Alt Table
StatusErrorProgram
30.4b
(*.f64 (*.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (cbrt.f64 (-.f64 x (sin.f64 x)))) (/.f64 (cbrt.f64 (-.f64 x (sin.f64 x))) (-.f64 x (tan.f64 x))))
30.0b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
33.4b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
Compiler

Compiled 907 to 655 computations (27.8% saved)

regimes164.0ms (1.2%)

Accuracy

Total 0.2b remaining (88.5%)

Threshold costs 0.2b (88.5%)

Compiler

Compiled 2184 to 1256 computations (42.5% saved)

bsearch74.0ms (0.5%)

Steps
ItersRangePoint
11
2.5872051487947843e-17
1460.760245555016
2.6377554044873825
10
-193821556.7072915
-0.039402681489257504
-4.889551851038275
Compiler

Compiled 2 to 1 computations (50% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
16×+-commutative_binary64
13×*-commutative_binary64
10×sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053160
170160
281160
397160
4114160
5124160
6129160
7130160
8129160

end2.0ms (0%)

Compiler

Compiled 105 to 66 computations (37.1% saved)

sample8.1s (58.2%)

Algorithm
intervals
Results
5.1s2029×body2048valid
1.7s2962×body1024valid
438.0ms1498×body512valid
156.0ms771×body256valid
140.0ms104×body4096valid
78.0ms636×body128valid
Compiler

Compiled 172 to 108 computations (37.2% saved)

Profiling

Loading profile data...