Details

Time bar (total: 5.1s)

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 (81.8%)

Results
2.9s4381×body2048valid
830.0ms2147×body1024valid
270.0ms972×body512valid
100.0ms529×body256valid
27.0ms227×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

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 15 to 12 computations (20% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.1b
(-.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:

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

simplify95.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

prune33.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
(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 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/24 (pow.f64 x 4)))
Compiler

Compiled 699 to 368 computations (47.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series13.0ms (0.3%)

Counts
4 → 6
Calls

4 calls:

5.0ms
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))) (*.f64 1/24 (pow.f64 x 4)))
3.0ms
(*.f64 1/720 (pow.f64 x 6))
3.0ms
(*.f64 1/24 (pow.f64 x 4))
2.0ms
(*.f64 1/2 (pow.f64 x 2))

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64
22×associate-*r*_binary64
19×add-exp-log_binary64
15×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
Counts
4 → 105
Calls

4 calls:

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

simplify68.0ms (1.3%)

Algorithm
egg-herbie
Rules
683×associate-+l+_binary64
320×fma-def_binary64
304×*-commutative_binary64
182×cancel-sign-sub-inv_binary64
164×distribute-rgt-in_binary64
Counts
111 → 156
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01871732
13611385
29271318
323771305
448581305

prune140.0ms (2.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1551156
Fresh011
Picked101
Done000
Total1562158
Error
0b
Counts
158 → 2
Alt Table
StatusErrorProgram
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 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 (*.f64 1/2 x) x)) (*.f64 1/24 (pow.f64 x 4)))
Compiler

Compiled 3767 to 3040 computations (19.3% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
fma-neg_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
prod-diff_binary64
Counts
1 → 22
Calls

1 calls:

6.0ms
(-.f64 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 (*.f64 1/2 x) x)) (*.f64 1/24 (pow.f64 x 4)))

simplify69.0ms (1.3%)

Algorithm
egg-herbie
Rules
439×fma-neg_binary64
412×associate-*l*_binary64
381×associate-*r*_binary64
372×cancel-sign-sub-inv_binary64
290×fma-def_binary64
Counts
34 → 46
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065876
1158748
2521712
32834698
44619698
54832698

prune95.0ms (1.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1140114
Fresh011
Picked011
Done000
Total1142116
Error
0b
Counts
116 → 2
Alt Table
StatusErrorProgram
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 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 (*.f64 1/2 x) x)) (*.f64 1/24 (pow.f64 x 4)))
Compiler

Compiled 2800 to 2157 computations (23% saved)

localize17.0ms (0.3%)

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

series9.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite1.0ms (0%)

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

2 calls:

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

simplify69.0ms (1.4%)

Algorithm
egg-herbie
Rules
407×distribute-lft-in_binary64
407×distribute-rgt-in_binary64
371×fma-neg_binary64
314×fma-def_binary64
305×unswap-sqr_binary64
Counts
44 → 45
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
043854
174746
2153746
3636746
42344746
54864746
65030746

prune69.0ms (1.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New79079
Fresh000
Picked011
Done011
Total79281
Error
0b
Counts
81 → 2
Alt Table
StatusErrorProgram
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 (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 (*.f64 1/2 x) x)) (*.f64 1/24 (pow.f64 x 4)))
Compiler

Compiled 1675 to 1201 computations (28.3% saved)

regimes108.0ms (2.1%)

Accuracy

Total 0.0b remaining (18.2%)

Threshold costs 0.0b (18.2%)

Counts
44 → 1
Compiler

Compiled 1813 to 1415 computations (22% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
12625
23425
33825
44125
54225
64125

end65.0ms (1.3%)

Compiler

Compiled 70 to 54 computations (22.9% saved)

Profiling

Loading profile data...