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.4s | 4109× | body | 1024 | valid |
| 394.0ms | 2089× | body | 512 | valid |
| 336.0ms | 456× | body | 2048 | valid |
| 163.0ms | 1602× | body | 256 | valid |
| 0.0ms | 3× | 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)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (expm1.f64 x) |
| ▶ | 59.1b | (-.f64 (exp.f64 x) 1) |
Compiled 8 to 6 computations (25% 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 log1p.f64 (expm1.f64 (expm1.f64 x)))))) (#(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 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) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 6.0b | (-.f64 (exp.f64 x) 1) |
Compiled 9 to 5 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 (exp.f64 x) 1) |
| 0.0ms | x | @ | inf | (-.f64 (exp.f64 x) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (exp.f64 x) 1) |
| 1× | batch-egg-rewrite |
| 459× | pow1_binary64 |
| 448× | add-sqr-sqrt_binary64 |
| 440× | *-un-lft-identity_binary64 |
| 428× | add-log-exp_binary64 |
| 427× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 3 |
| 1 | 101 | 3 |
| 2 | 1196 | 3 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 x) 1) |
| 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 1 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 x) 1)))) (#(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 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (/.f64 1 (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1) (/.f64 1 (+.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 1 (/.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (+.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 (pow.f64 (exp.f64 x) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) -1) (fma.f64 (exp.f64 x) (exp.f64 x) (+.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) 2) -1) (+.f64 (exp.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -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 (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 (exp.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (exp.f64 x) 2) -1)) (neg.f64 (+.f64 (exp.f64 x) 1)))))) (#(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) 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 sqrt.f64 (pow.f64 (expm1.f64 x) 2))))) (#(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 expm1.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.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 |
| 525× | distribute-lft-out_binary64 |
| 507× | *-commutative_binary64 |
| 486× | sqr-pow_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 46 |
| 1 | 51 | 46 |
| 2 | 119 | 46 |
| 3 | 369 | 40 |
| 4 | 1155 | 39 |
| 5 | 2994 | 39 |
| 6 | 5002 | 39 |
| 7 | 5151 | 39 |
| 8 | 5405 | 39 |
| 9 | 5733 | 39 |
| 10 | 6247 | 39 |
| 11 | 6839 | 39 |
| 12 | 7355 | 39 |
| 13 | 7909 | 39 |
| 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))) |
| 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)) |
(fma.f64 x (*.f64 x 1/2) x) |
(+.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) |
(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 1/24 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x 1/6 1/2) x)) |
(fma.f64 x (*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/24 1/6)))) x) |
Compiled 1057 to 573 computations (45.8% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 108 | 1 | 109 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 108 | 3 | 111 |
| Status | Error | Program |
|---|---|---|
| 1.1b | x | |
| ✓ | 0.0b | (expm1.f64 x) |
| ✓ | 59.1b | (-.f64 (exp.f64 x) 1) |
Compiled 10 to 7 computations (30% 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 |
|---|---|---|
| 1.1b | x | |
| ✓ | 0.0b | (expm1.f64 x) |
| ✓ | 59.1b | (-.f64 (exp.f64 x) 1) |
Compiled 10 to 7 computations (30% 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 |
|---|---|---|
| 1.1b | x | |
| ✓ | 0.0b | (expm1.f64 x) |
| ✓ | 59.1b | (-.f64 (exp.f64 x) 1) |
Compiled 10 to 7 computations (30% 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 |
|---|---|---|
| 1.1b | x | |
| ✓ | 0.0b | (expm1.f64 x) |
| ✓ | 59.1b | (-.f64 (exp.f64 x) 1) |
Compiled 10 to 7 computations (30% saved)
Total -59.8b remaining (-1530449.7%)
Threshold costs -59.8b (-1530449.7%)
| Inputs |
|---|
x |
(expm1.f64 x) |
(-.f64 (exp.f64 x) 1) |
| Outputs |
|---|
(expm1.f64 x) |
3 calls:
| 4.0ms | x |
| 2.0ms | (-.f64 (exp.f64 x) 1) |
| 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) |
Compiled 18 to 12 computations (33.3% 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...