Time bar (total: 5.3s)
| 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.4% | 0.4% | 49.2% | 10 |
| 50.4% | 0.2% | 49.4% | 11 |
| 50.4% | 0.1% | 49.5% | 12 |
| 50.4% | 0% | 49.6% | 13 |
| 50.4% | 0% | 49.6% | 14 |
Compiled 10 to 8 computations (20% saved)
| 3.3s | 4370× | body | 2048 | valid |
| 915.0ms | 2034× | body | 1024 | valid |
| 265.0ms | 985× | body | 512 | valid |
| 90.0ms | 498× | body | 256 | valid |
| 41.0ms | 369× | body | 128 | valid |
| 0.0ms | 2× | body | 128 | invalid |
Compiled 20 to 16 computations (20% saved)
| 2× | egg-herbie |
| 453× | rules-1_binary64 |
| 383× | rules-6-rev_binary64 |
| 351× | rules-1-rev_binary64 |
| 295× | rules-5-rev_binary64 |
| 247× | rules-20_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 16 | 13 |
| 2 | 25 | 13 |
| 3 | 41 | 13 |
| 4 | 81 | 13 |
| 5 | 217 | 13 |
| 6 | 915 | 13 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 453× | rules-1_binary64 |
| 383× | rules-6-rev_binary64 |
| 351× | rules-1-rev_binary64 |
| 295× | rules-5-rev_binary64 |
| 247× | rules-20_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 16 | 13 |
| 2 | 25 | 13 |
| 3 | 41 | 13 |
| 4 | 81 | 13 |
| 5 | 217 | 13 |
| 6 | 915 | 13 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
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 |
|---|---|---|
| ▶ | 28.5b | (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
| 28.6b | (+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))) |
Compiled 53 to 38 computations (28.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (exp.f64 (neg.f64 x)) 2) |
| ✓ | 4.5b | (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
| 1.0ms | x | @ | 0 | (-.f64 (exp.f64 (neg.f64 x)) 2) |
| 1.0ms | x | @ | inf | (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
| 1.0ms | x | @ | -inf | (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
| 0.0ms | x | @ | -inf | (-.f64 (exp.f64 (neg.f64 x)) 2) |
| 1× | batch-egg-rewrite |
| 959× | rules-41_binary64 |
| 959× | rules-42_binary64 |
| 959× | rules-43_binary64 |
| 90× | add-sqr-sqrt_binary64 |
| 86× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 1 | 197 | 21 |
| 2 | 2668 | 21 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (-.f64 0 (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) (-.f64 0 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (-.f64 2 (exp.f64 x)) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 x) (+.f64 1 (/.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) (+.f64 1 (/.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) 2) (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (+.f64 (cbrt.f64 (exp.f64 x)) (/.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) (pow.f64 (cbrt.f64 (exp.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 2) (+.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (/.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 x)) (+.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) (sqrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (+.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (/.f64 (exp.f64 x) (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 3) (+.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 2) (+.f64 0 (*.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 3) (+.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 2) (-.f64 0 (*.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 2) (-.f64 1 (*.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 3)) (+.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (-.f64 2 (exp.f64 x)) (exp.f64 x))) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 2) (-.f64 1 (*.f64 2 (exp.f64 x))))))) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 2) (-.f64 1 (*.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 8) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) 2) (+.f64 4 (*.f64 (exp.f64 (neg.f64 x)) 2))))) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) 2) (+.f64 4 (*.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3)) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 x) 1 (-.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (neg.f64 x)) 1 (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) 2) (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 (neg.f64 x))) 2) (cbrt.f64 (exp.f64 (neg.f64 x))) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) (cbrt.f64 (exp.f64 x)) (-.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 2) (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (neg.f64 x))) (sqrt.f64 (exp.f64 (neg.f64 x))) (neg.f64 (-.f64 2 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (-.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 2) (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 3) (+.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 2) (+.f64 0 (*.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 3) (+.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 2) (-.f64 0 (*.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 8) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) 2) (+.f64 4 (*.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 2 (exp.f64 x))) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 x)) 3) 8) (*.f64 0 (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) 2) (+.f64 4 (*.f64 (exp.f64 (neg.f64 x)) 2))))) (+.f64 (pow.f64 (exp.f64 (neg.f64 x)) 2) (+.f64 4 (*.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (-.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (exp.f64 (neg.f64 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (neg.f64 x)) 1 -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (exp.f64 (neg.f64 x)) 2) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 (neg.f64 x))) 2) (cbrt.f64 (exp.f64 (neg.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 2) (cbrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 (neg.f64 x))) (sqrt.f64 (exp.f64 (neg.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) (sqrt.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (exp.f64 (neg.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (exp.f64 (neg.f64 x)) 2))))))) |
| 1× | egg-herbie |
| 620× | rules-6_binary64 |
| 592× | rules-13_binary64 |
| 332× | rules-20_binary64 |
| 248× | rules-11_binary64 |
| 188× | rules-21_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 236 |
| 1 | 122 | 228 |
| 2 | 394 | 228 |
| 3 | 1415 | 228 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
-1 |
(neg.f64 (+.f64 1 x)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 x)) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 (+.f64 x (*.f64 1/6 (pow.f64 x 3))))) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 x x (fma.f64 1/12 (pow.f64 x 4) (*.f64 1/360 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) (-.f64 2 (exp.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
-1 |
(neg.f64 (+.f64 1 x)) |
(neg.f64 (+.f64 x 1)) |
(-.f64 -1 x) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 x)) |
(-.f64 (*.f64 (*.f64 x x) 1/2) (+.f64 x 1)) |
(-.f64 (fma.f64 (*.f64 x x) 1/2 -1) x) |
(-.f64 (fma.f64 x (*.f64 x 1/2) -1) x) |
(-.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 1 (+.f64 x (*.f64 1/6 (pow.f64 x 3))))) |
(-.f64 (*.f64 (*.f64 x x) 1/2) (+.f64 1 (+.f64 x (*.f64 1/6 (pow.f64 x 3))))) |
(-.f64 (fma.f64 (*.f64 x x) 1/2 -1) (fma.f64 1/6 (pow.f64 x 3) x)) |
(-.f64 (fma.f64 x (*.f64 x 1/2) -1) (fma.f64 1/6 (pow.f64 x 3) x)) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
(-.f64 (exp.f64 (*.f64 -1 x)) 2) |
(-.f64 (exp.f64 (neg.f64 x)) 2) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 100 | 2 | 102 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 102 | 2 | 104 |
| Status | Error | Program |
|---|---|---|
| 28.6b | (log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) | |
| ▶ | 0.1b | (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
Compiled 1561 to 861 computations (44.8% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
| 2.0ms | x | @ | -inf | (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
| 1.0ms | x | @ | 0 | (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 637× | rules-40_binary64 |
| 637× | rules-41_binary64 |
| 637× | rules-42_binary64 |
| 637× | rules-43_binary64 |
| 598× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 170 | 11 |
| 2 | 2018 | 11 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 1/20160 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (+.f64 0 (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/20160 (pow.f64 x 8)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x x) (-.f64 0 (*.f64 1/20160 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 0 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x (/.f64 (*.f64 1/20160 (pow.f64 x 8)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (+.f64 1 (/.f64 (*.f64 1/20160 (pow.f64 x 8)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (+.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 (*.f64 1/20160 (pow.f64 x 8)) (cbrt.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))) 2) (cbrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))) (sqrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 3) (+.f64 (pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 2) (+.f64 0 (*.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 3) (+.f64 (pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 2) (-.f64 0 (*.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/20160 (pow.f64 x 8)) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 1/20160 (pow.f64 x 8)) (*.f64 1/20160 (pow.f64 x 8))) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 1/20160 (pow.f64 x 8)) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 390× | rules-4_binary64 |
| 305× | rules-1_binary64 |
| 284× | rules-33_binary64 |
| 254× | rules-6_binary64 |
| 235× | rules-1-rev_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 117 |
| 1 | 21 | 117 |
| 2 | 54 | 117 |
| 3 | 121 | 117 |
| 4 | 502 | 117 |
| 5 | 3871 | 117 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(*.f64 1/20160 (pow.f64 x 8)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(*.f64 1/20160 (pow.f64 x 8)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(*.f64 1/20160 (pow.f64 x 8)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(*.f64 1/20160 (pow.f64 x 8)) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
(+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)) |
(fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 0 | 38 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 38 | 2 | 40 |
| Status | Error | Program |
|---|---|---|
| ▶ | 28.6b | (log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) |
| ✓ | 0.1b | (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
Compiled 915 to 651 computations (28.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (-.f64 (exp.f64 (neg.f64 x)) 2) | |
| 4.5b | (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)) | |
| ✓ | 4.5b | (log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) |
| 1.0ms | x | @ | inf | (log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) |
| 1.0ms | x | @ | -inf | (log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) |
| 1× | batch-egg-rewrite |
| 411× | rules-20_binary64 |
| 205× | rules-34-rev_binary64 |
| 176× | rules-21_binary64 |
| 128× | rules-15-rev_binary64 |
| 112× | rules-14-rev_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 13 |
| 1 | 226 | 13 |
| 2 | 2915 | 11 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (exp.f64 x) 2) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (log1p.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))) (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (neg.f64 (-.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (/.f64 (-.f64 1 (*.f64 (exp.f64 x) 2)) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (exp.f64 x) 2) (neg.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (-.f64 2 (exp.f64 x)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (-.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (-.f64 1 (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))) (neg.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (-.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (+.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (-.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (-.f64 1 (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))) (-.f64 (neg.f64 (exp.f64 x)) 0)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 x) (exp.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 x) (+.f64 1 (-.f64 1 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 x) (fabs.f64 (+.f64 1 (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (fabs.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (exp.f64 x) 2) (+.f64 1 (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (exp.f64 x) 2) (fabs.f64 (+.f64 1 (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) 2) (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) 2)) (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (cbrt.f64 (pow.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) 2)) (fabs.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (cbrt.f64 (pow.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) 2) (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) 2) (fabs.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (sqrt.f64 (exp.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 x)) (fabs.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (sqrt.f64 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (exp.f64 x) 2)) (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (sqrt.f64 (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (exp.f64 x) 2)) (fabs.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (sqrt.f64 (-.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) (-.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) 2)) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (sqrt.f64 (-.f64 (exp.f64 x) 2))) (sqrt.f64 (-.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (-.f64 1 (*.f64 (exp.f64 x) 2))) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (cbrt.f64 (pow.f64 (exp.f64 x) 2))) (cbrt.f64 (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) (sqrt.f64 (exp.f64 x))) (sqrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fabs.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (-.f64 2 (exp.f64 x)))) (+.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (-.f64 2 (exp.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (fabs.f64 (/.f64 1 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 3) (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) (fabs.f64 (/.f64 1 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (fabs.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fabs.f64 (-.f64 1 (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fabs.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2))))))) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fabs.f64 (+.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2)))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fabs.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3))) (fabs.f64 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (exp.f64 x) (*.f64 (neg.f64 (-.f64 (exp.f64 x) 2)) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (*.f64 (neg.f64 (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) 2))) (pow.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (*.f64 (-.f64 2 (exp.f64 x)) (pow.f64 (exp.f64 x) 2))) (pow.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (sqrt.f64 (exp.f64 x)) (*.f64 (-.f64 2 (exp.f64 x)) (sqrt.f64 (exp.f64 x)))) (sqrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (/.f64 1 (cbrt.f64 (pow.f64 (exp.f64 x) 2))) (*.f64 (-.f64 2 (exp.f64 x)) (cbrt.f64 (exp.f64 x)))) (cbrt.f64 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 (exp.f64 x) 2) (*.f64 (neg.f64 (exp.f64 x)) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (*.f64 (neg.f64 (exp.f64 x)) (pow.f64 (-.f64 (exp.f64 x) 2) 2))) (pow.f64 (-.f64 (exp.f64 x) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 (neg.f64 (exp.f64 x)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 1 (*.f64 (exp.f64 x) 2)) (*.f64 (neg.f64 (exp.f64 x)) (exp.f64 x))) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (*.f64 (neg.f64 (exp.f64 x)) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 1 (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))) 0) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (+.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (*.f64 (exp.f64 x) (pow.f64 (-.f64 (exp.f64 x) 2) 2))) (pow.f64 (-.f64 (exp.f64 x) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 1 (*.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) 2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (*.f64 (-.f64 (exp.f64 x) 2) (pow.f64 (exp.f64 x) 2))) (pow.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 (pow.f64 (exp.f64 x) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 1 (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x)))) 0) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 (+.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))) (+.f64 (pow.f64 (exp.f64 x) 2) (-.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 2) (-.f64 1 (*.f64 (exp.f64 x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (+.f64 (-.f64 (pow.f64 (exp.f64 x) 3) 8) (*.f64 (exp.f64 x) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 4 (*.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (-.f64 2 (exp.f64 x)) 3)) (*.f64 0 (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))) (+.f64 (pow.f64 (exp.f64 x) 2) (+.f64 (*.f64 (-.f64 2 (exp.f64 x)) (-.f64 2 (exp.f64 x))) (*.f64 (exp.f64 x) (-.f64 2 (exp.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (-.f64 2 (exp.f64 x)) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (neg.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 x) 1 (-.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (exp.f64 x) 2) 1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) 2) (cbrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 x) 2)) (cbrt.f64 (exp.f64 x)) (-.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 x) 2)) 2) (cbrt.f64 (-.f64 (exp.f64 x) 2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) (sqrt.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 x)) (sqrt.f64 (exp.f64 x)) (-.f64 (exp.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (exp.f64 x) 2)) (sqrt.f64 (-.f64 (exp.f64 x) 2)) (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 x) 2)))))))) |
| 1× | egg-herbie |
| 596× | rules-4_binary64 |
| 537× | fma-def_binary64 |
| 444× | rules-13_binary64 |
| 350× | rules-6_binary64 |
| 219× | rules-20_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 162 |
| 1 | 83 | 162 |
| 2 | 264 | 162 |
| 3 | 918 | 162 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (pow.f64 x 2)) |
(fma.f64 1/12 (pow.f64 x 4) (*.f64 x x)) |
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (pow.f64 x 2))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x))) |
(fma.f64 x x (fma.f64 1/360 (pow.f64 x 6) (*.f64 1/12 (pow.f64 x 4)))) |
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 x x (*.f64 1/20160 (pow.f64 x 8))))) |
(fma.f64 1/20160 (pow.f64 x 8) (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (*.f64 x x)))) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(-.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
(-.f64 (+.f64 (exp.f64 (*.f64 -1 x)) (exp.f64 x)) 2) |
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x)))) |
(+.f64 (exp.f64 (neg.f64 x)) (-.f64 (exp.f64 x) 2)) |
(+.f64 (exp.f64 x) (+.f64 (exp.f64 (neg.f64 x)) -2)) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 224 | 0 | 224 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 224 | 2 | 226 |
| Status | Error | Program |
|---|---|---|
| ✓ | 28.6b | (log.f64 (exp.f64 (+.f64 (exp.f64 x) (-.f64 (exp.f64 (neg.f64 x)) 2)))) |
| ✓ | 0.1b | (fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
Compiled 4153 to 2526 computations (39.2% saved)
Total 0.2b remaining (31.7%)
Threshold costs 0.2b (31.7%)
Compiled 1234 to 904 computations (26.7% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 25 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
| Outputs |
|---|
(fma.f64 1/12 (pow.f64 x 4) (fma.f64 1/360 (pow.f64 x 6) (fma.f64 1/20160 (pow.f64 x 8) (*.f64 x x)))) |
| 1× | done |
Compiled 68 to 51 computations (25% saved)
Loading profile data...