Time bar (total: 2.7s)
| 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)
| 989.0ms | 2137× | body | 1024 | valid |
| 462.0ms | 4382× | body | 128 | valid |
| 289.0ms | 1032× | body | 512 | valid |
| 102.0ms | 210× | body | 2048 | valid |
| 95.0ms | 495× | 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 |
|---|---|---|
| ▶ | 30.8b | (-.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.3b | (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.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 (/.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 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 log1p.f64 (expm1.f64 (+.f64 (/.f64 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 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 log1p.f64 (expm1.f64 (/.f64 2 (+.f64 1 (pow.f64 (exp.f64 x) -2))))))))) |
((#(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 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)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (pow.f64 (exp.f64 x) -2)))))))) |
| 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 (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 134 | 2 | 136 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 135 | 2 | 137 |
| Status | Error | Program |
|---|---|---|
| 30.8b | (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) | |
| ▶ | 30.0b | (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
Compiled 2309 to 1906 computations (17.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 2/15 (pow.f64 x 5) x) |
| ✓ | 20.9b | (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (fma.f64 2/15 (pow.f64 x 5) x) |
| 1.0ms | x | @ | 0 | (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
| 1.0ms | x | @ | inf | (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
| 1.0ms | x | @ | -inf | (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
| 1.0ms | x | @ | inf | (fma.f64 2/15 (pow.f64 x 5) x) |
| 1× | batch-egg-rewrite |
| 835× | log1p-expm1-u_binary64 |
| 835× | expm1-log1p-u_binary64 |
| 100× | add-sqr-sqrt_binary64 |
| 97× | add-log-exp_binary64 |
| 95× | add-cube-cbrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 1 | 218 | 23 |
| 2 | 2259 | 23 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
(fma.f64 2/15 (pow.f64 x 5) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 2/15 (pow.f64 x 5) x) (*.f64 (pow.f64 x 3) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 3) -1/3) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 x 3) -1/3) 1) (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (pow.f64 x 3) -1/3) (*.f64 2/15 (pow.f64 x 5))) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) 2) (cbrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) (sqrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 x 3) -1/3) 3) (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3)) (+.f64 (*.f64 (*.f64 (pow.f64 x 3) -1/3) (*.f64 (pow.f64 x 3) -1/3)) (-.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2) (*.f64 (*.f64 (pow.f64 x 3) -1/3) (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (pow.f64 x 3) -1/3) (*.f64 (pow.f64 x 3) -1/3)) (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2)) (-.f64 (*.f64 (pow.f64 x 3) -1/3) (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 2/15 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/15 (pow.f64 x 5)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2/15 (pow.f64 x 5)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2/15 (pow.f64 x 5) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2/15 (pow.f64 x 5) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/15 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 2) (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 2/15 (pow.f64 x 5)) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 2/15 (pow.f64 x 5))) (-.f64 (*.f64 x x) (*.f64 (*.f64 2/15 (pow.f64 x 5)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 2/15 (pow.f64 x 5))) (*.f64 x x)) (-.f64 (*.f64 2/15 (pow.f64 x 5)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2/15 (pow.f64 x 5) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2/15 (pow.f64 x 5) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2/15 (pow.f64 x 5) x))))))) |
| 1× | egg-herbie |
| 759× | fma-neg_binary64 |
| 416× | unswap-sqr_binary64 |
| 405× | cancel-sign-sub-inv_binary64 |
| 315× | associate-*l*_binary64 |
| 304× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 246 |
| 1 | 42 | 242 |
| 2 | 96 | 228 |
| 3 | 285 | 228 |
| 4 | 693 | 228 |
| 5 | 1942 | 228 |
| 6 | 3515 | 228 |
| 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 1/3 (pow.f64 x 3))) |
(*.f64 2/15 (pow.f64 x 5)) |
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.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 1/3 (pow.f64 x 3))) |
(*.f64 2/15 (pow.f64 x 5)) |
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.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 1/3 (pow.f64 x 3))) |
x |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
| Outputs |
|---|
x |
(-.f64 x (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 x (*.f64 -1/3 (pow.f64 x 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 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 2/15 (pow.f64 x 5)) |
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) |
(fma.f64 2/15 (pow.f64 x 5) (*.f64 (pow.f64 x 3) -1/3)) |
(fma.f64 (pow.f64 x 3) -1/3 (*.f64 2/15 (pow.f64 x 5))) |
(-.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 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 2/15 (pow.f64 x 5)) |
(-.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) (*.f64 -1/3 (pow.f64 x 3))) |
(fma.f64 2/15 (pow.f64 x 5) (*.f64 (pow.f64 x 3) -1/3)) |
(fma.f64 (pow.f64 x 3) -1/3 (*.f64 2/15 (pow.f64 x 5))) |
(-.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 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)) |
x |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(*.f64 2/15 (pow.f64 x 5)) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
(+.f64 (*.f64 2/15 (pow.f64 x 5)) x) |
(fma.f64 2/15 (pow.f64 x 5) x) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 56 | 0 | 56 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 56 | 2 | 58 |
| Status | Error | Program |
|---|---|---|
| ▶ | 30.8b | (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) |
| ✓ | 30.0b | (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
Compiled 909 to 707 computations (22.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (pow.f64 (exp.f64 x) -2) |
| ✓ | 0.2b | (log1p.f64 (pow.f64 (exp.f64 x) -2)) |
| ✓ | 2.6b | (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 44.0ms | x | @ | inf | (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
| 20.0ms | x | @ | -inf | (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
| 4.0ms | x | @ | 0 | (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
| 0.0ms | x | @ | 0 | (log1p.f64 (pow.f64 (exp.f64 x) -2)) |
| 0.0ms | x | @ | inf | (pow.f64 (exp.f64 x) -2) |
| 1× | batch-egg-rewrite |
| 808× | expm1-log1p-u_binary64 |
| 807× | log1p-expm1-u_binary64 |
| 94× | add-sqr-sqrt_binary64 |
| 91× | add-log-exp_binary64 |
| 90× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 1 | 188 | 27 |
| 2 | 2252 | 27 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(pow.f64 (exp.f64 x) -2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 2) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 2) (*.f64 (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) (fma.f64 (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) (fma.f64 (neg.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (pow.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) (fma.f64 (neg.f64 (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (pow.f64 (cbrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2) (cbrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (sqrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 3)) (/.f64 1 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 2)) (/.f64 1 (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (log.f64 2)) (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (-.f64 (sqrt.f64 (log.f64 2)) (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (-.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 3)) (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 2)) (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 3))) (neg.f64 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 2))) (neg.f64 (+.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3)) (+.f64 (pow.f64 (log.f64 2) 2) (-.f64 (*.f64 (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (*.f64 (log.f64 2) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 2) 2) (*.f64 (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))) (-.f64 (log.f64 2) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 2 (+.f64 (pow.f64 (exp.f64 x) -2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (-.f64 (/.f64 2 (+.f64 (pow.f64 (exp.f64 x) -2) 1)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log.f64 2) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 2)) 2) (cbrt.f64 (log.f64 2)) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 2)) (sqrt.f64 (log.f64 2)) (neg.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (/.f64 2 (+.f64 (pow.f64 (exp.f64 x) -2) 1)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) (pow.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2) (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (pow.f64 (exp.f64 x) -2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 (exp.f64 x) -2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -2)) (cbrt.f64 (pow.f64 (exp.f64 x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 x) -4)) (cbrt.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (exp.f64 x)) (/.f64 1 (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 x)) 2) -2) (pow.f64 (cbrt.f64 (exp.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 x)) -2) (pow.f64 (sqrt.f64 (exp.f64 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 x) -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (exp.f64 x) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 x -2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 x) -2))))))) |
| 1× | egg-herbie |
| 541× | fma-def_binary64 |
| 527× | associate-*l*_binary64 |
| 498× | cancel-sign-sub-inv_binary64 |
| 477× | associate-*r*_binary64 |
| 307× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 433 |
| 1 | 121 | 424 |
| 2 | 332 | 343 |
| 3 | 1176 | 331 |
| 1× | node limit |
| Inputs |
|---|
x |
(-.f64 x (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/12 (pow.f64 x 4)) x) (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (+.f64 (*.f64 1/12 (pow.f64 x 4)) x) (+.f64 (*.f64 1/45 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(log.f64 2) |
(-.f64 (log.f64 2) x) |
(-.f64 (+.f64 (log.f64 2) (*.f64 1/2 (pow.f64 x 2))) x) |
(-.f64 (+.f64 (log.f64 2) (*.f64 1/2 (pow.f64 x 2))) (+.f64 (*.f64 1/12 (pow.f64 x 4)) x)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
1 |
(-.f64 1 (*.f64 2 x)) |
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x 2))) (*.f64 2 x)) |
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x 2))) (+.f64 (*.f64 2 x) (*.f64 4/3 (pow.f64 x 3)))) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
| Outputs |
|---|
x |
(-.f64 x (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 x (*.f64 -1/2 (*.f64 x x))) |
(+.f64 x (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 x) |
(*.f64 x (fma.f64 x -1/2 1)) |
(-.f64 (+.f64 (*.f64 1/12 (pow.f64 x 4)) x) (*.f64 1/2 (pow.f64 x 2))) |
(-.f64 (fma.f64 1/12 (pow.f64 x 4) x) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (fma.f64 1/12 (pow.f64 x 4) x) (*.f64 (*.f64 x x) -1/2)) |
(fma.f64 (*.f64 x x) -1/2 (fma.f64 1/12 (pow.f64 x 4) x)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 1/12 (pow.f64 x 4) x)) |
(-.f64 (+.f64 (*.f64 1/12 (pow.f64 x 4)) x) (+.f64 (*.f64 1/45 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 2)))) |
(-.f64 (fma.f64 1/12 (pow.f64 x 4) x) (fma.f64 1/45 (pow.f64 x 6) (*.f64 1/2 (*.f64 x x)))) |
(-.f64 (fma.f64 1/12 (pow.f64 x 4) x) (fma.f64 1/2 (*.f64 x x) (*.f64 1/45 (pow.f64 x 6)))) |
(+.f64 (fma.f64 1/12 (pow.f64 x 4) x) (fma.f64 (*.f64 x x) -1/2 (*.f64 (pow.f64 x 6) -1/45))) |
(fma.f64 (fma.f64 x -1/2 1) x (fma.f64 1/12 (pow.f64 x 4) (*.f64 (pow.f64 x 6) -1/45))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(-.f64 (log.f64 2) (log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2))))) |
(-.f64 (log.f64 2) (log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(-.f64 (log.f64 2) (log1p.f64 (exp.f64 (*.f64 x -2)))) |
(-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2))) |
(log.f64 2) |
(-.f64 (log.f64 2) x) |
(-.f64 (+.f64 (log.f64 2) (*.f64 1/2 (pow.f64 x 2))) x) |
(+.f64 (log.f64 2) (-.f64 (*.f64 1/2 (*.f64 x x)) x)) |
(-.f64 (fma.f64 1/2 (*.f64 x x) (log.f64 2)) x) |
(-.f64 (fma.f64 x (*.f64 x 1/2) (log.f64 2)) x) |
(fma.f64 x (fma.f64 x 1/2 -1) (log.f64 2)) |
(-.f64 (+.f64 (log.f64 2) (*.f64 1/2 (pow.f64 x 2))) (+.f64 (*.f64 1/12 (pow.f64 x 4)) x)) |
(+.f64 (log.f64 2) (-.f64 (*.f64 1/2 (*.f64 x x)) (fma.f64 1/12 (pow.f64 x 4) x))) |
(-.f64 (fma.f64 1/2 (*.f64 x x) (log.f64 2)) (fma.f64 1/12 (pow.f64 x 4) x)) |
(fma.f64 x (*.f64 x 1/2) (-.f64 (log.f64 2) (fma.f64 1/12 (pow.f64 x 4) x))) |
(fma.f64 (pow.f64 x 4) -1/12 (fma.f64 x (fma.f64 x 1/2 -1) (log.f64 2))) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
(log.f64 (+.f64 1 (/.f64 1 (pow.f64 (exp.f64 x) 2)))) |
(log1p.f64 (/.f64 1 (pow.f64 (exp.f64 x) 2))) |
(log1p.f64 (exp.f64 (*.f64 x -2))) |
(log1p.f64 (pow.f64 (exp.f64 x) -2)) |
1 |
(-.f64 1 (*.f64 2 x)) |
(+.f64 1 (*.f64 -2 x)) |
(+.f64 1 (*.f64 x -2)) |
(fma.f64 x -2 1) |
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x 2))) (*.f64 2 x)) |
(+.f64 1 (-.f64 (*.f64 2 (*.f64 x x)) (*.f64 x 2))) |
(+.f64 1 (*.f64 2 (-.f64 (*.f64 x x) x))) |
(fma.f64 2 (-.f64 (*.f64 x x) x) 1) |
(fma.f64 x (fma.f64 x 2 -2) 1) |
(-.f64 (+.f64 1 (*.f64 2 (pow.f64 x 2))) (+.f64 (*.f64 2 x) (*.f64 4/3 (pow.f64 x 3)))) |
(+.f64 1 (-.f64 (*.f64 2 (*.f64 x x)) (fma.f64 2 x (*.f64 4/3 (pow.f64 x 3))))) |
(-.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 4/3 (pow.f64 x 3) (*.f64 x 2))) |
(+.f64 1 (fma.f64 2 (-.f64 (*.f64 x x) x) (*.f64 (pow.f64 x 3) -4/3))) |
(fma.f64 (pow.f64 x 3) -4/3 (fma.f64 x (fma.f64 x 2 -2) 1)) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
(/.f64 1 (pow.f64 (exp.f64 x) 2)) |
(exp.f64 (*.f64 x -2)) |
(pow.f64 (exp.f64 x) -2) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 95 | 0 | 95 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 95 | 2 | 97 |
| Status | Error | Program |
|---|---|---|
| ✓ | 30.8b | (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) |
| ✓ | 30.0b | (fma.f64 (pow.f64 x 3) -1/3 (fma.f64 2/15 (pow.f64 x 5) x)) |
Compiled 1461 to 1191 computations (18.5% saved)
Total 0.2b remaining (94.3%)
Threshold costs 0.2b (94.3%)
Compiled 306 to 252 computations (17.6% saved)
| 1× | left-value |
1 calls:
| 0.0ms | (*.f64 -2 x) |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
-2.0 | ∈ [ | -3.1735963032855055 | , | -5.77616739417271e-5 | ] | |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
| 5× | +-commutative_binary64 |
| 5× | *-commutative_binary64 |
| 5× | sub-neg_binary64 |
| 3× | neg-sub0_binary64 |
| 3× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 36 |
| 1 | 29 | 36 |
| 2 | 42 | 36 |
| 3 | 48 | 36 |
| 4 | 52 | 36 |
| 5 | 53 | 36 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 (*.f64 -2 x) -2) (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (expm1.f64 (-.f64 x (*.f64 1/2 (pow.f64 x 2))))) |
| Outputs |
|---|
(if (<=.f64 (*.f64 -2 x) -2) (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (expm1.f64 (-.f64 x (*.f64 1/2 (pow.f64 x 2))))) |
(if (<=.f64 (*.f64 -2 x) -2) (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (expm1.f64 (+.f64 x (*.f64 -1/2 (pow.f64 x 2))))) |
(if (<=.f64 (*.f64 -2 x) -2) (expm1.f64 (-.f64 (log.f64 2) (log1p.f64 (pow.f64 (exp.f64 x) -2)))) (expm1.f64 (+.f64 x (*.f64 (pow.f64 x 2) -1/2)))) |
| 1× | done |
Compiled 74 to 62 computations (16.2% saved)
Loading profile data...