Details

Time bar (total: 3.9s)

analyze344.0ms (8.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample63.0ms (1.6%)

Algorithm
intervals
Results
30.0ms62×body2048valid
10.0ms42×body1024valid
8.0ms46×body512valid
4.0ms82×body128valid
2.0ms21×body256valid
1.0msbody4096valid
Compiler

Compiled 20 to 14 computations (30% saved)

simplify24.0ms (0.6%)

Algorithm
egg-herbie
Rules
426×fma-def_binary64
293×fma-neg_binary64
85×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47212
511012
615812
725312
838312
952612
1064012
1162512
1257012

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.2b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 x)
1.8b
(-.f64 1 (cos.f64 x))
15.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

series27.0ms (0.7%)

Counts
3 → 20
Calls

3 calls:

23.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
2.0ms
(-.f64 1 (cos.f64 x))
2.0ms
(cos.f64 x)

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
prod-diff_binary64
add-cbrt-cube_binary64
Counts
3 → 72
Calls

3 calls:

7.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
3.0ms
(-.f64 1 (cos.f64 x))
1.0ms
(cos.f64 x)

simplify84.0ms (2.2%)

Algorithm
egg-herbie
Rules
666×fma-neg_binary64
414×associate-*l*_binary64
405×times-frac_binary64
398×fma-def_binary64
365×associate-*r*_binary64
Counts
92 → 108
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01331257
13071122
29311062
335911062
448901062
549081062

prune86.0ms (2.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New999108
Fresh000
Picked101
Done000
Total1009109
Error
0.0b
Counts
109 → 9
Alt Table
StatusErrorProgram
31.2b
(/.f64 (-.f64 1 (log1p.f64 (expm1.f64 (cos.f64 x)))) (*.f64 x x))
31.1b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
45.1b
(/.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) (/.f64 x (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) x)))
32.1b
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/24 (*.f64 x x) (*.f64 1/40320 (pow.f64 x 6))))
31.3b
(/.f64 (cbrt.f64 (*.f64 (*.f64 (-.f64 1 (cos.f64 x)) (-.f64 1 (cos.f64 x))) (-.f64 1 (cos.f64 x)))) (*.f64 x x))
30.7b
(/.f64 1 (/.f64 x (/.f64 (-.f64 1 (cos.f64 x)) x)))
45.0b
(*.f64 (/.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) x) (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) x))
15.9b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
31.2b
(*.f64 (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (sqrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))
Compiler

Compiled 2002 to 1023 computations (48.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(+.f64 1 (cos.f64 x))
15.2b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series37.0ms (0.9%)

Counts
4 → 40
Calls

4 calls:

18.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
13.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
3.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
2.0ms
(+.f64 1 (cos.f64 x))

rewrite32.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary64
32×add-exp-log_binary64
25×*-un-lft-identity_binary64
22×times-frac_binary64
17×add-sqr-sqrt_binary64
Counts
4 → 122
Calls

4 calls:

12.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
6.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
4.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
3.0ms
(+.f64 1 (cos.f64 x))

simplify104.0ms (2.7%)

Algorithm
egg-herbie
Rules
610×associate-*l/_binary64
540×associate-/r/_binary64
423×fma-def_binary64
335×fma-neg_binary64
214×cancel-sign-sub-inv_binary64
Counts
162 → 206
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02042904
15042230
217672192
346432192
449352192

prune136.0ms (3.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2024206
Fresh628
Picked101
Done000
Total2096215
Error
0b
Counts
215 → 6
Alt Table
StatusErrorProgram
31.2b
(/.f64 (-.f64 1 (log1p.f64 (expm1.f64 (cos.f64 x)))) (*.f64 x x))
31.1b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
15.7b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
0.3b
(*.f64 (/.f64 1 x) (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))))
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
15.9b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 4356 to 1947 computations (55.3% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 x)
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.1b
(/.f64 (tan.f64 (/.f64 x 2)) x)
0.1b
(/.f64 (sin.f64 x) x)

series32.0ms (0.8%)

Counts
4 → 32
Calls

4 calls:

15.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
12.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
3.0ms
(/.f64 (sin.f64 x) x)
2.0ms
(sin.f64 x)

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt_binary64
40×times-frac_binary64
34×*-un-lft-identity_binary64
34×add-cube-cbrt_binary64
20×add-cbrt-cube_binary64
Counts
4 → 120
Calls

4 calls:

10.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
4.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
3.0ms
(/.f64 (sin.f64 x) x)
1.0ms
(sin.f64 x)

simplify113.0ms (2.9%)

Algorithm
egg-herbie
Rules
642×associate-/l*_binary64
589×associate-*l*_binary64
478×times-frac_binary64
389×fma-def_binary64
348×associate-/l/_binary64
Counts
152 → 171
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02032748
15162495
214622467
345742455
449922455
549572455

prune110.0ms (2.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1701171
Fresh235
Picked011
Done000
Total1725177
Error
0b
Counts
177 → 5
Alt Table
StatusErrorProgram
16.1b
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
31.2b
(/.f64 (-.f64 1 (log1p.f64 (expm1.f64 (cos.f64 x)))) (*.f64 x x))
15.7b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
15.9b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 3249 to 1742 computations (46.4% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
0.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(+.f64 1 (cos.f64 x))
14.9b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x)

series24.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

16.0ms
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
7.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x)

rewrite48.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
110×times-frac_binary64
73×add-sqr-sqrt_binary64
69×*-un-lft-identity_binary64
67×add-exp-log_binary64
58×associate-*r*_binary64
Counts
2 → 136
Calls

2 calls:

20.0ms
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
6.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x)

simplify123.0ms (3.1%)

Algorithm
egg-herbie
Rules
592×associate-/r*_binary64
440×associate-/r/_binary64
269×associate-*l/_binary64
262×associate-*r/_binary64
238×fma-neg_binary64
Counts
160 → 217
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02243858
16253290
222543022
347793022
450203022

prune176.0ms (4.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2920292
Fresh033
Picked011
Done011
Total2925297
Error
0b
Counts
297 → 5
Alt Table
StatusErrorProgram
16.1b
(*.f64 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) (*.f64 x x)))
31.2b
(/.f64 (-.f64 1 (log1p.f64 (expm1.f64 (cos.f64 x)))) (*.f64 x x))
15.7b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
15.9b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 7230 to 3577 computations (50.5% saved)

regimes158.0ms (4%)

Accuracy

Total 0.1b remaining (79.2%)

Threshold costs 0.1b (79.2%)

Counts
92 → 1
Compiler

Compiled 2676 to 1817 computations (32.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end0.0ms (0%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

sample2.1s (53.9%)

Algorithm
intervals
Results
1.0s2061×body2048valid
269.0ms1090×body1024valid
231.0ms1474×body512valid
122.0ms2510×body128valid
87.0ms764×body256valid
45.0ms101×body4096valid
Compiler

Compiled 89 to 62 computations (30.3% saved)

Profiling

Loading profile data...