Details

Time bar (total: 3.6s)

analyze564.0ms (15.8%)

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)

sample2.0s (56.1%)

Results
942.0ms8256×body128valid
875.0ms8119×body128invalid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify150.0ms (4.2%)

Algorithm
egg-herbie
Rules
871×fma-neg_binary64
804×unsub-neg_binary64
461×distribute-neg-in_binary64
434×sub-neg_binary64
338×distribute-rgt-out_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
46412
511312
624712
750012
8156012
9251312
10321812
11360212
12380312
13397412
14407512
15439212
16483612
17489812
18490112

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
31.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
31.0b
(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
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))
0.2b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
28.8b
(sqrt.f64 (fma.f64 x x -1))

series12.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
pow1_binary64
Counts
3 → 49
Calls

3 calls:

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

simplify76.0ms (2.1%)

Algorithm
egg-herbie
Rules
583×fma-neg_binary64
330×sub-neg_binary64
301×fma-def_binary64
254×distribute-neg-frac_binary64
210×associate-+l+_binary64
Counts
85 → 118
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01591395
14011305
210521265
334241265
447731265
549151265

prune66.0ms (1.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1162118
Fresh000
Picked101
Done000
Total1172119
Error
0.0b
Counts
119 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
0.4b
(+.f64 (log.f64 2) (log.f64 x))
Compiler

Compiled 1893 to 1415 computations (25.3% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log-prod_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 14
Calls

1 calls:

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

simplify89.0ms (2.5%)

Algorithm
egg-herbie
Rules
732×fma-def_binary64
535×times-frac_binary64
409×cancel-sign-sub-inv_binary64
345×sub-neg_binary64
309×fma-neg_binary64
Counts
26 → 38
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
079493
1184449
2525449
31696449
44117449
54962449
64996449
74927449

prune21.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New38038
Fresh011
Picked011
Done000
Total38240
Error
0.0b
Counts
40 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
0.4b
(+.f64 (log.f64 2) (log.f64 x))
Compiler

Compiled 605 to 466 computations (23% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(+.f64 (log.f64 2) (log.f64 x))

series41.0ms (1.1%)

Counts
1 → 12
Calls

1 calls:

41.0ms
(+.f64 (log.f64 2) (log.f64 x))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
log-prod_binary64
pow1_binary64
log-pow_binary64
distribute-lft-out_binary64
Counts
1 → 27
Calls

1 calls:

4.0ms
(+.f64 (log.f64 2) (log.f64 x))

simplify80.0ms (2.2%)

Algorithm
egg-herbie
Rules
539×sub-neg_binary64
476×fma-def_binary64
458×distribute-neg-in_binary64
398×fma-neg_binary64
397×unsub-neg_binary64
Counts
39 → 38
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
054363
1120344
2274342
3660342
42248342
53872342
64273342
74971342

prune19.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh000
Picked101
Done011
Total38240
Error
0b
Counts
40 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
0.7b
(cbrt.f64 (pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3))
Compiler

Compiled 423 to 306 computations (27.7% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(+.f64 (log.f64 x) (log.f64 2))
0.5b
(cbrt.f64 (pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3))
0.8b
(pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3)

series127.0ms (3.6%)

Counts
3 → 36
Calls

3 calls:

52.0ms
(pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3)
39.0ms
(+.f64 (log.f64 x) (log.f64 2))
37.0ms
(cbrt.f64 (pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3))

rewrite18.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary64
25×pow1_binary64
21×log-pow_binary64
20×cbrt-prod_binary64
20×distribute-lft-out_binary64
Counts
3 → 95
Calls

3 calls:

6.0ms
(pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3)
4.0ms
(cbrt.f64 (pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3))
4.0ms
(+.f64 (log.f64 x) (log.f64 2))

simplify104.0ms (2.9%)

Algorithm
egg-herbie
Rules
672×associate-*l*_binary64
522×associate-*r*_binary64
406×distribute-rgt-in_binary64
374×exp-prod_binary64
369×distribute-lft-in_binary64
Counts
131 → 99
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01071544
12231514
26951496
336421496
449381496
550171496

prune52.0ms (1.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh000
Picked011
Done011
Total992101
Error
0b
Counts
101 → 2
Alt Table
StatusErrorProgram
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
0.7b
(cbrt.f64 (pow.f64 (+.f64 (log.f64 x) (log.f64 2)) 3))
Compiler

Compiled 1436 to 1092 computations (24% saved)

regimes57.0ms (1.6%)

Accuracy

Total 0.1b remaining (18.5%)

Threshold costs 0.1b (18.5%)

Counts
17 → 1
Compiler

Compiled 507 to 379 computations (25.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1710

end43.0ms (1.2%)

Compiler

Compiled 33 to 26 computations (21.2% saved)

Profiling

Loading profile data...