Time bar (total: 2.2s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 99.9% | 0% | 0.1% | 1 |
Compiled 13 to 12 computations (7.7% saved)
| 820.0ms | 2038× | body | 1024 | valid |
| 439.0ms | 4466× | body | 128 | valid |
| 281.0ms | 1017× | body | 512 | valid |
| 108.0ms | 224× | body | 2048 | valid |
| 99.0ms | 511× | body | 256 | valid |
Compiled 26 to 24 computations (7.7% saved)
| 2× | egg-herbie |
| 868× | unswap-sqr_binary64 |
| 380× | associate-*l*_binary64 |
| 316× | associate-/l/_binary64 |
| 260× | associate-*r*_binary64 |
| 252× | associate-/r/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 30 |
| 1 | 29 | 30 |
| 2 | 41 | 30 |
| 3 | 58 | 30 |
| 4 | 103 | 30 |
| 5 | 226 | 30 |
| 6 | 602 | 30 |
| 7 | 1879 | 30 |
| 8 | 4934 | 30 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 y)))) 1) |
| Outputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 y)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) y))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 y) -2))) -1) |
Compiled 12 to 11 computations (8.3% saved)
| 1× | egg-herbie |
| 978× | times-frac_binary64 |
| 434× | unswap-sqr_binary64 |
| 374× | associate-*l/_binary64 |
| 342× | associate-/l*_binary64 |
| 228× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 15 |
| 1 | 19 | 15 |
| 2 | 25 | 15 |
| 3 | 34 | 15 |
| 4 | 59 | 15 |
| 5 | 124 | 15 |
| 6 | 311 | 15 |
| 7 | 972 | 15 |
| 8 | 2549 | 15 |
| 9 | 4189 | 15 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| Outputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (/.f64 x -1/2)))) -1) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 31.2b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
Compiled 46 to 42 computations (8.7% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (exp.f64 (*.f64 -2 x))) |
| ✓ | 0.0b | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| ✓ | 2.5b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 1.0ms | x | @ | 0 | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 1.0ms | x | @ | -inf | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| 1.0ms | x | @ | inf | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 1.0ms | x | @ | -inf | (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
| 1× | batch-egg-rewrite |
| 426× | log-prod_binary64 |
| 259× | prod-diff_binary64 |
| 227× | fma-def_binary64 |
| 175× | expm1-udef_binary64 |
| 175× | log1p-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 36 |
| 1 | 217 | 36 |
| 2 | 2712 | 36 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) |
(+.f64 1 (exp.f64 (*.f64 -2 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1))) (cbrt.f64 (exp.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1))))) (log.f64 (cbrt.f64 (exp.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)) (cbrt.f64 (pow.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) 2)) (cbrt.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)) (sqrt.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3)) -1) (/.f64 1 (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) -1) (/.f64 1 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1) (-.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) (+.f64 (/.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (/.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3)) -1) (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (/.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3)) -1) (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) (-.f64 1 (*.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) -1) (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (/.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3)) -1)) (neg.f64 (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)) -1)) (neg.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -2 (/.f64 1 (+.f64 -1 (neg.f64 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (cbrt.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))) (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))) (*.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (*.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (+.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 3))) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 2 (-.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 2))) (-.f64 1 (pow.f64 (exp.f64 x) -2)) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) (cbrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -2 (/.f64 1 (+.f64 -1 (neg.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (cbrt.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))) (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))) (*.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) (*.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (+.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 3))) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 2 (-.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 2))) (-.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 4 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 8 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) (cbrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))) (cbrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) (sqrt.f64 (+.f64 1 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 x) -2))) (/.f64 (pow.f64 (pow.f64 (exp.f64 x) -2) 2) (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2) (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) (sqrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 3)) (/.f64 1 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 2)) (/.f64 1 (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1) (+.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2)) (-.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 3)) (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 3)) (+.f64 (pow.f64 (pow.f64 (exp.f64 x) -2) 2) (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 2)) (-.f64 1 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 3))) (neg.f64 (fma.f64 (pow.f64 (exp.f64 x) -2) (expm1.f64 (*.f64 -2 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (pow.f64 (exp.f64 x) -2) 2))) (neg.f64 (-.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (*.f64 -2 x))) (expm1.f64 (*.f64 -2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (exp.f64 x) -2) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -2)) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) -2) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) -2) 2)) (cbrt.f64 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (exp.f64 x) -2)) (sqrt.f64 (pow.f64 (exp.f64 x) -2)) 1))))) |
| 1× | egg-herbie |
| 652× | fma-def_binary64 |
| 431× | distribute-rgt-neg-in_binary64 |
| 352× | distribute-lft-neg-in_binary64 |
| 349× | cancel-sign-sub-inv_binary64 |
| 277× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 257 |
| 1 | 126 | 252 |
| 2 | 325 | 238 |
| 3 | 1082 | 231 |
| 4 | 3632 | 231 |
| 1× | node limit |
| Inputs |
|---|
x |
(-.f64 x (*.f64 1/3 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3)))) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
1 |
(+.f64 1 x) |
(-.f64 (+.f64 1 x) (*.f64 1/3 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (+.f64 1 x)) (*.f64 1/3 (pow.f64 x 3))) |
2 |
(-.f64 2 (*.f64 2 x)) |
(-.f64 (+.f64 2 (*.f64 2 (pow.f64 x 2))) (*.f64 2 x)) |
(-.f64 (+.f64 2 (*.f64 2 (pow.f64 x 2))) (+.f64 (*.f64 2 x) (*.f64 4/3 (pow.f64 x 3)))) |
| Outputs |
|---|
x |
(-.f64 x (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 x (*.f64 -1/3 (pow.f64 x 3))) |
(+.f64 x (*.f64 (pow.f64 x 3) -1/3)) |
(fma.f64 (pow.f64 x 3) -1/3 x) |
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 -1/3 (pow.f64 x 3))) |
(+.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 (pow.f64 x 3) -1/3)) |
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) x) (+.f64 (*.f64 17/315 (pow.f64 x 7)) (*.f64 1/3 (pow.f64 x 3)))) |
(-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 17/315 (pow.f64 x 7) (*.f64 1/3 (pow.f64 x 3)))) |
(-.f64 (fma.f64 2/15 (pow.f64 x 5) x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 17/315 (pow.f64 x 7)))) |
(+.f64 (*.f64 (pow.f64 x 7) -17/315) (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) |
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 7) -17/315 (fma.f64 2/15 (pow.f64 x 5) x))) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
(-.f64 (*.f64 2 (/.f64 1 (+.f64 1 (exp.f64 (*.f64 -2 x))))) 1) |
(+.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 -2) x))) -1) |
(+.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))) -1) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(-.f64 (+.f64 1 x) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 1 (+.f64 x (*.f64 -1/3 (pow.f64 x 3)))) |
(+.f64 (+.f64 x 1) (*.f64 (pow.f64 x 3) -1/3)) |
(fma.f64 (pow.f64 x 3) -1/3 (+.f64 x 1)) |
(-.f64 (+.f64 (*.f64 2/15 (pow.f64 x 5)) (+.f64 1 x)) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (fma.f64 2/15 (pow.f64 x 5) (+.f64 x 1)) (*.f64 -1/3 (pow.f64 x 3))) |
(+.f64 (+.f64 (fma.f64 2/15 (pow.f64 x 5) x) 1) (*.f64 (pow.f64 x 3) -1/3)) |
(+.f64 1 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) |
2 |
(-.f64 2 (*.f64 2 x)) |
(-.f64 2 (*.f64 x 2)) |
(+.f64 2 (*.f64 x -2)) |
(fma.f64 x -2 2) |
(-.f64 (+.f64 2 (*.f64 2 (pow.f64 x 2))) (*.f64 2 x)) |
(+.f64 2 (-.f64 (*.f64 2 (*.f64 x x)) (*.f64 x 2))) |
(+.f64 2 (*.f64 2 (-.f64 (*.f64 x x) x))) |
(*.f64 2 (-.f64 (fma.f64 x x 1) x)) |
(fma.f64 x (fma.f64 x 2 -2) 2) |
(-.f64 (+.f64 2 (*.f64 2 (pow.f64 x 2))) (+.f64 (*.f64 2 x) (*.f64 4/3 (pow.f64 x 3)))) |
(+.f64 2 (-.f64 (*.f64 2 (*.f64 x x)) (fma.f64 2 x (*.f64 (pow.f64 x 3) 4/3)))) |
(-.f64 (fma.f64 2 (*.f64 x x) 2) (fma.f64 x 2 (*.f64 (pow.f64 x 3) 4/3))) |
(fma.f64 (fma.f64 x x 1) 2 (fma.f64 x -2 (*.f64 (pow.f64 x 3) -4/3))) |
(fma.f64 (pow.f64 x 3) -4/3 (fma.f64 x (fma.f64 x 2 -2) 2)) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 135 | 1 | 136 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 135 | 2 | 137 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.2b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| ▶ | 29.1b | x |
Compiled 2279 to 1881 computations (17.5% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.2b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
| ✓ | 29.1b | x |
Compiled 15 to 13 computations (13.3% saved)
Total 0.6b remaining (86.6%)
Threshold costs 0.6b (86.6%)
Compiled 86 to 74 computations (14% saved)
| 2× | left-value |
2 calls:
| 0.0ms | (*.f64 -2 x) |
| 0.0ms | (*.f64 -2 x) |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
1e-14 | ∈ [ | 8.638005041584698e-15 | , | 12825812.9969569 | ] | |
-40000000.0 | ∈ [ | -43334926.024953276 | , | -1.257350900914232e-13 | ] | |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 2× | *-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 49 |
| 1 | 21 | 49 |
| 2 | 26 | 49 |
| 3 | 28 | 49 |
| 4 | 29 | 49 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 (*.f64 -2 x) -40000000) (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (if (<=.f64 (*.f64 -2 x) 6338253001141147/633825300114114700748351602688) x (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) |
| Outputs |
|---|
(if (<=.f64 (*.f64 -2 x) -40000000) (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (if (<=.f64 (*.f64 -2 x) 6338253001141147/633825300114114700748351602688) x (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) |
| 1× | done |
Compiled 81 to 67 computations (17.3% saved)
Loading profile data...