Time bar (total: 9.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 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 0% | 99.9% | 0.1% | 5 |
| 12.5% | 87.4% | 0.1% | 6 |
| 20.3% | 73.3% | 6.4% | 7 |
| 27.3% | 66.3% | 6.4% | 8 |
| 38.2% | 53% | 8.7% | 9 |
| 46% | 40.6% | 13.4% | 10 |
| 49.9% | 35.1% | 15% | 11 |
| 54.9% | 26.9% | 18.1% | 12 |
| 57.4% | 22% | 20.6% | 13 |
| 59.7% | 18% | 22.4% | 14 |
Compiled 42 to 27 computations (35.7% saved)
| 1.7s | 8256× | body | 128 | valid |
| 357.0ms | 1051× | body | 128 | invalid |
Compiled 125 to 80 computations (36% saved)
| 1× | egg-herbie |
| 1002× | fma-def_binary64 |
| 782× | fma-neg_binary64 |
| 748× | distribute-rgt-in_binary64 |
| 560× | div-sub_binary64 |
| 469× | associate-/l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 58 |
| 1 | 44 | 52 |
| 2 | 94 | 52 |
| 3 | 211 | 50 |
| 4 | 341 | 50 |
| 5 | 594 | 50 |
| 6 | 1082 | 50 |
| 7 | 1702 | 50 |
| 8 | 2066 | 50 |
| 9 | 2870 | 50 |
| 10 | 3495 | 50 |
| 11 | 3501 | 50 |
| 12 | 3503 | 50 |
| 13 | 4196 | 50 |
| 14 | 4249 | 50 |
| 15 | 4881 | 50 |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
| 22.1b | (if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))) | |
| ▶ | 22.0b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) |
Compiled 231 to 143 computations (38.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.6b | (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)) |
| ✓ | 1.5b | (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) |
| ✓ | 1.6b | (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) |
| ✓ | 24.0b | (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) |
Compiled 1536 to 1280 computations (16.7% saved)
4 calls:
| 36.0ms | (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) |
| 34.0ms | (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) |
| 29.0ms | (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) |
| 10.0ms | (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)) |
| 2× | batch-egg-rewrite |
| 785× | fma-def_binary64 |
| 416× | fma-neg_binary64 |
| 368× | egg-rr |
| 243× | expm1-udef_binary64 |
| 243× | log1p-udef_binary64 |
4 calls:
| 103.0ms | (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)) |
| 103.0ms | (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) |
| 103.0ms | (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) |
| 103.0ms | (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 68 |
| 1 | 296 | 56 |
| 2 | 3584 | 56 |
| 3 | 5331 | 56 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 458× | times-frac_binary64 |
| 447× | unswap-sqr_binary64 |
| 295× | fma-def_binary64 |
| 283× | associate-*r*_binary64 |
| 278× | associate-/l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 90 | 2213 |
| 1 | 293 | 2123 |
| 2 | 918 | 2035 |
| 3 | 4407 | 2035 |
| 4 | 5258 | 2035 |
10 alts after pruning (10 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 648 | 9 | 657 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 649 | 10 | 659 |
| Status | Error | Program |
| 27.3b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| ▶ | 19.4b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a))) |
| 25.7b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 38.9b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))) | |
| 34.8b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (+.f64 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| 25.6b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a))) |
Compiled 35225 to 19238 computations (45.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a)) |
| 0.6b | (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)) | |
| 1.5b | (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) | |
| 24.0b | (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) |
Compiled 1536 to 1280 computations (16.7% saved)
1 calls:
| 6.0ms | (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a)) |
| 2× | batch-egg-rewrite |
| 694× | expm1-log1p-u_binary64 |
| 693× | log1p-expm1-u_binary64 |
| 309× | prod-diff_binary64 |
| 130× | log1p-udef_binary64 |
| 97× | add-sqr-sqrt_binary64 |
1 calls:
| 43.0ms | (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 14 |
| 1 | 194 | 4 |
| 2 | 1883 | 4 |
| 3 | 4802 | 4 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 14× | fma-def_binary64 |
| 8× | sub-neg_binary64 |
| 4× | +-commutative_binary64 |
| 4× | fma-neg_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 144 |
| 1 | 10 | 144 |
| 2 | 16 | 144 |
| 3 | 22 | 144 |
| 4 | 28 | 144 |
| 5 | 34 | 144 |
| 6 | 39 | 144 |
| 7 | 44 | 144 |
| 8 | 52 | 144 |
| 9 | 49 | 144 |
| 10 | 40 | 144 |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 377 | 2 | 379 |
| Fresh | 2 | 7 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 380 | 9 | 389 |
| Status | Error | Program |
| 34.8b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (+.f64 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| 23.2b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (*.f64 -1 b)) (*.f64 2 a))) | |
| 27.3b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| 25.6b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a))) | |
| ▶ | 19.2b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 -1 (/.f64 b a))) |
Compiled 17703 to 9965 computations (43.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) |
| 0.6b | (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)) | |
| 1.5b | (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) | |
| 24.0b | (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) |
Compiled 1536 to 1280 computations (16.7% saved)
1 calls:
| 122.0ms | (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) |
| 2× | batch-egg-rewrite |
| 280× | expm1-udef_binary64 |
| 280× | log1p-udef_binary64 |
| 167× | add-sqr-sqrt_binary64 |
| 163× | log1p-expm1-u_binary64 |
| 163× | expm1-log1p-u_binary64 |
1 calls:
| 66.0ms | (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 26 |
| 1 | 338 | 22 |
| 2 | 4205 | 22 |
| 3 | 4888 | 22 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 907× | fma-neg_binary64 |
| 473× | times-frac_binary64 |
| 442× | unswap-sqr_binary64 |
| 288× | associate-/l*_binary64 |
| 232× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 67 | 659 |
| 1 | 218 | 639 |
| 2 | 682 | 598 |
| 3 | 3651 | 597 |
| 4 | 5374 | 597 |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 411 | 2 | 413 |
| Fresh | 1 | 7 | 8 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 413 | 9 | 422 |
| Status | Error | Program |
| 27.3b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| 29.2b | (if (>=.f64 b 0) (*.f64 2 (/.f64 1 (/.f64 (-.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 c a))))) c))) (*.f64 -1 (/.f64 b a))) | |
| 34.8b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (+.f64 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| 25.6b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| ▶ | 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) |
| 22.9b | (if (>=.f64 b 0) (*.f64 -1 (/.f64 c b)) (*.f64 -1 (/.f64 b a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a))) |
Compiled 17197 to 9271 computations (46.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 1.6b | (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) | |
| ✓ | 10.2b | (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2)) |
| 24.0b | (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) | |
| ✓ | 24.7b | (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) |
Compiled 1536 to 1280 computations (16.7% saved)
2 calls:
| 42.0ms | (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) |
| 34.0ms | (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2)) |
| 2× | batch-egg-rewrite |
| 892× | prod-diff_binary64 |
| 229× | log1p-udef_binary64 |
| 208× | egg-rr |
| 142× | log1p-expm1-u_binary64 |
| 142× | expm1-log1p-u_binary64 |
2 calls:
| 101.0ms | (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2)) |
| 101.0ms | (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 33 |
| 1 | 305 | 30 |
| 2 | 3063 | 30 |
| 3 | 4906 | 30 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 691× | fma-def_binary64 |
| 482× | cancel-sign-sub-inv_binary64 |
| 244× | distribute-neg-frac_binary64 |
| 177× | sub-neg_binary64 |
| 169× | times-frac_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 226 | 2538 |
| 1 | 755 | 2480 |
| 2 | 2827 | 2444 |
| 3 | 5123 | 2444 |
11 alts after pruning (10 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 411 | 2 | 413 |
| Fresh | 0 | 8 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 411 | 11 | 422 |
| Status | Error | Program |
| 25.6b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 37.4b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 27.3b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (cbrt.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2))) (*.f64 2 a))) | |
| 38.4b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) | |
| 22.1b | (if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (cbrt.f64 (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| 29.2b | (if (>=.f64 b 0) (*.f64 2 (/.f64 1 (/.f64 (-.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 c a))))) c))) (*.f64 -1 (/.f64 b a))) | |
| 34.8b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (+.f64 (pow.f64 b 3) (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 3/2)) (/.f64 1 (fma.f64 b b (fma.f64 b (sqrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) (fma.f64 -4 (*.f64 a c) (*.f64 b b)))))) (*.f64 2 a))) | |
| ✓ | 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b)) 1/4) 2))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))) |
| 22.9b | (if (>=.f64 b 0) (*.f64 -1 (/.f64 c b)) (*.f64 -1 (/.f64 b a))) | |
| 22.1b | (if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 -4 (*.f64 a c) (*.f64 b b))) 3))) (*.f64 2 a))) |
Compiled 29196 to 15875 computations (45.6% saved)
Total 4.4b remaining (57.4%)
Threshold costs 0b (0%)
Compiled 18830 to 12694 computations (32.6% saved)
Compiled 41 to 26 computations (36.6% saved)
| 1× | egg-herbie |
| 19× | +-commutative_binary64 |
| 19× | *-commutative_binary64 |
| 16× | sub-neg_binary64 |
| 12× | neg-sub0_binary64 |
| 11× | neg-mul-1_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 480 |
| 1 | 88 | 466 |
| 2 | 122 | 466 |
| 3 | 146 | 466 |
| 4 | 159 | 466 |
| 5 | 163 | 466 |
| 6 | 162 | 466 |
Compiled 1085 to 667 computations (38.5% saved)
Loading profile data...