Time bar (total: 4.9s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 50% | 50% | 0.1% | 3 |
| 50% | 50% | 0.1% | 4 |
| 62.4% | 37.5% | 0.1% | 5 |
| 62.4% | 31.2% | 6.3% | 6 |
| 68.7% | 21.9% | 9.5% | 7 |
| 68.7% | 17.2% | 14.1% | 8 |
| 71.8% | 11.7% | 16.5% | 9 |
| 71.8% | 9% | 19.2% | 10 |
| 73.4% | 6% | 20.6% | 11 |
| 73.4% | 4.6% | 22% | 12 |
| 74.1% | 3.1% | 22.8% | 13 |
| 74.1% | 2.3% | 23.5% | 14 |
Compiled 9 to 7 computations (22.2% saved)
(sort a x)
| 761.0ms | 1528× | body | 2048 | valid |
| 564.0ms | 1799× | body | 1024 | valid |
| 278.0ms | 3145× | body | 128 | valid |
| 253.0ms | 1155× | body | 512 | valid |
| 101.0ms | 629× | body | 256 | valid |
| 13.0ms | 147× | body | 128 | invalid |
Compiled 26 to 20 computations (23.1% saved)
| 1× | egg-herbie |
| 571× | fma-neg_binary64 |
| 455× | *-commutative_binary64 |
| 440× | unswap-sqr_binary64 |
| 344× | associate-*l*_binary64 |
| 274× | associate-+l+_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 6 |
| 1 | 16 | 6 |
| 2 | 23 | 6 |
| 3 | 35 | 6 |
| 4 | 70 | 6 |
| 5 | 160 | 6 |
| 6 | 432 | 6 |
| 7 | 1564 | 6 |
| 8 | 3490 | 6 |
| 9 | 4954 | 6 |
| 10 | 4993 | 6 |
| 11 | 4874 | 6 |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
| ▶ | 0.0b | (expm1.f64 (*.f64 a x)) |
Compiled 24 to 15 computations (37.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
1 calls:
| 6.0ms | (expm1.f64 (*.f64 a x)) |
| 1× | rewrite-expression-head |
| 2× | log1p-expm1-u_binary64 |
| 1× | *-un-lft-identity_binary64 |
| 1× | add-sqr-sqrt_binary64 |
| 1× | add-cube-cbrt_binary64 |
| 1× | add-cbrt-cube_binary64 |
1 calls:
| 0.0ms | (expm1.f64 (*.f64 a x)) |
| 1× | egg-herbie |
| 910× | fma-def_binary64 |
| 844× | distribute-lft-out_binary64 |
| 785× | fma-neg_binary64 |
| 383× | *-commutative_binary64 |
| 308× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 382 |
| 1 | 96 | 369 |
| 2 | 262 | 363 |
| 3 | 966 | 347 |
| 4 | 2376 | 333 |
| 5 | 3696 | 333 |
| 6 | 4842 | 333 |
| 7 | 5375 | 333 |
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 3 | 19 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 16 | 4 | 20 |
| Status | Error | Program |
| 25.7b | (*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a)) | |
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| ▶ | 0.8b | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 15.6b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
Compiled 307 to 149 computations (51.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.0b | (expm1.f64 (*.f64 a x)) | |
| ✓ | 0.2b | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| ✓ | 0.3b | (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| ✓ | 11.1b | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
3 calls:
| 609.0ms | (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 483.0ms | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
| 7.0ms | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 1× | rewrite-expression-head |
| 29× | pow1_binary64 |
| 24× | add-sqr-sqrt_binary64 |
| 23× | cbrt-prod_binary64 |
| 16× | pow1/3_binary64 |
| 14× | *-un-lft-identity_binary64 |
3 calls:
| 6.0ms | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 4.0ms | (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 1.0ms | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
| 1× | egg-herbie |
| 739× | fma-def_binary64 |
| 437× | *-commutative_binary64 |
| 358× | distribute-rgt-in_binary64 |
| 343× | distribute-lft-in_binary64 |
| 260× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 168 | 2948 |
| 1 | 409 | 2621 |
| 2 | 1154 | 2203 |
| 3 | 2637 | 2016 |
| 4 | 4849 | 1965 |
| 5 | 4962 | 1965 |
| 6 | 4932 | 1965 |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 264 | 2 | 266 |
| Fresh | 0 | 2 | 2 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 265 | 5 | 270 |
| Status | Error | Program |
| 25.7b | (*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a)) | |
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| 15.6b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) | |
| 38.5b | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))) | |
| ▶ | 12.2b | (*.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
Compiled 6913 to 1953 computations (71.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (pow.f64 (expm1.f64 (*.f64 a x)) 2) |
| ✓ | 0.2b | (*.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 11.1b | (cbrt.f64 (expm1.f64 (*.f64 a x))) | |
| ✓ | 20.5b | (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) |
3 calls:
| 583.0ms | (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) |
| 13.0ms | (pow.f64 (expm1.f64 (*.f64 a x)) 2) |
| 7.0ms | (*.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 1× | rewrite-expression-head |
| 35× | unpow-prod-down_binary64 |
| 31× | add-sqr-sqrt_binary64 |
| 14× | add-exp-log_binary64 |
| 13× | *-un-lft-identity_binary64 |
| 13× | add-cube-cbrt_binary64 |
3 calls:
| 7.0ms | (*.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 2.0ms | (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) |
| 1.0ms | (pow.f64 (expm1.f64 (*.f64 a x)) 2) |
| 1× | egg-herbie |
| 598× | fma-def_binary64 |
| 458× | *-commutative_binary64 |
| 438× | distribute-rgt-in_binary64 |
| 401× | distribute-lft-in_binary64 |
| 303× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 189 | 3318 |
| 1 | 426 | 3050 |
| 2 | 1226 | 2694 |
| 3 | 2772 | 2662 |
| 4 | 4956 | 2662 |
| 5 | 4991 | 2662 |
| 6 | 5030 | 2662 |
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 193 | 0 | 193 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 193 | 5 | 198 |
| Status | Error | Program |
| 25.7b | (*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a)) | |
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| ▶ | 15.6b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
| 38.5b | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))) | |
| ✓ | 12.2b | (*.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
Compiled 4702 to 2168 computations (53.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
| 0.0b | (expm1.f64 (*.f64 a x)) | |
| ✓ | 0.2b | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| ✓ | 15.6b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
2 calls:
| 22.0ms | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| 7.0ms | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
| 1× | rewrite-expression-head |
| 12× | cbrt-prod_binary64 |
| 8× | *-un-lft-identity_binary64 |
| 8× | add-sqr-sqrt_binary64 |
| 8× | add-cube-cbrt_binary64 |
| 6× | cube-prod_binary64 |
2 calls:
| 2.0ms | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
| 1.0ms | (pow.f64 (expm1.f64 (*.f64 a x)) 3) |
| 1× | egg-herbie |
| 674× | associate-*l*_binary64 |
| 587× | associate-*r*_binary64 |
| 337× | log-prod_binary64 |
| 288× | fma-def_binary64 |
| 278× | exp-prod_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 94 | 1262 |
| 1 | 202 | 1199 |
| 2 | 629 | 1177 |
| 3 | 3098 | 1171 |
| 4 | 4791 | 1171 |
| 5 | 4962 | 1171 |
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 89 | 0 | 89 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 89 | 5 | 94 |
| Status | Error | Program |
| 25.7b | (*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a)) | |
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
| ✓ | 15.6b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
| 38.5b | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (exp.f64 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 a x)))))) | |
| ✓ | 12.2b | (*.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
Compiled 1341 to 711 computations (47% saved)
Total 0.0b remaining (39.5%)
Threshold costs 0.0b (39.5%)
Compiled 710 to 379 computations (46.6% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 6 | 6 |
| 2 | 6 | 6 |
(sort a x)
Compiled 88 to 53 computations (39.8% saved)
Loading profile data...