Time bar (total: 2.2s)
| 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)
| 762.0ms | 8256× | body | 256 | valid |
| 28.0ms | 332× | 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 | a | @ | inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | b | @ | 0 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | b | @ | inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | a | @ | -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)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 47 | 4 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 48 | 4 | 52 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
| ▶ | 28.8b | (*.f64 a a) |
| ▶ | 0.2b | (fma.f64 (+.f64 a b) (-.f64 a b) (fma.f64 (neg.f64 b) b (*.f64 b b))) |
| ▶ | 27.6b | (*.f64 b (neg.f64 b)) |
Compiled 36 to 20 computations (44.4% saved)
Compiled 6 to 3 computations (50% saved)
Compiled 9 to 4 computations (55.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
Compiled 17 to 5 computations (70.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 1.0ms | a | @ | 0 | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 0.0ms | a | @ | inf | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 0.0ms | b | @ | inf | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 0.0ms | b | @ | 0 | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 1× | batch-egg-rewrite |
| 863× | pow1_binary64 |
| 807× | add-log-exp_binary64 |
| 807× | log1p-expm1-u_binary64 |
| 807× | expm1-log1p-u_binary64 |
| 788× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 140 | 10 |
| 2 | 2219 | 10 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 (neg.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 a (-.f64 a b)) (*.f64 b (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a (+.f64 a b)) (*.f64 (neg.f64 b) (+.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a (-.f64 a b)) 1) (*.f64 (*.f64 b (-.f64 a b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 a b) a) (*.f64 (+.f64 a b) (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (-.f64 (*.f64 a a) (*.f64 b b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) (-.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (fma.f64 a a (*.f64 b (+.f64 a b))) (fma.f64 a a (*.f64 b (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (+.f64 a b) (fma.f64 a a (*.f64 b (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b))) (-.f64 (pow.f64 a 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (fma.f64 a a (*.f64 b (-.f64 b a))) (fma.f64 a a (*.f64 b (+.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (-.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (-.f64 a b) (fma.f64 a a (*.f64 b (+.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 a 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 (*.f64 b b) 3)) (+.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 a (-.f64 a b)) 3) (pow.f64 (*.f64 b (-.f64 a b)) 3)) (+.f64 (*.f64 (*.f64 a (-.f64 a b)) (*.f64 a (-.f64 a b))) (-.f64 (*.f64 (*.f64 b (-.f64 a b)) (*.f64 b (-.f64 a b))) (*.f64 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 b b) (*.f64 b b))) (+.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 a (-.f64 a b)) (*.f64 a (-.f64 a b))) (*.f64 (*.f64 b (-.f64 a b)) (*.f64 b (-.f64 a b)))) (-.f64 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 a b)) (fma.f64 a a (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 a b)) (+.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 a b)) (fma.f64 a a (*.f64 b (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (-.f64 a b)) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 a b) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 a a (*.f64 b (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 a b) (-.f64 (*.f64 a a) (*.f64 b b))) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a b) (-.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 a a (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a b) (-.f64 (*.f64 a a) (*.f64 b b))) (+.f64 a b))))) (#(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 pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(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 (pow.f64 (exp.f64 (-.f64 a b)) (+.f64 a 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 cbrt.f64 (*.f64 (pow.f64 (-.f64 a b) 3) (pow.f64 (+.f64 a b) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 a b) 3) (pow.f64 (-.f64 a 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 (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (-.f64 a b) (*.f64 b (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 a b) a (*.f64 b (-.f64 a b))))))) |
| 1× | egg-herbie |
| 520× | unswap-sqr_binary64 |
| 471× | associate-*l*_binary64 |
| 391× | unsub-neg_binary64 |
| 387× | fma-neg_binary64 |
| 359× | associate-*r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 300 |
| 1 | 72 | 192 |
| 2 | 220 | 180 |
| 3 | 324 | 180 |
| 4 | 724 | 180 |
| 5 | 2730 | 180 |
| 6 | 5799 | 180 |
| 7 | 7509 | 180 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (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)) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(fma.f64 -1 (*.f64 b b) (+.f64 (*.f64 (*.f64 0 b) a) (*.f64 a a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 (+.f64 a b) (-.f64 a b) (fma.f64 (neg.f64 b) b (*.f64 b b))) |
| ✓ | 41.3b | (fma.f64 (neg.f64 b) b (*.f64 b b)) |
Compiled 36 to 8 computations (77.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | -inf | (fma.f64 (neg.f64 b) b (*.f64 b b)) |
| 1.0ms | b | @ | inf | (fma.f64 (neg.f64 b) b (*.f64 b b)) |
| 1.0ms | b | @ | 0 | (fma.f64 (neg.f64 b) b (*.f64 b b)) |
| 1.0ms | a | @ | 0 | (fma.f64 (+.f64 a b) (-.f64 a b) (fma.f64 (neg.f64 b) b (*.f64 b b))) |
| 0.0ms | a | @ | -inf | (fma.f64 (+.f64 a b) (-.f64 a b) (fma.f64 (neg.f64 b) b (*.f64 b b))) |
| 1× | batch-egg-rewrite |
| 806× | pow1_binary64 |
| 749× | add-log-exp_binary64 |
| 748× | log1p-expm1-u_binary64 |
| 748× | expm1-log1p-u_binary64 |
| 732× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 198 | 14 |
| 2 | 2953 | 14 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (neg.f64 b) b (*.f64 b b)) |
(fma.f64 (+.f64 a b) (-.f64 a b) (fma.f64 (neg.f64 b) b (*.f64 b b))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (+.f64 b b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (+.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (+.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (+.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (+.f64 b b))) (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b b))) 2) (cbrt.f64 (*.f64 b (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (+.f64 b b))) (sqrt.f64 (*.f64 b (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b b) 3) (pow.f64 (*.f64 b b) 3)) (+.f64 (pow.f64 b 4) (-.f64 (pow.f64 b 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 b 4) (pow.f64 b 4)) (-.f64 (*.f64 b b) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (+.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (+.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (+.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (+.f64 b b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (+.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 b (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (+.f64 b b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (+.f64 b b)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (+.f64 b b)) (pow.f64 (+.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 (neg.f64 (cbrt.f64 (pow.f64 b 4))) (cbrt.f64 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (+.f64 b a) 2) (*.f64 b (+.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (+.f64 b a) 2) (fma.f64 (*.f64 b b) 1 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (+.f64 b a) 2) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 b b))) (cbrt.f64 (pow.f64 b 4)) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 b a) b) (*.f64 (+.f64 b a) a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 b a) a) (*.f64 (+.f64 b a) b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (pow.f64 (+.f64 b a) 2) (*.f64 b b)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (+.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 b a) (+.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (+.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (cbrt.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (*.f64 (cbrt.f64 (+.f64 b a)) (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 2)) (pow.f64 (cbrt.f64 (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 b a)) (*.f64 (sqrt.f64 (+.f64 b a)) (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 b a) (sqrt.f64 (+.f64 b a))) (sqrt.f64 (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 b a) (pow.f64 (cbrt.f64 (+.f64 b a)) 2)) (cbrt.f64 (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 b a) 3) (+.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 2) (pow.f64 (+.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (fma.f64 a a (*.f64 b (+.f64 b a))) (fma.f64 a a (*.f64 b (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (fma.f64 a a (*.f64 b (-.f64 b a))) (fma.f64 a a (*.f64 b (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (fma.f64 a a (*.f64 b (-.f64 b a))) (fma.f64 a a (*.f64 b (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (pow.f64 (+.f64 b a) 2)) (+.f64 (pow.f64 a 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (+.f64 b a) (fma.f64 a a (*.f64 b (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (*.f64 (+.f64 b a) (fma.f64 a a (*.f64 b (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 (*.f64 b b) 3)) (+.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (+.f64 (pow.f64 b 4) (*.f64 (*.f64 a a) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 3) (pow.f64 (*.f64 b (+.f64 b b)) 3)) (+.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 2) (-.f64 (pow.f64 (*.f64 b (+.f64 b b)) 2) (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 b (+.f64 b b))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (pow.f64 b 4)) (pow.f64 (+.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 2) (pow.f64 (*.f64 b (+.f64 b b)) 2)) (-.f64 (pow.f64 (+.f64 b a) 2) (*.f64 b (+.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 b a)) (fma.f64 a a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 b a)) (fma.f64 a a (*.f64 b (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 b a) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 a a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 b a) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 a a (*.f64 b (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (+.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (+.f64 b a) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (+.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (+.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (+.f64 b a) 2))))))) |
| 1× | egg-herbie |
| 841× | fma-neg_binary64 |
| 567× | difference-of-squares_binary64 |
| 453× | fma-def_binary64 |
| 411× | unsub-neg_binary64 |
| 371× | distribute-rgt-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 384 |
| 1 | 102 | 204 |
| 2 | 405 | 192 |
| 3 | 585 | 192 |
| 4 | 1162 | 192 |
| 5 | 2749 | 192 |
| 6 | 6681 | 192 |
| 1× | node limit |
| Inputs |
|---|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
(+.f64 (pow.f64 b 2) (*.f64 -2 (pow.f64 b 2))) |
(+.f64 (pow.f64 b 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (*.f64 -2 (pow.f64 b 2))))) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (*.f64 -2 (pow.f64 b 2))))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
| Outputs |
|---|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
(+.f64 (pow.f64 b 2) (*.f64 -2 (pow.f64 b 2))) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (pow.f64 b 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(*.f64 a a) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (+.f64 (*.f64 -2 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2)) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (*.f64 -2 (pow.f64 b 2))))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (+.f64 (pow.f64 b 2) (+.f64 (pow.f64 a 2) (*.f64 -2 (pow.f64 b 2))))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (+.f64 (*.f64 b b) (*.f64 a a)) (fma.f64 -2 (*.f64 b b) (*.f64 (*.f64 0 b) a))) |
(-.f64 (fma.f64 a a 0) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
Compiled 2118 to 800 computations (62.2% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 141 | 1 | 142 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 3 | 3 |
| Total | 142 | 4 | 146 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
| ✓ | 28.8b | (*.f64 a a) |
| ✓ | 27.6b | (*.f64 b (neg.f64 b)) |
| ▶ | 0.0b | (+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b))) |
Compiled 33 to 18 computations (45.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b))) |
| ✓ | 0.0b | (*.f64 b (-.f64 a b)) |
| ✓ | 0.0b | (*.f64 a (-.f64 a b)) |
Compiled 28 to 6 computations (78.6% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | a | @ | -inf | (*.f64 b (-.f64 a b)) |
| 1.0ms | a | @ | 0 | (*.f64 a (-.f64 a b)) |
| 0.0ms | b | @ | -inf | (*.f64 b (-.f64 a b)) |
| 0.0ms | a | @ | inf | (*.f64 a (-.f64 a b)) |
| 0.0ms | a | @ | inf | (+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b))) |
| 1× | batch-egg-rewrite |
| 995× | pow1_binary64 |
| 928× | add-log-exp_binary64 |
| 928× | log1p-expm1-u_binary64 |
| 928× | expm1-log1p-u_binary64 |
| 89× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 24 |
| 1 | 163 | 24 |
| 2 | 2565 | 24 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 a (-.f64 a b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 a (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 (neg.f64 b) a))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 a (-.f64 a b)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 a 3) (pow.f64 b 3)) a) (fma.f64 a a (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) a) (+.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 a (-.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 a a (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 a (-.f64 (*.f64 a a) (*.f64 b b))) (+.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (-.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (-.f64 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a (-.f64 a b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (-.f64 a b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (-.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 a (-.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (-.f64 a b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (-.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (-.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (-.f64 a b)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a b) (*.f64 (neg.f64 b) b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a b) (*.f64 b (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 b (-.f64 a b)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 a 3) (pow.f64 b 3)) b) (fma.f64 a a (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) b) (+.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 b (-.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 a a (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 b (-.f64 (*.f64 a a) (*.f64 b b))) (+.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (-.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (-.f64 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (-.f64 a b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (-.f64 a b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 b (-.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (-.f64 a b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (-.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (-.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (-.f64 a b)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (-.f64 (*.f64 a a) (*.f64 b b)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (*.f64 (-.f64 a b) (-.f64 b a))) (/.f64 (pow.f64 (*.f64 a (-.f64 a b)) 2) (*.f64 (-.f64 a b) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 a b) (+.f64 a 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 (pow.f64 (cbrt.f64 (-.f64 a b)) 2) (*.f64 (cbrt.f64 (-.f64 a b)) (+.f64 a 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 (sqrt.f64 (-.f64 a b)) (*.f64 (sqrt.f64 (-.f64 a b)) (+.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 3) (pow.f64 (*.f64 a (-.f64 a b)) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (*.f64 (*.f64 a (-.f64 a b)) (-.f64 (*.f64 a (-.f64 a b)) (*.f64 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 (-.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (pow.f64 (*.f64 a (-.f64 a b)) 2)) (/.f64 1 (*.f64 (-.f64 a b) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (*.f64 (*.f64 a (-.f64 a b)) (-.f64 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b))))) (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 3) (pow.f64 (*.f64 a (-.f64 a b)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (-.f64 a b) (-.f64 b a)) (-.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (pow.f64 (*.f64 a (-.f64 a b)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 3) (pow.f64 (*.f64 a (-.f64 a b)) 3)) (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (*.f64 (*.f64 a (-.f64 a b)) (-.f64 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 3) (pow.f64 (*.f64 a (-.f64 a b)) 3)) (+.f64 (pow.f64 (*.f64 a (-.f64 a b)) 2) (-.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (*.f64 b (*.f64 (-.f64 a b) (*.f64 a (-.f64 a b)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (pow.f64 (*.f64 a (-.f64 a b)) 2)) (*.f64 (-.f64 a b) (-.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 3) (pow.f64 (*.f64 a (-.f64 a b)) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (*.f64 (*.f64 a (-.f64 a b)) (-.f64 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 b (-.f64 a b)) 2) (pow.f64 (*.f64 a (-.f64 a b)) 2))) (neg.f64 (*.f64 (-.f64 a b) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 (*.f64 b b) 3)) (+.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (+.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 a a) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 b b) (*.f64 b b))) (+.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 a (-.f64 a b)) 2) (pow.f64 (*.f64 b (-.f64 a b)) 2)) (-.f64 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 a 3) (pow.f64 b 3)) (+.f64 a b)) (fma.f64 a a (*.f64 b (+.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 a b)) (+.f64 a 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 log.f64 (+.f64 1 (expm1.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 (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (-.f64 a b) (*.f64 b (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (-.f64 a b) (*.f64 a (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 a b) a (*.f64 b (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 a b) b (*.f64 a (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a (-.f64 a b)) (*.f64 b (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b (-.f64 a b))) 2) (cbrt.f64 (*.f64 b (-.f64 a b))) (*.f64 a (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 a (-.f64 a b))) 2) (cbrt.f64 (*.f64 a (-.f64 a b))) (*.f64 b (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b (-.f64 a b))) (sqrt.f64 (*.f64 b (-.f64 a b))) (*.f64 a (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 a (-.f64 a b))) (sqrt.f64 (*.f64 a (-.f64 a b))) (*.f64 b (-.f64 a b))))))) |
| 1× | egg-herbie |
| 594× | unswap-sqr_binary64 |
| 490× | associate-*r*_binary64 |
| 454× | fma-def_binary64 |
| 384× | distribute-rgt-in_binary64 |
| 372× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 772 |
| 1 | 99 | 606 |
| 2 | 276 | 498 |
| 3 | 406 | 498 |
| 4 | 1053 | 498 |
| 5 | 3751 | 498 |
| 6 | 7868 | 498 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (*.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(*.f64 -1 (*.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(*.f64 -1 (*.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(*.f64 a b) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(*.f64 a b) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(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 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2))) |
| Outputs |
|---|
(*.f64 -1 (*.f64 a b)) |
(*.f64 (neg.f64 a) b) |
(*.f64 a (neg.f64 b)) |
(*.f64 b (neg.f64 a)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(*.f64 -1 (*.f64 a b)) |
(*.f64 (neg.f64 a) b) |
(*.f64 a (neg.f64 b)) |
(*.f64 b (neg.f64 a)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(*.f64 -1 (*.f64 a b)) |
(*.f64 (neg.f64 a) b) |
(*.f64 a (neg.f64 b)) |
(*.f64 b (neg.f64 a)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 a b))) |
(+.f64 (*.f64 (neg.f64 a) b) (*.f64 a a)) |
(-.f64 (*.f64 a a) (*.f64 a b)) |
(*.f64 a (-.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 a b) (*.f64 -1 (pow.f64 b 2))) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 a b)) |
(fma.f64 a b (neg.f64 (*.f64 b b))) |
(-.f64 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(neg.f64 (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2)) |
(*.f64 a a) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 b (*.f64 -1 b)) a)) (pow.f64 a 2))) |
(+.f64 (fma.f64 -1 (*.f64 b b) (*.f64 a a)) (*.f64 b (*.f64 0 a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
Compiled 1693 to 496 computations (70.7% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 106 | 0 | 106 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 106 | 4 | 110 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
| ✓ | 28.8b | (*.f64 a a) |
| ✓ | 27.6b | (*.f64 b (neg.f64 b)) |
| ✓ | 0.0b | (+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b))) |
Compiled 33 to 18 computations (45.5% saved)
| Inputs |
|---|
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
(*.f64 (-.f64 a b) (+.f64 a b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b))) |
(fma.f64 (+.f64 a b) (-.f64 a b) (fma.f64 (neg.f64 b) b (*.f64 b b))) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
7 calls:
| 11.0ms | a |
| 10.0ms | b |
| 10.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 9.0ms | (*.f64 b b) |
| 7.0ms | (*.f64 b b) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | a |
| 0.0b | 1 | b |
| 0.0b | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0b | 1 | (*.f64 a a) |
| 0.0b | 1 | (*.f64 a a) |
| 0.0b | 1 | (*.f64 b b) |
| 0.0b | 1 | (*.f64 b b) |
Compiled 83 to 36 computations (56.6% saved)
Total -48.0b remaining (-656.7%)
Threshold costs -48.0b (-656.7%)
| Inputs |
|---|
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
| Outputs |
|---|
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
(*.f64 a a) |
(*.f64 b (neg.f64 b)) |
(*.f64 a a) |
3 calls:
| 38.0ms | b |
| 21.0ms | a |
| 18.0ms | (*.f64 a a) |
| Error | Segments | Branch |
|---|---|---|
| 7.3b | 7 | a |
| 11.0b | 5 | b |
| 8.9b | 4 | (*.f64 a a) |
Compiled 20 to 12 computations (40% saved)
| 6× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 2.750773054450256e+20 | 3.4815279712742246e+21 |
| 16.0ms | 1.8182797219656897e-17 | 1.7340035137776547e-16 |
| 15.0ms | 1.4545134939914696e-46 | 2.1213998457649413e-43 |
| 15.0ms | -2.7205698542016622e-90 | -4.296766235824699e-102 |
| 16.0ms | -1.211790202385206e-55 | -1.100006324835641e-56 |
| 15.0ms | -4.18143352514134e-12 | -2.999971457011718e-18 |
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 | 28 | 84 |
| 1 | 38 | 84 |
| 2 | 43 | 84 |
| 3 | 46 | 84 |
| 4 | 47 | 84 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
(if (<=.f64 a -331287294872491328/79228162514264337593543950336) (*.f64 a a) (if (<=.f64 a -6690774881910955/55213970774324510299478046898216203619608871777363092441300193790394368) (*.f64 b (neg.f64 b)) (if (<=.f64 a -24958492781263292/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) (*.f64 a a) (if (<=.f64 a 7479401822025481/51422017416287688817342786954917203280710495801049370729644032) (*.f64 b (neg.f64 b)) (if (<=.f64 a 5900655055187519/324518553658426726783156020576256) (*.f64 a a) (if (<=.f64 a 36054932579290396986703872/131072) (*.f64 b (neg.f64 b)) (*.f64 a a))))))) |
(*.f64 a a) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
(if (<=.f64 a -331287294872491328/79228162514264337593543950336) (*.f64 a a) (if (<=.f64 a -6690774881910955/55213970774324510299478046898216203619608871777363092441300193790394368) (*.f64 b (neg.f64 b)) (if (<=.f64 a -24958492781263292/9173994463960286046443283581208347763186259956673124494950355357547691504353939232280074212440502746218496) (*.f64 a a) (if (<=.f64 a 7479401822025481/51422017416287688817342786954917203280710495801049370729644032) (*.f64 b (neg.f64 b)) (if (<=.f64 a 5900655055187519/324518553658426726783156020576256) (*.f64 a a) (if (<=.f64 a 36054932579290396986703872/131072) (*.f64 b (neg.f64 b)) (*.f64 a a))))))) |
(if (<=.f64 a -5176363982382677/1237940039285380274899124224) (*.f64 a a) (if (<=.f64 a -6690774881910955/55213970774324510299478046898216203619608871777363092441300193790394368) (*.f64 b (neg.f64 b)) (if (<=.f64 a -6239623195315823/2293498615990071511610820895302086940796564989168281123737588839386922876088484808070018553110125686554624) (*.f64 a a) (if (<=.f64 a 7479401822025481/51422017416287688817342786954917203280710495801049370729644032) (*.f64 b (neg.f64 b)) (if (<=.f64 a 5900655055187519/324518553658426726783156020576256) (*.f64 a a) (if (<=.f64 a 275077305445025611776) (*.f64 b (neg.f64 b)) (*.f64 a a))))))) |
(*.f64 a a) |
Compiled 64 to 31 computations (51.6% saved)
Compiled 60 to 26 computations (56.7% saved)
Loading profile data...