Time bar (total: 7.3s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 99.9% | 0% | 0.1% | 1 |
Compiled 15 to 12 computations (20% saved)
| 2.0s | 3516× | body | 1024 | valid |
| 509.0ms | 1467× | body | 512 | valid |
| 299.0ms | 2497× | body | 128 | valid |
| 205.0ms | 212× | body | 2048 | valid |
| 138.0ms | 564× | body | 256 | valid |
Compiled 44 to 35 computations (20.5% saved)
| 1× | egg-herbie |
| 626× | associate-/l*_binary64 |
| 509× | div-sub_binary64 |
| 462× | times-frac_binary64 |
| 386× | sub-neg_binary64 |
| 367× | associate-/r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 18 |
| 1 | 22 | 18 |
| 2 | 49 | 18 |
| 3 | 111 | 18 |
| 4 | 208 | 17 |
| 5 | 362 | 17 |
| 6 | 692 | 17 |
| 7 | 1513 | 17 |
| 8 | 3726 | 17 |
| 9 | 4287 | 17 |
| 10 | 4857 | 17 |
| 11 | 4749 | 17 |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
| ▶ | 27.3b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
Compiled 53 to 38 computations (28.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| ✓ | 3.0b | (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)) |
2 calls:
| 18.0ms | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 3.0ms | (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)) |
| 1× | rewrite-expression-head |
| 234× | prod-diff_binary64 |
| 138× | *-un-lft-identity_binary64 |
| 138× | add-sqr-sqrt_binary64 |
| 134× | add-cube-cbrt_binary64 |
| 130× | exp-sum_binary64 |
2 calls:
| 17.0ms | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 11.0ms | (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)) |
| 1× | egg-herbie |
| 849× | fma-neg_binary64 |
| 353× | associate-*l*_binary64 |
| 348× | cancel-sign-sub-inv_binary64 |
| 337× | associate-*r*_binary64 |
| 312× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 385 | 6318 |
| 1 | 601 | 5551 |
| 2 | 2210 | 4517 |
| 3 | 4561 | 4512 |
| 4 | 5041 | 4512 |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 260 | 2 | 262 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 260 | 3 | 263 |
| Status | Error | Program |
| ✓ | 27.3b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 61.5b | (*.f64 (*.f64 1/2 (cos.f64 re)) (/.f64 (-.f64 (*.f64 (exp.f64 (-.f64 0 im)) (exp.f64 (-.f64 0 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) | |
| ▶ | 9.2b | (*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) |
Compiled 10229 to 3847 computations (62.4% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3))) |
| ✓ | 0.1b | (*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) |
| ✓ | 0.1b | (*.f64 1/6 (pow.f64 im 3)) |
3 calls:
| 25.0ms | (*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) |
| 4.0ms | (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3))) |
| 3.0ms | (*.f64 1/6 (pow.f64 im 3)) |
| 1× | rewrite-expression-head |
| 30× | prod-diff_binary64 |
| 30× | add-sqr-sqrt_binary64 |
| 21× | *-un-lft-identity_binary64 |
| 21× | add-cube-cbrt_binary64 |
| 15× | associate-*r*_binary64 |
3 calls:
| 7.0ms | (*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) |
| 5.0ms | (*.f64 1/6 (pow.f64 im 3)) |
| 4.0ms | (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3))) |
| 1× | egg-herbie |
| 749× | fma-neg_binary64 |
| 674× | fma-def_binary64 |
| 290× | cancel-sign-sub-inv_binary64 |
| 206× | associate-*r*_binary64 |
| 200× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 205 | 2805 |
| 1 | 452 | 2369 |
| 2 | 1443 | 2152 |
| 3 | 4472 | 2150 |
| 4 | 4877 | 2150 |
11 alts after pruning (9 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 167 | 8 | 175 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 167 | 11 | 178 |
| Status | Error | Program |
| ✓ | 9.2b | (*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) |
| 9.8b | (*.f64 (cos.f64 re) (fma.f64 (*.f64 (cbrt.f64 im) (cbrt.f64 im)) (neg.f64 (cbrt.f64 im)) (*.f64 (pow.f64 im 3) -1/6))) | |
| 9.8b | (*.f64 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im))) (cbrt.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im))))) (cbrt.f64 (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3))))) | |
| 21.1b | (*.f64 (cos.f64 re) (cbrt.f64 (pow.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) 3))) | |
| ▶ | 9.5b | (*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) |
| ✓ | 27.3b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 42.2b | (/.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 6) -1/36 (*.f64 im im))) (+.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) | |
| 61.5b | (*.f64 (*.f64 1/2 (cos.f64 re)) (/.f64 (-.f64 (*.f64 (exp.f64 (-.f64 0 im)) (exp.f64 (-.f64 0 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) | |
| 38.4b | (*.f64 (sqrt.f64 (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cos.f64 re))) (sqrt.f64 (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cos.f64 re)))) | |
| 9.9b | (*.f64 (*.f64 (cbrt.f64 (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cos.f64 re))) (cbrt.f64 (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cos.f64 re)))) (cbrt.f64 (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cos.f64 re)))) | |
| 36.2b | (*.f64 (*.f64 (cos.f64 re) (sqrt.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3))))) |
Compiled 3886 to 2431 computations (37.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re))) |
| ✓ | 0.1b | (*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) |
| ✓ | 0.2b | (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) |
| ✓ | 0.3b | (cbrt.f64 (cos.f64 re)) |
4 calls:
| 311.0ms | (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re))) |
| 251.0ms | (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) |
| 197.0ms | (cbrt.f64 (cos.f64 re)) |
| 26.0ms | (*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) |
| 1× | rewrite-expression-head |
| 30× | add-sqr-sqrt_binary64 |
| 25× | pow1_binary64 |
| 23× | cbrt-prod_binary64 |
| 20× | add-exp-log_binary64 |
| 18× | *-un-lft-identity_binary64 |
4 calls:
| 9.0ms | (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re))) |
| 8.0ms | (*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) |
| 5.0ms | (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) |
| 1.0ms | (cbrt.f64 (cos.f64 re)) |
| 1× | egg-herbie |
| 435× | cancel-sign-sub-inv_binary64 |
| 373× | neg-mul-1_binary64 |
| 365× | associate-*r*_binary64 |
| 330× | associate-*l*_binary64 |
| 284× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 213 | 3669 |
| 1 | 567 | 2796 |
| 2 | 2390 | 2743 |
| 3 | 4145 | 2726 |
| 4 | 4972 | 2726 |
10 alts after pruning (8 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 239 | 5 | 244 |
| Fresh | 5 | 3 | 8 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 2 | 2 |
| Total | 245 | 10 | 255 |
| Status | Error | Program |
| ▶ | 9.5b | (*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 re)))))) |
| ✓ | 27.3b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| ✓ | 9.2b | (*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) |
| 9.8b | (*.f64 (cos.f64 re) (fma.f64 (*.f64 (cbrt.f64 im) (cbrt.f64 im)) (neg.f64 (cbrt.f64 im)) (*.f64 (pow.f64 im 3) -1/6))) | |
| 9.5b | (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 4)) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) | |
| 22.6b | (*.f64 (expm1.f64 (log1p.f64 (pow.f64 (cos.f64 re) 2/3))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) | |
| 22.6b | (*.f64 (cbrt.f64 (cos.f64 re)) (*.f64 (pow.f64 (cos.f64 re) 2/3) (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)))) | |
| 9.5b | (*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) (cbrt.f64 (cbrt.f64 (cos.f64 re)))) (cbrt.f64 (cbrt.f64 (cos.f64 re)))))) | |
| 61.5b | (*.f64 (*.f64 1/2 (cos.f64 re)) (/.f64 (-.f64 (*.f64 (exp.f64 (-.f64 0 im)) (exp.f64 (-.f64 0 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) | |
| 36.2b | (*.f64 (*.f64 (cos.f64 re) (sqrt.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3))))) |
Compiled 6617 to 3208 computations (51.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 re)))) |
| 0.2b | (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) | |
| 0.3b | (cbrt.f64 (cos.f64 re)) | |
| ✓ | 0.7b | (expm1.f64 (cbrt.f64 (cos.f64 re))) |
2 calls:
| 184.0ms | (expm1.f64 (cbrt.f64 (cos.f64 re))) |
| 183.0ms | (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 re)))) |
| 1× | rewrite-expression-head |
| 3× | log1p-expm1-u_binary64 |
| 2× | *-un-lft-identity_binary64 |
| 2× | add-sqr-sqrt_binary64 |
| 2× | add-cube-cbrt_binary64 |
| 2× | add-cbrt-cube_binary64 |
2 calls:
| 0.0ms | (expm1.f64 (cbrt.f64 (cos.f64 re))) |
| 0.0ms | (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 re)))) |
| 1× | egg-herbie |
| 562× | cancel-sign-sub-inv_binary64 |
| 551× | distribute-rgt-neg-in_binary64 |
| 463× | distribute-lft-neg-in_binary64 |
| 443× | sub-neg_binary64 |
| 309× | neg-mul-1_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 440 |
| 1 | 148 | 405 |
| 2 | 404 | 395 |
| 3 | 1300 | 392 |
| 4 | 3119 | 392 |
| 5 | 4583 | 392 |
| 6 | 4947 | 392 |
9 alts after pruning (7 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 178 | 1 | 179 |
| Fresh | 1 | 6 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 2 | 2 |
| Total | 180 | 9 | 189 |
| Status | Error | Program |
| 61.5b | (*.f64 (*.f64 1/2 (cos.f64 re)) (/.f64 (-.f64 (*.f64 (exp.f64 (-.f64 0 im)) (exp.f64 (-.f64 0 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) | |
| 9.5b | (*.f64 (exp.f64 (log.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 re)))))) | |
| ✓ | 9.2b | (*.f64 (cos.f64 re) (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3)))) |
| 9.8b | (*.f64 (cos.f64 re) (fma.f64 (*.f64 (cbrt.f64 im) (cbrt.f64 im)) (neg.f64 (cbrt.f64 im)) (*.f64 (pow.f64 im 3) -1/6))) | |
| 9.5b | (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 re))) 4)) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) | |
| 22.6b | (*.f64 (expm1.f64 (log1p.f64 (pow.f64 (cos.f64 re) 2/3))) (*.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)) (cbrt.f64 (cos.f64 re)))) | |
| 22.6b | (*.f64 (cbrt.f64 (cos.f64 re)) (*.f64 (pow.f64 (cos.f64 re) 2/3) (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)))) | |
| ✓ | 27.3b | (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))) |
| 36.2b | (*.f64 (*.f64 (cos.f64 re) (sqrt.f64 (neg.f64 (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (-.f64 (neg.f64 im) (*.f64 1/6 (pow.f64 im 3))))) |
Compiled 4891 to 2168 computations (55.7% saved)
Total 0.1b remaining (69.8%)
Threshold costs 0.1b (69.8%)
Compiled 12840 to 8688 computations (32.3% saved)
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 15× | *-commutative_binary64 |
| 11× | +-commutative_binary64 |
| 10× | sub-neg_binary64 |
| 9× | neg-mul-1_binary64 |
| 8× | neg-sub0_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 73 |
| 1 | 49 | 71 |
| 2 | 80 | 71 |
| 3 | 103 | 71 |
| 4 | 113 | 71 |
| 5 | 117 | 71 |
| 6 | 118 | 71 |
| 7 | 115 | 71 |
Compiled 283 to 187 computations (33.9% saved)
Loading profile data...