Details

Time bar (total: 2.5s)

analyze384.0ms (15.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%50%25%4
25%37.5%37.5%5
25%31.2%43.8%6
25%28.1%46.9%7
25%26.5%48.5%8
25%25.8%49.2%9
25%25.4%49.6%10
25%25.2%49.8%11
25%25.1%49.9%12
25%25%50%13
25%25%50%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample1.7s (69.7%)

Results
882.0ms8256×body128valid
770.0ms8119×body128invalid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify28.0ms (1.2%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
396×unsub-neg_binary64
348×distribute-neg-in_binary64
330×fma-def_binary64
262×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
47812
515412
636012
775112
8236512
9428412
Stop Event
node limit
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
31.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
31.5b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
0.0b
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))
29.4b
(sqrt.f64 (fma.f64 x x -1))

series11.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

5.0ms
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
3.0ms
(sqrt.f64 (fma.f64 x x -1))
3.0ms
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))

rewrite43.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
671×log1p-expm1-u_binary64
671×expm1-log1p-u_binary64
615×prod-diff_binary64
81×egg-rr
69×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0729
114229
2181429
Stop Event
node limit
Counts
3 → 81
Calls

3 calls:

41.0ms
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
41.0ms
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))
41.0ms
(sqrt.f64 (fma.f64 x x -1))

simplify37.0ms (1.5%)

Algorithm
egg-herbie
Rules
442×fma-neg_binary64
301×sub-neg_binary64
257×distribute-neg-frac_binary64
230×fma-def_binary64
183×associate-+l+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0104681
1307648
2920646
33390646
Stop Event
node limit
Counts
117 → 144

prune71.0ms (2.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh000
Picked011
Done000
Total1432145
Error
0b
Counts
145 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
31.5b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 2211 to 1640 computations (25.8% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite31.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
283×log-prod_binary64
126×expm1-udef_binary64
126×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
114610
2165210
Stop Event
node limit
Counts
1 → 26
Calls

1 calls:

31.0ms
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))

simplify22.0ms (0.9%)

Algorithm
egg-herbie
Rules
729×fma-def_binary64
409×cancel-sign-sub-inv_binary64
350×sub-neg_binary64
309×fma-neg_binary64
240×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
059272
1162258
2510258
31988258
Stop Event
node limit
Counts
38 → 48

prune29.0ms (1.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New48048
Fresh000
Picked011
Done011
Total48250
Error
0b
Counts
50 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
31.5b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 727 to 564 computations (22.4% saved)

regimes24.0ms (1%)

Accuracy

Total 0.2b remaining (75.3%)

Threshold costs 0.2b (75.3%)

Counts
7 → 1
Compiler

Compiled 192 to 139 computations (27.6% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
Stop Event
saturated

end47.0ms (1.9%)

Compiler

Compiled 33 to 24 computations (27.3% saved)

Profiling

Loading profile data...