Details

Time bar (total: 4.8s)

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.1s (84.8%)

Results
2.9s4377×body2048valid
738.0ms2039×body1024valid
279.0ms1083×body512valid
96.0ms497×body256valid
31.0ms260×body128valid
Compiler

Compiled 29 to 22 computations (24.1% saved)

simplify10.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
056
196
2136
3196
4266
5366
6476
7596
8626
Stop Event
saturated
Counts
1 → 1

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
28.2b
(-.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
2.3b
(-.f64 1 (cos.f64 x))

series2.0ms (0%)

Counts
1 → 4
Calls

1 calls:

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

rewrite30.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
481×log1p-expm1-u_binary64
481×expm1-log1p-u_binary64
276×unpow-prod-down_binary64
213×log-prod_binary64
157×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
11036
212456
Stop Event
node limit
Counts
1 → 51
Calls

1 calls:

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

simplify24.0ms (0.5%)

Algorithm
egg-herbie
Rules
606×distribute-rgt-neg-in_binary64
463×associate-*l*_binary64
413×unswap-sqr_binary64
360×associate-*r*_binary64
317×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02376
15972
215770
357370
4330170
Stop Event
node limit
Counts
55 → 59

prune41.0ms (0.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New57259
Fresh000
Picked101
Done000
Total58260
Error
0.0b
Counts
60 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 1/720 (pow.f64 x 6)))
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
Compiler

Compiled 723 to 474 computations (34.4% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series7.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

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

rewrite41.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
882×log1p-expm1-u_binary64
882×expm1-log1p-u_binary64
136×prod-diff_binary64
105×add-sqr-sqrt_binary64
103×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01128
123028
2246128
Stop Event
node limit
Counts
2 → 36
Calls

2 calls:

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

simplify32.0ms (0.7%)

Algorithm
egg-herbie
Rules
679×distribute-rgt-neg-in_binary64
340×cancel-sign-sub-inv_binary64
285×unswap-sqr_binary64
275×fma-neg_binary64
254×*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018207
147189
2103189
3314189
41453189
54374189
Stop Event
node limit
Counts
48 → 45

prune31.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New45045
Fresh011
Picked011
Done000
Total45247
Error
0.0b
Counts
47 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 1/720 (pow.f64 x 6)))
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
Compiler

Compiled 888 to 553 computations (37.7% 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))

rewrite40.0ms (0.8%)

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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0825
116325
2186025
Stop Event
node limit
Counts
2 → 45
Calls

2 calls:

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

simplify29.0ms (0.6%)

Algorithm
egg-herbie
Rules
1014×fma-def_binary64
803×unswap-sqr_binary64
397×fma-neg_binary64
227×associate-*l*_binary64
225×*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019300
148264
2114264
3365264
41265264
53247264
Stop Event
node limit
Counts
69 → 55

prune41.0ms (0.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New54155
Fresh000
Picked011
Done011
Total54357
Error
0b
Counts
57 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 1/720 (pow.f64 x 6)))
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
20.0b
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))
Compiler

Compiled 803 to 507 computations (36.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)
0.1b
(pow.f64 (*.f64 x x) 3)
0.3b
(*.f64 x -1/24)
20.0b
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))

series12.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

4.0ms
(pow.f64 (*.f64 x x) 3)
4.0ms
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))
3.0ms
(pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)
1.0ms
(*.f64 x -1/24)

rewrite51.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
500×log-prod_binary64
270×pow2_binary64
187×expm1-udef_binary64
187×log1p-udef_binary64
183×pow1/3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01236
125033
2274133
Stop Event
node limit
Counts
4 → 98
Calls

4 calls:

49.0ms
(pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)
49.0ms
(pow.f64 (*.f64 x x) 3)
49.0ms
(*.f64 x -1/24)
49.0ms
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))

simplify34.0ms (0.7%)

Algorithm
egg-herbie
Rules
511×distribute-rgt-neg-in_binary64
436×distribute-lft-neg-in_binary64
389×associate-*l*_binary64
325×fma-def_binary64
323×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
032453
183431
2201423
3653417
42973417
Stop Event
node limit
Counts
146 → 120

prune88.0ms (1.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done022
Total1203123
Error
0b
Counts
123 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -1/24 1/2) (*.f64 1/720 (pow.f64 x 6)))
0.1b
(*.f64 x (*.f64 x (fma.f64 (*.f64 x x) -1/24 1/2)))
20.0b
(cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 3)))
Compiler

Compiled 2182 to 1535 computations (29.7% saved)

regimes126.0ms (2.6%)

Accuracy

Total 0.0b remaining (77.3%)

Threshold costs 0.0b (77.3%)

Counts
59 → 1
Compiler

Compiled 2133 to 1633 computations (23.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
11221
Stop Event
saturated

end59.0ms (1.2%)

Compiler

Compiled 75 to 49 computations (34.7% saved)

Profiling

Loading profile data...