Time bar (total: 2.9s)
| 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)
| 1.3s | 8256× | body | 128 | valid |
| 0.0ms | 1× | body | 128 | invalid |
Compiled 18 to 14 computations (22.2% saved)
| 2× | egg-herbie |
| 479× | rules-20_binary64 |
| 243× | rules-24_binary64 |
| 224× | rules-22_binary64 |
| 215× | rules-24-rev_binary64 |
| 188× | rules-4_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 45 | 7 |
| 3 | 142 | 7 |
| 4 | 509 | 7 |
| 5 | 2343 | 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 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 479× | rules-20_binary64 |
| 243× | rules-24_binary64 |
| 224× | rules-22_binary64 |
| 215× | rules-24-rev_binary64 |
| 188× | rules-4_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 19 | 9 |
| 2 | 45 | 7 |
| 3 | 142 | 7 |
| 4 | 509 | 7 |
| 5 | 2343 | 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 (*.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 | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (exp.f64 (fma.f64 x x -1)) |
| 1.0ms | x | @ | -inf | (exp.f64 (fma.f64 x x -1)) |
| 1.0ms | x | @ | inf | (exp.f64 (fma.f64 x x -1)) |
| 1× | batch-egg-rewrite |
| 426× | pow1_binary64 |
| 426× | rules-40_binary64 |
| 426× | rules-41_binary64 |
| 426× | rules-42_binary64 |
| 426× | rules-43_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 107 | 7 |
| 2 | 1209 | 7 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (fma.f64 x x -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 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 /.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (-.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(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 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (fma.f64 x x -1)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0))))) |
| 1× | egg-herbie |
| 616× | rules-6_binary64 |
| 342× | rules-1_binary64 |
| 339× | rules-20_binary64 |
| 274× | rules-1-rev_binary64 |
| 247× | rules-14-rev_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 81 |
| 1 | 69 | 63 |
| 2 | 292 | 56 |
| 3 | 1360 | 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 (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) (+.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))))) |
(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)))) |
(fma.f64 (exp.f64 -1) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) (*.f64 x x))) (exp.f64 -1)) |
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 4 | 37 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 34 | 4 | 38 |
| Status | Error | Program |
|---|---|---|
| 0.0b | (-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1) | |
| ▶ | 0.0b | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| 0.0b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) | |
| 0.0b | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
Compiled 472 to 358 computations (24.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (exp.f64 (fma.f64 x x -1)) | |
| ✓ | 1.0b | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| ✓ | 1.0b | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 158.0ms | x | @ | inf | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| 153.0ms | x | @ | -inf | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| 10.0ms | x | @ | 0 | (log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| 2.0ms | x | @ | 0 | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| 1.0ms | x | @ | inf | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| 1× | batch-egg-rewrite |
| 518× | rules-40_binary64 |
| 518× | rules-41_binary64 |
| 518× | rules-42_binary64 |
| 518× | rules-43_binary64 |
| 476× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 16 |
| 1 | 133 | 16 |
| 2 | 1478 | 16 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (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 /.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (-.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (+.f64 1 (+.f64 (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 pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (fma.f64 x x -1)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3) (+.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 2) (+.f64 0 (*.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3) (+.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 2) (-.f64 0 (*.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))))) |
| 1× | egg-herbie |
| 418× | rules-13_binary64 |
| 399× | rules-4_binary64 |
| 237× | rules-20_binary64 |
| 228× | rules-6_binary64 |
| 204× | rules-11_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 453 |
| 1 | 202 | 414 |
| 2 | 993 | 408 |
| 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))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(log.f64 (+.f64 1 (exp.f64 -1))) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2)))) |
(-.f64 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))) (+.f64 (*.f64 1/6 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 1 (exp.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -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 (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) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))) |
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.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))))) |
(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 (*.f64 1/6 (pow.f64 x 6))) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(log.f64 (+.f64 1 (exp.f64 -1))) |
(log1p.f64 (exp.f64 -1)) |
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1)))) |
(+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) |
(fma.f64 (exp.f64 -1) (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (log1p.f64 (exp.f64 -1))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2)))) |
(-.f64 (fma.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 (exp.f64 -1) 1)) (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 2)) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)))) |
(-.f64 (fma.f64 (exp.f64 -1) (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (log1p.f64 (exp.f64 -1))) (*.f64 1/2 (-.f64 (*.f64 (pow.f64 x 4) (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2))) (*.f64 (exp.f64 -1) (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1)))))) |
(-.f64 (*.f64 (exp.f64 -1) (+.f64 (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (*.f64 1/2 (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1))))) (-.f64 (*.f64 (exp.f64 -2) (/.f64 (pow.f64 x 4) (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) 1/2))) (log1p.f64 (exp.f64 -1)))) |
(-.f64 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))) (+.f64 (*.f64 1/6 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 1 (exp.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 1 (exp.f64 -1)))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))))) (+.f64 (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 4)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 x 6)) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))))) |
(-.f64 (fma.f64 1/3 (/.f64 (*.f64 (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3)) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)) (fma.f64 1/6 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (exp.f64 -1) 1)) (fma.f64 1/2 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (+.f64 (exp.f64 -1) 1)) (+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)))))) (*.f64 1/2 (+.f64 (/.f64 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 2)) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 (pow.f64 (exp.f64 -1) 2) (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)))))) |
(-.f64 (fma.f64 1/3 (*.f64 (pow.f64 x 6) (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3))) (fma.f64 1/6 (*.f64 (exp.f64 -1) (/.f64 (pow.f64 x 6) (+.f64 (exp.f64 -1) 1))) (fma.f64 (exp.f64 -1) (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (fma.f64 1/2 (*.f64 (exp.f64 -1) (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1))) (log1p.f64 (exp.f64 -1)))))) (*.f64 1/2 (*.f64 (exp.f64 -2) (+.f64 (/.f64 (pow.f64 x 4) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)))))) |
(-.f64 (+.f64 (log1p.f64 (exp.f64 -1)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 x (/.f64 x (+.f64 (exp.f64 -1) 1))) (*.f64 1/2 (/.f64 (pow.f64 x 4) (+.f64 (exp.f64 -1) 1)))))) (-.f64 (*.f64 1/2 (*.f64 (exp.f64 -2) (+.f64 (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (/.f64 (pow.f64 x 4) (pow.f64 (+.f64 (exp.f64 -1) 1) 2))))) (*.f64 (pow.f64 x 6) (+.f64 (*.f64 1/3 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3))) (*.f64 (exp.f64 -1) (/.f64 1/6 (+.f64 (exp.f64 -1) 1))))))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
(log.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1)))) |
(log1p.f64 (exp.f64 (fma.f64 x x -1))) |
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 112 | 0 | 112 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 112 | 4 | 116 |
| Status | Error | Program |
|---|---|---|
| 0.0b | (-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1) | |
| ✓ | 0.0b | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| 0.0b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) | |
| ▶ | 0.0b | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
Compiled 1646 to 1329 computations (19.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| 3.0ms | x | @ | -inf | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| 2.0ms | x | @ | 0 | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| 1× | batch-egg-rewrite |
| 603× | rules-40_binary64 |
| 603× | rules-41_binary64 |
| 603× | rules-42_binary64 |
| 603× | rules-43_binary64 |
| 558× | expm1-log1p-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 153 | 7 |
| 2 | 1813 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) (*.f64 (exp.f64 -1) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) (*.f64 (exp.f64 (*.f64 x x)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) (*.f64 (exp.f64 -1) 0))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) (*.f64 (exp.f64 (*.f64 x x)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (exp.f64 (*.f64 x x)) (/.f64 1 (exp.f64 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (exp.f64 -1) (/.f64 1 (exp.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (-.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(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 fabs.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x 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 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 -1) (exp.f64 (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (fma.f64 x x -1)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1)))))) |
| 1× | egg-herbie |
| 615× | rules-6_binary64 |
| 346× | rules-1_binary64 |
| 342× | rules-20_binary64 |
| 276× | rules-1-rev_binary64 |
| 249× | rules-14-rev_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 153 |
| 1 | 74 | 119 |
| 2 | 303 | 112 |
| 3 | 1375 | 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 (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) (+.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))))) |
(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 1/6 (pow.f64 x 6) (*.f64 1/2 (pow.f64 x 4))) (fma.f64 x x 1))) |
(fma.f64 (exp.f64 -1) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))) (exp.f64 -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1)) |
(exp.f64 (+.f64 (*.f64 x x) -1)) |
(exp.f64 (fma.f64 x x -1)) |
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 0 | 41 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 41 | 4 | 45 |
| Status | Error | Program |
|---|---|---|
| 0.0b | (-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1) | |
| ✓ | 0.0b | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| ▶ | 0.0b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| ✓ | 0.0b | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
Compiled 480 to 356 computations (25.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| ✓ | 0.0b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 0.0b | (exp.f64 (fma.f64 x x -1)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 4.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 3.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| 2.0ms | x | @ | 0 | (sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| 2.0ms | x | @ | -inf | (sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| 1× | batch-egg-rewrite |
| 581× | rules-40_binary64 |
| 581× | rules-41_binary64 |
| 581× | rules-42_binary64 |
| 581× | rules-43_binary64 |
| 539× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 1 | 181 | 16 |
| 2 | 1729 | 16 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
(sqrt.f64 (exp.f64 (fma.f64 x x -1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (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 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 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (*.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (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 (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (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 /.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (/.f64 1 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (-.f64 0 (*.f64 (exp.f64 (fma.f64 x x -1)) 0))))))) (#(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 fabs.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (fma.f64 x x -1)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.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))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 1 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)) (sqrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1/2) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) (+.f64 (exp.f64 (fma.f64 x x -1)) (+.f64 0 (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3/2) (+.f64 (exp.f64 (fma.f64 x x -1)) (-.f64 0 (*.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.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/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.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/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/4) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/2 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 1/2)))))) |
| 1× | egg-herbie |
| 545× | rules-14-rev_binary64 |
| 515× | fma-def_binary64 |
| 499× | rules-21_binary64 |
| 379× | rules-13_binary64 |
| 326× | rules-10-rev_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 247 |
| 1 | 128 | 217 |
| 2 | 575 | 187 |
| 3 | 2937 | 187 |
| 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))))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(sqrt.f64 (exp.f64 -1)) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/48 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.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 (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) (+.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))))) |
(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)))) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(exp.f64 (fma.f64 x x -1)) |
(sqrt.f64 (exp.f64 -1)) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1))))) |
(fma.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) (sqrt.f64 (exp.f64 -1))) |
(*.f64 (sqrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 x x) 1/2 1)) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2))))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (fma.f64 1/8 (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 -1))) (*.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1)))))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (*.f64 x x) 1/2) (*.f64 (pow.f64 x 4) 1/8)))) |
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (fma.f64 (pow.f64 x 4) 1/8 (*.f64 x (*.f64 1/2 x))) 1)) |
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 x (*.f64 1/2 x)) (fma.f64 (pow.f64 x 4) 1/8 1))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/48 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 1/8 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 4))) (*.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 -1)) (pow.f64 x 2)))))) |
(+.f64 (sqrt.f64 (exp.f64 -1)) (fma.f64 1/48 (*.f64 (pow.f64 x 6) (sqrt.f64 (exp.f64 -1))) (fma.f64 1/8 (*.f64 (pow.f64 x 4) (sqrt.f64 (exp.f64 -1))) (*.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1))))))) |
(+.f64 (fma.f64 (*.f64 x x) (*.f64 1/2 (sqrt.f64 (exp.f64 -1))) (sqrt.f64 (exp.f64 -1))) (*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (pow.f64 x 6) 1/48) (*.f64 (pow.f64 x 4) 1/8)))) |
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 (fma.f64 (pow.f64 x 6) 1/48 (*.f64 (pow.f64 x 4) 1/8)) (fma.f64 (*.f64 x x) 1/2 1))) |
(*.f64 (sqrt.f64 (exp.f64 -1)) (+.f64 1 (fma.f64 (pow.f64 x 6) 1/48 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 4) 1/8))))) |
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 0 | 116 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 116 | 4 | 120 |
| Status | Error | Program |
|---|---|---|
| 0.0b | (-.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1) | |
| ✓ | 0.0b | (expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| ✓ | 0.0b | (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2) |
| ✓ | 0.0b | (*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1)) |
Compiled 1588 to 1254 computations (21% saved)
Total 0.0b remaining (43.7%)
Threshold costs 0.0b (43.7%)
Compiled 898 to 719 computations (19.9% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1× | saturated |
| Inputs |
|---|
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| Outputs |
|---|
(expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) |
| 1× | fuel |
Compiled 51 to 39 computations (23.5% saved)
Loading profile data...