Details

Time bar (total: 5.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.9s (85%)

Results
3.5s4275×body2048valid
888.0ms2119×body1024valid
337.0ms1077×body512valid
114.0ms539×body256valid
26.0ms246×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.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.0b
(-.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
3.1b
(-.f64 1 (cos.f64 x))

series2.0ms (0%)

Counts
1 → 4
Calls

1 calls:

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

rewrite88.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
673×prod-diff_binary64
481×log1p-expm1-u_binary64
481×expm1-log1p-u_binary64
273×unpow-prod-down_binary64
213×log-prod_binary64
Counts
1 → 52
Calls

1 calls:

87.0ms
(-.f64 1 (cos.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
11026
211956
347336
456146
000
100

simplify47.0ms (0.8%)

Algorithm
egg-herbie
Rules
605×distribute-rgt-neg-in_binary64
541×distribute-lft-neg-in_binary64
480×associate-*l*_binary64
414×unswap-sqr_binary64
382×distribute-rgt-out--_binary64
Counts
56 → 60
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02376
15972
214970
346870
4207970
5506170

prune44.0ms (0.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New58260
Fresh000
Picked101
Done000
Total59261
Error
0b
Counts
61 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
0.0b
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
Compiler

Compiled 715 to 472 computations (34% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series19.0ms (0.3%)

Counts
2 → 8
Calls

2 calls:

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

rewrite67.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
831×log1p-expm1-u_binary64
831×expm1-log1p-u_binary64
148×prod-diff_binary64
88×add-sqr-sqrt_binary64
84×add-log-exp_binary64
Counts
2 → 66
Calls

2 calls:

66.0ms
(pow.f64 (sin.f64 x) 2)
66.0ms
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
118912
2212112
3534812
000
100

simplify59.0ms (1%)

Algorithm
egg-herbie
Rules
608×fma-def_binary64
543×sub-neg_binary64
470×distribute-lft-out_binary64
469×cancel-sign-sub-inv_binary64
427×distribute-rgt-neg-in_binary64
Counts
74 → 82
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
034140
191132
2242128
3769128
42303128
54687128
65128128

prune55.0ms (1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh011
Picked011
Done000
Total82284
Error
0b
Counts
84 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
0.0b
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
Compiler

Compiled 1067 to 685 computations (35.8% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))
0.0b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
3.0ms
(*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))

rewrite53.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
672×log1p-expm1-u_binary64
672×expm1-log1p-u_binary64
355×log-prod_binary64
136×expm1-udef_binary64
136×log1p-udef_binary64
Counts
2 → 47
Calls

2 calls:

52.0ms
(*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2))
52.0ms
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0825
116325
2176025
3517925
000
100

simplify72.0ms (1.3%)

Algorithm
egg-herbie
Rules
1016×fma-def_binary64
804×unswap-sqr_binary64
397×distribute-rgt-neg-in_binary64
397×fma-neg_binary64
354×distribute-lft-neg-in_binary64
Counts
71 → 57
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019300
147264
2104264
3291264
4913264
51782264
64394264
74757264
84865264

prune137.0ms (2.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New57057
Fresh000
Picked011
Done011
Total57259
Error
0b
Counts
59 → 2
Alt Table
StatusErrorProgram
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
0.0b
(/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (cos.f64 x)))
Compiler

Compiled 785 to 466 computations (40.6% saved)

regimes133.0ms (2.3%)

Accuracy

Total 0.0b remaining (52.3%)

Threshold costs 0.0b (52.3%)

Counts
42 → 1
Compiler

Compiled 1441 to 1204 computations (16.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01321
11421
21421

end57.0ms (1%)

Compiler

Compiled 53 to 39 computations (26.4% saved)

Profiling

Loading profile data...