Time bar (total: 1.3s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 0% | 100% | 0 |
| 0% | 0% | 100% | 1 |
Compiled 24 to 15 computations (37.5% saved)
| 772.0ms | 8256× | body | 128 | valid |
Compiled 48 to 30 computations (37.5% saved)
| 2× | egg-herbie |
| 70× | fma-def_binary64 |
| 24× | associate-+l+_binary64 |
| 18× | associate-+r+_binary64 |
| 10× | distribute-rgt-in_binary64 |
| 8× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 20 |
| 1 | 23 | 20 |
| 2 | 43 | 20 |
| 3 | 79 | 20 |
| 4 | 122 | 20 |
| 5 | 152 | 20 |
| 6 | 172 | 20 |
| 7 | 189 | 20 |
| 8 | 191 | 20 |
| 0 | 2 | 2 |
| 1 | 2 | 2 |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
0 |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(*.f64 (+.f64 b a) (+.f64 b a)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(*.f64 (+.f64 b a) (+.f64 b a)) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(sort a b)
Compiled 9 to 4 computations (55.6% saved)
| 1× | egg-herbie |
| 70× | fma-def_binary64 |
| 24× | associate-+l+_binary64 |
| 18× | associate-+r+_binary64 |
| 10× | distribute-rgt-in_binary64 |
| 8× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 10 |
| 1 | 12 | 10 |
| 2 | 29 | 10 |
| 3 | 67 | 10 |
| 4 | 110 | 10 |
| 5 | 140 | 10 |
| 6 | 160 | 10 |
| 7 | 177 | 10 |
| 8 | 179 | 10 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
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 b) (+.f64 a b)) |
Compiled 27 to 12 computations (55.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 a b) (+.f64 a b)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | 0 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 1.0ms | a | @ | inf | (*.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 | @ | inf | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 1× | batch-egg-rewrite |
| 659× | pow1_binary64 |
| 618× | add-log-exp_binary64 |
| 618× | log1p-expm1-u_binary64 |
| 618× | expm1-log1p-u_binary64 |
| 63× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 115 | 7 |
| 2 | 1743 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
((#(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 (*.f64 a (+.f64 a b)) 1) (*.f64 (*.f64 b (+.f64 a b)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (+.f64 a b) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 (-.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 (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 (*.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 (fma.f64 a a (*.f64 b (-.f64 b a))) (-.f64 a 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 (+.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 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 pow.f64 (+.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (+.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (+.f64 a b)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (+.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (+.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (+.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 a b)) 2))))) (#(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)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (+.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (+.f64 a b) 2))))))) |
| 1× | egg-herbie |
| 613× | fma-def_binary64 |
| 391× | sqr-pow_binary64 |
| 374× | *-commutative_binary64 |
| 372× | unswap-sqr_binary64 |
| 361× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 294 |
| 1 | 32 | 267 |
| 2 | 69 | 222 |
| 3 | 151 | 216 |
| 4 | 414 | 216 |
| 5 | 1495 | 216 |
| 6 | 2776 | 216 |
| 7 | 3048 | 216 |
| 8 | 3234 | 216 |
| 9 | 3478 | 216 |
| 10 | 3781 | 216 |
| 11 | 4172 | 216 |
| 12 | 4679 | 216 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
| Outputs |
|---|
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 b a) (*.f64 b b)) |
(*.f64 b (+.f64 b (*.f64 2 a))) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 b a) (*.f64 a a)) |
(*.f64 a (+.f64 (*.f64 b 2) a)) |
(*.f64 a (fma.f64 b 2 a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 b a) (*.f64 a a)) |
(*.f64 a (+.f64 (*.f64 b 2) a)) |
(*.f64 a (fma.f64 b 2 a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 b a) (*.f64 a a)) |
(*.f64 a (+.f64 (*.f64 b 2) a)) |
(*.f64 a (fma.f64 b 2 a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 b a) (*.f64 b b)) |
(*.f64 b (+.f64 b (*.f64 2 a))) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 b a) (*.f64 b b)) |
(*.f64 b (+.f64 b (*.f64 2 a))) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 a a)) (*.f64 b b)) |
(fma.f64 2 (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (fma.f64 2 a b) (*.f64 a a)) |
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 1 | 37 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 37 | 1 | 38 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0b | (fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
Compiled 502 to 183 computations (63.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 a (fma.f64 b 2 a)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | inf | (*.f64 a (fma.f64 b 2 a)) |
| 1.0ms | a | @ | 0 | (*.f64 a (fma.f64 b 2 a)) |
| 1.0ms | a | @ | -inf | (*.f64 a (fma.f64 b 2 a)) |
| 1.0ms | b | @ | -inf | (*.f64 a (fma.f64 b 2 a)) |
| 1.0ms | a | @ | inf | (*.f64 a (fma.f64 b 2 a)) |
| 1× | batch-egg-rewrite |
| 552× | pow1_binary64 |
| 507× | add-log-exp_binary64 |
| 507× | log1p-expm1-u_binary64 |
| 507× | expm1-log1p-u_binary64 |
| 497× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 120 | 8 |
| 2 | 1364 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 a (fma.f64 b 2 a)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b 2) a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a (*.f64 b 2)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (fma.f64 b 2 a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (fma.f64 b 2 a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (fma.f64 b 2 a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (fma.f64 b 2 a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a (fma.f64 b 2 a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (fma.f64 b 2 a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (fma.f64 b 2 a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (fma.f64 b 2 a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (fma.f64 b 2 a) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 b 2 a) 3) (pow.f64 a 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (fma.f64 b 2 a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (fma.f64 b 2 a))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (fma.f64 b 2 a)))))))) |
| 1× | egg-herbie |
| 564× | fma-def_binary64 |
| 474× | associate-*l*_binary64 |
| 434× | unswap-sqr_binary64 |
| 370× | sqr-pow_binary64 |
| 290× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 231 |
| 1 | 19 | 231 |
| 2 | 37 | 213 |
| 3 | 75 | 177 |
| 4 | 165 | 177 |
| 5 | 454 | 177 |
| 6 | 1547 | 177 |
| 7 | 2787 | 177 |
| 8 | 3142 | 177 |
| 9 | 3364 | 177 |
| 10 | 3586 | 177 |
| 11 | 3892 | 177 |
| 12 | 4312 | 177 |
| 13 | 4824 | 177 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 (*.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(*.f64 2 (*.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(*.f64 2 (*.f64 a b)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
| Outputs |
|---|
(*.f64 2 (*.f64 a b)) |
(*.f64 b (*.f64 2 a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(*.f64 2 (*.f64 a b)) |
(*.f64 b (*.f64 2 a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(*.f64 2 (*.f64 a b)) |
(*.f64 b (*.f64 2 a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (pow.f64 a 2) (*.f64 2 (*.f64 a b))) |
(fma.f64 2 (*.f64 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (*.f64 2 a))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 22 | 0 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 22 | 1 | 23 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0b | (fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
Compiled 255 to 139 computations (45.5% saved)
Total 0b remaining (0%)
Threshold costs 0b (0%)
Compiled 167 to 89 computations (46.7% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 8 | 12 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
| Outputs |
|---|
(fma.f64 b b (*.f64 a (fma.f64 b 2 a))) |
| 1× | done |
Compiled 55 to 30 computations (45.5% saved)
Loading profile data...