Time bar (total: 2.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 0% | 100% | 0 |
| 0% | 0% | 100% | 1 |
Compiled 24 to 15 computations (37.5% saved)
| 826.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 | 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 11 to 6 computations (45.5% 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)) |
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 | 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 (+.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 |
| 968× | sqr-pow_binary64 |
| 615× | fma-def_binary64 |
| 606× | cube-prod_binary64 |
| 548× | fabs-mul_binary64 |
| 372× | unswap-sqr_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 | 1500 | 216 |
| 6 | 2773 | 216 |
| 7 | 3045 | 216 |
| 8 | 3230 | 216 |
| 9 | 3474 | 216 |
| 10 | 3777 | 216 |
| 11 | 4170 | 216 |
| 12 | 4679 | 216 |
| 13 | 5257 | 216 |
| 14 | 5999 | 216 |
| 15 | 6549 | 216 |
| 16 | 6883 | 216 |
| 17 | 7203 | 216 |
| 18 | 7285 | 216 |
| 19 | 7315 | 216 |
| 20 | 7966 | 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))) |
(+.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))) |
(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))) |
(+.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))) |
(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))) |
(+.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))) |
(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))) |
(+.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))) |
(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))) |
(+.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))) |
(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))) |
(+.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))) |
Compiled 471 to 165 computations (65% 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.7b | (*.f64 b b) |
| ✓ | 0.0b | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ▶ | 0.0b | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
| ▶ | 0.0b | (*.f64 b (fma.f64 2 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 | |
|---|---|---|---|---|
| 1.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)) |
| 1.0ms | a | @ | -inf | (*.f64 b (fma.f64 2 a b)) |
| 1.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 |
| 801× | sqr-pow_binary64 |
| 582× | fma-def_binary64 |
| 565× | cube-prod_binary64 |
| 560× | fabs-mul_binary64 |
| 541× | pow-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 231 |
| 1 | 19 | 213 |
| 2 | 41 | 177 |
| 3 | 79 | 177 |
| 4 | 167 | 177 |
| 5 | 469 | 177 |
| 6 | 1554 | 177 |
| 7 | 2782 | 177 |
| 8 | 3129 | 177 |
| 9 | 3351 | 177 |
| 10 | 3573 | 177 |
| 11 | 3879 | 177 |
| 12 | 4301 | 177 |
| 13 | 4791 | 177 |
| 14 | 5360 | 177 |
| 15 | 6056 | 177 |
| 16 | 6906 | 177 |
| 17 | 7301 | 177 |
| 18 | 7589 | 177 |
| 19 | 7865 | 177 |
| 20 | 7935 | 177 |
| 21 | 7971 | 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 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
Compiled 28 to 6 computations (78.6% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | b | @ | inf | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
| 0.0ms | b | @ | 0 | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
| 0.0ms | b | @ | -inf | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
| 0.0ms | a | @ | 0 | (*.f64 a (+.f64 a b)) |
| 0.0ms | a | @ | inf | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
| 1× | batch-egg-rewrite |
| 603× | fma-def_binary64 |
| 482× | prod-exp_binary64 |
| 428× | log-prod_binary64 |
| 398× | pow-prod-down_binary64 |
| 299× | exp-prod_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 167 | 14 |
| 2 | 2610 | 14 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a (+.f64 a b))) |
(*.f64 a (+.f64 a b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (+.f64 b a) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (+.f64 b a) (-.f64 b a))) (/.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2) (*.f64 (+.f64 b a) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.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 1 (pow.f64 (+.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (pow.f64 (cbrt.f64 (+.f64 b a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 4) (pow.f64 (cbrt.f64 (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 b a)) (pow.f64 (+.f64 b a) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3)) (/.f64 1 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a))) (/.f64 1 (*.f64 (+.f64 b a) (-.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 b a) 3/2) (sqrt.f64 (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 5) (cbrt.f64 (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3)) (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3)) (+.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2) (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 b (*.f64 (+.f64 b a) (*.f64 a (+.f64 b a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a))) (*.f64 (+.f64 b a) (-.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) (pow.f64 (-.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) 2) (pow.f64 (fma.f64 b (-.f64 b a) (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3))) (neg.f64 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a)))) (neg.f64 (*.f64 (+.f64 b a) (-.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 b (-.f64 b a) (*.f64 a 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 b (-.f64 b a) (*.f64 a a)) (-.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 a (+.f64 b a)) 2) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (-.f64 (*.f64 a (+.f64 b 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 b (-.f64 b a) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 b a)) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 b a) (+.f64 (pow.f64 a 3) (pow.f64 b 3))) (fma.f64 b (-.f64 b a) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 b a) (-.f64 (*.f64 a a) (*.f64 b b))) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 b a) 3) 2/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 (cbrt.f64 (+.f64 b a)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 b a)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (*.f64 2 (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 a (+.f64 b a)) (-.f64 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a))) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 a (+.f64 b a)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (*.f64 (pow.f64 (+.f64 b a) 2) (*.f64 (+.f64 b a) (-.f64 b a)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 2 (log.f64 (+.f64 b a)))) 2)) (cbrt.f64 (*.f64 2 (log.f64 (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 2 (log.f64 (+.f64 b a))))) (sqrt.f64 (*.f64 2 (log.f64 (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 b a) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (+.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (+.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a)))) (pow.f64 (exp.f64 a) (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 b) (+.f64 b a)) (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a)))) (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a)))) (pow.f64 (exp.f64 b) (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 a) (+.f64 b a)) (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 a (+.f64 b a)))) (+.f64 1 (expm1.f64 (*.f64 b (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 b a) 6))))) (#(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 (*.f64 2 (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (+.f64 b a))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 b a) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 b a)) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 2 (log.f64 (+.f64 b a))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (+.f64 b a)) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (+.f64 b a) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a (+.f64 b a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b a) b (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b a) a (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (+.f64 b a)) 1 (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (+.f64 b a)) 1 (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) (pow.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) 2) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 a (+.f64 b a))) 2) (cbrt.f64 (*.f64 a (+.f64 b a))) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) b) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 2) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 2) (cbrt.f64 (*.f64 b (+.f64 b a))) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (*.f64 (cbrt.f64 (+.f64 b a)) b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 b a)) 2) (*.f64 (cbrt.f64 (+.f64 b a)) a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 a (+.f64 b a))) (sqrt.f64 (*.f64 a (+.f64 b a))) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (pow.f64 a 3/2) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) b) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b (+.f64 b a))) (sqrt.f64 (*.f64 b (+.f64 b a))) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 b a)) (*.f64 (sqrt.f64 (+.f64 b a)) b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 b a)) (*.f64 (sqrt.f64 (+.f64 b a)) a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 3/2) (sqrt.f64 a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 a) a) (pow.f64 (cbrt.f64 a) 2) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (*.f64 b a)) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b a)) (sqrt.f64 (*.f64 b a)) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (pow.f64 (cbrt.f64 a) 2)) (cbrt.f64 a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (sqrt.f64 a)) (sqrt.f64 a) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 5) (cbrt.f64 a) (fma.f64 b a (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (pow.f64 (cbrt.f64 (+.f64 b a)) 2)) (cbrt.f64 (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (sqrt.f64 (+.f64 b a))) (sqrt.f64 (+.f64 b a)) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (sqrt.f64 b)) (sqrt.f64 b) (*.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (pow.f64 (cbrt.f64 (+.f64 b a)) 2)) (cbrt.f64 (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (sqrt.f64 (+.f64 b a))) (sqrt.f64 (+.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (pow.f64 (cbrt.f64 a) 2)) (cbrt.f64 a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 b a) (sqrt.f64 a)) (sqrt.f64 a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b) (fma.f64 b b (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (sqrt.f64 b)) (sqrt.f64 b) (fma.f64 b b (*.f64 a (+.f64 b a)))))))) |
((#(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 0 (*.f64 a (+.f64 b 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 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 a) (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 a (+.f64 b a)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 6) (pow.f64 (*.f64 b a) 3)) (+.f64 (pow.f64 a 4) (-.f64 (pow.f64 (*.f64 b a) 2) (*.f64 (*.f64 a a) (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 4) (pow.f64 (*.f64 b a) 2)) (-.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 b (-.f64 b a) (*.f64 a 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 b (-.f64 b a) (*.f64 a 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)) 2) 1/2)))) (#(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 pow.f64 (pow.f64 (*.f64 a (+.f64 b a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 a (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 a (+.f64 b a)))) 2)) (cbrt.f64 (log.f64 (*.f64 a (+.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 a (+.f64 b a))))) (sqrt.f64 (log.f64 (*.f64 a (+.f64 b a)))))))) (#(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 log.f64 (+.f64 1 (expm1.f64 (*.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 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 exp.f64 (*.f64 (log.f64 (*.f64 a (+.f64 b a))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 a (+.f64 b a)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 a (+.f64 b a)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 a (+.f64 b a)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 a (+.f64 b a))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 a (+.f64 b a))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 a) 1) (log.f64 (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 a) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 a) 1) (*.f64 (log.f64 (+.f64 b a)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (log.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (+.f64 b a)) (*.f64 (log.f64 a) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 b a)) 1) (*.f64 (log.f64 a) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a a (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 a a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) 1 (*.f64 (*.f64 b a) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (pow.f64 a 3/2) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 a 3/2) (sqrt.f64 a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 a) a) (pow.f64 (cbrt.f64 a) 2) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (*.f64 b a)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b a)) (sqrt.f64 (*.f64 b a)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (pow.f64 (cbrt.f64 a) 2)) (cbrt.f64 a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b (sqrt.f64 a)) (sqrt.f64 a) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 a) 5) (cbrt.f64 a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a (sqrt.f64 b)) (sqrt.f64 b) (*.f64 a a)))))) |
| 1× | egg-herbie |
| 968× | sqr-pow_binary64 |
| 826× | fma-def_binary64 |
| 566× | fabs-mul_binary64 |
| 537× | cube-prod_binary64 |
| 392× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 462 |
| 1 | 35 | 417 |
| 2 | 79 | 372 |
| 3 | 169 | 366 |
| 4 | 459 | 366 |
| 5 | 1626 | 366 |
| 6 | 3051 | 366 |
| 7 | 3395 | 366 |
| 8 | 3587 | 366 |
| 9 | 3835 | 366 |
| 10 | 4137 | 366 |
| 11 | 4534 | 366 |
| 12 | 5045 | 366 |
| 13 | 5623 | 366 |
| 14 | 6377 | 366 |
| 15 | 6934 | 366 |
| 16 | 7272 | 366 |
| 17 | 7598 | 366 |
| 18 | 7686 | 366 |
| 19 | 7718 | 366 |
| 1× | node limit |
| Inputs |
|---|
(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))) |
(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))) |
(*.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 |
|---|
(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 a (*.f64 b 2))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b 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 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 a 2) b)) |
(*.f64 b (fma.f64 a 2 b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b 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 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 a 2) b)) |
(*.f64 b (fma.f64 a 2 b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b 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 a b) (*.f64 b b)) |
(*.f64 b (+.f64 (*.f64 a 2) b)) |
(*.f64 b (fma.f64 a 2 b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b 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 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 a (*.f64 b 2))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b 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 a b) (*.f64 a a)) |
(fma.f64 a a (*.f64 a (*.f64 b 2))) |
(*.f64 a (+.f64 a (*.f64 2 b))) |
(*.f64 a (fma.f64 2 b a)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b a) (*.f64 b b)) |
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 b 2) (pow.f64 a 2))) |
(+.f64 (fma.f64 2 (*.f64 a b) (*.f64 b b)) (*.f64 a a)) |
(fma.f64 2 (*.f64 a b) (fma.f64 a a (*.f64 b b))) |
(fma.f64 b (fma.f64 a 2 b) (*.f64 a a)) |
(fma.f64 a a (*.f64 b (fma.f64 a 2 b))) |
(fma.f64 a (fma.f64 2 b a) (*.f64 b b)) |
(*.f64 a b) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a 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 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a 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 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a 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 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a 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 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a 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 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
(+.f64 (*.f64 a b) (pow.f64 a 2)) |
(fma.f64 a b (*.f64 a a)) |
(*.f64 a (+.f64 a b)) |
Compiled 3034 to 890 computations (70.7% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 205 | 1 | 206 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 2 | 3 |
| Total | 207 | 3 | 210 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.7b | (*.f64 b b) |
| ✓ | 0.0b | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ▶ | 0.0b | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
Compiled 25 to 13 computations (48% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
Compiled 24 to 6 computations (75% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | 0 | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
| 1.0ms | b | @ | inf | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
| 1.0ms | b | @ | -inf | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
| 1.0ms | a | @ | inf | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
| 1.0ms | a | @ | -inf | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
| 1× | batch-egg-rewrite |
| 968× | pow1_binary64 |
| 902× | add-log-exp_binary64 |
| 902× | log1p-expm1-u_binary64 |
| 902× | expm1-log1p-u_binary64 |
| 86× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 161 | 10 |
| 2 | 2453 | 10 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 b (+.f64 (+.f64 b a) a)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 b (-.f64 (+.f64 b a) a))) (/.f64 (pow.f64 (*.f64 b a) 2) (*.f64 b (-.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (+.f64 (+.f64 b a) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (+.f64 a (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (+.f64 (+.f64 b a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) (pow.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 2) (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) (sqrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2)) (/.f64 1 (*.f64 b (-.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a))))) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 b (-.f64 (+.f64 b a) a)) (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3)) (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3)) (+.f64 (pow.f64 (*.f64 b a) 2) (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 b (*.f64 (+.f64 b a) (*.f64 b a))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2)) (*.f64 b (-.f64 (+.f64 b a) a)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 3) (pow.f64 (*.f64 b a) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (*.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 b (+.f64 b a)) 2) (pow.f64 (*.f64 b a) 2))) (neg.f64 (*.f64 b (-.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 b a) 2) (pow.f64 (*.f64 b (+.f64 b a)) 2)) (-.f64 (*.f64 b a) (*.f64 b (+.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (+.f64 (+.f64 b a) a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 b (+.f64 (+.f64 b a) a)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (+.f64 (+.f64 b a) a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (+.f64 (+.f64 b a) a))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b a (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 b (+.f64 b a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 a b (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 b a) b (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b (+.f64 b a)) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 b a) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (*.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 b (+.f64 b a))) 2) (cbrt.f64 (*.f64 b (+.f64 b a))) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b a)) (sqrt.f64 (*.f64 b a)) (*.f64 b (+.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 b (+.f64 b a))) (sqrt.f64 (*.f64 b (+.f64 b a))) (*.f64 b a)))))) |
| 1× | egg-herbie |
| 801× | sqr-pow_binary64 |
| 582× | fma-def_binary64 |
| 565× | cube-prod_binary64 |
| 560× | fabs-mul_binary64 |
| 541× | pow-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 231 |
| 1 | 19 | 213 |
| 2 | 41 | 177 |
| 3 | 79 | 177 |
| 4 | 167 | 177 |
| 5 | 469 | 177 |
| 6 | 1554 | 177 |
| 7 | 2782 | 177 |
| 8 | 3129 | 177 |
| 9 | 3351 | 177 |
| 10 | 3573 | 177 |
| 11 | 3879 | 177 |
| 12 | 4301 | 177 |
| 13 | 4791 | 177 |
| 14 | 5360 | 177 |
| 15 | 6056 | 177 |
| 16 | 6906 | 177 |
| 17 | 7301 | 177 |
| 18 | 7589 | 177 |
| 19 | 7865 | 177 |
| 20 | 7935 | 177 |
| 21 | 7971 | 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)) |
Compiled 679 to 192 computations (71.7% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 0 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 46 | 3 | 49 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.7b | (*.f64 b b) |
| ✓ | 0.0b | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ✓ | 0.0b | (+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
Compiled 25 to 13 computations (48% saved)
| Inputs |
|---|
(*.f64 b b) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a 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:
| 6.0ms | b |
| 5.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 4.0ms | (+.f64 a b) |
| 3.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 24 computations (58.6% saved)
Total -0.7b remaining (-6266.6%)
Threshold costs -0.7b (-6266.6%)
| Inputs |
|---|
(*.f64 b b) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 (*.f64 b (+.f64 a b)) (*.f64 a b)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
4 calls:
| 6.0ms | (+.f64 a b) |
| 5.0ms | a |
| 4.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 4.0ms | b |
| 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 19 computations (53.7% 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× | 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) |
| 1× | done |
(sort a b)
Compiled 76 to 33 computations (56.6% saved)
Loading profile data...