Details

Time bar (total: 1.4s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 13 to 10 computations (23.1% saved)

sample764.0ms (56.2%)

Results
735.0ms8256×body128valid
Compiler

Compiled 38 to 29 computations (23.7% saved)

simplify7.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 47 to 35 computations (25.5% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
0.0b
(/.f64 1 (-.f64 x 1))

series8.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(/.f64 1 (-.f64 x 1))
3.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
2.0ms
(/.f64 x (+.f64 x 1))

rewrite57.0ms (4.2%)

Algorithm
batch-egg-rewrite
Rules
489×fma-def_binary64
249×fma-neg_binary64
229×log-div_binary64
168×expm1-udef_binary64
168×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
119430
2309930
Stop Event
node limit
Counts
3 → 138
Calls

3 calls:

54.0ms
(/.f64 x (+.f64 x 1))
54.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
54.0ms
(/.f64 1 (-.f64 x 1))

simplify28.0ms (2%)

Algorithm
egg-herbie
Rules
479×fma-neg_binary64
456×cancel-sign-sub-inv_binary64
420×associate-*l*_binary64
314×associate-*r*_binary64
212×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059488
1183470
2553457
31755453
Stop Event
node limit
Counts
174 → 178

prune121.0ms (8.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1762178
Fresh000
Picked011
Done000
Total1763179
Error
0b
Counts
179 → 3
Alt Table
StatusErrorProgram
31.7b
(+.f64 -1 (*.f64 -2 (fma.f64 x x (pow.f64 x 4))))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
14.8b
(/.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (fma.f64 x x -1))
Compiler

Compiled 3064 to 2287 computations (25.4% saved)

localize8.0ms (0.6%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (+.f64 x -1) (+.f64 1 x))
14.3b
(/.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (fma.f64 x x -1))

series6.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (fma.f64 x x -1))
2.0ms
(fma.f64 x (+.f64 x -1) (+.f64 1 x))

rewrite48.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
419×log-prod_binary64
282×prod-diff_binary64
259×fma-def_binary64
166×expm1-udef_binary64
166×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
119429
2253629
Stop Event
node limit
Counts
2 → 69
Calls

2 calls:

47.0ms
(fma.f64 x (+.f64 x -1) (+.f64 1 x))
47.0ms
(/.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (fma.f64 x x -1))

simplify27.0ms (2%)

Algorithm
egg-herbie
Rules
704×times-frac_binary64
433×fma-def_binary64
285×unswap-sqr_binary64
262×fma-neg_binary64
254×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033245
199221
2281214
3875212
43348212
Stop Event
node limit
Counts
93 → 87

prune57.0ms (4.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh011
Picked011
Done011
Total87390
Error
0b
Counts
90 → 3
Alt Table
StatusErrorProgram
31.7b
(+.f64 -1 (*.f64 -2 (fma.f64 x x (pow.f64 x 4))))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
14.8b
(/.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (fma.f64 x x -1))
Compiler

Compiled 1653 to 1115 computations (32.5% saved)

localize7.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (pow.f64 x 4))
0.0b
(*.f64 -2 (fma.f64 x x (pow.f64 x 4)))

series7.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(*.f64 -2 (fma.f64 x x (pow.f64 x 4)))
3.0ms
(fma.f64 x x (pow.f64 x 4))

rewrite37.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
548×log1p-expm1-u_binary64
548×expm1-log1p-u_binary64
273×log-prod_binary64
165×pow2_binary64
119×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114519
2154719
Stop Event
node limit
Counts
2 → 49
Calls

2 calls:

36.0ms
(fma.f64 x x (pow.f64 x 4))
36.0ms
(*.f64 -2 (fma.f64 x x (pow.f64 x 4)))

simplify28.0ms (2.1%)

Algorithm
egg-herbie
Rules
458×fma-neg_binary64
438×distribute-rgt-neg-in_binary64
357×distribute-lft-neg-in_binary64
348×cancel-sign-sub-inv_binary64
238×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014258
136204
293204
3302204
41511204
53928204
Stop Event
node limit
Counts
73 → 59

prune36.0ms (2.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New59059
Fresh000
Picked011
Done022
Total59362
Error
0b
Counts
62 → 3
Alt Table
StatusErrorProgram
31.7b
(+.f64 -1 (*.f64 -2 (fma.f64 x x (pow.f64 x 4))))
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
14.8b
(/.f64 (fma.f64 x (+.f64 x -1) (+.f64 1 x)) (fma.f64 x x -1))
Compiler

Compiled 844 to 618 computations (26.8% saved)

regimes44.0ms (3.2%)

Accuracy

Total 0.0b remaining (94.6%)

Threshold costs 0.0b (94.6%)

Counts
27 → 1
Compiler

Compiled 600 to 446 computations (25.7% saved)

simplify2.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
Stop Event
saturated

end54.0ms (4%)

Compiler

Compiled 61 to 44 computations (27.9% saved)

Profiling

Loading profile data...