Time bar (total: 4.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 0% | 50% | 50% | 3 |
| 25% | 25% | 50% | 4 |
| 37.5% | 12.5% | 50% | 5 |
| 43.7% | 6.2% | 50% | 6 |
| 46.9% | 3.1% | 50% | 7 |
| 48.4% | 1.6% | 50% | 8 |
| 49.2% | 0.8% | 50% | 9 |
| 49.6% | 0.4% | 50% | 10 |
| 49.8% | 0.2% | 50% | 11 |
| 49.9% | 0.1% | 50% | 12 |
Compiled 14 to 12 computations (14.3% saved)
| 2.5s | 4193× | body | 1024 | valid |
| 591.0ms | 2024× | body | 512 | valid |
| 280.0ms | 379× | body | 2048 | valid |
| 248.0ms | 1660× | body | 256 | valid |
| 1.0ms | 7× | 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 |
|---|---|---|
| ▶ | 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 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 4.6b | (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)) |
| ✓ | 4.6b | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
Compiled 40 to 31 computations (22.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 1.0ms | x | @ | inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 1.0ms | x | @ | -inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 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)) |
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))) |
Compiled 24 to 8 computations (66.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| 1.0ms | x | @ | inf | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| 0.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 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)))))) (#(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))))) |
Compiled 2331 to 1601 computations (31.3% 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.2b | (*.f64 1/2 (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ▶ | 0.7b | (*.f64 1/2 (*.f64 2 x)) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ▶ | 0.3b | (*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
Compiled 58 to 48 computations (17.2% saved)
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)) |
Compiled 37 to 29 computations (21.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 2/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | 0 | (*.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 exp.f64 (log.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 expm1.f64 (log1p.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 12 to 9 computations (25% saved)
Found 6 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 (*.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.1b | (*.f64 2/5 (pow.f64 x 5)) |
| 0.1b | (*.f64 2/3 (pow.f64 x 3)) |
Compiled 70 to 56 computations (20% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 2/5 (pow.f64 x 5)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
| 1.0ms | x | @ | inf | (*.f64 2/5 (pow.f64 x 5)) |
| 1.0ms | x | @ | -inf | (*.f64 2/5 (pow.f64 x 5)) |
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
| 1× | batch-egg-rewrite |
| 476× | log-prod_binary64 |
| 363× | exp-prod_binary64 |
| 316× | prod-exp_binary64 |
| 309× | fma-def_binary64 |
| 283× | pow2_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 21 |
| 1 | 247 | 21 |
| 2 | 2867 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/5 (pow.f64 x 5)) |
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/5 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 10) 4/25) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/5 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 15) 8/125) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (fma.f64 5 (log.f64 x) (log.f64 2/5)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5))) 2)) (cbrt.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5)))) (sqrt.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 4/25))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 15) 8/125))))) (#(struct:change #<rule egg-rr> (2) ((x 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 exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 2/5 (pow.f64 x 5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 15) 8/125)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 2/5)) 3) 1/3))))) (#(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 (exp.f64 (log1p.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))) 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/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) 2) (cbrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))))) (#(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 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 6) 4/9 (neg.f64 (*.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 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3)))) (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))) (fma.f64 (pow.f64 x 6) 4/9 (neg.f64 (*.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 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3)))))))) (#(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 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 6) 4/9 (neg.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 (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 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 6) 4/9 (neg.f64 (*.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/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))))) (#(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 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/3 (pow.f64 x 3)))) (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))) (fma.f64 (pow.f64 x 6) 4/9 (neg.f64 (*.f64 (pow.f64 x 10) 4/25)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))) 2)) (cbrt.f64 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))) (sqrt.f64 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 2/5 (pow.f64 x 5) (*.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)))) (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 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 cbrt.f64 (pow.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))) 1) 1))))) (#(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 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 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 2/3 (pow.f64 x 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 1 (*.f64 2/5 (pow.f64 x 5)) (*.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 (*.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 (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 x (cbrt.f64 2/3)) (pow.f64 (*.f64 x (cbrt.f64 2/3)) 2) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 2/3)) 2) (*.f64 x (cbrt.f64 2/3)) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.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 (*.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 (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/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 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 log1p.f64 (expm1.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))))))) |
| 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)) |
Compiled 2572 to 2142 computations (16.7% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 119 | 0 | 119 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 119 | 5 | 124 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 1/2 (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
| ✓ | 58.6b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| ✓ | 0.7b | (*.f64 1/2 (*.f64 2 x)) |
| ✓ | 0.0b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 0.3b | (*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
Compiled 58 to 48 computations (17.2% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.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)))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
4 calls:
| 4.0ms | x |
| 4.0ms | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 2.0ms | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 2.0ms | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| Error | Segments | Branch |
|---|---|---|
| 0.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 86 to 69 computations (19.8% saved)
Total -58.7b remaining (-21584.9%)
Threshold costs -58.7b (-21584.9%)
| Inputs |
|---|
(*.f64 1/2 (*.f64 2 x)) |
(*.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 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
4 calls:
| 3.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.3b | 1 | x |
| 0.3b | 1 | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| 0.3b | 1 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.3b | 1 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
Compiled 61 to 49 computations (19.7% saved)
| 1× | egg-herbie |
| 7× | *-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 | 36 |
| 1 | 29 | 36 |
| 2 | 34 | 36 |
| 3 | 37 | 36 |
| 4 | 38 | 36 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
(*.f64 1/2 (*.f64 2 x)) |
| Outputs |
|---|
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(*.f64 1/2 (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))) |
(*.f64 1/2 (+.f64 (*.f64 x 2) (*.f64 2/3 (pow.f64 x 3)))) |
(*.f64 1/2 (*.f64 2 x)) |
(*.f64 1/2 (*.f64 x 2)) |
| 1× | done |
Compiled 52 to 42 computations (19.2% saved)
Loading profile data...