Time bar (total: 3.0s)
| 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.0s | 8256× | body | 256 | valid |
| 2.0ms | 18× | 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.1b | (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.1b | (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)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 4 | 35 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 31 | 5 | 36 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| ✓ | 0.1b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| ▶ | 0.1b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ▶ | 0.1b | (expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) |
| ▶ | 0.9b | (exp.f64 -1) |
Compiled 37 to 29 computations (21.6% saved)
Compiled 4 to 4 computations (0% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (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 | |
|---|---|---|---|---|
| 37.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 | @ | inf | (expm1.f64 (log1p.f64 (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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.1b | (expm1.f64 (+.f64 -1 (*.f64 x x))) |
Compiled 26 to 14 computations (46.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (expm1.f64 (+.f64 -1 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | inf | (expm1.f64 (+.f64 -1 (*.f64 x x))) |
| 0.0ms | x | @ | inf | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | -inf | (+.f64 1 (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 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
Compiled 19 to 9 computations (52.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| 1.0ms | x | @ | inf | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 711× | pow1_binary64 |
| 664× | add-log-exp_binary64 |
| 663× | log1p-expm1-u_binary64 |
| 663× | expm1-log1p-u_binary64 |
| 651× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 152 | 7 |
| 2 | 1913 | 7 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (E.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 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (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 (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 1 (fma.f64 x x -1)) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 2)) (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (E.f64)) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (E.f64)) (fma.f64 x x -1)) (pow.f64 (sqrt.f64 (E.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)))))) |
| 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 2062 to 1640 computations (20.5% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 155 | 1 | 156 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 3 | 4 |
| Total | 156 | 5 | 161 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| ✓ | 0.1b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| ✓ | 0.1b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ▶ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 0.9b | (exp.f64 -1) |
Compiled 36 to 28 computations (22.2% 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 | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (pow.f64 (exp.f64 x) x) |
| 1.0ms | x | @ | inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 1.0ms | x | @ | inf | (pow.f64 (exp.f64 x) x) |
| 1.0ms | x | @ | -inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 1.0ms | x | @ | 0 | (*.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)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 2 | 44 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 3 | 4 |
| Total | 43 | 6 | 49 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.1b | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 0.9b | (exp.f64 -1) |
| ▶ | 0.1b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ▶ | 0.0b | (*.f64 (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))) (exp.f64 -1)) |
Compiled 52 to 37 computations (28.8% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
Compiled 17 to 8 computations (52.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))) |
| ✓ | 0.0b | (cbrt.f64 (pow.f64 (exp.f64 x) x)) |
| ✓ | 0.0b | (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
| 0.0b | (pow.f64 (exp.f64 x) x) |
Compiled 53 to 19 computations (64.2% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
| 4.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
| 2.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
| 1.0ms | x | @ | inf | (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))) |
| 1.0ms | x | @ | -inf | (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))) |
| 1× | batch-egg-rewrite |
| 563× | pow1_binary64 |
| 527× | add-log-exp_binary64 |
| 526× | log1p-expm1-u_binary64 |
| 526× | expm1-log1p-u_binary64 |
| 511× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 25 |
| 1 | 164 | 25 |
| 2 | 1572 | 25 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))) (cbrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 4)) (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/6) (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (pow.f64 (pow.f64 (exp.f64 x) x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2))) (cbrt.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (*.f64 (*.f64 x x) 1/3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (pow.f64 (exp.f64 x) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))) (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2)) (cbrt.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/6) (pow.f64 (pow.f64 (exp.f64 x) x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 4))) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) (*.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 x x) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) (+.f64 (*.f64 x 1/2) (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) (*.f64 2 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) 2) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 2 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 |
| 585× | distribute-rgt-out_binary64 |
| 575× | fma-def_binary64 |
| 422× | associate-*l*_binary64 |
| 390× | distribute-lft-out_binary64 |
| 344× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 349 |
| 1 | 114 | 339 |
| 2 | 269 | 331 |
| 3 | 778 | 329 |
| 4 | 2903 | 329 |
| 5 | 4937 | 329 |
| 6 | 6449 | 329 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 1 (*.f64 2/9 (pow.f64 x 4)))) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/81 (pow.f64 x 6)) (*.f64 2/9 (pow.f64 x 4))))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
1 |
(+.f64 1 (*.f64 1/3 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/18 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 2)))) |
(+.f64 1 (+.f64 (*.f64 1/18 (pow.f64 x 4)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 1/162 (pow.f64 x 6))))) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
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 |
|---|
1 |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) 1) |
(fma.f64 2/3 (*.f64 x x) 1) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 1 (*.f64 2/9 (pow.f64 x 4)))) |
(fma.f64 2/3 (*.f64 x x) (+.f64 1 (*.f64 2/9 (pow.f64 x 4)))) |
(fma.f64 2/3 (*.f64 x x) (fma.f64 2/9 (pow.f64 x 4) 1)) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/81 (pow.f64 x 6)) (*.f64 2/9 (pow.f64 x 4))))) |
(+.f64 (fma.f64 2/3 (*.f64 x x) 1) (fma.f64 4/81 (pow.f64 x 6) (*.f64 2/9 (pow.f64 x 4)))) |
(+.f64 (fma.f64 2/3 (*.f64 x x) 1) (fma.f64 2/9 (pow.f64 x 4) (*.f64 4/81 (pow.f64 x 6)))) |
(fma.f64 2/3 (*.f64 x x) (fma.f64 2/9 (pow.f64 x 4) (fma.f64 4/81 (pow.f64 x 6) 1))) |
(fma.f64 2/9 (pow.f64 x 4) (fma.f64 4/81 (pow.f64 x 6) (fma.f64 2/3 (*.f64 x x) 1))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
(pow.f64 (pow.f64 (exp.f64 (pow.f64 x 2)) 2) 1/3) |
(cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) |
(cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) |
1 |
(+.f64 1 (*.f64 1/3 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) 1/3)) |
(fma.f64 (*.f64 x x) 1/3 1) |
(fma.f64 x (*.f64 x 1/3) 1) |
(+.f64 1 (+.f64 (*.f64 1/18 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 2)))) |
(+.f64 1 (fma.f64 1/18 (pow.f64 x 4) (*.f64 (*.f64 x x) 1/3))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/3 (*.f64 (pow.f64 x 4) 1/18))) |
(fma.f64 x (*.f64 x 1/3) (fma.f64 (pow.f64 x 4) 1/18 1)) |
(fma.f64 (pow.f64 x 4) 1/18 (fma.f64 x (*.f64 x 1/3) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) 1/18 1/3) 1) |
(+.f64 1 (+.f64 (*.f64 1/18 (pow.f64 x 4)) (+.f64 (*.f64 1/3 (pow.f64 x 2)) (*.f64 1/162 (pow.f64 x 6))))) |
(+.f64 1 (fma.f64 1/18 (pow.f64 x 4) (fma.f64 1/3 (*.f64 x x) (*.f64 (pow.f64 x 6) 1/162)))) |
(+.f64 1 (fma.f64 (pow.f64 x 4) 1/18 (fma.f64 (*.f64 x x) 1/3 (*.f64 (pow.f64 x 6) 1/162)))) |
(+.f64 1 (fma.f64 (pow.f64 x 6) 1/162 (fma.f64 x (*.f64 x 1/3) (*.f64 (pow.f64 x 4) 1/18)))) |
(fma.f64 x (*.f64 x 1/3) (fma.f64 (pow.f64 x 4) 1/18 (fma.f64 (pow.f64 x 6) 1/162 1))) |
(fma.f64 (pow.f64 x 4) 1/18 (fma.f64 (pow.f64 x 6) 1/162 (fma.f64 x (*.f64 x 1/3) 1))) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
(pow.f64 (exp.f64 (pow.f64 x 2)) 1/3) |
(cbrt.f64 (exp.f64 (*.f64 x x))) |
(cbrt.f64 (pow.f64 (exp.f64 x) x)) |
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 (pow.f64 x 4) 1/2))) |
(+.f64 1 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/2))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/2 1)) |
(fma.f64 (pow.f64 x 4) 1/2 (fma.f64 x x 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 (pow.f64 x 4) 1/2)))) |
(+.f64 1 (fma.f64 (pow.f64 x 6) 1/6 (fma.f64 x x (*.f64 (pow.f64 x 4) 1/2)))) |
(fma.f64 (pow.f64 x 6) 1/6 (fma.f64 x x (fma.f64 (pow.f64 x 4) 1/2 1))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/2 (fma.f64 (pow.f64 x 6) 1/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 2923 to 1495 computations (48.9% saved)
8 alts after pruning (3 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 153 | 3 | 156 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 5 | 5 |
| Total | 154 | 8 | 162 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| 0.0b | (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 3) (exp.f64 -1)) | |
| ✓ | 0.1b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 0.0b | (*.f64 (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))))) (exp.f64 -1)) | |
| ✓ | 0.9b | (exp.f64 -1) |
| ✓ | 0.1b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| 0.0b | (*.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (*.f64 x 1/2)) (exp.f64 -1)) |
Compiled 84 to 60 computations (28.6% 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)))) |
(pow.f64 (E.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))))) |
(*.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (*.f64 x 1/2)) (exp.f64 -1)) |
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 3) (exp.f64 -1)) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))) (exp.f64 -1)) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x))))) (exp.f64 -1)) |
| Outputs |
|---|
(*.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (*.f64 x 1/2)) (exp.f64 -1)) |
9 calls:
| 46.0ms | (-.f64 1 (*.f64 x x)) |
| 7.0ms | x |
| 3.0ms | (*.f64 x x) |
| 3.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 160 to 95 computations (40.6% 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)))) |
(pow.f64 (E.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))))) |
| Outputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
9 calls:
| 5.0ms | x |
| 4.0ms | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 3.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 98 to 65 computations (33.7% 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)))) |
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
| Outputs |
|---|
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
8 calls:
| 65.0ms | (-.f64 1 (*.f64 x x)) |
| 4.0ms | x |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 2.0ms | (neg.f64 (-.f64 1 (*.f64 x x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
| 0.1b | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.1b | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.1b | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 0.1b | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 0.1b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.1b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.1b | 1 | (*.f64 x x) |
Compiled 79 to 53 computations (32.9% saved)
Total -0.8b remaining (-1237%)
Threshold costs -0.8b (-1237%)
| 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.1b | 1 | x |
| 0.1b | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.1b | 1 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.1b | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 0.1b | 1 | (neg.f64 (-.f64 1 (*.f64 x x))) |
| 0.1b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.1b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.1b | 1 | (*.f64 x x) |
Compiled 72 to 49 computations (31.9% saved)
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | e-exp-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 51 |
| 1 | 24 | 51 |
| 2 | 26 | 51 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (*.f64 x 1/2)) (exp.f64 -1)) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
| Outputs |
|---|
(*.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (*.f64 x 1/2)) (exp.f64 -1)) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
Compiled 38 to 30 computations (21.1% saved)
Compiled 34 to 24 computations (29.4% saved)
Loading profile data...