Time bar (total: 5.2s)
| 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.4s | 4122× | body | 1024 | valid |
| 615.0ms | 2077× | body | 512 | valid |
| 307.0ms | 432× | body | 2048 | valid |
| 300.0ms | 1625× | body | 256 | valid |
| 0.0ms | 2× | body | 256 | invalid |
| 2× | egg-herbie |
| 781× | fma-neg_binary64 |
| 591× | unsub-neg_binary64 |
| 574× | distribute-rgt-in_binary64 |
| 573× | distribute-neg-in_binary64 |
| 515× | fma-def_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 | 588 | 13 |
| 9 | 1041 | 13 |
| 10 | 1479 | 13 |
| 11 | 1876 | 13 |
| 12 | 2080 | 13 |
| 13 | 2221 | 13 |
| 14 | 2514 | 13 |
| 15 | 3397 | 13 |
| 16 | 4571 | 13 |
| 17 | 5329 | 13 |
| 18 | 5603 | 13 |
| 19 | 5699 | 13 |
| 20 | 5819 | 13 |
| 21 | 5857 | 13 |
| 22 | 6281 | 13 |
| 23 | 6723 | 13 |
| 24 | 7040 | 13 |
| 25 | 7148 | 13 |
| 26 | 7196 | 13 |
| 27 | 7216 | 13 |
| 28 | 7224 | 13 |
| 29 | 7224 | 13 |
| 30 | 7224 | 13 |
| 31 | 7590 | 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 |
| 591× | unsub-neg_binary64 |
| 574× | distribute-rgt-in_binary64 |
| 573× | distribute-neg-in_binary64 |
| 515× | fma-def_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 | 588 | 13 |
| 9 | 1041 | 13 |
| 10 | 1479 | 13 |
| 11 | 1876 | 13 |
| 12 | 2080 | 13 |
| 13 | 2221 | 13 |
| 14 | 2514 | 13 |
| 15 | 3397 | 13 |
| 16 | 4571 | 13 |
| 17 | 5329 | 13 |
| 18 | 5603 | 13 |
| 19 | 5699 | 13 |
| 20 | 5819 | 13 |
| 21 | 5857 | 13 |
| 22 | 6281 | 13 |
| 23 | 6723 | 13 |
| 24 | 7040 | 13 |
| 25 | 7148 | 13 |
| 26 | 7196 | 13 |
| 27 | 7216 | 13 |
| 28 | 7224 | 13 |
| 29 | 7224 | 13 |
| 30 | 7224 | 13 |
| 31 | 7590 | 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 |
|---|---|---|
| ▶ | 59.2b | (*.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 | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
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 | 1862 | 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 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)))))) (#(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 log1p.f64 (expm1.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)))))))) |
| 1× | egg-herbie |
| 829× | fma-def_binary64 |
| 624× | unswap-sqr_binary64 |
| 567× | 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 | 595 | 174 |
| 4 | 1170 | 174 |
| 5 | 2736 | 174 |
| 6 | 7334 | 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))) |
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2 x)) |
(+.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/5 (pow.f64 x 5) (*.f64 2 x))) |
(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/7 (pow.f64 x 7) (fma.f64 2/3 (pow.f64 x 3) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2 x)))) |
(fma.f64 2 x (fma.f64 2/5 (pow.f64 x 5) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/7 (pow.f64 x 7))))) |
(fma.f64 2/5 (pow.f64 x 5) (fma.f64 x (fma.f64 x (*.f64 x 2/3) 2) (*.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 2/3 (pow.f64 x 3)) (-.f64 (/.f64 2 x) (log.f64 -1))) |
(+.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/3 (pow.f64 x 3)) (-.f64 (/.f64 2 x) (log.f64 -1))) (/.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 2/5 (pow.f64 x 5)) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1)))) |
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (/.f64 2/5 (pow.f64 x 5)) (log.f64 -1)))) |
(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 (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))) (+.f64 (log.f64 -1) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (+.f64 (log.f64 -1) (/.f64 2 x)))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5))))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 5.7b | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) | |
| 0.0b | (/.f64 (+.f64 1 x) (-.f64 1 x)) | |
| ✓ | 0.0b | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| ✓ | 5.7b | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
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))) |
| 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 | 2078 | 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 (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 (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 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 exp.f64 (log.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 expm1.f64 (log1p.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 (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 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 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 exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 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 expm1.f64 (log1p.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) |
| 1× | egg-herbie |
| 829× | fma-def_binary64 |
| 822× | fma-neg_binary64 |
| 560× | associate-/r*_binary64 |
| 559× | times-frac_binary64 |
| 537× | cancel-sign-sub-inv_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 319 |
| 1 | 154 | 307 |
| 2 | 437 | 301 |
| 3 | 1297 | 298 |
| 4 | 3668 | 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))) |
(*.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 x (*.f64 x 2/3) 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 x (fma.f64 x (*.f64 x 2/3) 2) (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 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 (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/3 (pow.f64 x 3)) (+.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))))) |
(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 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 (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/3 (pow.f64 x 3)) (+.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))))) |
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 (*.f64 x (fma.f64 x x x)) (fma.f64 2 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 (/.f64 -2 x) (-.f64 (/.f64 -2 (*.f64 x x)) 1)) |
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 2 (*.f64 x x)))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (/.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))))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))) (/.f64 2 (pow.f64 x 3)))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 -2 (*.f64 x x))))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 (/.f64 -2 x) x)))) |
(-.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 (/.f64 -2 x) (-.f64 (/.f64 -2 (*.f64 x x)) 1)) |
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 2 (*.f64 x x)))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (/.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))))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))) (/.f64 2 (pow.f64 x 3)))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 -2 (*.f64 x x))))) |
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 (/.f64 -2 x) x)))) |
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 1 (*.f64 x x)) (+.f64 2 (/.f64 2 x)) 1)) |
Compiled 2331 to 1601 computations (31.3% saved)
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 143 | 4 | 147 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 143 | 6 | 149 |
| Status | Error | Program |
|---|---|---|
| ✓ | 59.2b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ▶ | 0.3b | (*.f64 1/2 (*.f64 2 x)) |
| ▶ | 0.1b | (*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
| ▶ | 0.1b | (*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ▶ | 0b | (*.f64 1/2 (+.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)))))) |
Compiled 77 to 63 computations (18.2% saved)
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 2/3 (pow.f64 x 3)) | |
| 0.1b | (*.f64 2/5 (pow.f64 x 5)) | |
| 0.0b | (*.f64 2/7 (pow.f64 x 7)) | |
| 0.0b | (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) | |
| ✓ | 0.0b | (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
| ✓ | 0.0b | (*.f64 2/7 (pow.f64 x 7)) |
| ✓ | 0.1b | (*.f64 2/5 (pow.f64 x 5)) |
| ✓ | 0.1b | (*.f64 2/3 (pow.f64 x 3)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 2/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | 0 | (*.f64 2/7 (pow.f64 x 7)) |
| 1.0ms | x | @ | 0 | (*.f64 2/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | 0 | (*.f64 2/5 (pow.f64 x 5)) |
| 1.0ms | x | @ | inf | (*.f64 2/3 (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 629× | log-prod_binary64 |
| 380× | pow2_binary64 |
| 325× | fma-def_binary64 |
| 263× | expm1-udef_binary64 |
| 263× | log1p-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 35 |
| 1 | 334 | 35 |
| 2 | 3763 | 35 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/3 (pow.f64 x 3)) |
(*.f64 2/5 (pow.f64 x 5)) |
(*.f64 2/7 (pow.f64 x 7)) |
(+.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 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 exp.f64 (fma.f64 3 (log.f64 x) (log.f64 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 x) (log.f64 2/3)) 1))))) (#(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 expm1.f64 (log1p.f64 (*.f64 2/3 (pow.f64 x 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 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 exp.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5)) 1))))) (#(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 expm1.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/7 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/7) (pow.f64 x 7))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/7) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/7) (pow.f64 x 7)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/7) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/7 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/7 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 4/49 (pow.f64 x 14)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/7 (pow.f64 x 7)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/7 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/7) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4/49 (pow.f64 x 14)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/7) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/7 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/7 (pow.f64 x 7)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 7 (log.f64 x) (log1p.f64 -5/7)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 7 (log.f64 x) (log1p.f64 -5/7)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/7 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/7 (pow.f64 x 7)))))))) |
((#(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 15) 8/125 (*.f64 (pow.f64 x 9) 8/27)) (/.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 15) 8/125 (*.f64 (pow.f64 x 9) 8/27))))))) (#(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 15) 8/125 (*.f64 (pow.f64 x 9) 8/27)) (-.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 15) 8/125 (*.f64 (pow.f64 x 9) 8/27)) (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 15) 8/125 (*.f64 (pow.f64 x 9) 8/27))) (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 (/.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 15) 8/125 (*.f64 (pow.f64 x 9) 8/27))) -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 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 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)) (cbrt.f64 (*.f64 (pow.f64 x 6) 4/9)) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 6) 4/9)) (*.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 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 (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 (*.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)))))) (#(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 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 expm1.f64 (log1p.f64 (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))))))) |
| 1× | egg-herbie |
| 1252× | sqr-pow_binary64 |
| 710× | cube-prod_binary64 |
| 698× | pow-sqr_binary64 |
| 679× | fabs-mul_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 63 |
| 1 | 27 | 63 |
| 2 | 56 | 63 |
| 3 | 113 | 63 |
| 4 | 234 | 63 |
| 5 | 647 | 63 |
| 6 | 954 | 63 |
| 7 | 1590 | 63 |
| 8 | 1698 | 63 |
| 9 | 1860 | 63 |
| 10 | 2075 | 63 |
| 11 | 2405 | 63 |
| 12 | 2861 | 63 |
| 13 | 3458 | 63 |
| 14 | 4209 | 63 |
| 15 | 5139 | 63 |
| 16 | 5645 | 63 |
| 17 | 6131 | 63 |
| 18 | 6531 | 63 |
| 19 | 6855 | 63 |
| 20 | 7015 | 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 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 x 2/3) | |
| 0.0b | (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) | |
| ✓ | 0.0b | (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
| ✓ | 0.3b | (*.f64 x 2/3) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 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) |
| 0.0ms | x | @ | -inf | (*.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 | 1590 | 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 exp.f64 (log.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 expm1.f64 (log1p.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 exp.f64 (log.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 expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))))))) |
| 1× | egg-herbie |
| 1331× | sqr-pow_binary64 |
| 715× | pow-sqr_binary64 |
| 530× | cube-prod_binary64 |
| 472× | fabs-mul_binary64 |
| 445× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 165 |
| 1 | 22 | 165 |
| 2 | 40 | 165 |
| 3 | 80 | 165 |
| 4 | 147 | 165 |
| 5 | 367 | 165 |
| 6 | 1214 | 165 |
| 7 | 1925 | 165 |
| 8 | 2012 | 165 |
| 9 | 2145 | 165 |
| 10 | 2303 | 165 |
| 11 | 2537 | 165 |
| 12 | 2859 | 165 |
| 13 | 3280 | 165 |
| 14 | 3780 | 165 |
| 15 | 4375 | 165 |
| 16 | 5095 | 165 |
| 17 | 5418 | 165 |
| 18 | 5702 | 165 |
| 19 | 5922 | 165 |
| 20 | 6104 | 165 |
| 21 | 6186 | 165 |
| 22 | 7126 | 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 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 2/3 (pow.f64 x 3)) | |
| 0.1b | (*.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 3911 to 3243 computations (17.1% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 162 | 1 | 163 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 4 | 5 |
| Total | 163 | 6 | 169 |
| Status | Error | Program |
|---|---|---|
| ✓ | 59.2b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ✓ | 0.3b | (*.f64 1/2 (*.f64 2 x)) |
| ▶ | 0.1b | (*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
| ✓ | 0.1b | (*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 0b | (*.f64 1/2 (+.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)))))) |
Compiled 81 to 65 computations (19.8% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 x 2/3) | |
| 0.1b | (*.f64 x (*.f64 x 2/3)) | |
| 0.1b | (*.f64 (*.f64 x (*.f64 x 2/3)) x) | |
| ✓ | 0.1b | (*.f64 (*.f64 x (*.f64 x 2/3)) x) |
| ✓ | 0.1b | (*.f64 x (*.f64 x 2/3)) |
| 0.3b | (*.f64 x 2/3) |
6 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)) |
| 0.0ms | x | @ | -inf | (*.f64 x (*.f64 x 2/3)) |
| 0.0ms | x | @ | -inf | (*.f64 (*.f64 x (*.f64 x 2/3)) x) |
| 0.0ms | x | @ | 0 | (*.f64 (*.f64 x (*.f64 x 2/3)) x) |
| 1× | batch-egg-rewrite |
| 548× | pow1_binary64 |
| 527× | add-sqr-sqrt_binary64 |
| 506× | add-log-exp_binary64 |
| 506× | log1p-expm1-u_binary64 |
| 506× | expm1-log1p-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 1 | 122 | 14 |
| 2 | 1401 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (*.f64 x 2/3)) |
(*.f64 (*.f64 x (*.f64 x 2/3)) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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 (pow.f64 (*.f64 x (*.f64 x 2/3)) 3) 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 sqrt.f64 (pow.f64 (*.f64 x (*.f64 x 2/3)) 2))))) (#(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 cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 2/3)) 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 log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 2/3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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) 3) 1/3)))) (#(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 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 cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 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 log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 3) 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 3) 2/3))))))) |
| 1× | egg-herbie |
| 1272× | sqr-pow_binary64 |
| 566× | pow-sqr_binary64 |
| 563× | cube-prod_binary64 |
| 536× | unswap-sqr_binary64 |
| 535× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 168 |
| 1 | 23 | 168 |
| 2 | 48 | 168 |
| 3 | 105 | 168 |
| 4 | 274 | 168 |
| 5 | 1141 | 168 |
| 6 | 2295 | 168 |
| 7 | 2461 | 168 |
| 8 | 2711 | 168 |
| 9 | 2998 | 168 |
| 10 | 3377 | 168 |
| 11 | 3871 | 168 |
| 12 | 4476 | 168 |
| 13 | 5182 | 168 |
| 14 | 5653 | 168 |
| 15 | 5976 | 168 |
| 16 | 6248 | 168 |
| 17 | 6418 | 168 |
| 18 | 6508 | 168 |
| 19 | 7185 | 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 620 to 496 computations (20% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 0 | 37 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 37 | 6 | 43 |
| Status | Error | Program |
|---|---|---|
| ✓ | 59.2b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ✓ | 0.3b | (*.f64 1/2 (*.f64 2 x)) |
| ✓ | 0.1b | (*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
| ✓ | 0.1b | (*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 0b | (*.f64 1/2 (+.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)))))) |
Compiled 81 to 65 computations (19.8% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
(*.f64 (/.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/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))) |
| Outputs |
|---|
(*.f64 1/2 (+.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)))))) |
4 calls:
| 7.0ms | 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))) |
| 2.0ms | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | x |
| 0b | 1 | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 0b | 1 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0b | 1 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
Compiled 119 to 94 computations (21% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
(*.f64 (/.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)))) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
4 calls:
| 7.0ms | 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))) |
| 2.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 96 to 75 computations (21.9% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
(*.f64 (/.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 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
4 calls:
| 4.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.1b | 1 | x |
| 0.1b | 1 | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 0.1b | 1 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.1b | 1 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
Compiled 88 to 69 computations (21.6% saved)
Total -0.2b remaining (-160.4%)
Threshold costs -0.2b (-160.4%)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
| Outputs |
|---|
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 1 | x |
Compiled 34 to 26 computations (23.5% saved)
| 1× | egg-herbie |
| 15× | *-commutative_binary64 |
| 7× | +-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 87 |
| 1 | 61 | 87 |
| 2 | 66 | 87 |
| 3 | 69 | 87 |
| 4 | 70 | 87 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (+.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/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (*.f64 2 x)) |
| Outputs |
|---|
(*.f64 1/2 (+.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/2 (+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 x 2) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))) |
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
(*.f64 1/2 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) |
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))) |
(*.f64 1/2 (+.f64 (*.f64 x 2) (*.f64 x (*.f64 x (*.f64 x 2/3))))) |
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 1/2 (*.f64 x 2)) |
| 1× | done |
Compiled 124 to 96 computations (22.6% saved)
Loading profile data...