Time bar (total: 2.9s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 66.7% | 50% | 25% | 0% | 25% | 0% | 0% | 4 |
| 80% | 50% | 12.5% | 0% | 37.5% | 0% | 0% | 5 |
| 88.9% | 50% | 6.2% | 0% | 43.7% | 0% | 0% | 6 |
| 94.1% | 50% | 3.1% | 0% | 46.9% | 0% | 0% | 7 |
| 97% | 50% | 1.6% | 0% | 48.4% | 0% | 0% | 8 |
| 98.5% | 50% | 0.8% | 0% | 49.2% | 0% | 0% | 9 |
| 99.2% | 50% | 0.4% | 0% | 49.6% | 0% | 0% | 10 |
| 99.6% | 50.2% | 0.2% | 0% | 49.6% | 0% | 0% | 11 |
| 99.8% | 50.2% | 0.1% | 0% | 49.7% | 0% | 0% | 12 |
Compiled 9 to 7 computations (22.2% saved)
| 1.8s | 8256× | body | 256 | valid |
| 3.0ms | 17× | body | 256 | infinite |
| 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 | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ▶ | 2.0b | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| ▶ | 1.5b | (exp.f64 -1) |
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
Compiled 30 to 24 computations (20% saved)
Compiled 4 to 4 computations (0% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.0b | (expm1.f64 (+.f64 -1 (*.f64 x x))) |
Compiled 26 to 14 computations (46.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (expm1.f64 (+.f64 -1 (*.f64 x x))) |
| 0.0ms | x | @ | inf | (expm1.f64 (+.f64 -1 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | inf | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | -inf | (expm1.f64 (+.f64 -1 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 807× | pow1_binary64 |
| 752× | add-log-exp_binary64 |
| 751× | log1p-expm1-u_binary64 |
| 751× | expm1-log1p-u_binary64 |
| 738× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 1 | 165 | 14 |
| 2 | 2069 | 14 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (+.f64 -1 (*.f64 x x))) |
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| 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 cbrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))) (#(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 exp.f64 (log.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 (+.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 (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 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (/.f64 1 (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 1 (/.f64 (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 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))))) (#(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 |
| 699× | distribute-lft-out_binary64 |
| 543× | fma-def_binary64 |
| 480× | fma-neg_binary64 |
| 415× | *-commutative_binary64 |
| 351× | distribute-rgt-out_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 310 |
| 1 | 76 | 266 |
| 2 | 194 | 245 |
| 3 | 651 | 229 |
| 4 | 2618 | 227 |
| 5 | 6452 | 227 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 -1) 1) |
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) 1) |
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) 1) |
(-.f64 (+.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)))))) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 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 |
|---|
(-.f64 (exp.f64 -1) 1) |
(expm1.f64 -1) |
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) 1) |
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (expm1.f64 -1)) |
(fma.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 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) 1) |
(+.f64 (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) -1) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (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 (*.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)))))) 1) |
(+.f64 (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))))) -1) |
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (expm1.f64 -1)))) |
(+.f64 (fma.f64 (fma.f64 x x 1) (exp.f64 -1) -1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6))))) |
(+.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 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.f64 (fma.f64 x x -1)) |
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1) |
(expm1.f64 (+.f64 (*.f64 x x) -1)) |
(expm1.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 (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/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/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)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| 3.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| 2.0ms | x | @ | inf | (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 2.0ms | x | @ | 0 | (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| 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 | 29 |
| 1 | 188 | 23 |
| 2 | 1971 | 23 |
| 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) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
| 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)))))) |
((#(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 pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(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 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 3/2)))) (#(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 (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 1) (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 |
| 956× | fma-def_binary64 |
| 537× | distribute-rgt-in_binary64 |
| 535× | distribute-lft-in_binary64 |
| 522× | associate-+l+_binary64 |
| 471× | associate-+r+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 97 | 820 |
| 1 | 332 | 634 |
| 2 | 1234 | 553 |
| 3 | 7215 | 553 |
| 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))) |
(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 |
|---|
(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 (pow.f64 x 4) (*.f64 (exp.f64 -1) 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 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (*.f64 (pow.f64 x 6) (cbrt.f64 (/.f64 1 (exp.f64 -2))))) (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 (*.f64 (exp.f64 -1) 1/54) (*.f64 (cbrt.f64 (exp.f64 2)) (pow.f64 x 6)) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x))) (fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (pow.f64 x 4) (*.f64 (exp.f64 -1) 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 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)))) (*.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 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.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 1 (*.f64 (exp.f64 -1) 1/6)) 2/9))))))) |
(+.f64 (*.f64 (exp.f64 -1) (+.f64 (*.f64 x x) 1)) (fma.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 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)))) (*.f64 (exp.f64 -1) 1/27)))) (*.f64 (pow.f64 x 4) (+.f64 (*.f64 1/18 (exp.f64 -1)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)))) (*.f64 (exp.f64 -1) 2/9)))))) |
(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 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2))))))))) (*.f64 (pow.f64 x 4) (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) 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)) |
(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) (+.f64 (*.f64 x x) 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 (*.f64 (exp.f64 -1) 1/6) (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) (fma.f64 x x 1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6))))) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (-.f64 (pow.f64 x 2) 1)) |
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (fma.f64 x x -1)) |
(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 2447 to 2032 computations (17% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 147 | 1 | 148 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 3 | 3 |
| Total | 148 | 4 | 152 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ▶ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 1.5b | (exp.f64 -1) |
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
Compiled 28 to 22 computations (21.4% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 0.0b | (pow.f64 (exp.f64 x) x) |
Compiled 18 to 9 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (exp.f64 x) x) |
| 0.0ms | x | @ | inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 0.0ms | x | @ | inf | (pow.f64 (exp.f64 x) x) |
| 0.0ms | x | @ | -inf | (pow.f64 (exp.f64 x) x) |
| 0.0ms | x | @ | -inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 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 |
|---|
(pow.f64 (exp.f64 x) x) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| Outputs |
|---|
((#(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)))))) |
((#(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))))))) |
| 1× | egg-herbie |
| 479× | fma-def_binary64 |
| 476× | distribute-rgt-out_binary64 |
| 437× | *-commutative_binary64 |
| 416× | associate-*l*_binary64 |
| 351× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 246 |
| 1 | 78 | 218 |
| 2 | 199 | 200 |
| 3 | 595 | 195 |
| 4 | 2377 | 195 |
| 5 | 4635 | 195 |
| 6 | 5600 | 195 |
| 1× | node limit |
| Inputs |
|---|
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)) |
(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)) |
| Outputs |
|---|
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(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))) |
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) 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) |
(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 (*.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 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4))) |
(+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)))) |
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))) |
(*.f64 (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)) (exp.f64 -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 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4)))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))))) |
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) (*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6))))) |
(*.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 (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))) (exp.f64 -1)) |
(*.f64 (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) 1))) (exp.f64 -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)) |
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 |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ▶ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ✓ | 1.5b | (exp.f64 -1) |
Compiled 27 to 21 computations (22.2% 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 170 to 136 computations (20% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 0 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 14 | 4 | 18 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ✓ | 1.5b | (exp.f64 -1) |
Compiled 27 to 21 computations (22.2% saved)
| Inputs |
|---|
(exp.f64 -1) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3) |
| Outputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
9 calls:
| 5.0ms | x |
| 3.0ms | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (*.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) |
| 0.0b | 1 | (*.f64 x x) |
Compiled 92 to 62 computations (32.6% saved)
Total -1.5b remaining (-6152.2%)
Threshold costs -1.5b (-6152.2%)
| Inputs |
|---|
(exp.f64 -1) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (+.f64 -1 (*.f64 x x))) |
8 calls:
| 4.0ms | x |
| 3.0ms | (-.f64 1 (*.f64 x x)) |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 2.0ms | (exp.f64 (neg.f64 (-.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 72 to 49 computations (31.9% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 1 | 12 | 23 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
| Outputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
Compiled 18 to 14 computations (22.2% saved)
Compiled 16 to 12 computations (25% saved)
Loading profile data...