Details

Time bar (total: 1.6s)

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)

sample778.0ms (49.2%)

Results
750.0ms8256×body128valid
Compiler

Compiled 38 to 29 computations (23.7% saved)

simplify6.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11516
21616
31416

prune3.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 2 expressions with local error:

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

series5.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

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

rewrite35.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity_binary64
53×add-sqr-sqrt_binary64
50×times-frac_binary64
27×fma-def_binary64
25×add-cube-cbrt_binary64
Counts
2 → 98
Calls

2 calls:

23.0ms
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
5.0ms
(/.f64 1 (-.f64 x 1))

simplify103.0ms (6.5%)

Algorithm
egg-herbie
Rules
478×fma-neg_binary64
432×cancel-sign-sub-inv_binary64
341×distribute-rgt-in_binary64
288×fma-def_binary64
234×associate-/l/_binary64
Counts
122 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01191383
13051326
27801317
323391313
445601313
549491313
649381313

prune93.0ms (5.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1343137
Fresh000
Picked101
Done000
Total1353138
Error
0b
Counts
138 → 3
Alt Table
StatusErrorProgram
30.5b
(fma.f64 x (*.f64 x -2) -1)
50.0b
(+.f64 (exp.f64 (neg.f64 (log.f64 (+.f64 -1 x)))) (/.f64 x (+.f64 x 1)))
0.0b
(+.f64 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1)))) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 2547 to 1935 computations (24% saved)

localize11.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series8.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

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

rewrite10.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
log1p-expm1-u_binary64
Counts
3 → 40
Calls

3 calls:

8.0ms
(+.f64 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1)))) (/.f64 x (+.f64 x 1)))
0.0ms
(expm1.f64 (/.f64 1 (-.f64 x 1)))
0.0ms
(log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1))))

simplify76.0ms (4.8%)

Algorithm
egg-herbie
Rules
428×fma-neg_binary64
328×fma-def_binary64
322×distribute-rgt-in_binary64
317×times-frac_binary64
187×sub-neg_binary64
Counts
76 → 107
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01241190
13271121
29071102
325121092
446661092
549391092

prune118.0ms (7.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1840184
Fresh022
Picked011
Done000
Total1843187
Error
0b
Counts
187 → 3
Alt Table
StatusErrorProgram
30.5b
(fma.f64 x (*.f64 x -2) -1)
50.0b
(+.f64 (exp.f64 (neg.f64 (log.f64 (+.f64 -1 x)))) (/.f64 x (+.f64 x 1)))
0.0b
(+.f64 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1)))) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 3538 to 2761 computations (22% saved)

localize3.0ms (0.2%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
30.5b
(fma.f64 x (*.f64 x -2) -1)
50.0b
(+.f64 (exp.f64 (neg.f64 (log.f64 (+.f64 -1 x)))) (/.f64 x (+.f64 x 1)))
0.0b
(+.f64 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1)))) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 47 to 36 computations (23.4% saved)

localize8.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 (neg.f64 (log.f64 (+.f64 -1 x)))) (/.f64 x (+.f64 x 1)))
1.3b
(exp.f64 (neg.f64 (log.f64 (+.f64 -1 x))))

series9.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

5.0ms
(+.f64 (exp.f64 (neg.f64 (log.f64 (+.f64 -1 x)))) (/.f64 x (+.f64 x 1)))
4.0ms
(exp.f64 (neg.f64 (log.f64 (+.f64 -1 x))))

rewrite18.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
12×exp-prod_binary64
exp-sum_binary64
distribute-neg-in_binary64
log-prod_binary64
Counts
2 → 52
Calls

2 calls:

12.0ms
(+.f64 (exp.f64 (neg.f64 (log.f64 (+.f64 -1 x)))) (/.f64 x (+.f64 x 1)))
3.0ms
(exp.f64 (neg.f64 (log.f64 (+.f64 -1 x))))

simplify119.0ms (7.5%)

Algorithm
egg-herbie
Rules
540×associate-+l+_binary64
396×fma-def_binary64
373×associate-+r+_binary64
288×unsub-neg_binary64
233×+-commutative_binary64
Counts
76 → 102
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01501147
1382980
21011938
33199905
44374905
54958905
64999905
74881905

prune62.0ms (3.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done022
Total1023105
Error
0b
Counts
105 → 3
Alt Table
StatusErrorProgram
30.5b
(fma.f64 x (*.f64 x -2) -1)
50.0b
(+.f64 (exp.f64 (neg.f64 (log.f64 (+.f64 -1 x)))) (/.f64 x (+.f64 x 1)))
0.0b
(+.f64 (log1p.f64 (expm1.f64 (/.f64 1 (-.f64 x 1)))) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 2052 to 1607 computations (21.7% saved)

regimes44.0ms (2.8%)

Accuracy

Total 0.0b remaining (53.9%)

Threshold costs 0.0b (53.9%)

Counts
26 → 1
Compiler

Compiled 612 to 467 computations (23.7% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11618
21518

end58.0ms (3.7%)

Compiler

Compiled 60 to 46 computations (23.3% saved)

Profiling

Loading profile data...