Time bar (total: 2.2s)
| 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 |
Compiled 9 to 7 computations (22.2% saved)
| 929.0ms | 8256× | body | 256 | valid |
| 1.0ms | 13× | body | 256 | invalid |
| 2× | egg-herbie |
| 658× | div-sub_binary64 |
| 631× | fma-def_binary64 |
| 417× | times-frac_binary64 |
| 408× | associate-/l*_binary64 |
| 382× | fma-neg_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 | 1618 | 7 |
| 7 | 5638 | 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 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 658× | div-sub_binary64 |
| 631× | fma-def_binary64 |
| 417× | times-frac_binary64 |
| 408× | associate-/l*_binary64 |
| 382× | fma-neg_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 | 1618 | 7 |
| 7 | 5638 | 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)) |
Compiled 13 to 9 computations (30.8% 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 |
|---|---|---|
| ▶ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
Compiled 8 to 6 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
Compiled 24 to 12 computations (50% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.0ms | x | @ | inf | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.0ms | x | @ | -inf | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 1× | batch-egg-rewrite |
| 606× | pow1_binary64 |
| 566× | add-log-exp_binary64 |
| 565× | log1p-expm1-u_binary64 |
| 565× | expm1-log1p-u_binary64 |
| 554× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 145 | 9 |
| 2 | 1848 | 9 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (E.f64) (exp.f64 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2) (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (E.f64) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 -1) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2)) (cbrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))))))) |
| 1× | egg-herbie |
| 723× | distribute-lft-out_binary64 |
| 453× | fma-neg_binary64 |
| 399× | *-commutative_binary64 |
| 370× | distribute-rgt-out_binary64 |
| 341× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 151 |
| 1 | 60 | 131 |
| 2 | 145 | 119 |
| 3 | 462 | 112 |
| 4 | 1945 | 112 |
| 5 | 3890 | 112 |
| 6 | 5584 | 112 |
| 7 | 7510 | 112 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.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 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(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/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1)))) |
(*.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))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 359 to 249 computations (30.6% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 3 | 35 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 32 | 4 | 36 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) |
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| ▶ | 0.9b | (exp.f64 -1) |
| ▶ | 2.0b | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
Compiled 30 to 24 computations (20% saved)
Compiled 4 to 4 computations (0% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ✓ | 1.0b | (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 1.0b | (expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) |
Compiled 32 to 17 computations (46.9% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 58.0ms | x | @ | inf | (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 2.0ms | x | @ | 0 | (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | 0 | (expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) |
| 0.0ms | x | @ | -inf | (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | 0 | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 673× | pow1_binary64 |
| 626× | expm1-log1p-u_binary64 |
| 625× | add-log-exp_binary64 |
| 625× | log1p-expm1-u_binary64 |
| 611× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 29 |
| 1 | 143 | 23 |
| 2 | 1711 | 23 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) |
(log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
| 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 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -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 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (+.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (+.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 (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 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 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 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 log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (exp.f64 (fma.f64 x x -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 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -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 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (+.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (+.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 (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 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 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 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 |
| 786× | associate-*l/_binary64 |
| 728× | associate-/l*_binary64 |
| 638× | associate-*r/_binary64 |
| 610× | associate-/r*_binary64 |
| 258× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 620 |
| 1 | 158 | 551 |
| 2 | 471 | 516 |
| 3 | 2194 | 509 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(log.f64 (+.f64 1 (exp.f64 -1))) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1)))) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(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 (fma.f64 x x 1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(log.f64 (+.f64 1 (exp.f64 -1))) |
(log1p.f64 (exp.f64 -1)) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1)))) |
(+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) |
(fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))) |
(+.f64 (log1p.f64 (exp.f64 -1)) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)))))))) |
(+.f64 (log1p.f64 (exp.f64 -1)) (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (/.f64 -12 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))))) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)))) |
(fma.f64 (pow.f64 x 4) (+.f64 (/.f64 -1/2 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))) (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))) |
(fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (/.f64 -1/2 (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (exp.f64 -2)) (/.f64 1/2 (/.f64 (+.f64 (exp.f64 -1) 1) (exp.f64 -1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))) |
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))) |
(fma.f64 1/720 (*.f64 (pow.f64 x 6) (fma.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (fma.f64 120 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)))))) (+.f64 (log1p.f64 (exp.f64 -1)) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))))))))) |
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (/.f64 -12 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))))) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) (fma.f64 (*.f64 1/720 (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120 (/.f64 (*.f64 240 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (+.f64 (exp.f64 -1) 1) 3))))) (pow.f64 x 6) (log1p.f64 (exp.f64 -1)))) |
(fma.f64 (pow.f64 x 6) (*.f64 1/720 (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 240 (pow.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 3) (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120)))) (fma.f64 (pow.f64 x 4) (+.f64 (/.f64 -1/2 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))) (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))))) |
(fma.f64 (pow.f64 x 6) (*.f64 1/720 (fma.f64 240 (/.f64 (exp.f64 -3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)) (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (+.f64 (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) -360) 120)))) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (/.f64 -1/2 (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (exp.f64 -2)) (/.f64 1/2 (/.f64 (+.f64 (exp.f64 -1) 1) (exp.f64 -1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1)))) |
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))) |
(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 (fma.f64 x x 1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) | |
| ✓ | 0.0b | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| ✓ | 1.0b | (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
Compiled 34 to 19 computations (44.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 37.0ms | x | @ | inf | (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 2.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| 2.0ms | x | @ | 0 | (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 1.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| 0.0ms | x | @ | -inf | (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 1× | batch-egg-rewrite |
| 750× | pow1_binary64 |
| 703× | add-log-exp_binary64 |
| 703× | log1p-expm1-u_binary64 |
| 703× | expm1-log1p-u_binary64 |
| 686× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 188 | 16 |
| 2 | 1971 | 16 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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)))) (pow.f64 (cbrt.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 (pow.f64 (cbrt.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 (cbrt.f64 (exp.f64 -1)) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(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 1 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 (pow.f64 (exp.f64 x) x) 1/3))))) (#(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 (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 (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 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 exp.f64 (*.f64 (fma.f64 x x -1) 1/3)))))) |
((#(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 (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 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -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 (pow.f64 (cbrt.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 (pow.f64 (pow.f64 (cbrt.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 (*.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) (pow.f64 (cbrt.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 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))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1)))))) |
| 1× | egg-herbie |
| 776× | fma-def_binary64 |
| 690× | associate-*l*_binary64 |
| 633× | associate-*r*_binary64 |
| 489× | distribute-rgt-in_binary64 |
| 487× | distribute-lft-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 88 | 645 |
| 1 | 304 | 503 |
| 2 | 1120 | 434 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (exp.f64 -1) 1/3) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3)) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))) (pow.f64 x 6)))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3)))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(*.f64 (pow.f64 1 1/3) (exp.f64 -1)) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3)))))) (pow.f64 x 6))))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
| Outputs |
|---|
(pow.f64 (exp.f64 -1) 1/3) |
(cbrt.f64 (exp.f64 -1)) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3)) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (cbrt.f64 (exp.f64 -1))) |
(*.f64 (+.f64 (*.f64 1/3 (*.f64 x x)) 1) (cbrt.f64 (exp.f64 -1))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 (pow.f64 x 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))))) (cbrt.f64 (exp.f64 -1)))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 1/18 (exp.f64 -1)) (pow.f64 x 4)) (cbrt.f64 (/.f64 1 (exp.f64 -2))) (cbrt.f64 (exp.f64 -1)))) |
(fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) 1/18) (*.f64 (+.f64 (*.f64 1/3 (*.f64 x x)) 1) (cbrt.f64 (exp.f64 -1)))) |
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))) (pow.f64 x 6)))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3)))) |
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))) (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3))) (pow.f64 x 6))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 (pow.f64 x 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))))) (cbrt.f64 (exp.f64 -1))))) |
(fma.f64 1/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 1 (exp.f64 -2))) (pow.f64 x 6)) (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 1/18 (exp.f64 -1)) (pow.f64 x 4)) (cbrt.f64 (/.f64 1 (exp.f64 -2))) (cbrt.f64 (exp.f64 -1))))) |
(fma.f64 1/3 (fma.f64 (pow.f64 x 6) (*.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (exp.f64 -1) 1/54)) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x))) (fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) 1/18) (cbrt.f64 (exp.f64 -1)))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3) |
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(cbrt.f64 (exp.f64 (fma.f64 x x -1))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 -1)) |
(exp.f64 -1) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 x x) 1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (pow.f64 x 4) (fma.f64 1/3 (*.f64 1 (*.f64 (exp.f64 -1) 1/6)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2)))) (*.f64 (exp.f64 -1) 2/9))))) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/18 (exp.f64 -1)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 2/9))) (exp.f64 -1))) |
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) (*.f64 (pow.f64 x 4) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (exp.f64 -1) (*.f64 1/9 (cbrt.f64 (E.f64))))) (*.f64 (exp.f64 -1) 5/18)))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3)))))) (pow.f64 x 6))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (fma.f64 (fma.f64 1/3 (*.f64 1 (*.f64 (exp.f64 -1) 1/6)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2)))) (*.f64 (exp.f64 -1) 2/9))) (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3))) (cbrt.f64 (exp.f64 1))) (*.f64 (*.f64 2/9 (*.f64 (exp.f64 -1) 1/6)) (cbrt.f64 (exp.f64 1)))) (+.f64 (*.f64 1/3 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3)))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2))))) (*.f64 (*.f64 2/9 (*.f64 (exp.f64 -1) 1/6)) 1))))))) |
(+.f64 (*.f64 (exp.f64 -1) (+.f64 (*.f64 x x) 1)) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/18 (exp.f64 -1)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 2/9))) (*.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 2/3 (cbrt.f64 (E.f64))) (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (*.f64 (cbrt.f64 (E.f64)) (*.f64 (exp.f64 -1) 1/27))) (fma.f64 1/3 (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (fma.f64 (*.f64 1/3 (cbrt.f64 (exp.f64 -1))) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 1/27))))))) |
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) (fma.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (cbrt.f64 (E.f64)) (+.f64 (*.f64 2/3 (*.f64 (exp.f64 -1) 1/54)) (*.f64 (exp.f64 -1) 1/27))) (fma.f64 (exp.f64 -1) 1/27 (*.f64 1/3 (+.f64 (*.f64 (exp.f64 -1) 1/54) (*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (exp.f64 -1) (*.f64 1/9 (cbrt.f64 (E.f64)))))))))) (*.f64 (pow.f64 x 4) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (exp.f64 -1) (*.f64 1/9 (cbrt.f64 (E.f64))))) (*.f64 (exp.f64 -1) 5/18))))) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1))) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 2168 to 1845 computations (14.9% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 120 | 1 | 121 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 2 | 3 |
| Total | 121 | 4 | 125 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| ✓ | 0.9b | (exp.f64 -1) |
| ▶ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 2.0b | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
Compiled 29 to 23 computations (20.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (pow.f64 (exp.f64 x) x) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
Compiled 18 to 9 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 1.0ms | x | @ | inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 1.0ms | x | @ | -inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 1.0ms | x | @ | 0 | (pow.f64 (exp.f64 x) x) |
| 0.0ms | x | @ | inf | (pow.f64 (exp.f64 x) x) |
| 1× | batch-egg-rewrite |
| 575× | pow1_binary64 |
| 528× | add-log-exp_binary64 |
| 528× | log1p-expm1-u_binary64 |
| 528× | expm1-log1p-u_binary64 |
| 514× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 130 | 15 |
| 2 | 1468 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(pow.f64 (exp.f64 x) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 -1 (*.f64 x x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 x) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) x) (pow.f64 (cbrt.f64 (exp.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) x) (pow.f64 (sqrt.f64 (exp.f64 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 x x)))))) |
| 1× | egg-herbie |
| 479× | fma-def_binary64 |
| 476× | distribute-rgt-out_binary64 |
| 439× | *-commutative_binary64 |
| 438× | associate-*l*_binary64 |
| 345× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 246 |
| 1 | 78 | 218 |
| 2 | 199 | 200 |
| 3 | 593 | 195 |
| 4 | 2427 | 195 |
| 5 | 4667 | 195 |
| 6 | 5634 | 195 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (pow.f64 x 2)) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (fma.f64 x x 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) |
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))) |
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))) |
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1)))) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 (*.f64 x x) 1) |
(fma.f64 x x 1) |
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))) |
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)) |
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))) |
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))) |
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
Compiled 465 to 314 computations (32.5% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 43 | 1 | 44 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 2 | 3 |
| Total | 44 | 4 | 48 |
| Status | Error | Program |
|---|---|---|
| ✓ | 2.0b | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| ▶ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ✓ | 0.9b | (exp.f64 -1) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
Compiled 28 to 22 computations (21.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
Compiled 17 to 8 computations (52.9% saved)
Compiled 8 to 6 computations (25% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 0 | 1 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 1 | 4 | 5 |
| Status | Error | Program |
|---|---|---|
| ✓ | 2.0b | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| ✓ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ✓ | 0.9b | (exp.f64 -1) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
Compiled 28 to 22 computations (21.4% saved)
Total -2.9b remaining (-24355%)
Threshold costs -2.9b (-24355%)
| Inputs |
|---|
(exp.f64 -1) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) |
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| Outputs |
|---|
(exp.f64 (+.f64 -1 (*.f64 x x))) |
8 calls:
| 33.0ms | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 5.0ms | x |
| 3.0ms | (*.f64 x x) |
| 2.0ms | (-.f64 1 (*.f64 x x)) |
| 2.0ms | (-.f64 1 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.0b | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.0b | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 0.0b | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 0.0b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.0b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.0b | 1 | (*.f64 x x) |
Compiled 88 to 60 computations (31.8% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 8 | 12 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
| Outputs |
|---|
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
Compiled 10 to 8 computations (20% saved)
Compiled 9 to 7 computations (22.2% saved)
Loading profile data...