Time bar (total: 6.9s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 0% | 0% | 50% | 0% | 25% | 25% | 0% | 3 |
| 50% | 25% | 25% | 0% | 25% | 25% | 0% | 4 |
| 75% | 37.5% | 12.5% | 0% | 25% | 25% | 0% | 5 |
| 87.5% | 43.7% | 6.2% | 0% | 25% | 25% | 0% | 6 |
| 93.8% | 46.9% | 3.1% | 0% | 25% | 25% | 0% | 7 |
| 96.9% | 48.4% | 1.6% | 0% | 25% | 25% | 0% | 8 |
| 98.4% | 49.2% | 0.8% | 0% | 25% | 25% | 0% | 9 |
| 99.2% | 49.6% | 0.4% | 0% | 25% | 25% | 0% | 10 |
| 99.6% | 49.8% | 0.2% | 0% | 25% | 25% | 0% | 11 |
| 99.8% | 49.9% | 0.1% | 0% | 25% | 25% | 0% | 12 |
Compiled 14 to 12 computations (14.3% saved)
| 2.7s | 4140× | body | 1024 | valid |
| 820.0ms | 2091× | body | 512 | valid |
| 374.0ms | 435× | body | 2048 | valid |
| 297.0ms | 1590× | 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 |
|---|---|---|
| ▶ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ▶ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
Compiled 22 to 18 computations (18.2% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
Compiled 24 to 8 computations (66.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.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 | @ | -inf | (-.f64 (log1p.f64 x) (log1p.f64 (neg.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 | 10 |
| 1 | 130 | 8 |
| 2 | 1865 | 8 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(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 |
| 829× | fma-def_binary64 |
| 624× | unswap-sqr_binary64 |
| 565× | associate-/r*_binary64 |
| 503× | associate-/l/_binary64 |
| 384× | times-frac_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 177 |
| 1 | 109 | 174 |
| 2 | 258 | 174 |
| 3 | 593 | 174 |
| 4 | 1163 | 174 |
| 5 | 2767 | 174 |
| 6 | 7370 | 174 |
| 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))))) |
(*.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 |
|---|
(*.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 x (*.f64 x 2/3) 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 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 2/3 (pow.f64 x 3) (fma.f64 2 x (*.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/3 (pow.f64 x 3) (fma.f64 2/5 (pow.f64 x 5) (fma.f64 2/7 (pow.f64 x 7) (*.f64 2 x)))) |
(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))))) |
(*.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 (/.f64 2 x) (log.f64 -1)) (/.f64 2/3 (pow.f64 x 3))) (/.f64 2/5 (pow.f64 x 5))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (-.f64 (/.f64 2/5 (pow.f64 x 5)) (log.f64 -1)))) |
(-.f64 (/.f64 2 x) (-.f64 (-.f64 (log.f64 -1) (/.f64 2/3 (pow.f64 x 3))) (/.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (-.f64 (/.f64 2 x) (log.f64 -1)) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (/.f64 2 x) (-.f64 (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1)) (/.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 x) (+.f64 (log.f64 -1) (/.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 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (log.f64 -1) (+.f64 (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))) (/.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (/.f64 2/5 (pow.f64 x 5)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (/.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)) |
| ✓ | 4.8b | (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))) |
| 0.0ms | x | @ | inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.0ms | x | @ | -inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.0ms | x | @ | inf | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 0.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 2331 to 1600 computations (31.4% saved)
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 144 | 3 | 147 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 144 | 5 | 149 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ▶ | 0.2b | (*.f64 1/2 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))) |
| ▶ | 0.2b | (*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
| ▶ | 0.5b | (*.f64 1/2 (*.f64 2 x)) |
Compiled 51 to 41 computations (19.6% saved)
Compiled 12 to 9 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
Compiled 32 to 18 computations (43.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
| 1.0ms | x | @ | 0 | (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
| 1.0ms | x | @ | -inf | (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
| 1× | batch-egg-rewrite |
| 605× | pow1_binary64 |
| 561× | add-log-exp_binary64 |
| 561× | log1p-expm1-u_binary64 |
| 561× | expm1-log1p-u_binary64 |
| 550× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 141 | 11 |
| 2 | 1549 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 (*.f64 2/3 x) x)) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 2/3 (*.f64 x x) 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2)))))))) |
| 1× | egg-herbie |
| 1274× | sqr-pow_binary64 |
| 666× | pow-sqr_binary64 |
| 529× | cube-prod_binary64 |
| 469× | fabs-mul_binary64 |
| 443× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 117 |
| 1 | 20 | 117 |
| 2 | 40 | 117 |
| 3 | 86 | 117 |
| 4 | 151 | 117 |
| 5 | 361 | 117 |
| 6 | 1263 | 117 |
| 7 | 1971 | 117 |
| 8 | 2058 | 117 |
| 9 | 2191 | 117 |
| 10 | 2349 | 117 |
| 11 | 2590 | 117 |
| 12 | 2912 | 117 |
| 13 | 3336 | 117 |
| 14 | 3839 | 117 |
| 15 | 4441 | 117 |
| 16 | 5161 | 117 |
| 17 | 5482 | 117 |
| 18 | 5766 | 117 |
| 19 | 5986 | 117 |
| 20 | 6164 | 117 |
| 21 | 6246 | 117 |
| 22 | 7186 | 117 |
| 1× | node limit |
| Inputs |
|---|
(*.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 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 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 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 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 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 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 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 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 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 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 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)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 2/3 (pow.f64 x 3)) |
Compiled 37 to 29 computations (21.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 2/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | -inf | (*.f64 2/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | inf | (*.f64 2/3 (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 505× | pow1_binary64 |
| 498× | add-sqr-sqrt_binary64 |
| 476× | add-log-exp_binary64 |
| 476× | log1p-expm1-u_binary64 |
| 476× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 129 | 7 |
| 2 | 1323 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/3 (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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 (pow.f64 (*.f64 2/3 (pow.f64 x 3)) 3) 1/3)))) (#(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 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 cbrt.f64 (pow.f64 (*.f64 2/3 (pow.f64 x 3)) 3))))) (#(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 (log.f64 (*.f64 2/3 (pow.f64 x 3)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Compiled 347 to 267 computations (23.1% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 1 | 28 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 3 | 4 |
| Total | 29 | 4 | 33 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.2b | (*.f64 1/2 (+.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ✓ | 0.5b | (*.f64 1/2 (*.f64 2 x)) |
Compiled 42 to 33 computations (21.4% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (*.f64 (*.f64 2/3 x) x) x) |
| ✓ | 0.1b | (*.f64 (*.f64 2/3 x) x) |
| ✓ | 0.3b | (*.f64 2/3 x) |
Compiled 47 to 31 computations (34% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 (*.f64 2/3 x) x) |
| 1.0ms | x | @ | 0 | (*.f64 2/3 x) |
| 1.0ms | x | @ | inf | (*.f64 2/3 x) |
| 1.0ms | x | @ | -inf | (*.f64 2/3 x) |
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 2/3 x) x) |
| 1× | batch-egg-rewrite |
| 552× | pow1_binary64 |
| 510× | add-log-exp_binary64 |
| 510× | log1p-expm1-u_binary64 |
| 510× | expm1-log1p-u_binary64 |
| 500× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 21 |
| 1 | 122 | 18 |
| 2 | 1415 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/3 x) |
(*.f64 (*.f64 2/3 x) x) |
(*.f64 (*.f64 (*.f64 2/3 x) x) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2/3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/3 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2/3 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2/3 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2/3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/3 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/3 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/3) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2/3 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/3 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2/3 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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 (pow.f64 (*.f64 2/3 (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/3 (pow.f64 x 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 2/3 x)) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2/3 (pow.f64 x 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/3 (pow.f64 x 3)) 3))))) (#(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 (log.f64 (*.f64 2/3 (pow.f64 x 3)))))))) |
| 1× | egg-herbie |
| 1208× | sqr-pow_binary64 |
| 564× | cube-prod_binary64 |
| 537× | fabs-mul_binary64 |
| 536× | unswap-sqr_binary64 |
| 502× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 168 |
| 1 | 23 | 168 |
| 2 | 48 | 168 |
| 3 | 105 | 168 |
| 4 | 296 | 168 |
| 5 | 1235 | 168 |
| 6 | 2405 | 168 |
| 7 | 2571 | 168 |
| 8 | 2821 | 168 |
| 9 | 3108 | 168 |
| 10 | 3487 | 168 |
| 11 | 3993 | 168 |
| 12 | 4591 | 168 |
| 13 | 5301 | 168 |
| 14 | 5768 | 168 |
| 15 | 6093 | 168 |
| 16 | 6367 | 168 |
| 17 | 6537 | 168 |
| 18 | 6631 | 168 |
| 19 | 7308 | 168 |
| 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)) |
| 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)) |
Compiled 533 to 404 computations (24.2% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 0 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 36 | 4 | 40 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 1/2 (+.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ✓ | 0.5b | (*.f64 1/2 (*.f64 2 x)) |
Compiled 42 to 33 computations (21.4% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))) |
(*.f64 1/2 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
(*.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)))) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
4 calls:
| 13.0ms | x |
| 5.0ms | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 5.0ms | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 5.0ms | (/.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 92 to 71 computations (22.8% saved)
Total -58.8b remaining (-26174.4%)
Threshold costs -58.8b (-26174.4%)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))) |
(*.f64 1/2 (*.f64 x (fma.f64 2/3 (*.f64 x x) 2))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| Outputs |
|---|
(*.f64 1/2 (+.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))) |
4 calls:
| 34.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.2b | 1 | x |
| 0.2b | 1 | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 0.2b | 1 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.2b | 1 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
Compiled 84 to 65 computations (22.6% saved)
| 1× | egg-herbie |
| 9× | *-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 | 17 | 39 |
| 1 | 31 | 39 |
| 2 | 36 | 39 |
| 3 | 39 | 39 |
| 4 | 40 | 39 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))) |
(*.f64 1/2 (*.f64 2 x)) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (+.f64 (*.f64 (*.f64 (*.f64 2/3 x) x) x) (*.f64 2 x))) |
(*.f64 1/2 (+.f64 (*.f64 x (*.f64 x (*.f64 x 2/3))) (*.f64 x 2))) |
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 1/2 (*.f64 x 2)) |
Compiled 29 to 22 computations (24.1% 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 27 to 20 computations (25.9% saved)
Loading profile data...