Time bar (total: 4.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.3s | 8256× | body | 256 | valid |
| 2.0ms | 19× | 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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 1 (*.f64 x x)) |
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
Compiled 24 to 12 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 1.0ms | x | @ | inf | (-.f64 1 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 0.0ms | x | @ | 0 | (-.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 | 18 |
| 1 | 145 | 16 |
| 2 | 1848 | 16 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(-.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))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (*.f64 x (neg.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (neg.f64 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 (*.f64 x (neg.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 -1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (neg.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.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 *.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2) (neg.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))) (neg.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 4)) (/.f64 1 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.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 *.f64 (neg.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 2)) (cbrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))) (-.f64 1 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) (-.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 4)) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 6))) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 4))) (neg.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (+.f64 -1 (*.f64 x x)) 3)) (+.f64 0 (+.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 2) (*.f64 0 (+.f64 -1 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 x (neg.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x))) (*.f64 x (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 0 (pow.f64 (+.f64 -1 (*.f64 x x)) 2)) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (-.f64 1 (pow.f64 x 6))) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (-.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 -1 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 -1 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))))))) |
| 1× | egg-herbie |
| 691× | distribute-lft-out_binary64 |
| 396× | *-commutative_binary64 |
| 367× | associate-*l*_binary64 |
| 348× | fma-def_binary64 |
| 342× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 245 |
| 1 | 65 | 207 |
| 2 | 161 | 195 |
| 3 | 501 | 188 |
| 4 | 2076 | 188 |
| 5 | 4170 | 188 |
| 6 | 6373 | 188 |
| 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)) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(*.f64 -1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(*.f64 -1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) |
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) |
(*.f64 (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 (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)) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(*.f64 -1 (pow.f64 x 2)) |
(neg.f64 (*.f64 x x)) |
(*.f64 x (neg.f64 x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(*.f64 -1 (pow.f64 x 2)) |
(neg.f64 (*.f64 x x)) |
(*.f64 x (neg.f64 x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(neg.f64 (fma.f64 x x -1)) |
Compiled 1085 to 726 computations (33.1% saved)
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 85 | 5 | 90 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 85 | 6 | 91 |
| Status | Error | Program |
|---|---|---|
| ▶ | 63.5b | (pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| ▶ | 0.0b | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| ▶ | 0.8b | (exp.f64 -1) |
| ▶ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ▶ | 52.6b | (exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
Compiled 98 to 74 computations (24.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 -1 (*.f64 x x)) |
| ✓ | 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)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.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 | (+.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 | 28 |
| 1 | 165 | 19 |
| 2 | 2069 | 19 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (+.f64 -1 (*.f64 x x))) |
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
(+.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))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (log.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 (log.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))) (log.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 -1 (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.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 *.f64 (sqrt.f64 (fma.f64 x x -1)) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 x 6)) (/.f64 1 (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 4)) (/.f64 1 (-.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) (-.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x))) (+.f64 -1 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 -1 (*.f64 x x)) (-.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 x 6)) (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 1 (neg.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 4)) (-.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1 (pow.f64 x 6))) (neg.f64 (+.f64 1 (+.f64 (pow.f64 x 4) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 4))) (neg.f64 (-.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) 1) (-.f64 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) -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 | 382 |
| 1 | 76 | 320 |
| 2 | 194 | 299 |
| 3 | 651 | 283 |
| 4 | 2618 | 281 |
| 5 | 6452 | 281 |
| 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)) |
-1 |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(-.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)) |
-1 |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
Compiled 4 to 4 computations (0% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
Compiled 19 to 5 computations (73.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
| 0.0ms | x | @ | inf | (exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
| 0.0ms | x | @ | -inf | (exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
| 1× | batch-egg-rewrite |
| 356× | pow1_binary64 |
| 344× | add-sqr-sqrt_binary64 |
| 338× | *-un-lft-identity_binary64 |
| 328× | add-log-exp_binary64 |
| 327× | log1p-expm1-u_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 124 | 6 |
| 2 | 1571 | 1 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x . 1))))) |
| 1× | egg-herbie |
| 829× | associate-/l/_binary64 |
| 684× | fma-def_binary64 |
| 676× | associate-/r/_binary64 |
| 586× | associate-/l*_binary64 |
| 393× | *-commutative_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 95 |
| 1 | 44 | 89 |
| 2 | 102 | 85 |
| 3 | 280 | 85 |
| 4 | 1063 | 85 |
| 5 | 2912 | 85 |
| 6 | 3743 | 85 |
| 7 | 4692 | 85 |
| 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)) |
| 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 1/2 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) 1))) |
(fma.f64 x (fma.f64 1/2 (pow.f64 x 3) x) (fma.f64 1/6 (pow.f64 x 6) 1)) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 -1 (*.f64 x x)) | |
| ✓ | 0.0b | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| ✓ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
Compiled 36 to 21 computations (41.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| 0.0ms | x | @ | -inf | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| 1× | batch-egg-rewrite |
| 950× | pow1_binary64 |
| 891× | add-log-exp_binary64 |
| 888× | log1p-expm1-u_binary64 |
| 888× | expm1-log1p-u_binary64 |
| 100× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 196 | 14 |
| 2 | 2700 | 14 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -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 (expm1.f64 (fma.f64 x x -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 (/.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))) (/.f64 1 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (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))) (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.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 1 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (/.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (-.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (-.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (-.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)) (neg.f64 (+.f64 (exp.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 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1))) (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1)))) (-.f64 1 (expm1.f64 (fma.f64 x x -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 (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 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(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 (cbrt.f64 (pow.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 log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2)) (cbrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -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 (expm1.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 (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))) (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.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 1 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (/.f64 1 (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (-.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1) (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (-.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1) (-.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) (+.f64 (exp.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2) -1)) (neg.f64 (+.f64 (exp.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 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1))) (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (expm1.f64 (fma.f64 x x -1)))) (-.f64 1 (expm1.f64 (fma.f64 x x -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 (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 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(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 (cbrt.f64 (pow.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 log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x 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 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 2)) (cbrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (sqrt.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) -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 | 302 |
| 1 | 60 | 262 |
| 2 | 145 | 238 |
| 3 | 462 | 224 |
| 4 | 1945 | 224 |
| 5 | 3890 | 224 |
| 6 | 5584 | 224 |
| 7 | 7510 | 224 |
| 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)) |
(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)) |
(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)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 -1 (*.f64 x x)) | |
| ✓ | 0.0b | (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 0.0b | (pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
Compiled 38 to 20 computations (47.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | 0 | (pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| 3.0ms | x | @ | -inf | (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| 1.0ms | x | @ | 0 | (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| 1.0ms | x | @ | inf | (pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| 0.0ms | x | @ | inf | (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| 1× | batch-egg-rewrite |
| 763× | pow1_binary64 |
| 710× | add-log-exp_binary64 |
| 710× | log1p-expm1-u_binary64 |
| 710× | expm1-log1p-u_binary64 |
| 693× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 163 | 16 |
| 2 | 1982 | 16 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
(exp.f64 (sqrt.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 (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 (pow.f64 1 (sqrt.f64 (fma.f64 x x -1))) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2) (sqrt.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (fma.f64 x x -1))) (pow.f64 (sqrt.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 +.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (fma.f64 x x -1) 1/4)) (pow.f64 (fma.f64 x x -1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))))))) |
| 1× | egg-herbie |
| 584× | associate-*l/_binary64 |
| 368× | times-frac_binary64 |
| 367× | fma-def_binary64 |
| 357× | associate-/r*_binary64 |
| 292× | associate-/l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 91 | 789 |
| 1 | 276 | 491 |
| 2 | 973 | 453 |
| 3 | 4418 | 409 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (pow.f64 (sqrt.f64 -1) 2)) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2))) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))))) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))) (+.f64 1/6 (+.f64 (*.f64 1/720 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 720 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4))))) (+.f64 (*.f64 -360 (/.f64 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))) (sqrt.f64 -1))) (*.f64 30 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6)))))) |
(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)) |
(exp.f64 (sqrt.f64 -1)) |
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))) |
(+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))) |
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
| Outputs |
|---|
(exp.f64 (pow.f64 (sqrt.f64 -1) 2)) |
(exp.f64 -1) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2))) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))))) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 (+.f64 1/2 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2)))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2))))))) |
(fma.f64 (exp.f64 -1) (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4) 5/8))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))))) 3/8)))) |
(fma.f64 (exp.f64 -1) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (/.f64 1/8 (sqrt.f64 -1))) 3/8) (*.f64 x x)) (exp.f64 -1)) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))) (+.f64 1/6 (+.f64 (*.f64 1/720 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 720 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4))))) (+.f64 (*.f64 -360 (/.f64 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))) (sqrt.f64 -1))) (*.f64 30 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6)))))) |
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 (+.f64 1/2 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2)))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (fma.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2))) (sqrt.f64 -1)) (+.f64 1/6 (fma.f64 1/720 (*.f64 (sqrt.f64 -1) (fma.f64 720 (+.f64 (/.f64 1/48 (pow.f64 (sqrt.f64 -1) 3)) (-.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 4)))) (fma.f64 -360 (/.f64 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3))) (sqrt.f64 -1)) (/.f64 30 (pow.f64 (sqrt.f64 -1) 3))))) (+.f64 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2))))))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6))))) |
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4) 5/8))) (*.f64 (fma.f64 1/48 (/.f64 (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3) (sqrt.f64 -1)) (+.f64 (fma.f64 1/720 (*.f64 (sqrt.f64 -1) (fma.f64 720 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (-.f64 (/.f64 -1/48 (sqrt.f64 -1)) 1/16)) (fma.f64 -360 (+.f64 (/.f64 -1/8 (sqrt.f64 -1)) -1/8) (/.f64 -30 (sqrt.f64 -1))))) (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4)) 7/24)) (*.f64 (exp.f64 -1) (pow.f64 x 6))))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))))) 3/8))) (*.f64 (fma.f64 1/48 (/.f64 (+.f64 0 (/.f64 3 (sqrt.f64 -1))) (sqrt.f64 -1)) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/720 (+.f64 (fma.f64 720 (+.f64 (/.f64 -1/48 (sqrt.f64 -1)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5))) -45) (fma.f64 -360 (+.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) (/.f64 -30 (sqrt.f64 -1))))) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1)))))) 1/24)) (pow.f64 x 6))))) |
(*.f64 (exp.f64 -1) (+.f64 (+.f64 (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (/.f64 1/8 (sqrt.f64 -1))) 3/8) (*.f64 x x)) 1) (*.f64 (+.f64 1/8 (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/720 (+.f64 (+.f64 (/.f64 45 (sqrt.f64 -1)) 45) (+.f64 (/.f64 -45 (sqrt.f64 -1)) (+.f64 (/.f64 45 (pow.f64 (sqrt.f64 -1) 5)) -45)))) (/.f64 1/8 (sqrt.f64 -1)))) -7/48)) (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)) |
(exp.f64 (sqrt.f64 -1)) |
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))) |
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x))))) |
(fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1))) |
(fma.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1))) (exp.f64 (sqrt.f64 -1))) |
(+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))) |
(fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x)))))) |
(fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1)))) (fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1)))) |
(fma.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1))) (*.f64 (exp.f64 (sqrt.f64 -1)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1))) |
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))))) |
(fma.f64 (+.f64 (/.f64 1/48 (pow.f64 (sqrt.f64 -1) 3)) (-.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (pow.f64 x 6) (exp.f64 (sqrt.f64 -1))) (fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x))))))) |
(fma.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (-.f64 (/.f64 -1/48 (sqrt.f64 -1)) 1/16)) (*.f64 (pow.f64 x 6) (exp.f64 (sqrt.f64 -1))) (fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1)))) (fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1))))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (+.f64 (*.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (+.f64 (/.f64 -1/48 (sqrt.f64 -1)) -1/16)) (pow.f64 x 6)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1)))) |
(+.f64 (*.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (+.f64 (*.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (+.f64 -1/16 (/.f64 -1/48 (sqrt.f64 -1)))) (pow.f64 x 6)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1)))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1))) |
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1))) |
(exp.f64 (sqrt.f64 (fma.f64 x x -1))) |
Compiled 5714 to 4394 computations (23.1% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 334 | 4 | 338 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 336 | 8 | 344 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| ✓ | 0.8b | (exp.f64 -1) |
| ▶ | 52.6b | (+.f64 1 (expm1.f64 (*.f64 x x))) |
| ✓ | 0.0b | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ▶ | 52.6b | (fma.f64 x x 1) |
| 52.6b | 1 | |
| ▶ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
Compiled 53 to 41 computations (22.6% 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 | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 0.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)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (*.f64 x x)) |
Compiled 16 to 6 computations (62.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (expm1.f64 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (expm1.f64 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (expm1.f64 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 323× | pow1_binary64 |
| 315× | associate-*l*_binary64 |
| 311× | add-sqr-sqrt_binary64 |
| 304× | *-un-lft-identity_binary64 |
| 299× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 6 |
| 1 | 77 | 6 |
| 2 | 875 | 6 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (expm1.f64 (*.f64 x x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (expm1.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (*.f64 x x))))) (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))) (/.f64 1 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 (pow.f64 (exp.f64 x) x) 1)) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2) (cbrt.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 x x))) (sqrt.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 4)) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) 2) (cbrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/6) (*.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/6) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/4) (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/4) (*.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 1/4) (sqrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) (/.f64 1 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (expm1.f64 (*.f64 x x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 5))) (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 5/2)) (pow.f64 (expm1.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3/2)) (pow.f64 (expm1.f64 (*.f64 x x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 5)) (pow.f64 (expm1.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (expm1.f64 (*.f64 x x)) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 5)) 1/3) (cbrt.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 5/2) 1/3) (pow.f64 (expm1.f64 (*.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1) (-.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x))) (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) x) 1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (-.f64 1 (*.f64 (pow.f64 (exp.f64 x) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) (+.f64 (pow.f64 (exp.f64 x) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) (-.f64 (pow.f64 (exp.f64 x) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1)) (neg.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) (*.f64 x 3)) -1) 1) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) (+.f64 1 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2) -1) 1) (+.f64 (pow.f64 (exp.f64 x) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (expm1.f64 (*.f64 x x))))) (sqrt.f64 (log.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (log.f64 (expm1.f64 (*.f64 x x))) 2))) (cbrt.f64 (log.f64 (expm1.f64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (expm1.f64 (*.f64 x x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (expm1.f64 (*.f64 x x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (expm1.f64 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (exp.f64 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) (cbrt.f64 (pow.f64 (exp.f64 x) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x)) -1))))) |
| 1× | egg-herbie |
| 857× | associate-/l/_binary64 |
| 617× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 382× | distribute-lft-out_binary64 |
| 361× | sqr-pow_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 112 |
| 1 | 57 | 106 |
| 2 | 130 | 106 |
| 3 | 389 | 106 |
| 4 | 1895 | 106 |
| 5 | 4330 | 106 |
| 6 | 4919 | 106 |
| 7 | 6216 | 106 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))) |
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (*.f64 1/24 (pow.f64 x 8)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))) |
(+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))) |
(fma.f64 x x (*.f64 1/2 (pow.f64 x 4))) |
(fma.f64 1/2 (pow.f64 x 4) (*.f64 x x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))) |
(fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))) |
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))) |
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))) |
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) (*.f64 x x))) |
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x))) |
(+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (*.f64 1/24 (pow.f64 x 8)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))) |
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 8) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))) |
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 8) (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) (*.f64 1/24 (pow.f64 x 8))))) |
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/24 (pow.f64 x 8) (*.f64 1/2 (pow.f64 x 4))))) |
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (*.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/24 1/2)))) |
(fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) 1/24 1/2) (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x))) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
(-.f64 (exp.f64 (pow.f64 x 2)) 1) |
(expm1.f64 (*.f64 x x)) |
Compiled 7 to 4 computations (42.9% saved)
Compiled 1506 to 844 computations (44% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 109 | 3 | 112 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 4 | 6 |
| Total | 112 | 8 | 120 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| ✓ | 0.8b | (exp.f64 -1) |
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ▶ | 52.6b | (+.f64 1 (*.f64 x x)) |
| ▶ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ▶ | 0.0b | (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
| 52.6b | 1 | |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
Compiled 57 to 44 computations (22.8% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 -1 (*.f64 x x)) | |
| 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
Compiled 17 to 8 computations (52.9% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
| ✓ | 0.0b | (pow.f64 (exp.f64 x) (+.f64 x x)) |
Compiled 33 to 11 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
| 1.0ms | x | @ | inf | (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
| 1.0ms | x | @ | 0 | (pow.f64 (exp.f64 x) (+.f64 x x)) |
| 1.0ms | x | @ | 0 | (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
| 1.0ms | x | @ | inf | (pow.f64 (exp.f64 x) (+.f64 x x)) |
| 2× | egg-rewrite-iter-limit |
| 2× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 309× | pow1_binary64 |
| 309× | pow1_binary64 |
| 306× | add-sqr-sqrt_binary64 |
| 306× | add-sqr-sqrt_binary64 |
| 296× | *-un-lft-identity_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 180 | 18 |
| 2 | 2652 | 18 |
| 0 | 5 | 9 |
| 1 | 110 | 1 |
| 2 | 1807 | 1 |
| 3 | 5821 | 1 |
| 0 | 5 | 9 |
| 1 | 110 | 1 |
| 0 | 9 | 16 |
| 1 | 180 | 16 |
| 2 | 2652 | 16 |
| 0 | 9 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (exp.f64 x) (+.f64 x x)) |
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x . 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))) (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)))))))) |
| 1× | egg-herbie |
| 775× | distribute-rgt-out_binary64 |
| 570× | fma-def_binary64 |
| 487× | distribute-lft-out_binary64 |
| 463× | associate-*l*_binary64 |
| 376× | distribute-rgt-in_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 329 |
| 1 | 86 | 323 |
| 2 | 208 | 285 |
| 3 | 668 | 272 |
| 4 | 2848 | 256 |
| 5 | 5324 | 240 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 2 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4)))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4))))) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(exp.f64 (*.f64 2 (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 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
| Outputs |
|---|
1 |
(+.f64 (*.f64 2 (pow.f64 x 2)) 1) |
(fma.f64 2 (*.f64 x x) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4)))) |
(+.f64 (fma.f64 2 (*.f64 x x) 1) (*.f64 2 (pow.f64 x 4))) |
(fma.f64 2 (*.f64 x x) (fma.f64 2 (pow.f64 x 4) 1)) |
(fma.f64 2 (fma.f64 x x (pow.f64 x 4)) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4))))) |
(+.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 4/3 (pow.f64 x 6) (*.f64 2 (pow.f64 x 4)))) |
(+.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 2 (pow.f64 x 4) (*.f64 4/3 (pow.f64 x 6)))) |
(fma.f64 2 (*.f64 x x) (fma.f64 2 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 6) 1))) |
(fma.f64 2 (fma.f64 x x (pow.f64 x 4)) (fma.f64 4/3 (pow.f64 x 6) 1)) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) x) x) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) x) x) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) x) x) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) x) x) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) x) x) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) x) x) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) x) x) |
(exp.f64 (*.f64 2 (pow.f64 x 2))) |
(pow.f64 (exp.f64 2) (*.f64 x x)) |
(pow.f64 (pow.f64 (exp.f64 2) 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)) |
(fma.f64 (*.f64 x x) (exp.f64 -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 (pow.f64 x 4) (exp.f64 -1)))) |
(fma.f64 (*.f64 x x) (exp.f64 -1) (fma.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 x 4) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2))) |
(*.f64 (exp.f64 -1) (fma.f64 (pow.f64 x 4) 1/2 (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 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (fma.f64 (*.f64 x x) (exp.f64 -1) (fma.f64 (*.f64 (exp.f64 -1) 1/2) (pow.f64 x 4) (exp.f64 -1)))) |
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (*.f64 (pow.f64 x 6) 1/6)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 (pow.f64 x 6) 1/6 (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 (pow.f64 x 4) 1/2 (*.f64 (pow.f64 x 6) 1/6)))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (sqrt.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))) |
(*.f64 (exp.f64 -1) (fabs.f64 (pow.f64 (exp.f64 x) x))) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
Compiled 11 to 5 computations (54.5% saved)
Compiled 1518 to 1136 computations (25.2% saved)
9 alts after pruning (2 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 114 | 1 | 115 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 114 | 9 | 123 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| ✓ | 0.8b | (exp.f64 -1) |
| ✓ | 0.0b | (+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
| ✓ | 52.6b | (+.f64 1 (*.f64 x x)) |
| ✓ | 0.0b | (exp.f64 (+.f64 -1 (*.f64 x x))) |
| ✓ | 0.0b | (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
| 52.6b | 1 | |
| 52.6b | (exp.f64 (*.f64 x x)) | |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
Compiled 62 to 47 computations (24.2% saved)
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 x x)) |
(exp.f64 -1) |
(exp.f64 (*.f64 x x)) |
(fma.f64 x x 1) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(+.f64 1 (expm1.f64 (*.f64 x x))) |
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x)))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
9 calls:
| 8.0ms | x |
| 5.0ms | (*.f64 x x) |
| 4.0ms | (*.f64 x x) |
| 3.0ms | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 3.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 143 to 90 computations (37.1% saved)
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 x x)) |
(exp.f64 -1) |
(exp.f64 (*.f64 x x)) |
(fma.f64 x x 1) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(+.f64 1 (expm1.f64 (*.f64 x x))) |
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| Outputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
9 calls:
| 41.0ms | (exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| 7.0ms | x |
| 4.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 119 to 76 computations (36.1% saved)
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 x x)) |
(exp.f64 -1) |
(exp.f64 (*.f64 x x)) |
(fma.f64 x x 1) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(+.f64 1 (expm1.f64 (*.f64 x x))) |
(exp.f64 (neg.f64 (*.f64 x (neg.f64 x)))) |
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x)))) |
(-.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1) |
| Outputs |
|---|
(exp.f64 (+.f64 -1 (*.f64 x x))) |
8 calls:
| 23.0ms | (-.f64 1 (*.f64 x x)) |
| 11.0ms | x |
| 3.0ms | (*.f64 x x) |
| 3.0ms | (-.f64 1 (*.f64 x x)) |
| 2.0ms | (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 108 to 69 computations (36.1% saved)
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 x x)) |
(exp.f64 -1) |
(exp.f64 (*.f64 x x)) |
(fma.f64 x x 1) |
| Outputs |
|---|
(exp.f64 -1) |
2 calls:
| 4.0ms | x |
| 3.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 0.8b | 1 | x |
| 0.8b | 1 | (*.f64 x x) |
Compiled 23 to 13 computations (43.5% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 x x)) |
| Outputs |
|---|
(+.f64 1 (*.f64 x x)) |
2 calls:
| 16.0ms | x |
| 2.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 52.6b | 1 | x |
| 52.6b | 1 | (*.f64 x x) |
Compiled 13 to 8 computations (38.5% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 2× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 47 |
| 1 | 22 | 47 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
(+.f64 1 (*.f64 x x)) |
1 |
| Outputs |
|---|
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) |
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x)) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 -1) |
(+.f64 1 (*.f64 x x)) |
(+.f64 (*.f64 x x) 1) |
1 |
Compiled 37 to 28 computations (24.3% saved)
Compiled 32 to 21 computations (34.4% saved)
Loading profile data...