Time bar (total: 7.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 0% | 50% | 50% | 3 |
| 25% | 25% | 50% | 4 |
| 37.5% | 12.5% | 50% | 5 |
| 43.7% | 6.2% | 50% | 6 |
| 46.9% | 3.1% | 50% | 7 |
| 48.4% | 1.6% | 50% | 8 |
| 49.2% | 0.8% | 50% | 9 |
| 49.6% | 0.4% | 50% | 10 |
| 49.8% | 0.2% | 50% | 11 |
| 49.9% | 0.1% | 50% | 12 |
Compiled 14 to 12 computations (14.3% saved)
| 2.9s | 4200× | body | 1024 | valid |
| 933.0ms | 2033× | body | 512 | valid |
| 398.0ms | 421× | body | 2048 | valid |
| 265.0ms | 1602× | body | 256 | valid |
| 1.0ms | 5× | body | 256 | invalid |
| 2× | egg-herbie |
| 781× | fma-neg_binary64 |
| 596× | distribute-rgt-in_binary64 |
| 596× | unsub-neg_binary64 |
| 511× | fma-def_binary64 |
| 419× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 15 |
| 1 | 20 | 13 |
| 2 | 28 | 13 |
| 3 | 43 | 13 |
| 4 | 73 | 13 |
| 5 | 109 | 13 |
| 6 | 153 | 13 |
| 7 | 272 | 13 |
| 8 | 591 | 13 |
| 9 | 1042 | 13 |
| 10 | 1481 | 13 |
| 11 | 1877 | 13 |
| 12 | 2081 | 13 |
| 13 | 2223 | 13 |
| 14 | 2569 | 13 |
| 15 | 3712 | 13 |
| 16 | 4950 | 13 |
| 17 | 5726 | 13 |
| 18 | 6008 | 13 |
| 19 | 6104 | 13 |
| 20 | 6224 | 13 |
| 21 | 6262 | 13 |
| 22 | 6686 | 13 |
| 23 | 7128 | 13 |
| 24 | 7436 | 13 |
| 25 | 7544 | 13 |
| 26 | 7592 | 13 |
| 27 | 7612 | 13 |
| 28 | 7620 | 13 |
| 29 | 7620 | 13 |
| 30 | 7620 | 13 |
| 31 | 7980 | 13 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| Outputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
Compiled 14 to 12 computations (14.3% saved)
| 1× | egg-herbie |
| 781× | fma-neg_binary64 |
| 596× | distribute-rgt-in_binary64 |
| 596× | unsub-neg_binary64 |
| 511× | fma-def_binary64 |
| 419× | distribute-lft-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 15 |
| 1 | 20 | 13 |
| 2 | 28 | 13 |
| 3 | 43 | 13 |
| 4 | 73 | 13 |
| 5 | 109 | 13 |
| 6 | 153 | 13 |
| 7 | 272 | 13 |
| 8 | 591 | 13 |
| 9 | 1042 | 13 |
| 10 | 1481 | 13 |
| 11 | 1877 | 13 |
| 12 | 2081 | 13 |
| 13 | 2223 | 13 |
| 14 | 2569 | 13 |
| 15 | 3712 | 13 |
| 16 | 4950 | 13 |
| 17 | 5726 | 13 |
| 18 | 6008 | 13 |
| 19 | 6104 | 13 |
| 20 | 6224 | 13 |
| 21 | 6262 | 13 |
| 22 | 6686 | 13 |
| 23 | 7128 | 13 |
| 24 | 7436 | 13 |
| 25 | 7544 | 13 |
| 26 | 7592 | 13 |
| 27 | 7612 | 13 |
| 28 | 7620 | 13 |
| 29 | 7620 | 13 |
| 30 | 7620 | 13 |
| 31 | 7980 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| Outputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
Compiled 21 to 17 computations (19% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ▶ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
Compiled 22 to 18 computations (18.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| ✓ | 0.0b | (log1p.f64 x) |
Compiled 24 to 8 computations (66.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| 1.0ms | x | @ | inf | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| 1.0ms | x | @ | 0 | (log1p.f64 x) |
| 1.0ms | x | @ | -inf | (log1p.f64 x) |
| 1.0ms | x | @ | inf | (log1p.f64 x) |
| 1× | batch-egg-rewrite |
| 519× | pow1_binary64 |
| 484× | add-log-exp_binary64 |
| 484× | expm1-log1p-u_binary64 |
| 482× | log1p-expm1-u_binary64 |
| 475× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 130 | 11 |
| 2 | 1865 | 11 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 x) |
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 x)) (pow.f64 (cbrt.f64 (log1p.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 x)) 2) (cbrt.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (*.f64 (neg.f64 (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) (fma.f64 (neg.f64 (log1p.f64 x)) 1 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 (log1p.f64 x))) (pow.f64 (cbrt.f64 (log1p.f64 x)) 2) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) (fma.f64 (neg.f64 (sqrt.f64 (log1p.f64 x))) (sqrt.f64 (log1p.f64 x)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (log1p.f64 x)) (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (log1p.f64 x) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) 2) (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3)) (/.f64 1 (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2)) (/.f64 1 (+.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x))) (-.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x)))) (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (log1p.f64 x) (log1p.f64 x)) (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3)) (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2)) (+.f64 (log1p.f64 x) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3))) (neg.f64 (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2))) (neg.f64 (+.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (neg.f64 (log1p.f64 x)) 3)) (+.f64 (pow.f64 (log1p.f64 x) 2) (-.f64 (*.f64 (neg.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x))) (*.f64 (log1p.f64 x) (neg.f64 (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (neg.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x)))) (-.f64 (log1p.f64 x) (neg.f64 (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 x 1) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log1p.f64 x) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log1p.f64 x)) 2) (cbrt.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x))))))) |
| 1× | egg-herbie |
| 787× | fma-def_binary64 |
| 368× | fma-neg_binary64 |
| 345× | sub-neg_binary64 |
| 339× | associate-/l/_binary64 |
| 332× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 76 | 363 |
| 1 | 225 | 334 |
| 2 | 562 | 334 |
| 3 | 1575 | 328 |
| 4 | 4513 | 328 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1/4 (pow.f64 x 4)) x))) |
(*.f64 -1 (log.f64 (/.f64 1 x))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
(*.f64 -1 (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 -1)) (*.f64 2 (/.f64 1 x))) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x) |
(fma.f64 -1/2 (*.f64 x x) x) |
(fma.f64 x (*.f64 x -1/2) x) |
(*.f64 x (fma.f64 x -1/2 1)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) x)) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) x)) |
(fma.f64 x (*.f64 x (fma.f64 x 1/3 -1/2)) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1/4 (pow.f64 x 4)) x))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 -1/4 (pow.f64 x 4) x))) |
(fma.f64 x (*.f64 x (fma.f64 x 1/3 -1/2)) (fma.f64 -1/4 (pow.f64 x 4) x)) |
(*.f64 -1 (log.f64 (/.f64 1 x))) |
(neg.f64 (neg.f64 (log.f64 x))) |
(log.f64 x) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (log.f64 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1 x) (/.f64 (/.f64 -1/2 x) x))) |
(+.f64 (/.f64 1 x) (+.f64 (log.f64 x) (/.f64 -1/2 (*.f64 x x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3)))) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1/2 x) x)))) |
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 -1/2 x) x)) (log.f64 x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (/.f64 -1/2 (*.f64 x x))))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) |
(neg.f64 (neg.f64 (log.f64 x))) |
(log.f64 x) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (log.f64 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1 x) (/.f64 (/.f64 -1/2 x) x))) |
(+.f64 (/.f64 1 x) (+.f64 (log.f64 x) (/.f64 -1/2 (*.f64 x x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3)))) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1 x) (-.f64 (/.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 1/2 x) x)))) |
(+.f64 (/.f64 1 x) (+.f64 (+.f64 (/.f64 1/3 (pow.f64 x 3)) (/.f64 (/.f64 -1/2 x) x)) (log.f64 x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (/.f64 -1/2 (*.f64 x x))))) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 (pow.f64 x 3) 2/3)) |
(fma.f64 (pow.f64 x 3) 2/3 (*.f64 x 2)) |
(fma.f64 x 2 (*.f64 (pow.f64 x 3) 2/3)) |
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) |
(fma.f64 x 2 (fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 x 2 (fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 x 2 (fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 x 2 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/7 (pow.f64 x 7))))) |
(*.f64 -1 (log.f64 -1)) |
(neg.f64 (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 -1)) (*.f64 2 (/.f64 1 x))) |
(fma.f64 -1 (log.f64 -1) (/.f64 2 x)) |
(-.f64 (/.f64 2 x) (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 2 x) (log.f64 -1)) (/.f64 2/3 (pow.f64 x 3))) |
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(fma.f64 -1 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(-.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (/.f64 2/3 (pow.f64 x 3)))) (log.f64 -1)) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (-.f64 (/.f64 2 x) (log.f64 -1)) (/.f64 2/5 (pow.f64 x 5)))) |
(-.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (log.f64 -1) (/.f64 2 x)) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2 x))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (/.f64 2/3 (pow.f64 x 3))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (/.f64 2 x) (+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5))))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| ✓ | 5.5b | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
Compiled 40 to 31 computations (22.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 1.0ms | x | @ | inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 1.0ms | x | @ | -inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 1.0ms | x | @ | inf | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 1.0ms | x | @ | 0 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 843× | pow1_binary64 |
| 786× | log1p-expm1-u_binary64 |
| 786× | expm1-log1p-u_binary64 |
| 785× | add-log-exp_binary64 |
| 771× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 22 |
| 1 | 151 | 20 |
| 2 | 2079 | 20 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
(/.f64 (+.f64 1 x) (-.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (neg.f64 (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) (log.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2)) (log.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (neg.f64 x) -1)) (log.f64 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2) (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (*.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 (neg.f64 x))) (*.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 (neg.f64 x)))) (+.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (+.f64 1 x) (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (+.f64 1 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 x) (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2) (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (*.f64 (cbrt.f64 (+.f64 1 x)) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 x)) (*.f64 (sqrt.f64 (+.f64 1 x)) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 x) -1) (/.f64 1 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 x)) (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) 1) (/.f64 (cbrt.f64 (+.f64 1 x)) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 1 x)) 1) (/.f64 (sqrt.f64 (+.f64 1 x)) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (+.f64 1 x) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 1 x)) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (sqrt.f64 (+.f64 1 x)) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (-.f64 1 x))) (/.f64 (+.f64 1 x) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (sqrt.f64 (-.f64 1 x))) (/.f64 (cbrt.f64 (+.f64 1 x)) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 x) (-.f64 1 (*.f64 x x))) (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 x) (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2)) (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))) (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 1 x) (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 1 x) 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) |
| 1× | egg-herbie |
| 843× | fma-def_binary64 |
| 834× | fma-neg_binary64 |
| 586× | associate-/r*_binary64 |
| 560× | times-frac_binary64 |
| 548× | cancel-sign-sub-inv_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 319 |
| 1 | 154 | 307 |
| 2 | 437 | 301 |
| 3 | 1298 | 298 |
| 4 | 3752 | 294 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
1 |
(+.f64 (*.f64 2 x) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)) |
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2 x)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 2/3 (*.f64 x x) 2) (*.f64 2/5 (pow.f64 x 5))) |
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/7 (pow.f64 x 7))))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (log.f64 -1) (/.f64 2 x)) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (log.f64 -1) (/.f64 2 x)) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
1 |
(+.f64 (*.f64 2 x) 1) |
(fma.f64 2 x 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)) |
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)) |
(fma.f64 2 (fma.f64 x x x) 1) |
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))) |
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))) |
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (fma.f64 x x x) 1)) |
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(+.f64 -1 (neg.f64 (/.f64 2 x))) |
(+.f64 -1 (/.f64 -2 x)) |
(-.f64 -1 (/.f64 2 x)) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 -2 (*.f64 x x)))) |
(+.f64 (/.f64 -2 x) (-.f64 -1 (/.f64 (/.f64 2 x) x))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3))))) |
(+.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 (/.f64 -2 x) x) (/.f64 -2 (pow.f64 x 3)))) |
(+.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (pow.f64 x 3)))) |
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 1 (*.f64 x x)) (+.f64 2 (/.f64 2 x)) 1)) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(+.f64 -1 (neg.f64 (/.f64 2 x))) |
(+.f64 -1 (/.f64 -2 x)) |
(-.f64 -1 (/.f64 2 x)) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 (/.f64 -2 x) x))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (/.f64 -2 (*.f64 x x)))) |
(+.f64 (/.f64 -2 x) (-.f64 -1 (/.f64 (/.f64 2 x) x))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (/.f64 2 (*.f64 x x)) (+.f64 (/.f64 2 x) (/.f64 2 (pow.f64 x 3))))) |
(+.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 (/.f64 -2 x) x) (/.f64 -2 (pow.f64 x 3)))) |
(+.f64 (+.f64 -1 (/.f64 -2 x)) (+.f64 (/.f64 -2 (*.f64 x x)) (/.f64 -2 (pow.f64 x 3)))) |
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 1 (*.f64 x x)) (+.f64 2 (/.f64 2 x)) 1)) |
Compiled 2860 to 1928 computations (32.6% saved)
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 178 | 4 | 182 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 178 | 6 | 184 |
| Status | Error | Program |
|---|---|---|
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ▶ | 1.3b | (*.f64 1/2 (-.f64 x (log1p.f64 (neg.f64 x)))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ▶ | 0.4b | (*.f64 1/2 (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
| ▶ | 0.5b | (*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
| ▶ | 0.9b | (*.f64 1/2 (*.f64 x 2)) |
Compiled 65 to 52 computations (20% saved)
Compiled 12 to 9 computations (25% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
| ✓ | 0.4b | (*.f64 x 2/3) |
Compiled 32 to 22 computations (31.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 x 2/3) |
| 1.0ms | x | @ | inf | (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
| 1.0ms | x | @ | -inf | (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
| 1.0ms | x | @ | 0 | (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
| 1.0ms | x | @ | 0 | (*.f64 x 2/3) |
| 1× | batch-egg-rewrite |
| 641× | pow1_binary64 |
| 594× | add-log-exp_binary64 |
| 594× | log1p-expm1-u_binary64 |
| 594× | expm1-log1p-u_binary64 |
| 583× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 142 | 15 |
| 2 | 1589 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x 2/3) |
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 2/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 2/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 2/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 2/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 2/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 2/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 2/3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x (*.f64 x 2/3))) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 x (*.f64 x 2/3) 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 529× | cube-prod_binary64 |
| 466× | fabs-mul_binary64 |
| 444× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 165 |
| 1 | 22 | 165 |
| 2 | 40 | 165 |
| 3 | 79 | 165 |
| 4 | 147 | 165 |
| 5 | 372 | 165 |
| 6 | 1236 | 165 |
| 7 | 1944 | 165 |
| 8 | 2031 | 165 |
| 9 | 2164 | 165 |
| 10 | 2322 | 165 |
| 11 | 2563 | 165 |
| 12 | 2885 | 165 |
| 13 | 3308 | 165 |
| 14 | 3811 | 165 |
| 15 | 4411 | 165 |
| 16 | 5129 | 165 |
| 17 | 5450 | 165 |
| 18 | 5734 | 165 |
| 19 | 5954 | 165 |
| 20 | 6132 | 165 |
| 21 | 6212 | 165 |
| 22 | 7152 | 165 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
| Outputs |
|---|
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2/3 x) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
| ✓ | 0.1b | (*.f64 2/5 (pow.f64 x 5)) |
| ✓ | 0.2b | (*.f64 2/3 (pow.f64 x 3)) |
Compiled 70 to 56 computations (20% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | (*.f64 2/5 (pow.f64 x 5)) |
| 1.0ms | x | @ | 0 | (*.f64 2/5 (pow.f64 x 5)) |
| 1.0ms | x | @ | 0 | (*.f64 2/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
| 1.0ms | x | @ | -inf | (*.f64 2/5 (pow.f64 x 5)) |
| 1× | batch-egg-rewrite |
| 476× | log-prod_binary64 |
| 363× | exp-prod_binary64 |
| 316× | prod-exp_binary64 |
| 309× | fma-def_binary64 |
| 285× | pow-prod-down_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 28 |
| 1 | 247 | 28 |
| 2 | 2871 | 28 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/5 (pow.f64 x 5)) |
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/3 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/3 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 4/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 2/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/3) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 9) 8/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 3 (log.f64 x) (log1p.f64 -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3))) 2)) (cbrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3)))) (sqrt.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 4/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 9) 8/27))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (cbrt.f64 2/3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 2/3) (pow.f64 x 3/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 9) 8/27)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 3 (log.f64 x) (log1p.f64 -1/3)) 3) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/5 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 10) 4/25) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/5 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 15) 8/125) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 5 (log.f64 x) (log1p.f64 -3/5)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5))) 2)) (cbrt.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5)))) (sqrt.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 4/25))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 15) 8/125))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 2/5 (pow.f64 x 5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 15) 8/125)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 5 (log.f64 x) (log1p.f64 -3/5)) 3) 1/3)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 6) 4/9) (fma.f64 2/3 (pow.f64 x 3) (*.f64 -2/5 (pow.f64 x 5)))) (/.f64 (*.f64 (pow.f64 x 10) 4/25) (fma.f64 2/3 (pow.f64 x 3) (*.f64 -2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) (pow.f64 (cbrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) 2) (cbrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) (sqrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 9) 8/27 (*.f64 (pow.f64 x 15) 8/125)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 6) 4/9 (*.f64 (pow.f64 x 10) 4/25)) (*.f64 2/3 (*.f64 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 4/9) (*.f64 (pow.f64 x 10) 4/25)) (/.f64 1 (fma.f64 2/3 (pow.f64 x 3) (*.f64 -2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 6) 4/9 (*.f64 (pow.f64 x 10) 4/25)) (*.f64 2/3 (*.f64 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) (fma.f64 (pow.f64 x 9) 8/27 (*.f64 (pow.f64 x 15) 8/125))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 -2/5 (pow.f64 x 5))) (-.f64 (*.f64 (pow.f64 x 6) 4/9) (*.f64 (pow.f64 x 10) 4/25))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) 8/27 (*.f64 (pow.f64 x 15) 8/125)) (-.f64 (fma.f64 (pow.f64 x 6) 4/9 (*.f64 (pow.f64 x 10) 4/25)) (*.f64 2/3 (*.f64 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) 8/27 (*.f64 (pow.f64 x 15) 8/125)) (fma.f64 (pow.f64 x 10) 4/25 (-.f64 (*.f64 (pow.f64 x 6) 4/9) (*.f64 2/3 (*.f64 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 4/9) (*.f64 (pow.f64 x 10) 4/25)) (fma.f64 2/3 (pow.f64 x 3) (*.f64 -2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 9) 8/27 (*.f64 (pow.f64 x 15) 8/125))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 6) 4/9 (*.f64 (pow.f64 x 10) 4/25)) (*.f64 2/3 (*.f64 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 4/9) (*.f64 (pow.f64 x 10) 4/25))) (neg.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 -2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 10) 4/25) (*.f64 (pow.f64 x 6) 4/9)) (-.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 6) 4/9 (*.f64 (pow.f64 x 10) 4/25)) (*.f64 2/3 (*.f64 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) (fma.f64 (pow.f64 x 9) 8/27 (*.f64 (pow.f64 x 15) 8/125))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 -2/5 (pow.f64 x 5))) (-.f64 (*.f64 (pow.f64 x 6) 4/9) (*.f64 (pow.f64 x 10) 4/25))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) 2)) (cbrt.f64 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))) (sqrt.f64 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/3 (pow.f64 x 3)))) (pow.f64 (exp.f64 2/5) (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 2/3) (pow.f64 x 3)) (+.f64 1 (expm1.f64 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/3 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/5 (pow.f64 x 5)))) (pow.f64 (exp.f64 2/3) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)) (+.f64 1 (expm1.f64 (*.f64 2/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 2/5 (pow.f64 x 5)))) (+.f64 1 (expm1.f64 (*.f64 2/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) 2/3) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/3 (pow.f64 x 3)) 1 (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 2/5 (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/5 (pow.f64 x 5)) 1 (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x 2/3) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 2/5) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 2/3)) (pow.f64 (*.f64 x (cbrt.f64 2/3)) 2) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 2/3)) 2) (*.f64 x (cbrt.f64 2/3)) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 2/5 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 4/25)) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 4/25)) (cbrt.f64 (*.f64 2/5 (pow.f64 x 5))) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2/3) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 2/3) (pow.f64 x 3/2)) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2)) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) 2/3) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 2/5) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/3 x) (*.f64 x x) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/3 (*.f64 x x)) x (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/3 (pow.f64 x 3/2)) (pow.f64 x 3/2) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/5 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (*.f64 2/3 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/5 (pow.f64 x 5/2)) (pow.f64 x 5/2) (*.f64 2/3 (pow.f64 x 3))))))) |
| 1× | egg-herbie |
| 1204× | sqr-pow_binary64 |
| 708× | cube-prod_binary64 |
| 681× | fabs-mul_binary64 |
| 660× | pow-sqr_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 63 |
| 1 | 27 | 63 |
| 2 | 56 | 63 |
| 3 | 111 | 63 |
| 4 | 229 | 63 |
| 5 | 671 | 63 |
| 6 | 981 | 63 |
| 7 | 1617 | 63 |
| 8 | 1725 | 63 |
| 9 | 1887 | 63 |
| 10 | 2100 | 63 |
| 11 | 2430 | 63 |
| 12 | 2886 | 63 |
| 13 | 3484 | 63 |
| 14 | 4237 | 63 |
| 15 | 5173 | 63 |
| 16 | 5683 | 63 |
| 17 | 6171 | 63 |
| 18 | 6569 | 63 |
| 19 | 6889 | 63 |
| 20 | 7051 | 63 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))) |
(*.f64 2/5 (pow.f64 x 5)) |
(*.f64 2/5 (pow.f64 x 5)) |
| Outputs |
|---|
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) |
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) |
(+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) |
(*.f64 2/5 (pow.f64 x 5)) |
(*.f64 2/5 (pow.f64 x 5)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 x (log1p.f64 (neg.f64 x))) |
Compiled 20 to 7 computations (65% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 x (log1p.f64 (neg.f64 x))) |
| 0.0ms | x | @ | inf | (-.f64 x (log1p.f64 (neg.f64 x))) |
| 0.0ms | x | @ | -inf | (-.f64 x (log1p.f64 (neg.f64 x))) |
| 1× | batch-egg-rewrite |
| 542× | pow1_binary64 |
| 507× | add-log-exp_binary64 |
| 506× | expm1-log1p-u_binary64 |
| 505× | log1p-expm1-u_binary64 |
| 496× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 1 | 112 | 6 |
| 2 | 1596 | 6 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 x (log1p.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (neg.f64 (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (log1p.f64 x)) (fma.f64 (neg.f64 (log1p.f64 x)) 1 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (log1p.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 (log1p.f64 x))) (pow.f64 (cbrt.f64 (log1p.f64 x)) 2) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 x (log1p.f64 x)) (fma.f64 (neg.f64 (sqrt.f64 (log1p.f64 x))) (sqrt.f64 (log1p.f64 x)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (log1p.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 x (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x (log1p.f64 x))) (pow.f64 (cbrt.f64 (-.f64 x (log1p.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x (log1p.f64 x))) 2) (cbrt.f64 (-.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x (log1p.f64 x))) (sqrt.f64 (-.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 3) (pow.f64 (log1p.f64 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (log1p.f64 x) (+.f64 x (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (log1p.f64 x) 2)) (/.f64 1 (+.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 (log1p.f64 x))) (-.f64 (sqrt.f64 x) (sqrt.f64 (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (log1p.f64 x) (+.f64 x (log1p.f64 x)))) (-.f64 (pow.f64 x 3) (pow.f64 (log1p.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x (log1p.f64 x)) (-.f64 (*.f64 x x) (pow.f64 (log1p.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) (pow.f64 (log1p.f64 x) 3)) (fma.f64 x x (*.f64 (log1p.f64 x) (+.f64 x (log1p.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (log1p.f64 x) 2)) (+.f64 x (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 3) (pow.f64 (log1p.f64 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (log1p.f64 x) (+.f64 x (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (log1p.f64 x) 2))) (neg.f64 (+.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (neg.f64 (log1p.f64 x)) 3)) (+.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x))) (*.f64 x (neg.f64 (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (neg.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x)))) (-.f64 x (neg.f64 (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x (log1p.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x (log1p.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x (log1p.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x (log1p.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x (log1p.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (neg.f64 (log1p.f64 x))))))) |
| 1× | egg-herbie |
| 625× | sub-neg_binary64 |
| 465× | fma-def_binary64 |
| 403× | associate-+l-_binary64 |
| 403× | times-frac_binary64 |
| 294× | unsub-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 174 |
| 1 | 116 | 162 |
| 2 | 303 | 159 |
| 3 | 926 | 151 |
| 4 | 2960 | 151 |
| 5 | 6651 | 151 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 3)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 3))))) |
x |
(+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))) x) |
(+.f64 (/.f64 1 x) (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))) x)) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))) x))) |
x |
(+.f64 (log.f64 (/.f64 -1 x)) x) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1 x) x)) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) x))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (pow.f64 x 2))) |
(fma.f64 2 x (*.f64 1/2 (*.f64 x x))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 2 x)) |
(*.f64 x (+.f64 (*.f64 x 1/2) 2)) |
(*.f64 x (fma.f64 x 1/2 2)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/3 (pow.f64 x 3)))) |
(fma.f64 2 x (fma.f64 1/2 (*.f64 x x) (*.f64 1/3 (pow.f64 x 3)))) |
(fma.f64 2 x (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x 1/3)))) |
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 1/3 1/2)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 3))))) |
(fma.f64 2 x (fma.f64 1/2 (*.f64 x x) (fma.f64 1/4 (pow.f64 x 4) (*.f64 1/3 (pow.f64 x 3))))) |
(fma.f64 2 x (fma.f64 1/4 (pow.f64 x 4) (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x 1/3))))) |
(fma.f64 x (fma.f64 x 1/2 2) (*.f64 (pow.f64 x 3) (+.f64 (*.f64 x 1/4) 1/3))) |
(fma.f64 x (fma.f64 x 1/2 2) (*.f64 (pow.f64 x 3) (+.f64 1/3 (*.f64 x 1/4)))) |
x |
(+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))) x) |
(fma.f64 -1 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) x) |
(-.f64 x (+.f64 (log.f64 x) (log.f64 -1))) |
(-.f64 (-.f64 x (log.f64 -1)) (log.f64 x)) |
(+.f64 (/.f64 1 x) (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))) x)) |
(+.f64 (/.f64 1 x) (fma.f64 -1 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) x)) |
(+.f64 x (-.f64 (/.f64 1 x) (+.f64 (log.f64 x) (log.f64 -1)))) |
(+.f64 (/.f64 1 x) (-.f64 (-.f64 x (log.f64 -1)) (log.f64 x))) |
(+.f64 (-.f64 x (log.f64 -1)) (-.f64 (/.f64 1 x) (log.f64 x))) |
(-.f64 (/.f64 1 x) (-.f64 (log.f64 -1) (-.f64 x (log.f64 x)))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) (+.f64 (*.f64 -1 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1))) x))) |
(+.f64 (+.f64 (/.f64 1 x) (fma.f64 -1 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) x)) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (-.f64 x (+.f64 (log.f64 x) (log.f64 -1))) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (/.f64 1 x) (+.f64 (-.f64 (-.f64 x (log.f64 -1)) (log.f64 x)) (/.f64 (/.f64 1/2 x) x))) |
(+.f64 x (+.f64 (/.f64 1/2 (*.f64 x x)) (-.f64 (/.f64 1 x) (+.f64 (log.f64 x) (log.f64 -1))))) |
(+.f64 (-.f64 (/.f64 1 x) (-.f64 (log.f64 -1) (-.f64 x (log.f64 x)))) (/.f64 1/2 (*.f64 x x))) |
(+.f64 x (-.f64 (-.f64 (/.f64 1 x) (/.f64 -1/2 (*.f64 x x))) (+.f64 (log.f64 x) (log.f64 -1)))) |
x |
(+.f64 (log.f64 (/.f64 -1 x)) x) |
(+.f64 x (log.f64 (/.f64 -1 x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1 x) x)) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 x (/.f64 1 x))) |
(+.f64 x (+.f64 (/.f64 1 x) (log.f64 (/.f64 -1 x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (/.f64 1 x) x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 x (/.f64 1 x)))) |
(+.f64 (/.f64 1/2 (*.f64 x x)) (+.f64 x (+.f64 (/.f64 1 x) (log.f64 (/.f64 -1 x))))) |
(+.f64 x (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x)))) |
(+.f64 x (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (log.f64 (/.f64 -1 x))))) |
Compiled 3846 to 2972 computations (22.7% saved)
8 alts after pruning (2 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 205 | 2 | 207 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 205 | 8 | 213 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.5b | (*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
| ✓ | 1.3b | (*.f64 1/2 (-.f64 x (log1p.f64 (neg.f64 x)))) |
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ▶ | 52.0b | (*.f64 1/2 x) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 0.4b | (*.f64 1/2 (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
| ✓ | 0.5b | (*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
| ✓ | 0.9b | (*.f64 1/2 (*.f64 x 2)) |
Compiled 83 to 65 computations (21.7% saved)
Compiled 6 to 4 computations (33.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)) |
| ✓ | 0.1b | (*.f64 (*.f64 x (*.f64 x 2/3)) x) |
| ✓ | 0.1b | (*.f64 x (*.f64 x 2/3)) |
| 0.4b | (*.f64 x 2/3) |
Compiled 47 to 31 computations (34% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 x (*.f64 x 2/3)) |
| 1.0ms | x | @ | inf | (*.f64 x (*.f64 x 2/3)) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)) |
| 0.0ms | x | @ | -inf | (*.f64 x (*.f64 x 2/3)) |
| 1× | batch-egg-rewrite |
| 495× | log-prod_binary64 |
| 391× | fma-def_binary64 |
| 364× | prod-exp_binary64 |
| 346× | exp-prod_binary64 |
| 322× | pow-prod-down_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 197 | 25 |
| 2 | 2542 | 25 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (*.f64 x 2/3)) |
(*.f64 (*.f64 x (*.f64 x 2/3)) x) |
(+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 2/3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 2/3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x 2/3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 2/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 4/9) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2/3)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 2/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (*.f64 x 2/3)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (*.f64 x 2/3))))) (sqrt.f64 (log.f64 (*.f64 x (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 4/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2/3)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x 2/3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 x (sqrt.f64 2/3)) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 x 2/3)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 2/3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x 2/3))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 (*.f64 x 2/3)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (*.f64 x 2/3)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 x 2/3)) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (*.f64 x 2/3)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 x 2/3)) 1) (*.f64 (log.f64 x) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (*.f64 (pow.f64 x 3) 2/3))) 2)) (log.f64 (cbrt.f64 (exp.f64 (*.f64 (pow.f64 x 3) 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 (pow.f64 x 3) 2/3)))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 (pow.f64 x 3) 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 x 3) 2/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 2/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 3) 2/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (pow.f64 x 3) 2/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (pow.f64 x 3) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 x 2/3)) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (*.f64 x 2/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3))) 2)) (cbrt.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3)))) (sqrt.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (pow.f64 x 3) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 3) 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 3) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 3) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (pow.f64 x 3) 2/3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (pow.f64 x 3) 2/3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (pow.f64 x 3) 2/3))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 3) 2/3)) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (*.f64 x (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 (*.f64 x (*.f64 x 2/3))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (*.f64 x (*.f64 x 2/3))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 x 2/3)) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x 2/3))) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (*.f64 x (*.f64 x 2/3))) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x 2/3))) 1) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 2 (log.f64 x)) (*.f64 (log.f64 (*.f64 x 2/3)) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) -2))) (/.f64 (*.f64 (*.f64 x x) 4) (*.f64 x (fma.f64 x (*.f64 x 2/3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (fma.f64 x (*.f64 x 2/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (fma.f64 x (*.f64 x 2/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 2) (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (fma.f64 x (*.f64 x 2/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3)) (/.f64 1 (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (*.f64 (pow.f64 x 3) 2/3)) (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) (*.f64 (*.f64 x x) 4)) (/.f64 1 (*.f64 x (fma.f64 x (*.f64 x 2/3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x 2/3) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (*.f64 (pow.f64 x 3) 2/3)) (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2)) (fma.f64 (pow.f64 x 3) 8 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) -2)) (-.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) (*.f64 (*.f64 x x) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3)) (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (*.f64 (pow.f64 x 3) 2/3)) (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3)) (fma.f64 (*.f64 x x) 4 (-.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) (*.f64 (*.f64 (pow.f64 x 3) 2/3) (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) (*.f64 (*.f64 x x) 4)) (*.f64 x (fma.f64 x (*.f64 x 2/3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3))) (neg.f64 (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (*.f64 (pow.f64 x 3) 2/3)) (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) (*.f64 (*.f64 x x) 4))) (neg.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 4) (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2)) (-.f64 (+.f64 x x) (*.f64 (pow.f64 x 3) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (*.f64 (pow.f64 x 3) 2/3)) (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2)) (fma.f64 (pow.f64 x 3) 8 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) -2)) (-.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 2) (*.f64 (*.f64 x x) 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))) (sqrt.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x (*.f64 x 2/3) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 3) 2/3))) (pow.f64 (exp.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (pow.f64 x 3) 2/3)) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 3) 2/3))) (+.f64 1 (expm1.f64 (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (exp.f64 (*.f64 (pow.f64 x 3) 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 x) 2) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 3) 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 x x))) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 3) 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (fma.f64 x (*.f64 x 2/3) 2)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x (*.f64 x 2/3)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 2 (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x 2/3) (*.f64 x x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x 2/3)) x (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) 2/3) 1 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 x (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) 1 (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (pow.f64 x 3) 2/3) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x x) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x 2/3) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) 2/3 (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x x)) (cbrt.f64 (*.f64 (*.f64 x x) 4)) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 x x) 4)) (cbrt.f64 (+.f64 x x)) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4/9)) (*.f64 (cbrt.f64 (*.f64 x (*.f64 x 2/3))) x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) 2) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x (*.f64 x 2/3))) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 3) 2/3)) (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 3) 2/3)) 2) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 3) 2/3)) 2) (cbrt.f64 (*.f64 (pow.f64 x 3) 2/3)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 (+.f64 x x)) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 2/3)) (*.f64 (*.f64 x (sqrt.f64 2/3)) x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) 2) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x (*.f64 x 2/3))) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (pow.f64 x 3) 2/3)) (sqrt.f64 (*.f64 (pow.f64 x 3) 2/3)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2 (sqrt.f64 x)) (sqrt.f64 x) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 (*.f64 (pow.f64 x 4) 4/9))) (cbrt.f64 (*.f64 x (*.f64 x 2/3))) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x (sqrt.f64 2/3))) (*.f64 x (sqrt.f64 2/3)) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2/3)) (cbrt.f64 x)) 2) (cbrt.f64 x) (+.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) (sqrt.f64 x)) (sqrt.f64 x) (+.f64 x x)))))) |
| 1× | egg-herbie |
| 944× | sqr-pow_binary64 |
| 564× | cube-prod_binary64 |
| 536× | unswap-sqr_binary64 |
| 535× | fabs-mul_binary64 |
| 412× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 285 |
| 1 | 28 | 285 |
| 2 | 56 | 285 |
| 3 | 129 | 285 |
| 4 | 365 | 285 |
| 5 | 1405 | 285 |
| 6 | 2790 | 285 |
| 7 | 2976 | 285 |
| 8 | 3226 | 285 |
| 9 | 3513 | 285 |
| 10 | 3892 | 285 |
| 11 | 4402 | 285 |
| 12 | 5007 | 285 |
| 13 | 5713 | 285 |
| 14 | 6184 | 285 |
| 15 | 6501 | 285 |
| 16 | 6773 | 285 |
| 17 | 6945 | 285 |
| 18 | 7039 | 285 |
| 19 | 7716 | 285 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
| Outputs |
|---|
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 2)) |
(*.f64 2/3 (*.f64 x x)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(*.f64 2/3 (pow.f64 x 3)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2)) |
Compiled 2785 to 2067 computations (25.8% saved)
8 alts after pruning (0 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 164 | 0 | 164 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 7 | 7 |
| Total | 164 | 8 | 172 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.5b | (*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
| ✓ | 1.3b | (*.f64 1/2 (-.f64 x (log1p.f64 (neg.f64 x)))) |
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ✓ | 52.0b | (*.f64 1/2 x) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 0.4b | (*.f64 1/2 (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
| ✓ | 0.5b | (*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
| ✓ | 0.9b | (*.f64 1/2 (*.f64 x 2)) |
Compiled 83 to 65 computations (21.7% saved)
| Inputs |
|---|
(*.f64 1/2 x) |
(*.f64 1/2 (*.f64 x 2)) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (-.f64 x (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
4 calls:
| 5.0ms | x |
| 2.0ms | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 2.0ms | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 2.0ms | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 0.0b | 1 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.0b | 1 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
Compiled 108 to 81 computations (25% saved)
| Inputs |
|---|
(*.f64 1/2 x) |
(*.f64 1/2 (*.f64 x 2)) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (-.f64 x (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| Outputs |
|---|
(*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
4 calls:
| 5.0ms | x |
| 3.0ms | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 2.0ms | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 2.0ms | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 1 | x |
| 0.5b | 1 | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 0.5b | 1 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.5b | 1 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
Compiled 83 to 63 computations (24.1% saved)
| Inputs |
|---|
(*.f64 1/2 x) |
(*.f64 1/2 (*.f64 x 2)) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (-.f64 x (log1p.f64 (neg.f64 x)))) |
| Outputs |
|---|
(*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.5b | 1 | x |
Compiled 31 to 22 computations (29% saved)
Total -51.1b remaining (-5743.5%)
Threshold costs -51.1b (-5743.5%)
| Inputs |
|---|
(*.f64 1/2 x) |
(*.f64 1/2 (*.f64 x 2)) |
| Outputs |
|---|
(*.f64 1/2 (*.f64 x 2)) |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.9b | 1 | x |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
| 12× | *-commutative_binary64 |
| 4× | +-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 57 |
| 1 | 39 | 57 |
| 2 | 44 | 57 |
| 3 | 47 | 57 |
| 4 | 48 | 57 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (*.f64 x 2)) |
(*.f64 1/2 x) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (+.f64 (*.f64 x (*.f64 x (*.f64 x 2/3))) (*.f64 x 2))) |
(*.f64 1/2 (*.f64 x 2)) |
(*.f64 1/2 x) |
Compiled 44 to 33 computations (25% saved)
| 1× | egg-herbie |
| 781× | fma-neg_binary64 |
| 596× | distribute-rgt-in_binary64 |
| 596× | unsub-neg_binary64 |
| 511× | fma-def_binary64 |
| 419× | distribute-lft-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 15 |
| 1 | 20 | 13 |
| 2 | 28 | 13 |
| 3 | 43 | 13 |
| 4 | 73 | 13 |
| 5 | 109 | 13 |
| 6 | 153 | 13 |
| 7 | 272 | 13 |
| 8 | 591 | 13 |
| 9 | 1042 | 13 |
| 10 | 1481 | 13 |
| 11 | 1877 | 13 |
| 12 | 2081 | 13 |
| 13 | 2223 | 13 |
| 14 | 2569 | 13 |
| 15 | 3712 | 13 |
| 16 | 4950 | 13 |
| 17 | 5726 | 13 |
| 18 | 6008 | 13 |
| 19 | 6104 | 13 |
| 20 | 6224 | 13 |
| 21 | 6262 | 13 |
| 22 | 6686 | 13 |
| 23 | 7128 | 13 |
| 24 | 7436 | 13 |
| 25 | 7544 | 13 |
| 26 | 7592 | 13 |
| 27 | 7612 | 13 |
| 28 | 7620 | 13 |
| 29 | 7620 | 13 |
| 30 | 7620 | 13 |
| 31 | 7980 | 13 |
| 1× | node limit |
Compiled 75 to 63 computations (16% saved)
Compiled 40 to 29 computations (27.5% saved)
Loading profile data...