Time bar (total: 2.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 74.6% | 25.4% | 0% | 0% | 0% | 0 |
| 0% | 0% | 74.6% | 25.4% | 0% | 0% | 0% | 1 |
| 50% | 37.3% | 37.3% | 25.4% | 0% | 0% | 0% | 2 |
| 66.7% | 37.3% | 18.7% | 25.4% | 18.7% | 0% | 0% | 3 |
| 83.3% | 46.7% | 9.3% | 25.4% | 18.7% | 0% | 0% | 4 |
| 90.9% | 46.7% | 4.7% | 25.4% | 23.3% | 0% | 0% | 5 |
| 95.5% | 49% | 2.3% | 25.4% | 23.3% | 0% | 0% | 6 |
| 97.7% | 49% | 1.2% | 25.4% | 24.5% | 0% | 0% | 7 |
| 98.8% | 49.6% | 0.6% | 25.4% | 24.5% | 0% | 0% | 8 |
| 99.4% | 49.9% | 0.3% | 25.4% | 24.5% | 0% | 0% | 9 |
| 99.7% | 49.9% | 0.1% | 25.4% | 24.6% | 0% | 0% | 10 |
| 99.9% | 49.9% | 0.1% | 25.4% | 24.7% | 0% | 0% | 11 |
| 99.9% | 49.9% | 0% | 25.4% | 24.7% | 0% | 0% | 12 |
Compiled 8 to 6 computations (25% saved)
| 1.2s | 4140× | body | 1024 | valid |
| 374.0ms | 2029× | body | 512 | valid |
| 168.0ms | 1649× | body | 256 | valid |
| 153.0ms | 438× | body | 2048 | valid |
| 0.0ms | 2× | body | 256 | infinite |
| 2× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
| 1× | expm1-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 3 |
| 1 | 11 | 3 |
| 2 | 12 | 3 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(-.f64 (exp.f64 x) 1) |
| Outputs |
|---|
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
| 1× | expm1-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 3 |
| 1 | 11 | 3 |
| 2 | 12 | 3 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (exp.f64 x) 1) |
| Outputs |
|---|
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
Compiled 7 to 5 computations (28.6% saved)
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 | (expm1.f64 x) |
Compiled 3 to 2 computations (33.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 x) |
Compiled 4 to 2 computations (50% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (expm1.f64 x) |
| 0.0ms | x | @ | inf | (expm1.f64 x) |
| 0.0ms | x | @ | -inf | (expm1.f64 x) |
| 1× | batch-egg-rewrite |
| 382× | expm1-udef_binary64 |
| 382× | log1p-udef_binary64 |
| 255× | associate-*r*_binary64 |
| 252× | pow1_binary64 |
| 244× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 1 | 57 | 3 |
| 2 | 640 | 3 |
| 3 | 6985 | 3 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 x)))) (log.f64 (sqrt.f64 (exp.f64 (expm1.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (expm1.f64 x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (expm1.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))) (/.f64 1 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 x)) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (cbrt.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 x)) (sqrt.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 x) 1/6) (*.f64 (pow.f64 (expm1.f64 x) 1/6) (pow.f64 (cbrt.f64 (expm1.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4))) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2) (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 x) 1/4) (sqrt.f64 (pow.f64 (expm1.f64 x) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (expm1.f64 x) 1/4) (*.f64 (pow.f64 (expm1.f64 x) 1/4) (sqrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (/.f64 1 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (expm1.f64 x)) (pow.f64 (expm1.f64 x) 1/4)) (pow.f64 (expm1.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 5/2)) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4)) 2)) (cbrt.f64 (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (expm1.f64 x) 3/2)) (pow.f64 (expm1.f64 x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 5)) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4)) 2) 1/3) (cbrt.f64 (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (expm1.f64 x) 5/2) 1/3) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (expm1.f64 x)) (cbrt.f64 (expm1.f64 x))) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 x)) 1) (-.f64 (sqrt.f64 (exp.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (expm1.f64 x)) (cbrt.f64 (cbrt.f64 (pow.f64 (expm1.f64 x) 4)))) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (expm1.f64 x))) 2)) (cbrt.f64 (cbrt.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (expm1.f64 x)) 2) (pow.f64 (expm1.f64 x) 1/6)) (pow.f64 (expm1.f64 x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))) (+.f64 (pow.f64 (exp.f64 x) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (exp.f64 x)) (fma.f64 (exp.f64 x) (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (+.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1)) (neg.f64 (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) 1) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) 1) (+.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (log.f64 (expm1.f64 x)) 2))) (cbrt.f64 (log.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (expm1.f64 x)))) (sqrt.f64 (log.f64 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (expm1.f64 x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (expm1.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (expm1.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -1))))) |
| 1× | egg-herbie |
| 881× | fma-def_binary64 |
| 803× | unswap-sqr_binary64 |
| 610× | associate-/l/_binary64 |
| 507× | distribute-lft-out_binary64 |
| 349× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 70 |
| 1 | 59 | 70 |
| 2 | 126 | 70 |
| 3 | 372 | 64 |
| 4 | 1164 | 63 |
| 5 | 3034 | 63 |
| 6 | 5098 | 63 |
| 7 | 5419 | 63 |
| 8 | 6176 | 63 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x))) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (exp.f64 x) 1) |
(-.f64 (exp.f64 x) 1) |
| Outputs |
|---|
x |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x) |
(fma.f64 1/2 (*.f64 x x) x) |
(*.f64 x (fma.f64 x 1/2 1)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) x)) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) (fma.f64 1/24 (pow.f64 x 4) x))) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (fma.f64 1/24 (pow.f64 x 4) x)) |
(fma.f64 x (*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/24 1/6)))) x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(expm1.f64 x) |
Compiled 721 to 392 computations (45.6% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 69 | 2 | 71 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 69 | 3 | 72 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 x) |
| 1.1b | x | |
| ▶ | 59.1b | (/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1)) |
Compiled 17 to 10 computations (41.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1)) |
| ✓ | 0.0b | (-.f64 (exp.f64 x) -1) |
| ✓ | 3.5b | (fma.f64 (exp.f64 x) (exp.f64 x) -1) |
Compiled 26 to 12 computations (53.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1)) |
| 1.0ms | x | @ | -inf | (/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1)) |
| 1.0ms | x | @ | inf | (fma.f64 (exp.f64 x) (exp.f64 x) -1) |
| 1.0ms | x | @ | -inf | (fma.f64 (exp.f64 x) (exp.f64 x) -1) |
| 0.0ms | x | @ | 0 | (fma.f64 (exp.f64 x) (exp.f64 x) -1) |
| 1× | batch-egg-rewrite |
| 780× | pow1_binary64 |
| 724× | add-log-exp_binary64 |
| 724× | log1p-expm1-u_binary64 |
| 724× | expm1-log1p-u_binary64 |
| 709× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 32 |
| 1 | 148 | 21 |
| 2 | 1988 | 21 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (exp.f64 x) (exp.f64 x) -1) |
(-.f64 (exp.f64 x) -1) |
(/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (pow.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 x) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 (exp.f64 x) 2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) 1) (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -1 (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 2) (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) 3) 1) (+.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) 2)) (+.f64 1 (*.f64 (pow.f64 (exp.f64 x) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) 3) -1) (+.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) 2)) (-.f64 1 (*.f64 (pow.f64 (exp.f64 x) 2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) 2)) 1) (+.f64 (pow.f64 (exp.f64 x) 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) 2)) 1) (-.f64 (pow.f64 (exp.f64 x) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (/.f64 1 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2) (cbrt.f64 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) 1)) (sqrt.f64 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 3) 1) (/.f64 1 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (*.f64 (exp.f64 x) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (+.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (*.f64 (exp.f64 x) -1))) (+.f64 (pow.f64 (exp.f64 x) 3) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 x) -1) (+.f64 -1 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (neg.f64 (pow.f64 (exp.f64 x) 2)) 1) (neg.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) 1) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (*.f64 (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) 1) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 3) 1)) (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (*.f64 (exp.f64 x) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (exp.f64 x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (/.f64 1 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 2) (*.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (/.f64 1 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (*.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (/.f64 1 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) -1)) (sqrt.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 (pow.f64 (exp.f64 x) 2)) 1) (/.f64 1 (+.f64 (neg.f64 (exp.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (exp.f64 x) 1)) (+.f64 -1 (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 2) 1) (/.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 1) (/.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2)) (/.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (cbrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 2) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2)) (cbrt.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2)) (/.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (cbrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (+.f64 (exp.f64 x) 1))) (/.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (sqrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) 2) (sqrt.f64 (+.f64 (exp.f64 x) 1))) (/.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (sqrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 x)) 1) (-.f64 (sqrt.f64 (exp.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (+.f64 (pow.f64 (exp.f64 x) 3) 1)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (*.f64 (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (+.f64 -1 (pow.f64 (exp.f64 x) 2))) (+.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 (exp.f64 x) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) (+.f64 (neg.f64 (exp.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 -1 (pow.f64 (exp.f64 x) 2)) 3) (pow.f64 (+.f64 (exp.f64 x) 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -1))))) |
| 1× | egg-herbie |
| 700× | distribute-rgt-out_binary64 |
| 700× | fma-def_binary64 |
| 529× | distribute-lft-out_binary64 |
| 389× | times-frac_binary64 |
| 375× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 393 |
| 1 | 112 | 389 |
| 2 | 275 | 337 |
| 3 | 845 | 324 |
| 4 | 2698 | 236 |
| 5 | 5054 | 236 |
| 6 | 6788 | 236 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
2 |
(+.f64 2 x) |
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))) |
(+.f64 1 (exp.f64 x)) |
(+.f64 1 (exp.f64 x)) |
(+.f64 1 (exp.f64 x)) |
(+.f64 1 (exp.f64 x)) |
(+.f64 1 (exp.f64 x)) |
(+.f64 1 (exp.f64 x)) |
(+.f64 1 (exp.f64 x)) |
(+.f64 1 (exp.f64 x)) |
x |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 x x) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)) |
(*.f64 2 (+.f64 (*.f64 x x) x)) |
(*.f64 2 (fma.f64 x x x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))) |
(fma.f64 2 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 3) (*.f64 2 x))) |
(+.f64 (*.f64 2 (fma.f64 x x x)) (*.f64 4/3 (pow.f64 x 3))) |
(fma.f64 2 (fma.f64 x x x) (*.f64 4/3 (pow.f64 x 3))) |
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 4/3 2)))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))) |
(fma.f64 2 (*.f64 x x) (fma.f64 2/3 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 3) (*.f64 2 x)))) |
(+.f64 (fma.f64 2/3 (pow.f64 x 4) (*.f64 4/3 (pow.f64 x 3))) (*.f64 2 (fma.f64 x x x))) |
(fma.f64 2/3 (pow.f64 x 4) (fma.f64 2 (fma.f64 x x x) (*.f64 4/3 (pow.f64 x 3)))) |
(fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) (+.f64 4/3 (*.f64 x 2/3)))) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (pow.f64 (exp.f64 x) 2) 1) |
(+.f64 (pow.f64 (exp.f64 x) 2) -1) |
(expm1.f64 (+.f64 x x)) |
2 |
(+.f64 2 x) |
(+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 2 (fma.f64 1/2 (*.f64 x x) x)) |
(+.f64 2 (fma.f64 (*.f64 x x) 1/2 x)) |
(+.f64 2 (fma.f64 x (*.f64 x 1/2) x)) |
(fma.f64 (fma.f64 x 1/2 1) x 2) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 2 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (+.f64 2 (fma.f64 1/2 (*.f64 x x) x))) |
(+.f64 (fma.f64 (*.f64 x x) 1/2 x) (fma.f64 (pow.f64 x 3) 1/6 2)) |
(+.f64 (fma.f64 x (*.f64 x 1/2) x) (fma.f64 (pow.f64 x 3) 1/6 2)) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) (+.f64 2 x)) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
(+.f64 1 (exp.f64 x)) |
(+.f64 (exp.f64 x) 1) |
x |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x) |
(fma.f64 1/2 (*.f64 x x) x) |
(fma.f64 (*.f64 x x) 1/2 x) |
(fma.f64 x (*.f64 x 1/2) x) |
(*.f64 x (fma.f64 x 1/2 1)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (*.f64 x x) 1/2 x)) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 3) 1/6 x)) |
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x))) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) 1/24 x))) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 4) 1/24 x))) |
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) (fma.f64 (pow.f64 x 4) 1/24 x)) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
(/.f64 (-.f64 (pow.f64 (exp.f64 x) 2) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (+.f64 (exp.f64 x) 1)) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (exp.f64 x) 1)) |
(expm1.f64 x) |
Compiled 1719 to 1106 computations (35.7% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 117 | 1 | 118 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 118 | 3 | 121 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 x) |
| 1.1b | x | |
| ▶ | 0.0b | (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
Compiled 15 to 10 computations (33.3% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (+.f64 x x)) |
| ✓ | 0.0b | (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
| 0.0b | (-.f64 (exp.f64 x) -1) |
Compiled 25 to 10 computations (60% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
| 1.0ms | x | @ | inf | (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
| 0.0ms | x | @ | 0 | (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
| 0.0ms | x | @ | 0 | (expm1.f64 (+.f64 x x)) |
| 0.0ms | x | @ | inf | (expm1.f64 (+.f64 x x)) |
| 1× | batch-egg-rewrite |
| 876× | pow1_binary64 |
| 818× | add-log-exp_binary64 |
| 816× | log1p-expm1-u_binary64 |
| 816× | expm1-log1p-u_binary64 |
| 802× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 174 | 12 |
| 2 | 2478 | 12 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
(expm1.f64 (+.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (exp.f64 x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (exp.f64 x) 1)) (/.f64 1 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (+.f64 x x)) (/.f64 1 (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) 2) (cbrt.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (*.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) -1)) (sqrt.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (*.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (/.f64 1 (+.f64 (neg.f64 (exp.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (exp.f64 x) 1)) (expm1.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) 1) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) 1) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (+.f64 (exp.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2)) (/.f64 (expm1.f64 (+.f64 x x)) (cbrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2)) (cbrt.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) 1)) 2)) (/.f64 (sqrt.f64 (expm1.f64 (+.f64 x x))) (cbrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (+.f64 (exp.f64 x) 1))) (/.f64 (expm1.f64 (+.f64 x x)) (sqrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) 2) (sqrt.f64 (+.f64 (exp.f64 x) 1))) (/.f64 (cbrt.f64 (expm1.f64 (+.f64 x x))) (sqrt.f64 (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 x)) 1) (-.f64 (sqrt.f64 (exp.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (pow.f64 (exp.f64 x) 3) 1)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (*.f64 (exp.f64 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 (+.f64 x x))) (+.f64 (exp.f64 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 (exp.f64 x) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (expm1.f64 (+.f64 x x)) (+.f64 (neg.f64 (exp.f64 x)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (expm1.f64 (+.f64 x x)) 3) (pow.f64 (+.f64 (exp.f64 x) 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 x) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (+.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) 1) (expm1.f64 x))))) (#(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 (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 (-.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) 3) 1) (+.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) 2)) (+.f64 1 (*.f64 (pow.f64 (exp.f64 x) 2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) 2)) 1) (+.f64 (pow.f64 (exp.f64 x) 2) 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)) 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 sqrt.f64 (pow.f64 (expm1.f64 (+.f64 x x)) 2))))) (#(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 exp.f64 (log.f64 (expm1.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 x) (exp.f64 x) -1))))) |
| 1× | egg-herbie |
| 729× | fma-def_binary64 |
| 567× | distribute-lft-out_binary64 |
| 387× | distribute-rgt-out_binary64 |
| 340× | distribute-rgt-neg-in_binary64 |
| 297× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 263 |
| 1 | 119 | 259 |
| 2 | 292 | 255 |
| 3 | 984 | 247 |
| 4 | 3763 | 247 |
| 5 | 7827 | 247 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x))) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(*.f64 2 x) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
| Outputs |
|---|
x |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) x) |
(fma.f64 1/2 (*.f64 x x) x) |
(fma.f64 x (*.f64 x 1/2) x) |
(*.f64 x (fma.f64 x 1/2 1)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 x (*.f64 x 1/2) x)) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x) |
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/24 (pow.f64 x 4)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/24 (pow.f64 x 4) x))) |
(fma.f64 x (*.f64 x 1/2) (fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/24 (pow.f64 x 4) x))) |
(fma.f64 x (*.f64 x (fma.f64 x 1/6 1/2)) (fma.f64 1/24 (pow.f64 x 4) x)) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(/.f64 (-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (*.f64 x 2)) (+.f64 1 (exp.f64 x))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 x))) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 x x) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)) |
(*.f64 2 (+.f64 (*.f64 x x) x)) |
(*.f64 2 (fma.f64 x x x)) |
(*.f64 x (fma.f64 x 2 2)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x))) |
(fma.f64 2 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2))) |
(+.f64 (*.f64 2 (fma.f64 x x x)) (*.f64 (pow.f64 x 3) 4/3)) |
(fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) 4/3)) |
(*.f64 x (-.f64 (*.f64 x (fma.f64 x 4/3 2)) -2)) |
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 4/3 2)))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2/3 (pow.f64 x 4)) (+.f64 (*.f64 4/3 (pow.f64 x 3)) (*.f64 2 x)))) |
(fma.f64 2 (*.f64 x x) (fma.f64 2/3 (pow.f64 x 4) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2)))) |
(+.f64 (fma.f64 (pow.f64 x 4) 2/3 (*.f64 (pow.f64 x 3) 4/3)) (*.f64 2 (fma.f64 x x x))) |
(fma.f64 (pow.f64 x 4) 2/3 (fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) 4/3))) |
(fma.f64 x (fma.f64 x 2 2) (*.f64 (pow.f64 x 3) (+.f64 (*.f64 x 2/3) 4/3))) |
(fma.f64 x (fma.f64 x 2 2) (*.f64 (pow.f64 x 3) (+.f64 4/3 (*.f64 x 2/3)))) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (exp.f64 (*.f64 2 x)) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
(-.f64 (exp.f64 (neg.f64 (*.f64 -2 x))) 1) |
(expm1.f64 (*.f64 x 2)) |
(expm1.f64 (+.f64 x x)) |
Compiled 1529 to 830 computations (45.7% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 117 | 0 | 117 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 117 | 3 | 120 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 x) |
| 1.1b | x | |
| ✓ | 0.0b | (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
Compiled 15 to 10 computations (33.3% saved)
Compiled 1 to 1 computations (0% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 2 | 2 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 x) |
| 1.1b | x | |
| ✓ | 0.0b | (/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
Compiled 15 to 10 computations (33.3% saved)
Total -59.7b remaining (-1527165.5%)
Threshold costs -59.7b (-1527165.5%)
| Inputs |
|---|
x |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
(/.f64 (expm1.f64 (+.f64 x x)) (-.f64 (exp.f64 x) -1)) |
(/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) -1) (-.f64 (exp.f64 x) -1)) |
| Outputs |
|---|
(expm1.f64 x) |
4 calls:
| 6.0ms | x |
| 2.0ms | (-.f64 (exp.f64 x) 1) |
| 2.0ms | (exp.f64 x) |
| 2.0ms | (exp.f64 x) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (-.f64 (exp.f64 x) 1) |
| 0.0b | 1 | (exp.f64 x) |
| 0.0b | 1 | (exp.f64 x) |
Compiled 41 to 24 computations (41.5% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 4 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(expm1.f64 x) |
x |
| Outputs |
|---|
(expm1.f64 x) |
x |
Compiled 5 to 3 computations (40% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
| 1× | expm1-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 3 |
| 1 | 11 | 3 |
| 2 | 12 | 3 |
| 1× | saturated |
Compiled 8 to 6 computations (25% saved)
Compiled 4 to 2 computations (50% saved)
Loading profile data...