Time bar (total: 4.7s)
| 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)
| 833.0ms | 1510× | body | 2048 | valid |
| 685.0ms | 1818× | body | 1024 | valid |
| 296.0ms | 3142× | body | 128 | valid |
| 292.0ms | 1151× | body | 512 | valid |
| 104.0ms | 635× | body | 256 | valid |
| 13.0ms | 143× | 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 |
| ▶ | 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)))) |
| 22.1b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) | |
| 21.5b | (fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) | |
| ✓ | 0.0b | (expm1.f64 (*.f64 a x)) |
Compiled 335 to 167 computations (50.1% 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)))) |
| ✓ | 10.4b | (cbrt.f64 (expm1.f64 (*.f64 a x))) |
3 calls:
| 695.0ms | (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 455.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:
| 10.0ms | (*.f64 (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) |
| 5.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 (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 263 | 3 | 266 |
| Fresh | 0 | 2 | 2 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 265 | 5 | 270 |
| Status | Error | Program |
| 40.2b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))) (*.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) | |
| 21.5b | (fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) | |
| ▶ | 20.1b | (fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2)) |
| 30.6b | (*.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) | |
| 22.1b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
Compiled 6991 to 1991 computations (71.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2)) |
| ✓ | 0.2b | (pow.f64 (*.f64 a x) 2) |
2 calls:
| 14.0ms | (fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2)) |
| 9.0ms | (pow.f64 (*.f64 a x) 2) |
| 1× | rewrite-expression-head |
| 5× | add-exp-log_binary64 |
| 5× | pow1_binary64 |
| 3× | *-un-lft-identity_binary64 |
| 3× | add-sqr-sqrt_binary64 |
| 3× | pow-unpow_binary64 |
2 calls:
| 3.0ms | (pow.f64 (*.f64 a x) 2) |
| 0.0ms | (fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2)) |
| 1× | egg-herbie |
| 576× | distribute-rgt-in_binary64 |
| 550× | distribute-lft-in_binary64 |
| 367× | unswap-sqr_binary64 |
| 296× | *-commutative_binary64 |
| 294× | exp-prod_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 963 |
| 1 | 80 | 790 |
| 2 | 180 | 790 |
| 3 | 761 | 787 |
| 4 | 2197 | 787 |
| 5 | 4910 | 787 |
| 6 | 4938 | 787 |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 0 | 44 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 44 | 5 | 49 |
| Status | Error | Program |
| 40.2b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))) (*.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) | |
| ▶ | 21.5b | (fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) |
| ✓ | 20.1b | (fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2)) |
| 30.6b | (*.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) | |
| 22.1b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
Compiled 832 to 480 computations (42.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (pow.f64 (*.f64 a x) 4) |
| ✓ | 0.2b | (fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) |
| ✓ | 4.5b | (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) |
| ✓ | 10.8b | (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4))) |
4 calls:
| 36.0ms | (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4))) |
| 19.0ms | (fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) |
| 18.0ms | (pow.f64 (*.f64 a x) 4) |
| 12.0ms | (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) |
| 1× | rewrite-expression-head |
| 7× | add-exp-log_binary64 |
| 7× | pow1_binary64 |
| 5× | *-un-lft-identity_binary64 |
| 5× | add-sqr-sqrt_binary64 |
| 5× | add-cube-cbrt_binary64 |
4 calls:
| 2.0ms | (pow.f64 (*.f64 a x) 4) |
| 0.0ms | (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4))) |
| 0.0ms | (fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) |
| 0.0ms | (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) |
| 1× | egg-herbie |
| 581× | exp-prod_binary64 |
| 519× | associate-*l*_binary64 |
| 435× | associate-*r*_binary64 |
| 337× | distribute-rgt-out_binary64 |
| 324× | swap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 96 | 2650 |
| 1 | 176 | 2274 |
| 2 | 475 | 2252 |
| 3 | 2536 | 2220 |
| 4 | 5284 | 2220 |
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 96 | 0 | 96 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 96 | 5 | 101 |
| Status | Error | Program |
| 40.2b | (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))) (*.f64 (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x)))))) (cbrt.f64 (expm1.f64 (*.f64 a x)))) | |
| ✓ | 21.5b | (fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))) |
| ✓ | 20.1b | (fma.f64 a x (*.f64 (pow.f64 (*.f64 a x) 2) 1/2)) |
| 30.6b | (*.f64 (pow.f64 (pow.f64 (-.f64 (exp.f64 (*.f64 a x)) 1) 2) 1/3) (cbrt.f64 (expm1.f64 (*.f64 a x)))) | |
| 22.1b | (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) |
Compiled 2914 to 1583 computations (45.7% saved)
Total 0.0b remaining (5.9%)
Threshold costs 0.0b (5.9%)
Compiled 2875 to 1494 computations (48% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | unpow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 6 |
| 1 | 10 | 6 |
| 2 | 9 | 6 |
(sort a x)
Compiled 124 to 70 computations (43.5% saved)
Loading profile data...