Details

Time bar (total: 5.2s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%49.6%50.4%0
49.6%0%50.4%1
Compiler

Compiled 12 to 9 computations (25% saved)

sample4.4s (85.3%)

Results
3.1s4432×body2048valid
831.0ms2055×body1024valid
300.0ms1025×body512valid
133.0ms513×body256valid
29.0ms231×body128valid
Compiler

Compiled 29 to 22 computations (24.1% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
fma-def_binary64
+-commutative_binary64
associate-+l-_binary64
associate--r+_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
196
2136
3196
4266
5366
6446
7536
8566
9396

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 15 to 12 computations (20% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.2b
(-.f64 1 (cos.f64 x))

series2.0ms (0%)

Counts
1 → 4
Calls

1 calls:

2.0ms
(-.f64 1 (cos.f64 x))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
prod-diff_binary64
add-cube-cbrt_binary64
cancel-sign-sub-inv_binary64
Counts
1 → 31
Calls

1 calls:

3.0ms
(-.f64 1 (cos.f64 x))

simplify97.0ms (1.9%)

Algorithm
egg-herbie
Rules
934×fma-neg_binary64
792×fma-def_binary64
476×unsub-neg_binary64
319×cancel-sign-sub-inv_binary64
265×*-commutative_binary64
Counts
35 → 43
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
077434
1152378
2411331
31316331
43243331
54306331
64860331
74996331
84792331

prune36.0ms (0.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New41243
Fresh000
Picked101
Done000
Total42244
Error
0.0b
Counts
44 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.0b
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6))))
Compiler

Compiled 685 to 352 computations (48.6% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6))))
0.0b
(*.f64 1/720 (pow.f64 x 6))
0.1b
(fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6)))

series19.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

10.0ms
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6))))
5.0ms
(fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6)))
4.0ms
(*.f64 1/720 (pow.f64 x 6))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
add-exp-log_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 47
Calls

3 calls:

4.0ms
(*.f64 1/720 (pow.f64 x 6))
0.0ms
(fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6)))
0.0ms
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6))))

simplify56.0ms (1.1%)

Algorithm
egg-herbie
Rules
433×fma-def_binary64
413×distribute-rgt-in_binary64
412×distribute-lft-in_binary64
392×unswap-sqr_binary64
361×associate-*l*_binary64
Counts
71 → 79
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0911144
11601024
2363992
31581992
45000992

prune74.0ms (1.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New79079
Fresh011
Picked011
Done000
Total79281
Error
0.0b
Counts
81 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.0b
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) -1/24 (*.f64 1/720 (pow.f64 x 6))))
Compiler

Compiled 1679 to 1201 computations (28.5% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (cos.f64 x))
0.0b
(*.f64 (sin.f64 x) (sin.f64 x))
0.0b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))

series19.0ms (0.4%)

Counts
3 → 28
Calls

3 calls:

14.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
4.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
2.0ms
(+.f64 1 (cos.f64 x))

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
Counts
3 → 75
Calls

3 calls:

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

simplify78.0ms (1.5%)

Algorithm
egg-herbie
Rules
468×fma-neg_binary64
453×associate-/l*_binary64
313×div-sub_binary64
309×associate-*l*_binary64
273×associate-*r*_binary64
Counts
103 → 128
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01331344
13241079
210021055
338631044
453751044

prune77.0ms (1.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1271128
Fresh000
Picked011
Done101
Total1282130
Error
0b
Counts
130 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.0b
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
Compiler

Compiled 1997 to 994 computations (50.2% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

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

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 21
Calls

1 calls:

5.0ms
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))

simplify79.0ms (1.5%)

Algorithm
egg-herbie
Rules
771×fma-neg_binary64
657×distribute-rgt-neg-in_binary64
651×cancel-sign-sub-inv_binary64
509×distribute-lft-neg-in_binary64
348×neg-mul-1_binary64
Counts
33 → 32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
063562
1132512
2332510
3709510
41612510
53534510
64559510
75035510

prune20.0ms (0.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh000
Picked011
Done011
Total32234
Error
0b
Counts
34 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.0b
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2)))
Compiler

Compiled 447 to 292 computations (34.7% saved)

regimes87.0ms (1.7%)

Accuracy

Total 0.0b remaining (28.3%)

Threshold costs 0.0b (28.3%)

Counts
30 → 1
Compiler

Compiled 1083 to 863 computations (20.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1811
2811

end43.0ms (0.8%)

Compiler

Compiled 35 to 25 computations (28.6% saved)

Profiling

Loading profile data...