Time bar (total: 7.2s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 99.9% | 0% | 0.1% | 1 |
Compiled 13 to 12 computations (7.7% saved)
| 697.0ms | 2070× | body | 1024 | valid |
| 499.0ms | 4962× | body | 256 | valid |
| 197.0ms | 1014× | body | 512 | valid |
| 91.0ms | 210× | body | 2048 | valid |
| 2× | egg-herbie |
| 868× | unswap-sqr_binary64 |
| 382× | associate-*l*_binary64 |
| 378× | fma-def_binary64 |
| 314× | associate-/l/_binary64 |
| 290× | fma-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 30 |
| 1 | 29 | 30 |
| 2 | 41 | 30 |
| 3 | 58 | 30 |
| 4 | 103 | 30 |
| 5 | 226 | 30 |
| 6 | 599 | 30 |
| 7 | 1901 | 30 |
| 8 | 4969 | 30 |
| 9 | 6394 | 30 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 y)))) 1) |
| Outputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 y)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) y))) -1) |
Compiled 14 to 13 computations (7.1% saved)
| 1× | egg-herbie |
| 981× | times-frac_binary64 |
| 942× | fma-neg_binary64 |
| 434× | unswap-sqr_binary64 |
| 363× | associate-*l/_binary64 |
| 344× | associate-/l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 15 |
| 1 | 19 | 15 |
| 2 | 25 | 15 |
| 3 | 34 | 15 |
| 4 | 59 | 15 |
| 5 | 124 | 15 |
| 6 | 325 | 15 |
| 7 | 1000 | 15 |
| 8 | 2582 | 15 |
| 9 | 4196 | 15 |
| 10 | 7165 | 15 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| Outputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (/.f64 x -1/2)))) -1) |
Compiled 22 to 20 computations (9.1% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 31.6b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
Compiled 12 to 11 computations (8.3% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| ✓ | 0.0b | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| ✓ | 2.9b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
Compiled 37 to 31 computations (16.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 2.0ms | x | @ | -inf | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 2.0ms | x | @ | 0 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 1× | batch-egg-rewrite |
| 426× | log-prod_binary64 |
| 329× | exp-prod_binary64 |
| 259× | prod-diff_binary64 |
| 252× | pow2_binary64 |
| 245× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 36 |
| 1 | 217 | 36 |
| 2 | 2720 | 36 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 1 (exp.f64 (*.f64 -2 x))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (cbrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2)) (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1) (/.f64 1 (+.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1) (/.f64 1 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) 1) (-.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1) (+.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1) (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) (-.f64 1 (*.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1) (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1)) (neg.f64 (+.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1)) (neg.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 2)) (cbrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (sqrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -2 (/.f64 1 (+.f64 -1 (neg.f64 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (cbrt.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2))) (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2))) (*.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) (*.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -6))) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (-.f64 1 (pow.f64 (exp.f64 x) -4))) (-.f64 1 (pow.f64 (exp.f64 x) -2)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 x) -2))) (/.f64 (pow.f64 (exp.f64 x) -4) (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2) (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (pow.f64 (exp.f64 x) -1)) (hypot.f64 1 (pow.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (exp.f64 x) -6)) (/.f64 1 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (exp.f64 x) -4)) (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1) (+.f64 1 (pow.f64 (exp.f64 x) -6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2)) (-.f64 1 (pow.f64 (exp.f64 x) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (exp.f64 x) -6)) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (exp.f64 x) -6)) (+.f64 (pow.f64 (exp.f64 x) -4) (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (exp.f64 x) -4)) (-.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (exp.f64 x) -6))) (neg.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 x) -4))) (neg.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 (+.f64 x x) -2)) (expm1.f64 (*.f64 -2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (pow.f64 (exp.f64 x) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1) (+.f64 1 (pow.f64 (exp.f64 x) -6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2)) (-.f64 1 (pow.f64 (exp.f64 x) -4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2)) (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 x) -2) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -2)) (cbrt.f64 (pow.f64 (exp.f64 x) -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -4)) (cbrt.f64 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 x) -1) (pow.f64 (exp.f64 x) -1) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (+.f64 -1 (neg.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (cbrt.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2))) (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2))) (*.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) (*.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -6))) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (-.f64 1 (pow.f64 (exp.f64 x) -4))) (-.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (pow.f64 (exp.f64 x) -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1/2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2)) (cbrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (sqrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) (log.f64 1/2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) 2) (cbrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) (sqrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) -1))))) |
| 1× | egg-herbie |
| 972× | fma-def_binary64 |
| 611× | associate-*l/_binary64 |
| 548× | associate-*r/_binary64 |
| 500× | associate-/l/_binary64 |
| 451× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 243 |
| 1 | 112 | 239 |
| 2 | 261 | 237 |
| 3 | 733 | 231 |
| 4 | 1654 | 228 |
| 5 | 2844 | 228 |
| 6 | 4172 | 228 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
2 |
(+.f64 2 (*.f64 -2 x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (*.f64 -2 x))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 -2 x) (*.f64 -4/3 (pow.f64 x 3))))) |
1 |
(+.f64 1 x) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5))))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(fma.f64 -1/3 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 -17/315 (pow.f64 x 7) x))) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
2 |
(+.f64 2 (*.f64 -2 x)) |
(+.f64 2 (*.f64 x -2)) |
(fma.f64 x -2 2) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (*.f64 -2 x))) |
(fma.f64 2 (*.f64 x x) (+.f64 2 (*.f64 x -2))) |
(fma.f64 2 (*.f64 x x) (fma.f64 x -2 2)) |
(fma.f64 x -2 (*.f64 2 (fma.f64 x x 1))) |
(fma.f64 x (fma.f64 x 2 -2) 2) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 -2 x) (*.f64 -4/3 (pow.f64 x 3))))) |
(fma.f64 2 (*.f64 x x) (+.f64 2 (fma.f64 -2 x (*.f64 (pow.f64 x 3) -4/3)))) |
(fma.f64 2 (*.f64 x x) (+.f64 2 (fma.f64 x -2 (*.f64 (pow.f64 x 3) -4/3)))) |
(fma.f64 x (*.f64 x 2) (fma.f64 x -2 (fma.f64 (pow.f64 x 3) -4/3 2))) |
(fma.f64 x (*.f64 x (fma.f64 x -4/3 2)) (fma.f64 x -2 2)) |
(fma.f64 x (fma.f64 x (fma.f64 x -4/3 2) -2) 2) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 1) |
(+.f64 x (fma.f64 -1/3 (pow.f64 x 3) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5))))) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 1) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) (fma.f64 2/15 (pow.f64 x 5) 1)) |
(+.f64 x (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) 1))) |
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 -1/3 (pow.f64 x 3) 1)) |
Compiled 2693 to 2214 computations (17.8% saved)
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 162 | 6 | 168 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 162 | 7 | 169 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.6b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| ▶ | 46.9b | (-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
| ▶ | 31.6b | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| ▶ | 29.8b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| ▶ | 60.2b | (-.f64 (+.f64 x 1) 1) |
| ▶ | 30.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 28.8b | x |
Compiled 123 to 105 computations (14.6% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 2/15 (pow.f64 x 5)) |
| ✓ | 0.1b | (*.f64 -1/3 (pow.f64 x 3)) |
| ✓ | 19.6b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
Compiled 43 to 33 computations (23.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| 1.0ms | x | @ | 0 | (*.f64 -1/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | 0 | (*.f64 2/15 (pow.f64 x 5)) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| 1× | batch-egg-rewrite |
| 556× | log-prod_binary64 |
| 547× | fma-def_binary64 |
| 332× | pow2_binary64 |
| 319× | fma-neg_binary64 |
| 228× | expm1-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 29 |
| 1 | 279 | 29 |
| 2 | 3517 | 29 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(*.f64 -1/3 (pow.f64 x 3)) |
(*.f64 2/15 (pow.f64 x 5)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 6) 1/9) (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) x)))) (/.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) (pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) 2) (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 9) -1/27 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3)) (/.f64 1 (fma.f64 (fma.f64 2/15 (pow.f64 x 5) x) (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/9) (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2)) (/.f64 1 (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 2/15 (pow.f64 x 5) x) (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/9)) (fma.f64 (pow.f64 x 9) -1/27 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) x))) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/27 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3)) (fma.f64 (fma.f64 2/15 (pow.f64 x 5) x) (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/27 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3)) (+.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 -1/3 (*.f64 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/9) (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2)) (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 9) -1/27 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3))) (neg.f64 (fma.f64 (fma.f64 2/15 (pow.f64 x 5) x) (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/9) (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2))) (neg.f64 (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 2) (-.f64 (*.f64 x x) (*.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (*.f64 (pow.f64 x 6) 1/9)) (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 2) (*.f64 x x)) (-.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 2/15 (pow.f64 x 5) x) (-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/9)) (fma.f64 (pow.f64 x 9) -1/27 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) x))) (-.f64 (*.f64 (pow.f64 x 6) 1/9) (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (exp.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (*.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)) (pow.f64 (exp.f64 2/15) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (*.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)) (pow.f64 (exp.f64 2/15) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3)))) (exp.f64 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)) (+.f64 1 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) x))) (pow.f64 (exp.f64 -1/3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) x))) (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)) (pow.f64 (exp.f64 2/15) (pow.f64 x 5))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)) (pow.f64 (exp.f64 2/15) (pow.f64 x 5))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) -1/3) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 (pow.f64 x 3)) 1 (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2/15 (pow.f64 x 5) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 2/15 (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/15 (pow.f64 x 5)) 1 (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 2/15 (pow.f64 x 5) x) 1 (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/3 (pow.f64 x 3)) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2/15 (pow.f64 x 5)) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x -1/3) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 2) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 2) (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 2/15) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 -1/3)) (pow.f64 (*.f64 x (cbrt.f64 -1/3)) 2) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 -1/3)) 2) (*.f64 x (cbrt.f64 -1/3)) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 2/15 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 4/225)) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 4/225)) (cbrt.f64 (*.f64 2/15 (pow.f64 x 5))) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/3) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -1/3) (pow.f64 x 3/2)) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 15) 8/3375 (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (*.f64 2/15 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 4/225))) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 10) 4/225 (neg.f64 (*.f64 x x))) (/.f64 1 (-.f64 (*.f64 2/15 (pow.f64 x 5)) x)) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) -1/3) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 2/15) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) 2) (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 x) (*.f64 x x) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 (*.f64 x x)) x (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 (pow.f64 x 3/2)) (pow.f64 x 3/2) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/15 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/15 (pow.f64 x 5/2)) (pow.f64 x 5/2) (+.f64 x (*.f64 -1/3 (pow.f64 x 3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/3 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/3 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 1/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 -1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/3) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 9) -1/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 9) -1/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -4/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -4/3)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/15) (pow.f64 x 5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/15) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/15) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/15) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/15 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/15 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 10) 4/225) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/15 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 15) 8/3375) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 4/225))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/15) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/15 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 15) 8/3375))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2/15 (pow.f64 x 5))) 1)))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 710× | cube-prod_binary64 |
| 680× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 119 |
| 1 | 36 | 111 |
| 2 | 72 | 111 |
| 3 | 161 | 111 |
| 4 | 303 | 111 |
| 5 | 760 | 111 |
| 6 | 1149 | 111 |
| 7 | 1795 | 111 |
| 8 | 1903 | 111 |
| 9 | 2065 | 111 |
| 10 | 2278 | 111 |
| 11 | 2608 | 111 |
| 12 | 3064 | 111 |
| 13 | 3663 | 111 |
| 14 | 4417 | 111 |
| 15 | 5347 | 111 |
| 16 | 5853 | 111 |
| 17 | 6343 | 111 |
| 18 | 6743 | 111 |
| 19 | 7067 | 111 |
| 20 | 7227 | 111 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(fma.f64 -1/3 (pow.f64 x 3) x) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(fma.f64 2/15 (pow.f64 x 5) (fma.f64 -1/3 (pow.f64 x 3) x)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(fma.f64 2/15 (pow.f64 x 5) (fma.f64 -1/3 (pow.f64 x 3) x)) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(fma.f64 2/15 (pow.f64 x 5) (fma.f64 -1/3 (pow.f64 x 3) x)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(fma.f64 2/15 (pow.f64 x 5) (fma.f64 -1/3 (pow.f64 x 3) x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 2.9b | (-.f64 (+.f64 x 1) 1) |
Compiled 12 to 9 computations (25% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (-.f64 (+.f64 x 1) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 x 1) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 x 1) 1) |
| 1× | batch-egg-rewrite |
| 533× | pow1_binary64 |
| 502× | add-log-exp_binary64 |
| 502× | log1p-expm1-u_binary64 |
| 502× | expm1-log1p-u_binary64 |
| 494× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 4 |
| 1 | 116 | 1 |
| 2 | 1623 | 1 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 x 1) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) 1) (-.f64 (sqrt.f64 (+.f64 x 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 x 2)) (+.f64 (pow.f64 (+.f64 x 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 3) -1) (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 3) -1) (+.f64 (pow.f64 (+.f64 x 1) 2) (-.f64 1 (*.f64 (+.f64 x 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 2) x) (-.f64 (+.f64 x 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 x 2) x)) (neg.f64 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) 0) (+.f64 (*.f64 x x) (-.f64 0 (*.f64 x 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x . x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) (cbrt.f64 (+.f64 x 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1)) -1))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 12 |
| 1× | saturated |
| Inputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
| Outputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 2 (+.f64 2 (*.f64 -2 x))) |
| ✓ | 2.9b | (-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
Compiled 30 to 25 computations (16.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
| 1.0ms | x | @ | inf | (-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
| 0.0ms | x | @ | inf | (/.f64 2 (+.f64 2 (*.f64 -2 x))) |
| 0.0ms | x | @ | -inf | (/.f64 2 (+.f64 2 (*.f64 -2 x))) |
| 1× | batch-egg-rewrite |
| 590× | unpow-prod-down_binary64 |
| 401× | log-prod_binary64 |
| 306× | exp-prod_binary64 |
| 301× | prod-diff_binary64 |
| 238× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 1 | 202 | 19 |
| 2 | 2555 | 19 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
(/.f64 2 (+.f64 2 (*.f64 -2 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (/.f64 2 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)) (cbrt.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 2)) (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)) (sqrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 8 (pow.f64 (fma.f64 -2 x 2) -3) -1) (/.f64 1 (+.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) 1) (/.f64 2 (fma.f64 -2 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 8 (pow.f64 (fma.f64 -2 x 2) -3) -1) (pow.f64 (/.f64 1 (+.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) 1) (/.f64 2 (fma.f64 -2 x 2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) -1) (/.f64 1 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) -1) (pow.f64 (/.f64 1 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) (-.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) 1) (pow.f64 (-.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 2) 1/3) (cbrt.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 2) 3) (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) 1) (/.f64 2 (fma.f64 -2 x 2))) (fma.f64 8 (pow.f64 (fma.f64 -2 x 2) -3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1) (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 8 (pow.f64 (fma.f64 -2 x 2) -3) -1) (+.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) 1) (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 8 (pow.f64 (fma.f64 -2 x 2) -3) -1) (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) (-.f64 1 (*.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) -1) (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 8 (pow.f64 (fma.f64 -2 x 2) -3) -1)) (neg.f64 (+.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) 1) (/.f64 2 (fma.f64 -2 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) -1)) (neg.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) 1) (/.f64 2 (fma.f64 -2 x 2))) (fma.f64 8 (pow.f64 (fma.f64 -2 x 2) -3) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1) (fma.f64 4 (pow.f64 (fma.f64 -2 x 2) -2) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 2)) (cbrt.f64 (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))) (sqrt.f64 (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (/.f64 1 (fma.f64 -2 x 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -2 (/.f64 1 (neg.f64 (fma.f64 -2 x 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (fma.f64 -2 x 2)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 2 (fma.f64 -2 x 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2) (*.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) (*.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (fma.f64 -2 x 2)) 2 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (fma.f64 -8 (pow.f64 x 3) 8)) (fma.f64 (*.f64 -2 x) (fma.f64 -2 x -2) 4) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (-.f64 4 (*.f64 4 (*.f64 x x)))) (+.f64 2 (*.f64 2 x)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 2 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 2 (fma.f64 -2 x 2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 2 (fma.f64 -2 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (fma.f64 -2 x 2))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (fma.f64 -2 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (neg.f64 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (pow.f64 (/.f64 1 (neg.f64 (fma.f64 -2 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2) (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2) (*.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2) (pow.f64 (*.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) (*.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) (pow.f64 (*.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 -2 x 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (fma.f64 -8 (pow.f64 x 3) 8)) (fma.f64 (*.f64 -2 x) (fma.f64 -2 x -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (-.f64 4 (*.f64 4 (*.f64 x x)))) (+.f64 2 (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 2 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 2 (fma.f64 -8 (pow.f64 x 3) 8)) 1) (fma.f64 (*.f64 -2 x) (fma.f64 -2 x -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 2 (-.f64 4 (*.f64 4 (*.f64 x x)))) 1) (+.f64 2 (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 2) 3) (/.f64 1 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2)))) 2) 3) (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 2) 2) (/.f64 1 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 8 1/3) (/.f64 1 (fma.f64 -2 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 4 (pow.f64 (fma.f64 -2 x 2) -2)) 2) 1/3) (cbrt.f64 (/.f64 1 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 2 (fma.f64 -2 x 2)) (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 2 (fma.f64 -2 x 2)) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 -2 x 2) 1/2)) 2) -1) (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4 (pow.f64 (fma.f64 -2 x 2) -2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 8 (pow.f64 (fma.f64 -2 x 2) -3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 -2 x 2) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (fma.f64 -2 x 2) 1/2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2)))) 2)) (cbrt.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2))))) (sqrt.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (fma.f64 -2 x 2) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 2 (fma.f64 -2 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 8 (pow.f64 (fma.f64 -2 x 2) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 2 (fma.f64 -2 x 2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 2 (fma.f64 -2 x 2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 8 (pow.f64 (fma.f64 -2 x 2) -3))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 -2 x 2) 1/2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 2 (fma.f64 -2 x 2))) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)) 2) (cbrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)) (sqrt.f64 (+.f64 (/.f64 2 (fma.f64 -2 x 2)) 1)) -1))))) |
| 1× | egg-herbie |
| 774× | fma-neg_binary64 |
| 535× | associate-*l*_binary64 |
| 445× | fma-def_binary64 |
| 443× | associate-*r*_binary64 |
| 425× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 333 |
| 1 | 112 | 299 |
| 2 | 345 | 290 |
| 3 | 1021 | 289 |
| 4 | 2833 | 289 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
1 |
(+.f64 1 x) |
(+.f64 1 (+.f64 (pow.f64 x 2) x)) |
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)) |
(+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))) |
(+.f64 (fma.f64 x x x) (pow.f64 x 3)) |
(fma.f64 x (fma.f64 x x x) x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x))) |
(+.f64 (*.f64 x x) (+.f64 (+.f64 x (pow.f64 x 3)) (pow.f64 x 4))) |
(+.f64 (+.f64 (fma.f64 x x x) (pow.f64 x 3)) (pow.f64 x 4)) |
(*.f64 (fma.f64 x x 1) (fma.f64 x x x)) |
(*.f64 (fma.f64 x x x) (fma.f64 x x 1)) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(-.f64 -1 (/.f64 1 x)) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))) |
(+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))) |
(+.f64 (+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 -1 (/.f64 (/.f64 -1 x) x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(-.f64 -1 (/.f64 1 x)) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))) |
(+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))) |
(+.f64 (+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 -1 (/.f64 (/.f64 -1 x) x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 (pow.f64 x 2) x)) |
(+.f64 (+.f64 x (*.f64 x x)) 1) |
(+.f64 (fma.f64 x x x) 1) |
(+.f64 x (fma.f64 x x 1)) |
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))) |
(+.f64 (+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))) 1) |
(+.f64 (+.f64 (fma.f64 x x x) (pow.f64 x 3)) 1) |
(+.f64 (fma.f64 x (fma.f64 x x x) x) 1) |
(*.f64 (+.f64 x 1) (fma.f64 x x 1)) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) |
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4)))) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) |
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4)))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 -1/3 (pow.f64 x 3)) |
Compiled 20 to 15 computations (25% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (pow.f64 (exp.f64 x) -2) |
| ✓ | 0.0b | (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
| ✓ | 0.0b | (+.f64 1 (pow.f64 (exp.f64 x) -2)) |
| ✓ | 2.9b | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
Compiled 37 to 27 computations (27% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| 2.0ms | x | @ | inf | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| 2.0ms | x | @ | -inf | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
| 1× | batch-egg-rewrite |
| 437× | log-prod_binary64 |
| 346× | exp-prod_binary64 |
| 276× | pow2_binary64 |
| 243× | prod-diff_binary64 |
| 239× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 42 |
| 1 | 234 | 42 |
| 2 | 2832 | 42 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(pow.f64 (exp.f64 x) -2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)) (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)) (/.f64 1 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (cbrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2)) (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1) (/.f64 1 (-.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 -2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1) (/.f64 1 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x)))) 1) (-.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 -2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1) (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1) (-.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 -2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1) (+.f64 1 (-.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)) (/.f64 -2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1) (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1)) (neg.f64 (-.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 -2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1)) (neg.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4))) (-.f64 -1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) 1) (/.f64 -2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (fma.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -3) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1) (fma.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -2) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 2)) (cbrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (sqrt.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (expm1.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) -2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -2 (/.f64 1 (+.f64 -1 (neg.f64 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (cbrt.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4))) (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x)))) (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) -2) 2 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -6 x)))) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (-.f64 1 (pow.f64 (exp.f64 x) -4))) (-.f64 1 (pow.f64 (exp.f64 x) -2)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 x) -2))) (/.f64 (pow.f64 (exp.f64 x) -4) (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) (cbrt.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)) (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) (hypot.f64 1 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (exp.f64 (*.f64 -6 x))) (/.f64 1 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (exp.f64 x) -4)) (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1) (+.f64 1 (exp.f64 (*.f64 -6 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2)) (-.f64 1 (pow.f64 (exp.f64 x) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (exp.f64 (*.f64 -6 x))) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (exp.f64 (*.f64 -6 x))) (+.f64 (pow.f64 (exp.f64 x) -4) (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (exp.f64 x) -4)) (-.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (exp.f64 (*.f64 -6 x)))) (neg.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (exp.f64 x) -4))) (neg.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 -4 x)) (expm1.f64 (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1) (+.f64 1 (exp.f64 (*.f64 -6 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2)) (-.f64 1 (pow.f64 (exp.f64 x) -4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2)) (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (hypot.f64 1 (exp.f64 (neg.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 x) -2) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -2) (cbrt.f64 (pow.f64 (exp.f64 x) -4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -4)) (pow.f64 (cbrt.f64 (exp.f64 x)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -4) (pow.f64 (cbrt.f64 (exp.f64 x)) -2) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (+.f64 -1 (neg.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (cbrt.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4))) (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x)))) (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) -2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -6 x)))) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (-.f64 1 (pow.f64 (exp.f64 x) -4))) (-.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 8 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1/2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2)) (cbrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (sqrt.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 8 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (sqrt.f64 2) (hypot.f64 1 (exp.f64 (neg.f64 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 8) (*.f64 3 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) (log.f64 1/2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (-.f64 (log1p.f64 1) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (exp.f64 x) -2))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (exp.f64 x) -2)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -2) (cbrt.f64 (pow.f64 (exp.f64 x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -4)) (pow.f64 (cbrt.f64 (exp.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) -4) (pow.f64 (cbrt.f64 (exp.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (exp.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 x) -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (exp.f64 (*.f64 -6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 x -2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (*.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 -6 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 x -2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 x -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (*.f64 x -2) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) (cbrt.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) 4)) (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (exp.f64 (neg.f64 x))) (hypot.f64 1 (exp.f64 (neg.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (exp.f64 (*.f64 -6 x))) (/.f64 1 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 x -2)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (exp.f64 x) -4)) (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 x) -2))) -1))))) |
| 1× | egg-herbie |
| 569× | fma-def_binary64 |
| 505× | unswap-sqr_binary64 |
| 356× | associate-+l+_binary64 |
| 324× | distribute-rgt-neg-in_binary64 |
| 291× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 598 |
| 1 | 136 | 590 |
| 2 | 311 | 554 |
| 3 | 854 | 478 |
| 4 | 1903 | 478 |
| 5 | 2780 | 478 |
| 6 | 5645 | 478 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
2 |
(+.f64 2 (*.f64 -2 x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (*.f64 -2 x))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 -2 x) (*.f64 -4/3 (pow.f64 x 3))))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
1 |
(+.f64 1 x) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5))))) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
1 |
(+.f64 1 (*.f64 -2 x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 -2 x))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 x) (*.f64 -4/3 (pow.f64 x 3))))) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(fma.f64 -1/3 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -17/315 (pow.f64 x 7)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x))) |
(fma.f64 -17/315 (pow.f64 x 7) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -17/315 (pow.f64 x 7) (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) (fma.f64 -17/315 (pow.f64 x 7) x))) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
2 |
(+.f64 2 (*.f64 -2 x)) |
(+.f64 2 (*.f64 x -2)) |
(fma.f64 x -2 2) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (*.f64 -2 x))) |
(fma.f64 2 (*.f64 x x) (+.f64 2 (*.f64 x -2))) |
(fma.f64 2 (*.f64 x x) (fma.f64 x -2 2)) |
(fma.f64 x -2 (fma.f64 x (+.f64 x x) 2)) |
(fma.f64 x (fma.f64 x 2 -2) 2) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 2 (+.f64 (*.f64 -2 x) (*.f64 -4/3 (pow.f64 x 3))))) |
(fma.f64 2 (*.f64 x x) (+.f64 2 (fma.f64 -2 x (*.f64 (pow.f64 x 3) -4/3)))) |
(+.f64 (fma.f64 (pow.f64 x 3) -4/3 (*.f64 x -2)) (fma.f64 2 (*.f64 x x) 2)) |
(fma.f64 (fma.f64 x x 1) 2 (fma.f64 (pow.f64 x 3) -4/3 (*.f64 x -2))) |
(fma.f64 x (*.f64 x (fma.f64 x -4/3 2)) (fma.f64 x -2 2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
(+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(+.f64 1 (exp.f64 (neg.f64 (+.f64 x x)))) |
(+.f64 1 (exp.f64 (*.f64 x -2))) |
(+.f64 1 (pow.f64 (exp.f64 x) -2)) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x)) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) x) 1) |
(+.f64 x (fma.f64 -1/3 (pow.f64 x 3) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5))))) |
(+.f64 (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) x)) 1) |
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 -1/3 (pow.f64 x 3) 1)) |
(+.f64 x (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 2/15 (pow.f64 x 5) 1))) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(/.f64 2 (+.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)) 1)) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
(/.f64 2 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(/.f64 2 (+.f64 1 (exp.f64 (neg.f64 (+.f64 x x))))) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) |
(/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) |
1 |
(+.f64 1 (*.f64 -2 x)) |
(+.f64 1 (*.f64 x -2)) |
(fma.f64 x -2 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 -2 x))) |
(fma.f64 2 (*.f64 x x) (+.f64 1 (*.f64 x -2))) |
(fma.f64 2 (*.f64 x x) (fma.f64 x -2 1)) |
(fma.f64 x -2 (fma.f64 x (+.f64 x x) 1)) |
(fma.f64 x (fma.f64 x 2 -2) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 -2 x) (*.f64 -4/3 (pow.f64 x 3))))) |
(fma.f64 2 (*.f64 x x) (+.f64 1 (fma.f64 -2 x (*.f64 (pow.f64 x 3) -4/3)))) |
(+.f64 (fma.f64 (pow.f64 x 3) -4/3 (*.f64 x -2)) (fma.f64 2 (*.f64 x x) 1)) |
(fma.f64 x (+.f64 x x) (fma.f64 (pow.f64 x 3) -4/3 (fma.f64 x -2 1))) |
(fma.f64 x (*.f64 x (fma.f64 x -4/3 2)) (fma.f64 x -2 1)) |
(fma.f64 (pow.f64 x 3) -4/3 (fma.f64 x (fma.f64 x 2 -2) 1)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (neg.f64 (+.f64 x x))) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
Compiled 8277 to 6743 computations (18.5% saved)
11 alts after pruning (6 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 539 | 6 | 545 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 4 | 5 |
| Total | 541 | 11 | 552 |
| Status | Error | Program |
|---|---|---|
| ▶ | 44.5b | (/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
| ✓ | 31.6b | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| ▶ | 60.2b | (+.f64 1 (+.f64 x -1)) |
| ✓ | 30.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| ▶ | 29.5b | (*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
| ✓ | 31.6b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| ▶ | 29.8b | (fma.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 1 x) |
| ✓ | 29.8b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| ✓ | 60.2b | (-.f64 (+.f64 x 1) 1) |
| 47.5b | -1 | |
| 28.8b | x |
Compiled 107 to 88 computations (17.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 1 (+.f64 x 2)) |
| ✓ | 0.0b | (*.f64 (+.f64 x 2) x) |
| ✓ | 16.6b | (*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
Compiled 29 to 21 computations (27.6% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (*.f64 (+.f64 x 2) x) |
| 1.0ms | x | @ | -inf | (*.f64 (+.f64 x 2) x) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
| 1.0ms | x | @ | 0 | (/.f64 1 (+.f64 x 2)) |
| 1.0ms | x | @ | 0 | (*.f64 (+.f64 x 2) x) |
| 1× | batch-egg-rewrite |
| 880× | pow1_binary64 |
| 823× | add-log-exp_binary64 |
| 822× | log1p-expm1-u_binary64 |
| 822× | expm1-log1p-u_binary64 |
| 808× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 27 |
| 1 | 175 | 27 |
| 2 | 2275 | 27 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(*.f64 (+.f64 x 2) x) |
(/.f64 1 (+.f64 x 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 (+.f64 x 2) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x 2) (/.f64 (+.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 x 2)) (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 2) (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (/.f64 (+.f64 x 2) (cbrt.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (/.f64 (+.f64 x 2) (sqrt.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x (+.f64 x 2))) (+.f64 -2 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (+.f64 x 2)) (sqrt.f64 (+.f64 x 2))) (sqrt.f64 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (+.f64 x 2)) 1) (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (+.f64 x 2)) (pow.f64 (cbrt.f64 (+.f64 x 2)) 2)) (cbrt.f64 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) (/.f64 x (+.f64 x 2))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4) (/.f64 x (+.f64 x 2))) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (*.f64 x (+.f64 x 2))) (+.f64 -2 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x (+.f64 x 2)) -1) (+.f64 -2 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (+.f64 x 2)) (/.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 (+.f64 x 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) (pow.f64 (/.f64 1 (+.f64 x 2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 x 2)) 3) (pow.f64 (*.f64 x (+.f64 x 2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (+.f64 x 2) (/.f64 x (+.f64 x 2))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (+.f64 x 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 x 2) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (+.f64 x 2))) (cbrt.f64 (pow.f64 (+.f64 x 2) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 x 2) -2)) (/.f64 1 (cbrt.f64 (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 2) -1/2) (pow.f64 (+.f64 x 2) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (+.f64 -2 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x 2)) 2) -1) (pow.f64 (cbrt.f64 (+.f64 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (+.f64 x 2)) -1) (pow.f64 (sqrt.f64 (+.f64 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -4)) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 2) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 2) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (+.f64 x 2)))))))) |
| 1× | egg-herbie |
| 791× | distribute-neg-frac_binary64 |
| 787× | fma-def_binary64 |
| 695× | associate-*r*_binary64 |
| 415× | times-frac_binary64 |
| 283× | associate-/l/_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 279 |
| 1 | 97 | 264 |
| 2 | 244 | 264 |
| 3 | 669 | 258 |
| 4 | 1978 | 255 |
| 5 | 6953 | 255 |
| 1× | node limit |
| Inputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
1/2 |
(+.f64 1/2 (*.f64 -1/4 x)) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 3)) (+.f64 1/2 (*.f64 -1/4 x)))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))) |
| Outputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
(+.f64 (*.f64 2 x) (pow.f64 x 2)) |
(fma.f64 2 x (*.f64 x x)) |
(*.f64 x (+.f64 2 x)) |
(*.f64 x (+.f64 x 2)) |
1/2 |
(+.f64 1/2 (*.f64 -1/4 x)) |
(+.f64 1/2 (*.f64 x -1/4)) |
(fma.f64 x -1/4 1/2) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) |
(fma.f64 1/8 (*.f64 x x) (+.f64 1/2 (*.f64 x -1/4))) |
(fma.f64 (*.f64 x x) 1/8 (fma.f64 x -1/4 1/2)) |
(fma.f64 x -1/4 (fma.f64 x (*.f64 x 1/8) 1/2)) |
(fma.f64 x (fma.f64 x 1/8 -1/4) 1/2) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 3)) (+.f64 1/2 (*.f64 -1/4 x)))) |
(fma.f64 1/8 (*.f64 x x) (fma.f64 -1/16 (pow.f64 x 3) (+.f64 1/2 (*.f64 x -1/4)))) |
(fma.f64 (*.f64 x x) 1/8 (fma.f64 -1/16 (pow.f64 x 3) (fma.f64 x -1/4 1/2))) |
(fma.f64 x (*.f64 x 1/8) (fma.f64 x -1/4 (fma.f64 -1/16 (pow.f64 x 3) 1/2))) |
(fma.f64 x -1/4 (fma.f64 x (*.f64 x (fma.f64 x -1/16 1/8)) 1/2)) |
(fma.f64 x (fma.f64 x (fma.f64 x -1/16 1/8) -1/4) 1/2) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (/.f64 1 x) (/.f64 2 (*.f64 x x))) |
(-.f64 (/.f64 1 x) (/.f64 (/.f64 2 x) x)) |
(+.f64 (/.f64 1 x) (/.f64 -2 (*.f64 x x))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 4 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 2 (*.f64 x x)))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 4 (pow.f64 x 3)) (/.f64 (/.f64 2 x) x))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 4 (pow.f64 x 3)) (/.f64 -2 (*.f64 x x)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -2 (*.f64 x x))) (/.f64 4 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 (/.f64 4 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 8 (pow.f64 x 4))))) |
(+.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 4 (pow.f64 x 3))) (/.f64 8 (pow.f64 x 4))) (/.f64 -2 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 4 (pow.f64 x 3)) (-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 8 (pow.f64 x 4))))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 4 (pow.f64 x 3)) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -8 (pow.f64 x 4))))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 (/.f64 2 x) x)) (*.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 4 (/.f64 8 x)))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 (/.f64 2 x) x)) (*.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 4 (/.f64 -8 x)))) |
(/.f64 1 x) |
(-.f64 (/.f64 1 x) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (/.f64 1 x) (/.f64 2 (*.f64 x x))) |
(-.f64 (/.f64 1 x) (/.f64 (/.f64 2 x) x)) |
(+.f64 (/.f64 1 x) (/.f64 -2 (*.f64 x x))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 4 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 2 (*.f64 x x)))) |
(+.f64 (/.f64 1 x) (-.f64 (/.f64 4 (pow.f64 x 3)) (/.f64 (/.f64 2 x) x))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 4 (pow.f64 x 3)) (/.f64 -2 (*.f64 x x)))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 -2 (*.f64 x x))) (/.f64 4 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 4))) (*.f64 2 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 (/.f64 4 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 8 (pow.f64 x 4))))) |
(+.f64 (-.f64 (+.f64 (/.f64 1 x) (/.f64 4 (pow.f64 x 3))) (/.f64 8 (pow.f64 x 4))) (/.f64 -2 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 4 (pow.f64 x 3)) (-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 8 (pow.f64 x 4))))) |
(+.f64 (/.f64 1 x) (+.f64 (/.f64 4 (pow.f64 x 3)) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -8 (pow.f64 x 4))))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 (/.f64 2 x) x)) (*.f64 (/.f64 1 (pow.f64 x 3)) (-.f64 4 (/.f64 8 x)))) |
(+.f64 (-.f64 (/.f64 1 x) (/.f64 (/.f64 2 x) x)) (*.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 4 (/.f64 -8 x)))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 2.9b | (+.f64 1 (+.f64 x -1)) |
Compiled 13 to 10 computations (23.1% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 1 (+.f64 x -1)) |
| 0.0ms | x | @ | inf | (+.f64 1 (+.f64 x -1)) |
| 0.0ms | x | @ | -inf | (+.f64 1 (+.f64 x -1)) |
| 1× | batch-egg-rewrite |
| 691× | pow1_binary64 |
| 647× | add-log-exp_binary64 |
| 645× | log1p-expm1-u_binary64 |
| 645× | expm1-log1p-u_binary64 |
| 637× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 129 | 4 |
| 2 | 1704 | 4 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1 (+.f64 x -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x 0)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 2 x)) (/.f64 (pow.f64 (+.f64 x -1) 2) (-.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 0)) (pow.f64 (cbrt.f64 (+.f64 x 0)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 0)) 2) (cbrt.f64 (+.f64 x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 0)) (sqrt.f64 (+.f64 x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (+.f64 x -1) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (+.f64 x -1) 2) (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (+.f64 x -1) 2)) (/.f64 1 (-.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (+.f64 x -1) 2) (+.f64 x -1))) (+.f64 1 (pow.f64 (+.f64 x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 2 x) (-.f64 1 (pow.f64 (+.f64 x -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x -1) 3)) (+.f64 1 (-.f64 (pow.f64 (+.f64 x -1) 2) (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x -1) 3)) (+.f64 (pow.f64 (+.f64 x -1) 2) (-.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 x -1) 2)) (-.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (+.f64 x -1) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (+.f64 x -1) 2) (+.f64 x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (+.f64 x -1) 2))) (neg.f64 (-.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 x) 3) -1) (+.f64 (*.f64 (+.f64 1 x) (+.f64 1 x)) (-.f64 1 (*.f64 (+.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x -1) 2) 1) (-.f64 (+.f64 x -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 1 x) (+.f64 1 x)) 1) (-.f64 (+.f64 1 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 0) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 0) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x 0)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x 0)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 0) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x 0) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x 0)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x -1)) 2) (cbrt.f64 (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 (+.f64 x -1)) 1))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 12 |
| 1× | saturated |
| Inputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
| Outputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 31.6b | (/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
Compiled 24 to 13 computations (45.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
| 0.0ms | x | @ | inf | (/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
| 0.0ms | x | @ | -inf | (/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
| 1× | batch-egg-rewrite |
| 452× | pow1_binary64 |
| 439× | add-sqr-sqrt_binary64 |
| 434× | add-log-exp_binary64 |
| 433× | log1p-expm1-u_binary64 |
| 433× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 1 |
| 1 | 175 | 1 |
| 2 | 1854 | 1 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 x 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 x (/.f64 0 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 x (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 3) (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (/.f64 x (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (neg.f64 x)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) 1) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x x)) (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 x x)) (/.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x 4)) 1) (/.f64 (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (*.f64 x x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (*.f64 x x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x 4)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) (*.f64 x x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x x) (*.f64 x (neg.f64 x))) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 x x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x . x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (/.f64 1 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) 0))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 12 |
| 1× | saturated |
| Inputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
| Outputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 2/15 (pow.f64 x 5)) | |
| ✓ | 19.6b | (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
Compiled 42 to 33 computations (21.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
| 1.0ms | x | @ | inf | (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
| 1.0ms | x | @ | 0 | (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
| 1× | batch-egg-rewrite |
| 866× | pow1_binary64 |
| 817× | add-log-exp_binary64 |
| 817× | log1p-expm1-u_binary64 |
| 817× | expm1-log1p-u_binary64 |
| 801× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 14 |
| 1 | 217 | 14 |
| 2 | 2238 | 14 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/3 (pow.f64 x 3)) 1) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) (pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) 2) (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -1/3 (pow.f64 x 3)) 3) (pow.f64 (*.f64 2/15 (pow.f64 x 5)) 3)) (+.f64 (*.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 -1/3 (pow.f64 x 3))) (-.f64 (*.f64 (pow.f64 x 10) 4/225) (*.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 -1/3 (pow.f64 x 3))) (*.f64 (pow.f64 x 10) 4/225)) (-.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))))))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 708× | cube-prod_binary64 |
| 681× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 147 |
| 1 | 27 | 147 |
| 2 | 56 | 147 |
| 3 | 111 | 147 |
| 4 | 229 | 147 |
| 5 | 671 | 147 |
| 6 | 981 | 147 |
| 7 | 1617 | 147 |
| 8 | 1725 | 147 |
| 9 | 1887 | 147 |
| 10 | 2100 | 147 |
| 11 | 2430 | 147 |
| 12 | 2886 | 147 |
| 13 | 3484 | 147 |
| 14 | 4237 | 147 |
| 15 | 5173 | 147 |
| 16 | 5683 | 147 |
| 17 | 6171 | 147 |
| 18 | 6569 | 147 |
| 19 | 6889 | 147 |
| 20 | 7051 | 147 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/3 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
| Outputs |
|---|
(*.f64 -1/3 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
Compiled 2665 to 1993 computations (25.2% saved)
13 alts after pruning (7 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 206 | 5 | 211 |
| Fresh | 0 | 2 | 2 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 6 | 8 |
| Total | 209 | 13 | 222 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.6b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| ▶ | 28.9b | (*.f64 x (*.f64 x (/.f64 1 x))) |
| ▶ | 29.8b | (fma.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) 1 x) |
| ▶ | 44.5b | (neg.f64 (/.f64 (*.f64 x x) (neg.f64 x))) |
| ✓ | 60.2b | (+.f64 1 (+.f64 x -1)) |
| ✓ | 30.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| ▶ | 27.5b | (*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
| ▶ | 30.2b | (*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
| ✓ | 31.6b | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| ✓ | 29.8b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| ✓ | 60.2b | (-.f64 (+.f64 x 1) 1) |
| 47.5b | -1 | |
| 28.8b | x |
Compiled 184 to 146 computations (20.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (/.f64 1 (+.f64 x 2)) | |
| ✓ | 0.1b | (*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
Compiled 25 to 19 computations (24% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
| 1.0ms | x | @ | inf | (*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
| 1× | batch-egg-rewrite |
| 854× | pow1_binary64 |
| 798× | add-log-exp_binary64 |
| 797× | log1p-expm1-u_binary64 |
| 797× | expm1-log1p-u_binary64 |
| 784× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 10 |
| 1 | 174 | 10 |
| 2 | 2218 | 10 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (/.f64 2 (+.f64 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 (+.f64 x 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2 (/.f64 (+.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x 2) (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 2) (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 2) (/.f64 (+.f64 x 2) (cbrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 x 2)) (/.f64 (+.f64 x 2) (sqrt.f64 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x 2)) (+.f64 -2 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x 2) (sqrt.f64 (+.f64 x 2))) (sqrt.f64 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x 2) 1) (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x 2) (pow.f64 (cbrt.f64 (+.f64 x 2)) 2)) (cbrt.f64 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (*.f64 x 2)) (+.f64 -2 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x 2) -1) (+.f64 -2 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (/.f64 2 (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (/.f64 2 (+.f64 x 2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (/.f64 2 (+.f64 x 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (/.f64 2 (+.f64 x 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (/.f64 2 (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (/.f64 2 (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (/.f64 2 (+.f64 x 2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x 2) 3) (pow.f64 (+.f64 x 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x 2) 3) (pow.f64 (/.f64 1 (+.f64 x 2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 x 2)) 3) (pow.f64 (*.f64 x 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (/.f64 2 (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (/.f64 2 (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (/.f64 2 (+.f64 x 2))))))))) |
| 1× | egg-herbie |
| 805× | unswap-sqr_binary64 |
| 798× | distribute-neg-frac_binary64 |
| 531× | associate-/r*_binary64 |
| 368× | fma-def_binary64 |
| 334× | times-frac_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 144 |
| 1 | 95 | 144 |
| 2 | 236 | 144 |
| 3 | 662 | 138 |
| 4 | 2155 | 138 |
| 5 | 6078 | 138 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/4 (pow.f64 x 3)) x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) (+.f64 (*.f64 1/4 (pow.f64 x 3)) x))) |
2 |
(-.f64 2 (*.f64 4 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (*.f64 4 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (+.f64 (*.f64 16 (/.f64 1 (pow.f64 x 3))) (*.f64 4 (/.f64 1 x)))) |
2 |
(-.f64 2 (*.f64 4 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (*.f64 4 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (+.f64 (*.f64 16 (/.f64 1 (pow.f64 x 3))) (*.f64 4 (/.f64 1 x)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x) |
(fma.f64 -1/2 (*.f64 x x) x) |
(fma.f64 x (*.f64 x -1/2) x) |
(*.f64 x (fma.f64 x -1/2 1)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/4 (pow.f64 x 3)) x)) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 3) x)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 1/4 (pow.f64 x 3) x)) |
(fma.f64 x (*.f64 x (fma.f64 x 1/4 -1/2)) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) (+.f64 (*.f64 1/4 (pow.f64 x 3)) x))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) (fma.f64 1/4 (pow.f64 x 3) x))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 1/4 (pow.f64 x 3) (fma.f64 -1/8 (pow.f64 x 4) x))) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/4 -1/2) (fma.f64 -1/8 (pow.f64 x 4) x)) |
(fma.f64 x (*.f64 x (fma.f64 x 1/4 -1/2)) (fma.f64 -1/8 (pow.f64 x 4) x)) |
2 |
(-.f64 2 (*.f64 4 (/.f64 1 x))) |
(-.f64 2 (/.f64 4 x)) |
(+.f64 2 (/.f64 -4 x)) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (*.f64 4 (/.f64 1 x))) |
(+.f64 (/.f64 8 (*.f64 x x)) (-.f64 2 (/.f64 4 x))) |
(+.f64 (-.f64 2 (/.f64 4 x)) (/.f64 8 (*.f64 x x))) |
(+.f64 2 (+.f64 (/.f64 8 (*.f64 x x)) (/.f64 -4 x))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (+.f64 (*.f64 16 (/.f64 1 (pow.f64 x 3))) (*.f64 4 (/.f64 1 x)))) |
(+.f64 (/.f64 8 (*.f64 x x)) (-.f64 2 (+.f64 (/.f64 4 x) (/.f64 16 (pow.f64 x 3))))) |
(+.f64 2 (-.f64 (/.f64 8 (*.f64 x x)) (+.f64 (/.f64 4 x) (/.f64 16 (pow.f64 x 3))))) |
(+.f64 2 (+.f64 (/.f64 8 (*.f64 x x)) (+.f64 (/.f64 -4 x) (/.f64 -16 (pow.f64 x 3))))) |
(+.f64 (/.f64 8 (*.f64 x x)) (-.f64 (/.f64 -16 (pow.f64 x 3)) (+.f64 (/.f64 4 x) -2))) |
(+.f64 (-.f64 2 (/.f64 4 x)) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 8 (/.f64 16 x)))) |
(+.f64 (+.f64 2 (/.f64 -4 x)) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 8 (/.f64 -16 x)))) |
2 |
(-.f64 2 (*.f64 4 (/.f64 1 x))) |
(-.f64 2 (/.f64 4 x)) |
(+.f64 2 (/.f64 -4 x)) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (*.f64 4 (/.f64 1 x))) |
(+.f64 (/.f64 8 (*.f64 x x)) (-.f64 2 (/.f64 4 x))) |
(+.f64 (-.f64 2 (/.f64 4 x)) (/.f64 8 (*.f64 x x))) |
(+.f64 2 (+.f64 (/.f64 8 (*.f64 x x)) (/.f64 -4 x))) |
(-.f64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) 2) (+.f64 (*.f64 16 (/.f64 1 (pow.f64 x 3))) (*.f64 4 (/.f64 1 x)))) |
(+.f64 (/.f64 8 (*.f64 x x)) (-.f64 2 (+.f64 (/.f64 4 x) (/.f64 16 (pow.f64 x 3))))) |
(+.f64 2 (-.f64 (/.f64 8 (*.f64 x x)) (+.f64 (/.f64 4 x) (/.f64 16 (pow.f64 x 3))))) |
(+.f64 2 (+.f64 (/.f64 8 (*.f64 x x)) (+.f64 (/.f64 -4 x) (/.f64 -16 (pow.f64 x 3))))) |
(+.f64 (/.f64 8 (*.f64 x x)) (-.f64 (/.f64 -16 (pow.f64 x 3)) (+.f64 (/.f64 4 x) -2))) |
(+.f64 (-.f64 2 (/.f64 4 x)) (*.f64 (/.f64 (/.f64 1 x) x) (-.f64 8 (/.f64 16 x)))) |
(+.f64 (+.f64 2 (/.f64 -4 x)) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 8 (/.f64 -16 x)))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 31.6b | (/.f64 (*.f64 x x) (neg.f64 x)) |
Compiled 21 to 6 computations (71.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (*.f64 x x) (neg.f64 x)) |
| 0.0ms | x | @ | inf | (/.f64 (*.f64 x x) (neg.f64 x)) |
| 0.0ms | x | @ | -inf | (/.f64 (*.f64 x x) (neg.f64 x)) |
| 1× | batch-egg-rewrite |
| 359× | pow1_binary64 |
| 344× | add-sqr-sqrt_binary64 |
| 337× | *-un-lft-identity_binary64 |
| 337× | add-log-exp_binary64 |
| 336× | log1p-expm1-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 9 |
| 1 | 110 | 1 |
| 2 | 1735 | 1 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (*.f64 x x) (neg.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 x))) (log.f64 (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (log.f64 (cbrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 1 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (pow.f64 (*.f64 (/.f64 1 x) x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (pow.f64 (pow.f64 (/.f64 1 x) 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (neg.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (pow.f64 (/.f64 1 (*.f64 x x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 -1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 x)) (pow.f64 (*.f64 (sqrt.f64 x) x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (sqrt.f64 (cbrt.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (neg.f64 (pow.f64 (cbrt.f64 x) 2)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 x 3)) (sqrt.f64 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (pow.f64 (cbrt.f64 x) 2)) (/.f64 x (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x 4)) 1) (/.f64 (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (*.f64 x x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (*.f64 x x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x 4)) (sqrt.f64 x)) (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x -1) (/.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 x 4)) -1) (/.f64 (pow.f64 (cbrt.f64 x) 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (neg.f64 (cbrt.f64 (pow.f64 x 4))) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (pow.f64 (cbrt.f64 x) 2)) 1/2) (sqrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 x 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 x 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 x x) -1) 1/3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 x x) (pow.f64 (cbrt.f64 x) 2)) 1/3) (cbrt.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) 1/3) (cbrt.f64 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2) 3) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 x)) 3) (pow.f64 (sqrt.f64 (cbrt.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 -1) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 1 x)) 2) -1) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (sqrt.f64 x) x) -1) (pow.f64 (/.f64 (sqrt.f64 x) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) -1) (pow.f64 (/.f64 (cbrt.f64 x) (*.f64 x x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (sqrt.f64 x) 1) -1) (pow.f64 (/.f64 (sqrt.f64 x) (*.f64 x x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1 (cbrt.f64 (pow.f64 x 4))) -1) (pow.f64 (/.f64 x (pow.f64 (cbrt.f64 x) 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4))) -1) (pow.f64 (/.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (pow.f64 x 4))) -1) (pow.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 x) 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 -1 (cbrt.f64 (pow.f64 x 4))) -1) (pow.f64 (/.f64 x (pow.f64 (cbrt.f64 x) 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) x) -1) (pow.f64 (/.f64 (cbrt.f64 x) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x . x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 x)))))) |
| 1× | egg-herbie |
| 3× | sub-neg_binary64 |
| 2× | +-commutative_binary64 |
| 2× | fma-def_binary64 |
| 1× | *-commutative_binary64 |
| 1× | associate-+l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 36 |
| 1 | 6 | 36 |
| 2 | 8 | 36 |
| 3 | 9 | 36 |
| 4 | 11 | 36 |
| 5 | 15 | 36 |
| 6 | 19 | 36 |
| 7 | 24 | 36 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
(*.f64 -1 x) |
| Outputs |
|---|
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
(*.f64 -1 x) |
(neg.f64 x) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 x (/.f64 1 x)) |
Compiled 19 to 12 computations (36.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (/.f64 1 x)) |
| 0.0ms | x | @ | -inf | (*.f64 x (/.f64 1 x)) |
| 0.0ms | x | @ | inf | (*.f64 x (/.f64 1 x)) |
| 1× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 328× | pow1_binary64 |
| 318× | add-sqr-sqrt_binary64 |
| 310× | *-un-lft-identity_binary64 |
| 304× | add-log-exp_binary64 |
| 304× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 1 |
| 1 | 103 | 1 |
| 2 | 915 | 1 |
| 0 | 5 | 1 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (/.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x . 1))))) |
| 1× | egg-herbie |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 12 |
| 1 | 4 | 12 |
| 1× | saturated |
| Inputs |
|---|
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
| Outputs |
|---|
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 (+.f64 x 2) x) | |
| ✓ | 0.0b | (*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
Compiled 33 to 24 computations (27.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | x | @ | inf | (*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
| 1× | batch-egg-rewrite |
| 541× | log-prod_binary64 |
| 493× | prod-diff_binary64 |
| 382× | pow-prod-down_binary64 |
| 293× | pow2_binary64 |
| 275× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 16 |
| 1 | 231 | 14 |
| 2 | 3094 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) 1) (*.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) 3) (pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))) 3)) (+.f64 (pow.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) 2) (-.f64 (pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))) 2) (*.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) 2) (pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))) 2)) (-.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) (*.f64 x (fma.f64 x -1/4 1/2))) (-.f64 (fma.f64 x x 4) (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4) (*.f64 x (fma.f64 x -1/4 1/2))) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 -1/64 (pow.f64 x 3) 1/8) (*.f64 x (+.f64 x 2))) (fma.f64 (*.f64 x -1/4) (fma.f64 x -1/4 -1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1/4 (*.f64 (*.f64 x x) 1/16)) (*.f64 x (+.f64 x 2))) (+.f64 1/2 (*.f64 1/4 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x (+.f64 x 2)) (fma.f64 -1/64 (pow.f64 x 3) 1/8)) (fma.f64 (*.f64 x -1/4) (fma.f64 x -1/4 -1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x (+.f64 x 2)) (-.f64 1/4 (*.f64 (*.f64 x x) 1/16))) (+.f64 1/2 (*.f64 1/4 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)))) (exp.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 (+.f64 x 2) (fma.f64 x -1/4 1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (+.f64 x 2) 1/2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/4 (*.f64 x (+.f64 x 2))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 2) (*.f64 x 1/2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 2) (*.f64 x (*.f64 x -1/4)) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (+.f64 x 2)) 1/2 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (+.f64 x 2)) (*.f64 x -1/4) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 x (+.f64 x 2)) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/4 (*.f64 x (*.f64 x (+.f64 x 2))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x -1/4) (*.f64 x (+.f64 x 2)) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 x x) 1/16)) (*.f64 (cbrt.f64 (*.f64 x -1/4)) (*.f64 x (+.f64 x 2))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (*.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 1/2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2)) (*.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 x -1/4)) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x -1/4)) (*.f64 (sqrt.f64 (*.f64 x -1/4)) (*.f64 x (+.f64 x 2))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 1/2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 x -1/4)) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2)) 1 (*.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2))) 2) (cbrt.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2))) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)))) 2) (cbrt.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2))) (sqrt.f64 (*.f64 (*.f64 1/2 x) (+.f64 x 2))) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)))) (sqrt.f64 (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4)))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 x) (+.f64 x 2) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/4) x) (+.f64 x 2) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x (+.f64 x 2)) x) -1/4 (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (+.f64 x 2)) x (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))) (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (sqrt.f64 (*.f64 x (+.f64 x 2)))) (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 x (*.f64 (+.f64 x 2) (*.f64 x -1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x (+.f64 x 2)) -1/4) x (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x (+.f64 x 2)) (cbrt.f64 (*.f64 (*.f64 x x) 1/16))) (cbrt.f64 (*.f64 x -1/4)) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x (+.f64 x 2)) (sqrt.f64 (*.f64 x -1/4))) (sqrt.f64 (*.f64 x -1/4)) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/4) (+.f64 x 2)) x (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/4) (cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))) (cbrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 (*.f64 1/2 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x -1/4) (sqrt.f64 (*.f64 x (+.f64 x 2)))) (sqrt.f64 (*.f64 x (+.f64 x 2))) (*.f64 (*.f64 1/2 x) (+.f64 x 2))))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 531× | cube-prod_binary64 |
| 473× | fabs-mul_binary64 |
| 444× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 87 |
| 1 | 18 | 87 |
| 2 | 36 | 87 |
| 3 | 74 | 87 |
| 4 | 142 | 87 |
| 5 | 373 | 87 |
| 6 | 1282 | 87 |
| 7 | 1990 | 87 |
| 8 | 2077 | 87 |
| 9 | 2210 | 87 |
| 10 | 2368 | 87 |
| 11 | 2609 | 87 |
| 12 | 2931 | 87 |
| 13 | 3354 | 87 |
| 14 | 3857 | 87 |
| 15 | 4459 | 87 |
| 16 | 5179 | 87 |
| 17 | 5502 | 87 |
| 18 | 5786 | 87 |
| 19 | 6008 | 87 |
| 20 | 6190 | 87 |
| 21 | 6272 | 87 |
| 22 | 7212 | 87 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(*.f64 -1/4 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(*.f64 -1/4 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(*.f64 -1/4 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(*.f64 -1/4 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/4 (pow.f64 x 3)) x) |
(fma.f64 -1/4 (pow.f64 x 3) x) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 2/15 (pow.f64 x 5)) | |
| 0.1b | (*.f64 -1/3 (pow.f64 x 3)) | |
| ✓ | 19.6b | (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) |
Compiled 49 to 39 computations (20.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) |
| 1× | batch-egg-rewrite |
| 476× | log-prod_binary64 |
| 363× | exp-prod_binary64 |
| 316× | prod-exp_binary64 |
| 299× | fma-def_binary64 |
| 283× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 14 |
| 1 | 247 | 14 |
| 2 | 2871 | 14 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 10) 4/225) (fma.f64 2/15 (pow.f64 x 5) (*.f64 1/3 (pow.f64 x 3)))) (/.f64 (*.f64 (pow.f64 x 6) 1/9) (fma.f64 2/15 (pow.f64 x 5) (*.f64 1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) 2) (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 15) 8/3375 (*.f64 (pow.f64 x 9) -1/27)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 10) 4/225 (*.f64 (pow.f64 x 6) 1/9)) (*.f64 2/15 (*.f64 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 10) 4/225) (*.f64 (pow.f64 x 6) 1/9)) (/.f64 1 (fma.f64 2/15 (pow.f64 x 5) (*.f64 1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 10) 4/225 (*.f64 (pow.f64 x 6) 1/9)) (*.f64 2/15 (*.f64 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))) (fma.f64 (pow.f64 x 15) 8/3375 (*.f64 (pow.f64 x 9) -1/27))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 1/3 (pow.f64 x 3))) (-.f64 (*.f64 (pow.f64 x 10) 4/225) (*.f64 (pow.f64 x 6) 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 8/3375 (*.f64 (pow.f64 x 9) -1/27)) (-.f64 (fma.f64 (pow.f64 x 10) 4/225 (*.f64 (pow.f64 x 6) 1/9)) (*.f64 2/15 (*.f64 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 8/3375 (*.f64 (pow.f64 x 9) -1/27)) (fma.f64 (pow.f64 x 6) 1/9 (-.f64 (*.f64 (pow.f64 x 10) 4/225) (*.f64 2/15 (*.f64 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 10) 4/225) (*.f64 (pow.f64 x 6) 1/9)) (fma.f64 2/15 (pow.f64 x 5) (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 15) 8/3375 (*.f64 (pow.f64 x 9) -1/27))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 10) 4/225 (*.f64 (pow.f64 x 6) 1/9)) (*.f64 2/15 (*.f64 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 10) 4/225) (*.f64 (pow.f64 x 6) 1/9))) (neg.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/9) (*.f64 (pow.f64 x 10) 4/225)) (-.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 10) 4/225 (*.f64 (pow.f64 x 6) 1/9)) (*.f64 2/15 (*.f64 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))) (fma.f64 (pow.f64 x 15) 8/3375 (*.f64 (pow.f64 x 9) -1/27))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 1/3 (pow.f64 x 3))) (-.f64 (*.f64 (pow.f64 x 10) 4/225) (*.f64 (pow.f64 x 6) 1/9))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))) 2)) (cbrt.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))) (sqrt.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/15 (pow.f64 x 5)))) (pow.f64 (exp.f64 -1/3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 2/15) (pow.f64 x 5)) (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/15 (pow.f64 x 5)))) (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3)))) (pow.f64 (exp.f64 2/15) (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -1/3) (pow.f64 x 3)) (+.f64 1 (expm1.f64 (*.f64 2/15 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/3 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (*.f64 2/15 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2/15 (pow.f64 x 5) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) -1/3) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 2/15 (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/15 (pow.f64 x 5)) 1 (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/3 (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 (pow.f64 x 3)) 1 (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x -1/3) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 2/15) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 2/15 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 4/225)) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 4/225)) (cbrt.f64 (*.f64 2/15 (pow.f64 x 5))) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 -1/3)) (pow.f64 (*.f64 x (cbrt.f64 -1/3)) 2) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 -1/3)) 2) (*.f64 x (cbrt.f64 -1/3)) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 2/15) (pow.f64 x 5/2)) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 -1/3)) 3/2) (pow.f64 (*.f64 x (cbrt.f64 -1/3)) 3/2) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 2/15) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) -1/3) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/15 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/15 (pow.f64 x 5/2)) (pow.f64 x 5/2) (*.f64 -1/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 x) (*.f64 x x) (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 (*.f64 x x)) x (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/3 (pow.f64 x 3/2)) (pow.f64 x 3/2) (*.f64 2/15 (pow.f64 x 5))))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 708× | cube-prod_binary64 |
| 681× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 147 |
| 1 | 27 | 147 |
| 2 | 56 | 147 |
| 3 | 111 | 147 |
| 4 | 229 | 147 |
| 5 | 671 | 147 |
| 6 | 981 | 147 |
| 7 | 1617 | 147 |
| 8 | 1725 | 147 |
| 9 | 1887 | 147 |
| 10 | 2100 | 147 |
| 11 | 2430 | 147 |
| 12 | 2886 | 147 |
| 13 | 3484 | 147 |
| 14 | 4237 | 147 |
| 15 | 5173 | 147 |
| 16 | 5683 | 147 |
| 17 | 6171 | 147 |
| 18 | 6569 | 147 |
| 19 | 6889 | 147 |
| 20 | 7051 | 147 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/3 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
| Outputs |
|---|
(*.f64 -1/3 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 2/15 (pow.f64 x 5))) |
(fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) |
Compiled 5380 to 4055 computations (24.6% saved)
16 alts after pruning (8 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 351 | 6 | 357 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 3 | 7 | 10 |
| Total | 354 | 16 | 370 |
| Status | Error | Program |
|---|---|---|
| 29.5b | (*.f64 (*.f64 x 2) (-.f64 (+.f64 1 (/.f64 1 (+.f64 x 2))) 1)) | |
| ✓ | 31.6b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| ✓ | 29.8b | (fma.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) 1 x) |
| 60.4b | (+.f64 2 (/.f64 -4 x)) | |
| ✓ | 30.0b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| 30.2b | (*.f64 (+.f64 (*.f64 x x) (*.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) | |
| 59.7b | (*.f64 (*.f64 x 2) (/.f64 1 x)) | |
| ✓ | 60.2b | (+.f64 1 (+.f64 x -1)) |
| 28.8b | x | |
| 61.6b | (*.f64 (-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1) (+.f64 1/2 (*.f64 -1/4 x))) | |
| ✓ | 30.2b | (*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
| ✓ | 31.6b | (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| 59.7b | 2 | |
| ✓ | 29.8b | (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| ✓ | 60.2b | (-.f64 (+.f64 x 1) 1) |
| 47.5b | -1 |
Compiled 163 to 135 computations (17.2% saved)
| Inputs |
|---|
2 |
-1 |
x |
x |
(+.f64 2 (/.f64 -4 x)) |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 x 1) 1) |
(*.f64 (*.f64 x 2) (/.f64 1 x)) |
(*.f64 x (*.f64 x (/.f64 1 x))) |
(neg.f64 (/.f64 (*.f64 x x) (neg.f64 x))) |
(*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
(/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
(-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
(*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(*.f64 (*.f64 x 2) (-.f64 (+.f64 1 (/.f64 1 (+.f64 x 2))) 1)) |
(*.f64 (+.f64 (*.f64 x x) (*.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1) (+.f64 1/2 (*.f64 -1/4 x))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
(fma.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) 1 x) |
(fma.f64 (fma.f64 -1/3 (pow.f64 x 3) (*.f64 2/15 (pow.f64 x 5))) 1 x) |
| Outputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(fma.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) 1 x) |
-1 |
12 calls:
| 162.0ms | y |
| 66.0ms | x |
| 34.0ms | (*.f64 -2 x) |
| 33.0ms | (*.f64 -2 x) |
| 8.0ms | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 3 | x |
| 21.3b | 9 | y |
| 0b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0b | 3 | (*.f64 -2 x) |
| 0b | 3 | (*.f64 -2 x) |
Compiled 287 to 226 computations (21.3% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0014644948797310365 | 445.9005851911077 |
| 0.0ms | -132686152989.63487 | -0.004773542804350264 |
Compiled 17 to 15 computations (11.8% saved)
| Inputs |
|---|
2 |
-1 |
x |
x |
(+.f64 2 (/.f64 -4 x)) |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 x 1) 1) |
(*.f64 (*.f64 x 2) (/.f64 1 x)) |
(*.f64 x (*.f64 x (/.f64 1 x))) |
(neg.f64 (/.f64 (*.f64 x x) (neg.f64 x))) |
(*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
(/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
(-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
(*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(*.f64 (*.f64 x 2) (-.f64 (+.f64 1 (/.f64 1 (+.f64 x 2))) 1)) |
(*.f64 (+.f64 (*.f64 x x) (*.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1) (+.f64 1/2 (*.f64 -1/4 x))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
| Outputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) |
-1 |
12 calls:
| 175.0ms | y |
| 63.0ms | (*.f64 -2 x) |
| 62.0ms | (*.f64 -2 x) |
| 60.0ms | x |
| 14.0ms | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 3 | x |
| 21.3b | 9 | y |
| 0.0b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0.0b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0.0b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0.0b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0.0b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0.0b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0.0b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0.0b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0.0b | 3 | (*.f64 -2 x) |
| 0.0b | 3 | (*.f64 -2 x) |
Compiled 260 to 205 computations (21.2% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0014644948797310365 | 445.9005851911077 |
| 0.0ms | -132686152989.63487 | -0.004773542804350264 |
Compiled 17 to 15 computations (11.8% saved)
| Inputs |
|---|
2 |
-1 |
x |
x |
(+.f64 2 (/.f64 -4 x)) |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 x 1) 1) |
(*.f64 (*.f64 x 2) (/.f64 1 x)) |
(*.f64 x (*.f64 x (/.f64 1 x))) |
(neg.f64 (/.f64 (*.f64 x x) (neg.f64 x))) |
(*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
(/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
(-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
(*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(*.f64 (*.f64 x 2) (-.f64 (+.f64 1 (/.f64 1 (+.f64 x 2))) 1)) |
(*.f64 (+.f64 (*.f64 x x) (*.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1) (+.f64 1/2 (*.f64 -1/4 x))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
| Outputs |
|---|
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
-1 |
12 calls:
| 62.0ms | y |
| 37.0ms | (*.f64 -2 x) |
| 29.0ms | (*.f64 -2 x) |
| 29.0ms | x |
| 7.0ms | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 3 | x |
| 22.3b | 7 | y |
| 0.1b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0.1b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0.1b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0.1b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0.1b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0.1b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0.1b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0.1b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0.1b | 3 | (*.f64 -2 x) |
| 0.1b | 3 | (*.f64 -2 x) |
Compiled 247 to 195 computations (21.1% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0014644948797310365 | 445.9005851911077 |
| 0.0ms | -0.004773542804350264 | -1.0335507862942339e-5 |
Compiled 17 to 15 computations (11.8% saved)
| Inputs |
|---|
2 |
-1 |
x |
x |
(+.f64 2 (/.f64 -4 x)) |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 x 1) 1) |
(*.f64 (*.f64 x 2) (/.f64 1 x)) |
(*.f64 x (*.f64 x (/.f64 1 x))) |
(neg.f64 (/.f64 (*.f64 x x) (neg.f64 x))) |
(*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
(/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
(-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
(*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(*.f64 (*.f64 x 2) (-.f64 (+.f64 1 (/.f64 1 (+.f64 x 2))) 1)) |
(*.f64 (+.f64 (*.f64 x x) (*.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1) (+.f64 1/2 (*.f64 -1/4 x))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| Outputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
-1 |
12 calls:
| 60.0ms | y |
| 29.0ms | (*.f64 -2 x) |
| 28.0ms | (*.f64 -2 x) |
| 27.0ms | x |
| 8.0ms | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 3 | x |
| 22.3b | 7 | y |
| 0.1b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0.1b | 3 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 0.1b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0.1b | 3 | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 0.1b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0.1b | 3 | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| 0.1b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0.1b | 3 | (exp.f64 (*.f64 -2 x)) |
| 0.1b | 3 | (*.f64 -2 x) |
| 0.1b | 3 | (*.f64 -2 x) |
Compiled 237 to 186 computations (21.5% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0014644948797310365 | 445.9005851911077 |
| 0.0ms | -0.004773542804350264 | -1.0335507862942339e-5 |
Compiled 17 to 15 computations (11.8% saved)
| Inputs |
|---|
2 |
-1 |
x |
x |
(+.f64 2 (/.f64 -4 x)) |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 x 1) 1) |
(*.f64 (*.f64 x 2) (/.f64 1 x)) |
(*.f64 x (*.f64 x (/.f64 1 x))) |
(neg.f64 (/.f64 (*.f64 x x) (neg.f64 x))) |
(*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
(/.f64 (-.f64 (*.f64 x x) 0) (-.f64 x 0)) |
(-.f64 (/.f64 2 (+.f64 2 (*.f64 -2 x))) 1) |
(*.f64 (*.f64 (+.f64 x 2) x) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(*.f64 (*.f64 x 2) (-.f64 (+.f64 1 (/.f64 1 (+.f64 x 2))) 1)) |
(*.f64 (+.f64 (*.f64 x x) (*.f64 x 2)) (+.f64 1/2 (*.f64 -1/4 x))) |
(*.f64 (-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1) (+.f64 1/2 (*.f64 -1/4 x))) |
(+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) |
| Outputs |
|---|
(*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) |
-1 |
4 calls:
| 21.0ms | x |
| 21.0ms | (*.f64 -2 x) |
| 20.0ms | (*.f64 -2 x) |
| 9.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 12.7b | 2 | x |
| 27.5b | 1 | y |
| 12.7b | 2 | (*.f64 -2 x) |
| 12.7b | 2 | (*.f64 -2 x) |
Compiled 155 to 113 computations (27.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0014644948797310365 | 445.9005851911077 |
Compiled 17 to 15 computations (11.8% saved)
| Inputs |
|---|
2 |
-1 |
x |
x |
(+.f64 2 (/.f64 -4 x)) |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 x 1) 1) |
(*.f64 (*.f64 x 2) (/.f64 1 x)) |
(*.f64 x (*.f64 x (/.f64 1 x))) |
(neg.f64 (/.f64 (*.f64 x x) (neg.f64 x))) |
| Outputs |
|---|
-1 |
x |
(+.f64 2 (/.f64 -4 x)) |
2 calls:
| 18.0ms | x |
| 6.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 12.5b | 3 | x |
| 28.8b | 1 | y |
Compiled 48 to 33 computations (31.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 22.0ms | 0.002386771402175132 | 66343076494.81744 |
| 22.0ms | -222.95029259555386 | -0.0007322474398655182 |
Compiled 17 to 15 computations (11.8% saved)
| Inputs |
|---|
2 |
-1 |
x |
x |
| Outputs |
|---|
-1 |
x |
2 |
2 calls:
| 11.0ms | x |
| 4.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 12.5b | 3 | x |
| 28.8b | 1 | y |
Compiled 12 to 8 computations (33.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 21.0ms | 0.002386771402175132 | 66343076494.81744 |
| 21.0ms | -222.95029259555386 | -0.0007322474398655182 |
Compiled 17 to 15 computations (11.8% saved)
Total -18.4b remaining (-41.4%)
Threshold costs -18.4b (-41.4%)
| Inputs |
|---|
2 |
-1 |
| Outputs |
|---|
-1 |
2 |
2 calls:
| 6.0ms | x |
| 3.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 44.4b | 2 | x |
| 47.5b | 1 | y |
Compiled 10 to 8 computations (20% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 99.0ms | -1.061618767373404e-305 | 2.2533652735298027e-302 |
Compiled 17 to 15 computations (11.8% saved)
| 1× | egg-herbie |
| 10× | +-commutative_binary64 |
| 5× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 62 | 263 |
| 1 | 80 | 263 |
| 2 | 81 | 263 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 (*.f64 -2 x) -100000000000) (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (fma.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) 1 x) -1)) |
(if (<=.f64 (*.f64 -2 x) -100000000000) (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) -1)) |
(if (<=.f64 (*.f64 -2 x) -1152921504606847/288230376151711744) (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) -1)) |
(if (<=.f64 (*.f64 -2 x) -1152921504606847/288230376151711744) (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) -1)) |
(if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) -1) |
(if (<=.f64 x -7844366051995933/35184372088832) -1 (if (<=.f64 x 2751760076148347/1152921504606846976) x (+.f64 2 (/.f64 -4 x)))) |
(if (<=.f64 x -7844366051995933/35184372088832) -1 (if (<=.f64 x 2751760076148347/1152921504606846976) x 2)) |
(if (<=.f64 x -8393516823035413/790633801981682102939434948120770730662330663141180149831645929794649763937481823796720248833738767559324522907487546528866440380413255769011771093518509804380927438580337349079948858367551626332967842494034160424070341732127705853976966233004529516956289283251401443563802400840744150516352841830648461966045733363646464) -1 2) |
2 |
| Outputs |
|---|
(if (<=.f64 (*.f64 -2 x) -100000000000) (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (fma.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) 1 x) -1)) |
(if (<=.f64 (*.f64 -2 x) -100000000000) (+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) -1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (fma.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) 1 x) -1)) |
(if (<=.f64 (*.f64 -2 x) -100000000000) (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 2/15 (pow.f64 x 5)) x)) -1)) |
(if (<=.f64 (*.f64 -2 x) -100000000000) (+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) -1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 x (*.f64 2/15 (pow.f64 x 5)))) -1)) |
(if (<=.f64 (*.f64 -2 x) -1152921504606847/288230376151711744) (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) -1)) |
(if (<=.f64 (*.f64 -2 x) -1152921504606847/288230376151711744) (+.f64 -1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))) -1)) |
(if (<=.f64 (*.f64 -2 x) -1152921504606847/288230376151711744) (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) x) -1)) |
(if (<=.f64 (*.f64 -2 x) -1152921504606847/288230376151711744) (+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) -1) (if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (+.f64 x (*.f64 -1/3 (pow.f64 x 3))) -1)) |
(if (<=.f64 (*.f64 -2 x) 1152921504606847/576460752303423488) (*.f64 (*.f64 x 2) (/.f64 1 (+.f64 x 2))) -1) |
(if (<=.f64 x -7844366051995933/35184372088832) -1 (if (<=.f64 x 2751760076148347/1152921504606846976) x (+.f64 2 (/.f64 -4 x)))) |
(if (<=.f64 x -7844366051995933/35184372088832) -1 (if (<=.f64 x 2751760076148347/1152921504606846976) x 2)) |
(if (<=.f64 x -8393516823035413/790633801981682102939434948120770730662330663141180149831645929794649763937481823796720248833738767559324522907487546528866440380413255769011771093518509804380927438580337349079948858367551626332967842494034160424070341732127705853976966233004529516956289283251401443563802400840744150516352841830648461966045733363646464) -1 2) |
2 |
Compiled 200 to 167 computations (16.5% saved)
Compiled 184 to 151 computations (17.9% saved)
Loading profile data...