Time bar (total: 1.6s)
| 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 |
| 25% | 74.9% | 0.1% | 5 |
| 25% | 62.4% | 12.6% | 6 |
| 25% | 50% | 25.1% | 7 |
| 31.2% | 37.5% | 31.3% | 8 |
| 39% | 24.2% | 36.8% | 9 |
| 42.9% | 18.3% | 38.7% | 10 |
| 47.2% | 11.9% | 40.9% | 11 |
| 49.4% | 9.1% | 41.6% | 12 |
Compiled 10 to 6 computations (40% saved)
| 901.0ms | 8256× | body | 256 | valid |
| 35.0ms | 348× | body | 256 | invalid |
| 2× | egg-herbie |
| 856× | fma-def_binary64 |
| 576× | distribute-rgt-in_binary64 |
| 560× | unsub-neg_binary64 |
| 508× | fma-neg_binary64 |
| 432× | distribute-rgt-out--_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 20 |
| 1 | 25 | 20 |
| 2 | 47 | 20 |
| 3 | 103 | 20 |
| 4 | 273 | 20 |
| 5 | 821 | 20 |
| 6 | 2115 | 20 |
| 7 | 3862 | 20 |
| 8 | 5608 | 20 |
| 9 | 6168 | 20 |
| 10 | 6281 | 20 |
| 11 | 6395 | 20 |
| 12 | 6475 | 20 |
| 13 | 6475 | 20 |
| 14 | 7856 | 20 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(-.f64 (*.f64 b b) (*.f64 a a)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(-.f64 (*.f64 b b) (*.f64 a a)) |
Compiled 11 to 7 computations (36.4% saved)
| 1× | egg-herbie |
| 697× | fma-def_binary64 |
| 611× | unsub-neg_binary64 |
| 582× | fma-neg_binary64 |
| 443× | distribute-rgt-out--_binary64 |
| 409× | distribute-rgt-out_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 15 | 10 |
| 2 | 27 | 10 |
| 3 | 56 | 10 |
| 4 | 133 | 10 |
| 5 | 382 | 10 |
| 6 | 832 | 10 |
| 7 | 1661 | 10 |
| 8 | 3915 | 10 |
| 9 | 5409 | 10 |
| 10 | 6280 | 10 |
| 11 | 6701 | 10 |
| 12 | 6947 | 10 |
| 13 | 7062 | 10 |
| 14 | 7062 | 10 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 9 to 5 computations (44.4% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 9 to 5 computations (44.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 17 to 5 computations (70.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | 0 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | b | @ | 0 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | a | @ | inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | b | @ | inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | b | @ | -inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1× | batch-egg-rewrite |
| 733× | pow1_binary64 |
| 684× | add-log-exp_binary64 |
| 684× | log1p-expm1-u_binary64 |
| 684× | expm1-log1p-u_binary64 |
| 667× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 139 | 10 |
| 2 | 1985 | 10 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 (*.f64 b (neg.f64 b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (+.f64 (*.f64 b (neg.f64 b)) (fma.f64 (neg.f64 b) b (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 (neg.f64 b) b (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 (*.f64 b (neg.f64 b)) 1 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 (pow.f64 b 4)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 (fma.f64 (neg.f64 b) b (*.f64 b b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (fma.f64 (neg.f64 b) b (*.f64 b b)) (fma.f64 (neg.f64 b) b (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (neg.f64 b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (neg.f64 b) b (*.f64 b b)) (-.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (pow.f64 (cbrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) 2) (cbrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 a 6) (pow.f64 b 6)) (/.f64 1 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (/.f64 1 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 a b) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 a b) (+.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))) (-.f64 (pow.f64 a 6) (pow.f64 b 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 a a (*.f64 b b)) (-.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 6) (pow.f64 b 6)) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (fma.f64 a a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 a 6) (pow.f64 b 6))) (neg.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (pow.f64 (*.f64 a b) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (neg.f64 (fma.f64 a a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 6) (pow.f64 (*.f64 b (neg.f64 b)) 3)) (+.f64 (pow.f64 a 4) (-.f64 (*.f64 (*.f64 b (neg.f64 b)) (*.f64 b (neg.f64 b))) (*.f64 (*.f64 a a) (*.f64 b (neg.f64 b))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 3) (pow.f64 (fma.f64 (neg.f64 b) b (*.f64 b b)) 3)) (+.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) (-.f64 (*.f64 (fma.f64 (neg.f64 b) b (*.f64 b b)) (fma.f64 (neg.f64 b) b (*.f64 b b))) (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 (neg.f64 b) b (*.f64 b b))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 4) (*.f64 (*.f64 b (neg.f64 b)) (*.f64 b (neg.f64 b)))) (-.f64 (*.f64 a a) (*.f64 b (neg.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 (fma.f64 (neg.f64 b) b (*.f64 b b)) (fma.f64 (neg.f64 b) b (*.f64 b b)))) (-.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 (neg.f64 b) b (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (*.f64 a a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (*.f64 a a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (*.f64 a a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (*.f64 a a) (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (*.f64 b (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (*.f64 b (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 (neg.f64 b) b (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) 2) (cbrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (fma.f64 (neg.f64 b) b (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 4)) (pow.f64 (cbrt.f64 a) 2) (*.f64 b (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (fma.f64 (neg.f64 b) b (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 a b) (-.f64 a b) (fma.f64 (neg.f64 b) b (*.f64 b b))))))) |
| 1× | egg-herbie |
| 897× | fma-neg_binary64 |
| 692× | distribute-rgt-neg-in_binary64 |
| 674× | fma-def_binary64 |
| 606× | distribute-lft-neg-in_binary64 |
| 486× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 228 |
| 1 | 21 | 210 |
| 2 | 42 | 210 |
| 3 | 87 | 210 |
| 4 | 223 | 210 |
| 5 | 763 | 210 |
| 6 | 1792 | 210 |
| 7 | 5169 | 210 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
| Outputs |
|---|
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(fma.f64 -1 (*.f64 b b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 a a (*.f64 b (neg.f64 b))) |
Compiled 777 to 233 computations (70% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 3 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 49 | 3 | 52 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
| ▶ | 27.0b | (*.f64 a a) |
| ▶ | 31.9b | (*.f64 b (neg.f64 b)) |
Compiled 20 to 12 computations (40% saved)
Compiled 6 to 3 computations (50% saved)
Compiled 9 to 4 computations (55.6% saved)
Compiled 17 to 5 computations (70.6% saved)
Compiled 2 to 2 computations (0% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
| ✓ | 27.0b | (*.f64 a a) |
| ✓ | 31.9b | (*.f64 b (neg.f64 b)) |
Compiled 20 to 12 computations (40% saved)
| Inputs |
|---|
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
(*.f64 (-.f64 a b) (+.f64 a b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
7 calls:
| 9.0ms | b |
| 4.0ms | a |
| 4.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 3.0ms | (*.f64 a a) |
| 3.0ms | (*.f64 a a) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | a |
| 0b | 1 | b |
| 0b | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0b | 1 | (*.f64 a a) |
| 0b | 1 | (*.f64 a a) |
| 0b | 1 | (*.f64 b b) |
| 0b | 1 | (*.f64 b b) |
Compiled 58 to 31 computations (46.6% saved)
Total -47.6b remaining (-464.4%)
Threshold costs -47.6b (-464.4%)
| Inputs |
|---|
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
| Outputs |
|---|
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
(*.f64 a a) |
3 calls:
| 26.0ms | b |
| 9.0ms | a |
| 7.0ms | (*.f64 a a) |
| Error | Segments | Branch |
|---|---|---|
| 10.2b | 3 | a |
| 11.5b | 7 | b |
| 10.2b | 2 | (*.f64 a a) |
Compiled 20 to 12 computations (40% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 5.3177621581572424e-99 | 1.5159289320281116e-94 |
| 16.0ms | -5.885742917318189e-81 | -5.340325882668712e-84 |
Compiled 14 to 9 computations (35.7% saved)
| 1× | egg-herbie |
| 4× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 40 |
| 1 | 26 | 40 |
| 2 | 31 | 40 |
| 3 | 34 | 40 |
| 4 | 35 | 40 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
(if (<=.f64 a -12571870568154968/2135987035920910082395021706169552114602704522356652769947041607822219725780640550022962086936576) (*.f64 a a) (if (<=.f64 a 209530497506663744/39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306816) (*.f64 b (neg.f64 b)) (*.f64 a a))) |
(*.f64 a a) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
(if (<=.f64 a -12571870568154968/2135987035920910082395021706169552114602704522356652769947041607822219725780640550022962086936576) (*.f64 a a) (if (<=.f64 a 209530497506663744/39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306816) (*.f64 b (neg.f64 b)) (*.f64 a a))) |
(if (<=.f64 a -1571483821019371/266998379490113760299377713271194014325338065294581596243380200977777465722580068752870260867072) (*.f64 a a) (if (<=.f64 a 3273914023541621/615656346818663737691860001564743965704370926101022604186692084441339402679643915803347910232576806887603562348544) (*.f64 b (neg.f64 b)) (*.f64 a a))) |
(*.f64 a a) |
Compiled 34 to 19 computations (44.1% saved)
Compiled 30 to 14 computations (53.3% saved)
Loading profile data...