Details

Time bar (total: 4.7s)

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.2s (88.6%)

Results
2.9s4370×body2048valid
805.0ms2029×body1024valid
294.0ms1089×body512valid
108.0ms534×body256valid
31.0ms234×body128valid
Compiler

Compiled 29 to 22 computations (24.1% saved)

simplify11.0ms (0.2%)

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

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 15 to 12 computations (20% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
3.8b
(-.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))

simplify95.0ms (2%)

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

prune35.0ms (0.7%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New42143
Fresh000
Picked101
Done000
Total43144
Error
0.0b
Counts
44 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
Compiler

Compiled 653 to 328 computations (49.8% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series14.0ms (0.3%)

Counts
2 → 16
Calls

2 calls:

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

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 46
Calls

2 calls:

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

simplify69.0ms (1.5%)

Algorithm
egg-herbie
Rules
995×fma-neg_binary64
410×cancel-sign-sub-inv_binary64
266×times-frac_binary64
243×div-sub_binary64
209×associate-/l*_binary64
Counts
62 → 80
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
099945
1255761
2714751
32274751
44359751
55030751

prune46.0ms (1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh000
Picked011
Done000
Total79281
Error
0b
Counts
81 → 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 1281 to 669 computations (47.8% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

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

rewrite5.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:

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

simplify80.0ms (1.7%)

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

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

regimes73.0ms (1.6%)

Accuracy

Total 0.0b remaining (66.8%)

Threshold costs 0.0b (66.8%)

Counts
28 → 1
Compiler

Compiled 1014 to 815 computations (19.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11116
21016

end43.0ms (0.9%)

Compiler

Compiled 41 to 27 computations (34.1% saved)

Profiling

Loading profile data...