Details

Time bar (total: 5.0s)

analyze323.0ms (6.5%)

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)

sample3.0s (60.3%)

Results
1.6s2120×body2048valid
445.0ms1130×body1024valid
434.0ms1526×body512valid
278.0ms2621×body128valid
153.0ms769×body256valid
58.0ms90×body4096valid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify27.0ms (0.5%)

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
36.9b
Counts
2 → 1
Alt Table
StatusErrorProgram
36.9b
(/.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 2 expressions with local error:

NewErrorProgram
2.2b
(-.f64 1 (cos.f64 x))
18.7b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

series6.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

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

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64
21×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
prod-diff_binary64
add-cbrt-cube_binary64
Counts
2 → 63
Calls

2 calls:

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

simplify96.0ms (1.9%)

Algorithm
egg-herbie
Rules
626×fma-neg_binary64
411×associate-*l*_binary64
405×times-frac_binary64
353×associate-*r*_binary64
344×fma-def_binary64
Counts
79 → 91
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01251152
12831017
2853961
33327961
44699961
54954961
64828961

prune78.0ms (1.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New84791
Fresh000
Picked101
Done000
Total85792
Error
0.0b
Counts
92 → 7
Alt Table
StatusErrorProgram
26.7b
(fma.f64 (*.f64 x x) -1/24 1/2)
36.9b
(/.f64 (/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) (*.f64 x x))
19.1b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
37.0b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
36.9b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 x (fma.f64 x (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)) x)))
47.1b
(*.f64 (/.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) x) (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) x))
37.0b
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
Compiler

Compiled 1698 to 845 computations (50.2% 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.2b
(+.f64 1 (cos.f64 x))
0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
18.4b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series37.0ms (0.7%)

Counts
4 → 40
Calls

4 calls:

16.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
15.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))

rewrite28.0ms (0.6%)

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:

8.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 1 (cos.f64 x))
4.0ms
(*.f64 (sin.f64 x) (sin.f64 x))

simplify101.0ms (2%)

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

prune138.0ms (2.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2033206
Fresh516
Picked101
Done000
Total2094213
Error
0b
Counts
213 → 4
Alt Table
StatusErrorProgram
20.7b
(/.f64 (exp.f64 (log.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)))) (*.f64 x x))
36.9b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 x (fma.f64 x (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)) x)))
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
19.1b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 4318 to 1919 computations (55.6% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series26.0ms (0.5%)

Counts
3 → 28
Calls

3 calls:

13.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
9.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
3.0ms
(/.f64 (sin.f64 x) x)

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt_binary64
40×times-frac_binary64
33×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
19×add-cbrt-cube_binary64
Counts
3 → 111
Calls

3 calls:

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

simplify115.0ms (2.3%)

Algorithm
egg-herbie
Rules
594×associate-/l*_binary64
557×associate-*l/_binary64
473×associate-*l*_binary64
464×associate-*r/_binary64
426×times-frac_binary64
Counts
139 → 176
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01862636
14692390
213092366
345062354
449472354
550472354

prune117.0ms (2.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1751176
Fresh123
Picked011
Done000
Total1764180
Error
0b
Counts
180 → 4
Alt Table
StatusErrorProgram
31.7b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))
36.9b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 x (fma.f64 x (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)) x)))
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
19.1b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 3452 to 1788 computations (48.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))
0.2b
(+.f64 1 (cos.f64 x))
0.2b
(pow.f64 (sin.f64 x) 2)
18.4b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))

series22.0ms (0.5%)

Counts
3 → 12
Calls

3 calls:

15.0ms
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
4.0ms
(*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))
3.0ms
(pow.f64 (sin.f64 x) 2)

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
35×add-exp-log_binary64
18×add-sqr-sqrt_binary64
14×*-un-lft-identity_binary64
13×unpow-prod-down_binary64
12×add-cube-cbrt_binary64
Counts
3 → 97
Calls

3 calls:

7.0ms
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
7.0ms
(*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2))
2.0ms
(pow.f64 (sin.f64 x) 2)

simplify75.0ms (1.5%)

Algorithm
egg-herbie
Rules
586×associate-/l*_binary64
528×associate-/r*_binary64
271×fma-def_binary64
249×distribute-rgt-in_binary64
227×distribute-lft-in_binary64
Counts
109 → 157
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01722111
13751634
212921578
346801578
450001578

prune200.0ms (4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1840184
Fresh022
Picked011
Done011
Total1844188
Error
0b
Counts
188 → 4
Alt Table
StatusErrorProgram
31.7b
(*.f64 (/.f64 (sqrt.f64 (sin.f64 x)) 1) (*.f64 (/.f64 (sqrt.f64 (sin.f64 x)) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))
36.9b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 x (fma.f64 x (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)) x)))
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
19.1b
(/.f64 (pow.f64 (sin.f64 x) 2) (*.f64 (+.f64 1 (cos.f64 x)) (pow.f64 x 2)))
Compiler

Compiled 3540 to 2189 computations (38.2% saved)

regimes419.0ms (8.4%)

Accuracy

Total 0.1b remaining (69.1%)

Threshold costs 0.1b (69.1%)

Counts
149 → 1
Compiler

Compiled 4823 to 3315 computations (31.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end73.0ms (1.5%)

Compiler

Compiled 91 to 59 computations (35.2% saved)

Profiling

Loading profile data...