Time bar (total: 2.1s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 0% | 100% | 0 |
| 0% | 0% | 100% | 1 |
Compiled 24 to 15 computations (37.5% saved)
| 908.0ms | 8256× | body | 256 | valid |
| 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 | 41 | 20 |
| 3 | 77 | 20 |
| 4 | 120 | 20 |
| 5 | 150 | 20 |
| 6 | 170 | 20 |
| 7 | 187 | 20 |
| 8 | 189 | 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 11 to 6 computations (45.5% saved)
| 1× | egg-herbie |
| 70× | fma-def_binary64 |
| 25× | associate-+l+_binary64 |
| 17× | 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)) |
Compiled 9 to 4 computations (55.6% 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 b) (+.f64 a b)) |
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 14 to 4 computations (71.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | 0 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 0.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 |
| 600× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 115 | 7 |
| 2 | 1758 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
((#(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 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 1 (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 cbrt.f64 (pow.f64 (pow.f64 (+.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (+.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (+.f64 a b) 2)))))) (#(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))))))) |
| 1× | egg-herbie |
| 947× | sqr-pow_binary64 |
| 615× | fma-def_binary64 |
| 550× | fabs-mul_binary64 |
| 539× | cube-prod_binary64 |
| 373× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 294 |
| 1 | 32 | 267 |
| 2 | 69 | 222 |
| 3 | 151 | 216 |
| 4 | 418 | 216 |
| 5 | 1558 | 216 |
| 6 | 2835 | 216 |
| 7 | 3107 | 216 |
| 8 | 3293 | 216 |
| 9 | 3537 | 216 |
| 10 | 3838 | 216 |
| 11 | 4229 | 216 |
| 12 | 4738 | 216 |
| 13 | 5314 | 216 |
| 14 | 6058 | 216 |
| 15 | 6608 | 216 |
| 16 | 6942 | 216 |
| 17 | 7266 | 216 |
| 18 | 7352 | 216 |
| 19 | 7384 | 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 b 2) (pow.f64 a 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(pow.f64 a 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 a 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 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 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(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 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(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 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(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 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(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 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(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 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 b a) (*.f64 b b)) (*.f64 a a)) |
(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))) |
(fma.f64 a (fma.f64 b 2 a) (*.f64 b b)) |
Compiled 471 to 164 computations (65.2% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 3 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 33 | 4 | 37 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ▶ | 0.2b | (*.f64 b (fma.f64 2 a b)) |
| ▶ | 0.8b | (*.f64 b b) |
| ▶ | 0.0b | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
Compiled 35 to 18 computations (48.6% saved)
Compiled 6 to 3 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 b (fma.f64 2 a b)) |
Compiled 15 to 8 computations (46.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | a | @ | inf | (*.f64 b (fma.f64 2 a b)) |
| 1.0ms | b | @ | 0 | (*.f64 b (fma.f64 2 a b)) |
| 1.0ms | b | @ | -inf | (*.f64 b (fma.f64 2 a b)) |
| 0.0ms | a | @ | -inf | (*.f64 b (fma.f64 2 a b)) |
| 0.0ms | b | @ | inf | (*.f64 b (fma.f64 2 a b)) |
| 1× | batch-egg-rewrite |
| 552× | pow1_binary64 |
| 531× | add-sqr-sqrt_binary64 |
| 507× | add-log-exp_binary64 |
| 507× | log1p-expm1-u_binary64 |
| 507× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 120 | 8 |
| 2 | 1364 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 b (fma.f64 2 a b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (*.f64 2 a)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (fma.f64 2 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (fma.f64 2 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (fma.f64 2 a b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (fma.f64 2 a b)))))))) |
| 1× | egg-herbie |
| 778× | sqr-pow_binary64 |
| 582× | fma-def_binary64 |
| 555× | fabs-mul_binary64 |
| 555× | cube-prod_binary64 |
| 487× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 231 |
| 1 | 19 | 213 |
| 2 | 41 | 177 |
| 3 | 79 | 177 |
| 4 | 170 | 177 |
| 5 | 476 | 177 |
| 6 | 1590 | 177 |
| 7 | 2828 | 177 |
| 8 | 3175 | 177 |
| 9 | 3398 | 177 |
| 10 | 3620 | 177 |
| 11 | 3938 | 177 |
| 12 | 4358 | 177 |
| 13 | 4847 | 177 |
| 14 | 5421 | 177 |
| 15 | 6115 | 177 |
| 16 | 6969 | 177 |
| 17 | 7366 | 177 |
| 18 | 7656 | 177 |
| 19 | 7936 | 177 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 (*.f64 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(*.f64 2 (*.f64 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(*.f64 2 (*.f64 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
| Outputs |
|---|
(*.f64 2 (*.f64 a b)) |
(*.f64 b (*.f64 2 a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(*.f64 2 (*.f64 a b)) |
(*.f64 b (*.f64 2 a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(*.f64 2 (*.f64 a b)) |
(*.f64 b (*.f64 2 a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(fma.f64 2 (*.f64 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 2 a) b)) |
(*.f64 b (fma.f64 2 a b)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 a (+.f64 a b)) |
| ✓ | 0.0b | (*.f64 b (+.f64 a b)) |
Compiled 28 to 6 computations (78.6% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | -inf | (*.f64 a (+.f64 a b)) |
| 0.0ms | b | @ | -inf | (*.f64 b (+.f64 a b)) |
| 0.0ms | b | @ | 0 | (*.f64 b (+.f64 a b)) |
| 0.0ms | a | @ | -inf | (*.f64 a (+.f64 a b)) |
| 0.0ms | b | @ | inf | (*.f64 b (+.f64 a b)) |
| 1× | batch-egg-rewrite |
| 762× | pow1_binary64 |
| 710× | add-log-exp_binary64 |
| 710× | log1p-expm1-u_binary64 |
| 710× | expm1-log1p-u_binary64 |
| 694× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 14 |
| 1 | 134 | 14 |
| 2 | 1956 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 b (+.f64 a b)) |
(*.f64 a (+.f64 a b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b b) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 b a) 1) (*.f64 (*.f64 b b) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (+.f64 b a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b a) 3) (pow.f64 (*.f64 b b) 3)) (+.f64 (*.f64 (*.f64 b a) (*.f64 b a)) (-.f64 (*.f64 (*.f64 b b) (*.f64 b b)) (*.f64 (*.f64 b a) (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 b a) (*.f64 b a)) (*.f64 (*.f64 b b) (*.f64 b b))) (-.f64 (*.f64 b a) (*.f64 b b)))))) (#(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 b a))))))) (#(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 b a))))))) (#(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 b a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (+.f64 b a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (+.f64 b a) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 b a) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (*.f64 b b)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 a a) 1) (*.f64 (*.f64 b a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (+.f64 b a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 (*.f64 b a) 3)) (+.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (-.f64 (*.f64 (*.f64 b a) (*.f64 b a)) (*.f64 (*.f64 a a) (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 a a) (*.f64 a a)) (*.f64 (*.f64 b a) (*.f64 b a))) (-.f64 (*.f64 a a) (*.f64 b a)))))) (#(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 b a))))))) (#(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 b a))))))) (#(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 b a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (+.f64 b a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a (+.f64 b a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (+.f64 b a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (+.f64 b a) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 b a) 3) (pow.f64 a 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (*.f64 b a)))))) |
| 1× | egg-herbie |
| 1197× | sqr-pow_binary64 |
| 620× | fabs-mul_binary64 |
| 601× | cube-prod_binary64 |
| 484× | pow-sqr_binary64 |
| 408× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 336 |
| 1 | 22 | 300 |
| 2 | 43 | 300 |
| 3 | 87 | 300 |
| 4 | 233 | 300 |
| 5 | 865 | 300 |
| 6 | 1897 | 300 |
| 7 | 2182 | 300 |
| 8 | 2353 | 300 |
| 9 | 2584 | 300 |
| 10 | 2880 | 300 |
| 11 | 3265 | 300 |
| 12 | 3763 | 300 |
| 13 | 4340 | 300 |
| 14 | 5090 | 300 |
| 15 | 5638 | 300 |
| 16 | 5972 | 300 |
| 17 | 6296 | 300 |
| 18 | 6382 | 300 |
| 19 | 6410 | 300 |
| 20 | 7061 | 300 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
| Outputs |
|---|
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(pow.f64 b 2) |
(*.f64 b b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 b 2)) |
(fma.f64 a b (*.f64 b b)) |
(*.f64 b (+.f64 b a)) |
(*.f64 b (+.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(pow.f64 a 2) |
(*.f64 a a) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 b a)) |
(*.f64 a (+.f64 a b)) |
Compiled 1040 to 333 computations (68% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 74 | 1 | 75 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 74 | 5 | 79 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ✓ | 0.2b | (*.f64 b (fma.f64 2 a b)) |
| ✓ | 0.8b | (*.f64 b b) |
| ▶ | 0.2b | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| ✓ | 0.0b | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
Compiled 46 to 25 computations (45.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
Compiled 25 to 13 computations (48% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | b | @ | 0 | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| 1.0ms | a | @ | 0 | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| 1.0ms | a | @ | inf | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| 1.0ms | b | @ | inf | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| 0.0ms | a | @ | -inf | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| 1× | batch-egg-rewrite |
| 890× | pow1_binary64 |
| 828× | add-log-exp_binary64 |
| 827× | log1p-expm1-u_binary64 |
| 827× | expm1-log1p-u_binary64 |
| 809× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 10 |
| 1 | 174 | 8 |
| 2 | 2324 | 8 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (fma.f64 2 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (*.f64 b (-.f64 (*.f64 2 a) b))) (/.f64 (pow.f64 b 4) (*.f64 b (-.f64 (*.f64 2 a) b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (fma.f64 2 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (fma.f64 2 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) (pow.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) 2) (cbrt.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (fma.f64 2 a b))) (sqrt.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6)) (/.f64 1 (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4)) (/.f64 1 (*.f64 b (-.f64 (*.f64 2 a) b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2 a b) b)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3)))) (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 b (-.f64 (*.f64 2 a) b)) (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6)) (+.f64 (pow.f64 b 4) (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (*.f64 (*.f64 2 a) (pow.f64 b 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4)) (*.f64 b (-.f64 (*.f64 2 a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 8 (pow.f64 (*.f64 a b) 3)) (pow.f64 b 6))) (neg.f64 (+.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (-.f64 (pow.f64 b 4) (*.f64 (*.f64 2 a) (pow.f64 b 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 2 (*.f64 a b)) 2) (pow.f64 b 4))) (neg.f64 (*.f64 b (-.f64 (*.f64 2 a) b))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 b 4) (pow.f64 (*.f64 2 (*.f64 a b)) 2)) (-.f64 (*.f64 b b) (*.f64 2 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (fma.f64 2 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (fma.f64 2 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (fma.f64 2 a b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (fma.f64 2 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (fma.f64 2 a b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (fma.f64 2 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 a b) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 a) b (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (*.f64 2 a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b b (*.f64 2 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2 (*.f64 a b)) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b b) (*.f64 2 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 a b))) 2) (cbrt.f64 (*.f64 2 (*.f64 a b))) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 4)) (pow.f64 (cbrt.f64 b) 2) (*.f64 2 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 2 (*.f64 a b))) (sqrt.f64 (*.f64 2 (*.f64 a b))) (*.f64 b b)))))) |
| 1× | egg-herbie |
| 778× | sqr-pow_binary64 |
| 582× | fma-def_binary64 |
| 555× | cube-prod_binary64 |
| 549× | fabs-mul_binary64 |
| 488× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 231 |
| 1 | 19 | 213 |
| 2 | 41 | 177 |
| 3 | 79 | 177 |
| 4 | 170 | 177 |
| 5 | 485 | 177 |
| 6 | 1619 | 177 |
| 7 | 2847 | 177 |
| 8 | 3194 | 177 |
| 9 | 3416 | 177 |
| 10 | 3638 | 177 |
| 11 | 3954 | 177 |
| 12 | 4374 | 177 |
| 13 | 4863 | 177 |
| 14 | 5437 | 177 |
| 15 | 6127 | 177 |
| 16 | 6979 | 177 |
| 17 | 7370 | 177 |
| 18 | 7660 | 177 |
| 19 | 7942 | 177 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(*.f64 2 (*.f64 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(*.f64 2 (*.f64 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(*.f64 2 (*.f64 a b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(pow.f64 b 2) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (pow.f64 b 2)) |
(+.f64 (*.f64 2 (*.f64 a b)) (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)) (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)) (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 2 (*.f64 a b)) |
(*.f64 2 (*.f64 b a)) |
(*.f64 a (*.f64 b 2)) |
(*.f64 b (*.f64 2 a)) |
(+.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)) (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)) (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 2 (*.f64 a b)) |
(*.f64 2 (*.f64 b a)) |
(*.f64 a (*.f64 b 2)) |
(*.f64 b (*.f64 2 a)) |
(+.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)) (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)) (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 2 (*.f64 a b)) |
(*.f64 2 (*.f64 b a)) |
(*.f64 a (*.f64 b 2)) |
(*.f64 b (*.f64 2 a)) |
(+.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)) (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)) (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)) |
(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)) (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)) (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)) |
(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)) (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)) (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)) |
Compiled 613 to 374 computations (39% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 45 | 0 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 45 | 5 | 50 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ✓ | 0.2b | (*.f64 b (fma.f64 2 a b)) |
| ✓ | 0.8b | (*.f64 b b) |
| ✓ | 0.2b | (+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| ✓ | 0.0b | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
Compiled 46 to 25 computations (45.7% saved)
| Inputs |
|---|
(*.f64 b b) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
(*.f64 b (fma.f64 2 a b)) |
| Outputs |
|---|
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
4 calls:
| 11.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 10.0ms | b |
| 10.0ms | (+.f64 a b) |
| 8.0ms | a |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | a |
| 0.0b | 1 | b |
| 0.0b | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 0.0b | 1 | (+.f64 a b) |
Compiled 58 to 26 computations (55.2% saved)
Total -0.8b remaining (-7144.9%)
Threshold costs -0.8b (-7144.9%)
| Inputs |
|---|
(*.f64 b b) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 (*.f64 (*.f64 2 a) b) (*.f64 b b)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
4 calls:
| 9.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 8.0ms | (+.f64 a b) |
| 8.0ms | b |
| 6.0ms | a |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | a |
| 0.0b | 1 | b |
| 0.0b | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 0.0b | 1 | (+.f64 a b) |
Compiled 41 to 20 computations (51.2% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 13 | 30 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(*.f64 b b) |
| Outputs |
|---|
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
(+.f64 (*.f64 b (+.f64 b a)) (*.f64 a (+.f64 b a))) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(*.f64 (+.f64 b a) (+.f64 b a)) |
(*.f64 b b) |
Compiled 27 to 13 computations (51.9% saved)
(sort a b)
Compiled 49 to 20 computations (59.2% saved)
Loading profile data...