Time bar (total: 1.6s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 50% | 25% | 25% | 4 |
| 50% | 12.5% | 37.5% | 5 |
| 50% | 6.2% | 43.8% | 6 |
| 50% | 3.1% | 46.9% | 7 |
| 50% | 1.6% | 48.5% | 8 |
| 50% | 0.8% | 49.2% | 9 |
| 50% | 0.4% | 49.6% | 10 |
| 50.2% | 0.2% | 49.6% | 11 |
| 50.2% | 0.1% | 49.7% | 12 |
| 50.2% | 0% | 49.8% | 13 |
| 50.2% | 0% | 49.8% | 14 |
Compiled 9 to 7 computations (22.2% saved)
| 874.0ms | 8256× | body | 128 | valid |
Compiled 18 to 14 computations (22.2% saved)
| 2× | egg-herbie |
| 417× | times-frac_binary64 |
| 412× | associate-/l*_binary64 |
| 360× | associate-/r*_binary64 |
| 350× | associate-*l*_binary64 |
| 200× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 50 | 9 |
| 3 | 111 | 7 |
| 4 | 236 | 7 |
| 5 | 531 | 7 |
| 6 | 1613 | 7 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 417× | times-frac_binary64 |
| 412× | associate-/l*_binary64 |
| 360× | associate-/r*_binary64 |
| 350× | associate-*l*_binary64 |
| 200× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 50 | 9 |
| 3 | 111 | 7 |
| 4 | 236 | 7 |
| 5 | 531 | 7 |
| 6 | 1613 | 7 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
Compiled 25 to 17 computations (32% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (exp.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | inf | (exp.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | -inf | (exp.f64 (fma.f64 x x -1)) |
| 1× | batch-egg-rewrite |
| 394× | pow1_binary64 |
| 361× | add-log-exp_binary64 |
| 361× | log1p-expm1-u_binary64 |
| 361× | expm1-log1p-u_binary64 |
| 353× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 90 | 7 |
| 2 | 971 | 7 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (fma.f64 x x -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 724× | distribute-lft-out_binary64 |
| 385× | *-commutative_binary64 |
| 380× | fma-def_binary64 |
| 341× | distribute-rgt-out_binary64 |
| 340× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 81 |
| 1 | 55 | 79 |
| 2 | 136 | 63 |
| 3 | 448 | 56 |
| 4 | 1828 | 56 |
| 5 | 3578 | 56 |
| 6 | 4583 | 56 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) |
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 1/2 (pow.f64 x 4))))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 2 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 26 | 2 | 28 |
| Status | Error | Program |
|---|---|---|
| 1.0b | (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) | |
| ▶ | 0.0b | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
Compiled 312 to 239 computations (23.4% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| ✓ | 0.0b | (expm1.f64 (fma.f64 x x -1)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (expm1.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | 0 | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| 0.0ms | x | @ | inf | (expm1.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | -inf | (expm1.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | -inf | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| 1× | batch-egg-rewrite |
| 621× | pow1_binary64 |
| 575× | add-log-exp_binary64 |
| 575× | log1p-expm1-u_binary64 |
| 575× | expm1-log1p-u_binary64 |
| 65× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 135 | 14 |
| 2 | 1576 | 14 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (fma.f64 x x -1)) |
(+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 1 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))) (/.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))) (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1))) (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))) (neg.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) 1) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 1))))) |
| 1× | egg-herbie |
| 671× | fma-def_binary64 |
| 486× | fma-neg_binary64 |
| 341× | associate-*l*_binary64 |
| 288× | distribute-lft-out_binary64 |
| 285× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 283 |
| 1 | 80 | 272 |
| 2 | 191 | 245 |
| 3 | 650 | 229 |
| 4 | 2581 | 227 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 -1) 1) |
(-.f64 (+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) 1) |
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) 1) |
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
| Outputs |
|---|
(-.f64 (exp.f64 -1) 1) |
(expm1.f64 -1) |
(-.f64 (+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) 1) |
(+.f64 (exp.f64 -1) (-.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) 1)) |
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (expm1.f64 -1)) |
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) -1) |
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) -1) |
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) 1) |
(+.f64 (exp.f64 -1) (-.f64 (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))) 1)) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))) (expm1.f64 -1)) |
(+.f64 -1 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))) |
(fma.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)) -1) |
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) 1) |
(+.f64 (exp.f64 -1) (-.f64 (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) 1)) |
(+.f64 (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))) (expm1.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) (fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) -1)) |
(+.f64 -1 (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))) |
(fma.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))) -1) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (fma.f64 x x -1)) 1) |
(expm1.f64 (fma.f64 x x -1)) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) |
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))) (fma.f64 1/6 (pow.f64 x 6) 1))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 72 | 0 | 72 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 72 | 2 | 74 |
| Status | Error | Program |
|---|---|---|
| ▶ | 1.0b | (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
Compiled 969 to 759 computations (21.7% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (exp.f64 (fma.f64 x x -1)) | |
| ✓ | 0.0b | (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
| ✓ | 1.0b | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
| 1.0ms | x | @ | -inf | (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
| 1.0ms | x | @ | 0 | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| 1.0ms | x | @ | inf | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| 1.0ms | x | @ | -inf | (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
| 1× | batch-egg-rewrite |
| 644× | pow1_binary64 |
| 607× | add-log-exp_binary64 |
| 607× | log1p-expm1-u_binary64 |
| 607× | expm1-log1p-u_binary64 |
| 75× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 17 |
| 1 | 188 | 17 |
| 2 | 1712 | 17 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3) (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 590× | distribute-rgt-out_binary64 |
| 332× | *-commutative_binary64 |
| 214× | associate-*l*_binary64 |
| 197× | fma-def_binary64 |
| 194× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 255 |
| 1 | 99 | 249 |
| 2 | 320 | 198 |
| 3 | 1329 | 190 |
| 4 | 2868 | 188 |
| 5 | 3358 | 188 |
| 6 | 4015 | 188 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (exp.f64 -1) 3) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3)) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))) |
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
| Outputs |
|---|
(pow.f64 (exp.f64 -1) 3) |
(exp.f64 -3) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3)) |
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3)) |
(*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3)) |
(*.f64 (exp.f64 -3) (+.f64 1 (*.f64 3 (*.f64 x x)))) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))) |
(+.f64 (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3)) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))) |
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3))) |
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (pow.f64 x 4))))) |
(*.f64 (exp.f64 -3) (+.f64 (+.f64 1 (*.f64 3 (*.f64 x x))) (*.f64 9/2 (pow.f64 x 4)))) |
(*.f64 (exp.f64 -3) (+.f64 1 (+.f64 (*.f64 9/2 (pow.f64 x 4)) (*.f64 3 (*.f64 x x))))) |
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))) |
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (+.f64 (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3)) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))) |
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3)))) |
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3)) (*.f64 (*.f64 (exp.f64 -3) 9/2) (+.f64 (pow.f64 x 4) (pow.f64 x 6)))) |
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)))))) |
(*.f64 (exp.f64 -3) (+.f64 (+.f64 1 (*.f64 3 (*.f64 x x))) (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6))))) |
(*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (+.f64 1 (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)))))) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))) |
(fma.f64 (exp.f64 -1) (*.f64 (pow.f64 x 6) 1/6) (*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (+.f64 (*.f64 (pow.f64 x 6) 1/6) (*.f64 (pow.f64 x 4) 1/2)))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 79 | 1 | 80 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 80 | 2 | 82 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| ▶ | 2.0b | (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3) |
Compiled 1152 to 930 computations (19.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (exp.f64 (fma.f64 x x -1)) | |
| ✓ | 0.0b | (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3) |
| ✓ | 1.0b | (cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
| ✓ | 1.0b | (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) |
| 3.0ms | x | @ | -inf | (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) |
| 2.0ms | x | @ | inf | (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) |
| 1.0ms | x | @ | inf | (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3) |
| 1.0ms | x | @ | -inf | (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3) |
| 1× | batch-egg-rewrite |
| 720× | pow1_binary64 |
| 679× | log1p-expm1-u_binary64 |
| 679× | expm1-log1p-u_binary64 |
| 84× | add-sqr-sqrt_binary64 |
| 82× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 26 |
| 1 | 234 | 26 |
| 2 | 1994 | 26 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (*.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) 9) (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 9))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 9) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 9))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3) (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (fma.f64 x x -1)) 9))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 x x -1) 3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (cbrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1/3) (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1/3) (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/3 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) 3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 3) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))) (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6)) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 609× | distribute-rgt-out_binary64 |
| 426× | distribute-lft-in_binary64 |
| 356× | unswap-sqr_binary64 |
| 317× | associate-*l*_binary64 |
| 311× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 55 | 515 |
| 1 | 154 | 507 |
| 2 | 491 | 444 |
| 3 | 2057 | 429 |
| 4 | 4139 | 429 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (exp.f64 -1) 3) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3)) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))) |
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 -1) 1/3) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3)) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4))) (*.f64 1/162 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 6)))))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
| Outputs |
|---|
(pow.f64 (exp.f64 -1) 3) |
(exp.f64 -3) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3)) |
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3)) |
(*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3)) |
(*.f64 (+.f64 1 (*.f64 3 (*.f64 x x))) (exp.f64 -3)) |
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))) |
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))) |
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3))) |
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (pow.f64 x 4))))) |
(*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (+.f64 1 (*.f64 9/2 (pow.f64 x 4))))) |
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))) |
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))) |
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3)))) |
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3)) (*.f64 (*.f64 (exp.f64 -3) 9/2) (+.f64 (pow.f64 x 4) (pow.f64 x 6)))) |
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)))))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3) |
(pow.f64 (exp.f64 -1) 1/3) |
(cbrt.f64 (exp.f64 -1)) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3)) |
(fma.f64 1/3 (*.f64 (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (cbrt.f64 (exp.f64 -1))) |
(fma.f64 1/3 (*.f64 x (*.f64 x (cbrt.f64 (exp.f64 -1)))) (cbrt.f64 (exp.f64 -1))) |
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/3) 1) (cbrt.f64 (exp.f64 -1))) |
(*.f64 (+.f64 1 (*.f64 x (*.f64 x 1/3))) (cbrt.f64 (exp.f64 -1))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4))))) |
(fma.f64 1/3 (*.f64 (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (+.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1)))))) |
(fma.f64 1/3 (*.f64 x (*.f64 x (cbrt.f64 (exp.f64 -1)))) (fma.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1))) (cbrt.f64 (exp.f64 -1)))) |
(+.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (*.f64 x x) 1/3) (*.f64 (pow.f64 x 4) 1/18)))) |
(*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (+.f64 1 (*.f64 x (*.f64 x 1/3))) (*.f64 (pow.f64 x 4) 1/18))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4))) (*.f64 1/162 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 6)))))) |
(+.f64 (fma.f64 1/3 (*.f64 (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (cbrt.f64 (exp.f64 -1))) (fma.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1))) (*.f64 1/162 (*.f64 (pow.f64 x 6) (cbrt.f64 (exp.f64 -1)))))) |
(+.f64 (fma.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1))) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (pow.f64 x 6) 1/162))) (fma.f64 1/3 (*.f64 x (*.f64 x (cbrt.f64 (exp.f64 -1)))) (cbrt.f64 (exp.f64 -1)))) |
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 x 4) 1/18) 1) (cbrt.f64 (exp.f64 -1))) (*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (pow.f64 x 6) 1/162) (*.f64 (*.f64 x x) 1/3)))) |
(+.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (*.f64 x (*.f64 x 1/3)) (+.f64 (*.f64 (pow.f64 x 6) 1/162) (*.f64 (pow.f64 x 4) 1/18))))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) |
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))) |
(fma.f64 (exp.f64 -1) (*.f64 (pow.f64 x 6) 1/6) (*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2)) (*.f64 (pow.f64 x 6) 1/6))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 123 | 0 | 123 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 123 | 2 | 125 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (fma.f64 x x -1))) |
| ✓ | 2.0b | (pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3) |
Compiled 2032 to 1687 computations (17% saved)
Total -0.0b remaining (-14.7%)
Threshold costs -0.0b (-14.7%)
Compiled 533 to 407 computations (23.6% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 4294967295 |
| 1 | 12 | 4294967295 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1))) |
| Outputs |
|---|
(*.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1))) |
| 1× | done |
Compiled 41 to 33 computations (19.5% saved)
Loading profile data...