Time bar (total: 1.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 50% | 25% | 25% | 4 |
| 50% | 12.5% | 37.5% | 5 |
| 50% | 6.2% | 43.8% | 6 |
| 50% | 3.1% | 46.9% | 7 |
| 50% | 1.6% | 48.5% | 8 |
| 50% | 0.8% | 49.2% | 9 |
| 50% | 0.4% | 49.6% | 10 |
| 50.2% | 0.2% | 49.6% | 11 |
| 50.2% | 0.1% | 49.7% | 12 |
| 50.2% | 0% | 49.8% | 13 |
| 50.2% | 0% | 49.8% | 14 |
Compiled 9 to 7 computations (22.2% saved)
| 826.0ms | 8256× | body | 128 | valid |
| 0.0ms | 1× | body | 128 | invalid |
Compiled 18 to 14 computations (22.2% saved)
| 2× | egg-herbie |
| 417× | times-frac_binary64 |
| 412× | associate-/l*_binary64 |
| 360× | associate-/r*_binary64 |
| 350× | associate-*l*_binary64 |
| 200× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 50 | 9 |
| 3 | 111 | 7 |
| 4 | 236 | 7 |
| 5 | 531 | 7 |
| 6 | 1613 | 7 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 417× | times-frac_binary64 |
| 412× | associate-/l*_binary64 |
| 360× | associate-/r*_binary64 |
| 350× | associate-*l*_binary64 |
| 200× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 50 | 9 |
| 3 | 111 | 7 |
| 4 | 236 | 7 |
| 5 | 531 | 7 |
| 6 | 1613 | 7 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
| Outputs |
|---|
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x)))) |
(exp.f64 (+.f64 -1 (*.f64 x x))) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
Compiled 25 to 17 computations (32% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (exp.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | inf | (exp.f64 (fma.f64 x x -1)) |
| 0.0ms | x | @ | -inf | (exp.f64 (fma.f64 x x -1)) |
| 1× | batch-egg-rewrite |
| 394× | pow1_binary64 |
| 361× | add-log-exp_binary64 |
| 361× | log1p-expm1-u_binary64 |
| 361× | expm1-log1p-u_binary64 |
| 353× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 90 | 7 |
| 2 | 971 | 7 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (fma.f64 x x -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 724× | distribute-lft-out_binary64 |
| 385× | *-commutative_binary64 |
| 380× | fma-def_binary64 |
| 341× | distribute-rgt-out_binary64 |
| 340× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 81 |
| 1 | 55 | 79 |
| 2 | 136 | 63 |
| 3 | 448 | 56 |
| 4 | 1828 | 56 |
| 5 | 3578 | 56 |
| 6 | 4583 | 56 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) |
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 1/2 (pow.f64 x 4))))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 2 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 25 | 3 | 28 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
| 2.0b | (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) | |
| ▶ | 0.0b | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
Compiled 316 to 241 computations (23.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| ✓ | 0.0b | (exp.f64 (*.f64 x x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| 2.0ms | x | @ | inf | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| 1.0ms | x | @ | 0 | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| 1.0ms | x | @ | 0 | (exp.f64 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (exp.f64 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 545× | pow1_binary64 |
| 501× | add-log-exp_binary64 |
| 501× | log1p-expm1-u_binary64 |
| 501× | expm1-log1p-u_binary64 |
| 487× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 129 | 13 |
| 2 | 1429 | 13 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (*.f64 x x)) |
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 2) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))))) (#(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 -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(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 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 cbrt.f64 (*.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 3) (pow.f64 (exp.f64 -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (pow.f64 (exp.f64 x) x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1)))))) |
| 1× | egg-herbie |
| 512× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 423× | *-commutative_binary64 |
| 417× | associate-*l*_binary64 |
| 349× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 244 |
| 1 | 84 | 216 |
| 2 | 208 | 200 |
| 3 | 592 | 195 |
| 4 | 2283 | 195 |
| 5 | 4511 | 195 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (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 (pow.f64 x 2)) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(*.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 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 2))) |
(fma.f64 1/2 (pow.f64 x 4) (+.f64 1 (*.f64 x x))) |
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)) |
(+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (pow.f64 x 2)))) |
(fma.f64 1/2 (pow.f64 x 4) (+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x)))) |
(+.f64 (fma.f64 x x (*.f64 1/6 (pow.f64 x 6))) (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 x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (*.f64 x x) (exp.f64 -1))) |
(*.f64 (fma.f64 x x 1) (exp.f64 -1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)) (*.f64 (*.f64 x x) (exp.f64 -1)))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))) (*.f64 (fma.f64 x x 1) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (fma.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)) (*.f64 (*.f64 x x) (exp.f64 -1))))) |
(+.f64 (fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)))) (*.f64 (fma.f64 x x 1) (exp.f64 -1))) |
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))) |
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1)))) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 2 | 50 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 50 | 3 | 53 |
| Status | Error | Program |
|---|---|---|
| 0.0b | (*.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) (exp.f64 -1)) | |
| ▶ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
Compiled 564 to 394 computations (30.1% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 2.0ms | x | @ | -inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 2.0ms | x | @ | inf | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 1× | batch-egg-rewrite |
| 575× | pow1_binary64 |
| 528× | add-log-exp_binary64 |
| 528× | log1p-expm1-u_binary64 |
| 528× | expm1-log1p-u_binary64 |
| 514× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 130 | 9 |
| 2 | 1468 | 9 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (+.f64 -1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (exp.f64 (*.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 |
| 710× | distribute-lft-out_binary64 |
| 400× | *-commutative_binary64 |
| 386× | fma-def_binary64 |
| 338× | associate-*l*_binary64 |
| 337× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 153 |
| 1 | 60 | 135 |
| 2 | 150 | 119 |
| 3 | 475 | 112 |
| 4 | 1914 | 112 |
| 5 | 3878 | 112 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(*.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 |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) |
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) |
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.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))))) |
(*.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 (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)) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 22 | 0 | 22 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 22 | 3 | 25 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (*.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) (exp.f64 -1)) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
Compiled 260 to 195 computations (25% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (pow.f64 (exp.f64 x) x)) |
| ✓ | 0.0b | (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
| ✓ | 0.0b | (*.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) (exp.f64 -1)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
| 3.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
| 3.0ms | x | @ | inf | (*.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) (exp.f64 -1)) |
| 2.0ms | x | @ | -inf | (*.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) (exp.f64 -1)) |
| 2.0ms | x | @ | inf | (sqrt.f64 (pow.f64 (exp.f64 x) x)) |
| 1× | batch-egg-rewrite |
| 715× | pow1_binary64 |
| 659× | add-log-exp_binary64 |
| 659× | log1p-expm1-u_binary64 |
| 659× | expm1-log1p-u_binary64 |
| 81× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 25 |
| 1 | 194 | 23 |
| 2 | 1866 | 23 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) (exp.f64 -1)) |
(pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.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 (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 log.f64 (+.f64 1 (expm1.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 cbrt.f64 (*.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 3) (pow.f64 (exp.f64 -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (pow.f64 (exp.f64 x) x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 -1 (*.f64 x x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (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 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(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)) (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) (*.f64 (cbrt.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 (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/4) (*.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/4) (sqrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (pow.f64 (pow.f64 (exp.f64 x) x) 1/4)) (pow.f64 (pow.f64 (exp.f64 x) x) 1/4))))) (#(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 *.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (cbrt.f64 (pow.f64 (exp.f64 x) x))) (cbrt.f64 (sqrt.f64 (pow.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 log.f64 (+.f64 1 (expm1.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 (exp.f64 (log1p.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x))) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) (cbrt.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/4) (pow.f64 (pow.f64 (exp.f64 x) x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x)))) (sqrt.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 (/.f64 x 2)) (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) (/.f64 x 2)) (pow.f64 (sqrt.f64 (exp.f64 x)) (/.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) 1/2) (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) (/.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) (*.f64 (/.f64 x 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.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/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 x (/.f64 x 2))))))) |
| 1× | egg-herbie |
| 714× | fma-def_binary64 |
| 554× | associate-*l*_binary64 |
| 524× | distribute-rgt-out_binary64 |
| 515× | distribute-lft-out_binary64 |
| 374× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 360 |
| 1 | 111 | 328 |
| 2 | 278 | 310 |
| 3 | 797 | 305 |
| 4 | 3124 | 305 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 2))) |
(+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (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 (pow.f64 x 2)) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (pow.f64 x 2)))) |
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/48 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
| Outputs |
|---|
(exp.f64 -1) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) |
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x))) |
(*.f64 (fma.f64 x x 1) (exp.f64 -1)) |
(*.f64 (exp.f64 -1) (fma.f64 x x 1)) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) |
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) |
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1))) |
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) |
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))) |
(+.f64 (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) (*.f64 (fma.f64 x x 1) (exp.f64 -1))) |
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))) |
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) 1)))) |
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1)))) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 (*.f64 x x) 1) |
(fma.f64 x x 1) |
(+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 2))) |
(fma.f64 1/2 (pow.f64 x 4) (+.f64 (*.f64 x x) 1)) |
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)) |
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)) |
(+.f64 (*.f64 1/2 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (pow.f64 x 2)))) |
(fma.f64 1/2 (pow.f64 x 4) (+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (*.f64 x x)))) |
(+.f64 (fma.f64 x x (*.f64 1/6 (pow.f64 x 6))) (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 x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
(exp.f64 (pow.f64 x 2)) |
(exp.f64 (*.f64 x x)) |
(pow.f64 (exp.f64 x) x) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) 1/2)) |
(fma.f64 (*.f64 x x) 1/2 1) |
(fma.f64 x (*.f64 x 1/2) 1) |
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (pow.f64 x 2)))) |
(fma.f64 1/8 (pow.f64 x 4) (+.f64 1 (*.f64 (*.f64 x x) 1/2))) |
(fma.f64 (pow.f64 x 4) 1/8 (fma.f64 (*.f64 x x) 1/2 1)) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/8 1)) |
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/48 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2))))) |
(fma.f64 1/8 (pow.f64 x 4) (+.f64 1 (fma.f64 1/48 (pow.f64 x 6) (*.f64 (*.f64 x x) 1/2)))) |
(+.f64 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 6) 1/48)) (fma.f64 (pow.f64 x 4) 1/8 1)) |
(fma.f64 (pow.f64 x 4) 1/8 (fma.f64 (pow.f64 x 6) 1/48 (fma.f64 (*.f64 x x) 1/2 1))) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/8 (fma.f64 (pow.f64 x 6) 1/48 1))) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
(sqrt.f64 (exp.f64 (pow.f64 x 2))) |
(sqrt.f64 (exp.f64 (*.f64 x x))) |
(sqrt.f64 (pow.f64 (exp.f64 x) x)) |
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 86 | 0 | 86 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 86 | 3 | 89 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (pow.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) 2) (exp.f64 -1)) |
| ✓ | 0.0b | (*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| ✓ | 0.0b | (exp.f64 (fma.f64 x x -1)) |
Compiled 1117 to 704 computations (37% saved)
Total 0.0b remaining (55.1%)
Threshold costs 0.0b (55.1%)
Compiled 671 to 507 computations (24.4% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 8 | 11 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| Outputs |
|---|
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1)) |
| 1× | done |
Compiled 41 to 31 computations (24.4% saved)
Loading profile data...