Time bar (total: 3.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 0% | 100% | 0% | 3 |
| 12.5% | 62.5% | 25% | 4 |
| 18.7% | 43.7% | 37.5% | 5 |
| 21.9% | 34.4% | 43.8% | 6 |
| 23.4% | 29.7% | 46.9% | 7 |
| 24.2% | 27.3% | 48.5% | 8 |
| 24.6% | 26.2% | 49.2% | 9 |
| 24.8% | 25.6% | 49.6% | 10 |
| 24.9% | 25.3% | 49.8% | 11 |
| 24.9% | 25.1% | 49.9% | 12 |
Compiled 11 to 8 computations (27.3% saved)
| 1.4s | 8256× | body | 256 | valid |
| 1.2s | 8221× | body | 256 | invalid |
| 2× | egg-herbie |
| 868× | fma-neg_binary64 |
| 799× | unsub-neg_binary64 |
| 450× | distribute-neg-in_binary64 |
| 433× | sub-neg_binary64 |
| 337× | distribute-rgt-out_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 18 | 12 |
| 2 | 22 | 12 |
| 3 | 37 | 12 |
| 4 | 78 | 12 |
| 5 | 154 | 12 |
| 6 | 360 | 12 |
| 7 | 751 | 12 |
| 8 | 2365 | 12 |
| 9 | 4284 | 12 |
| 10 | 5598 | 12 |
| 11 | 6319 | 12 |
| 12 | 6624 | 12 |
| 13 | 6821 | 12 |
| 14 | 6953 | 12 |
| 15 | 7297 | 12 |
| 16 | 7843 | 12 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
| 868× | fma-neg_binary64 |
| 799× | unsub-neg_binary64 |
| 450× | distribute-neg-in_binary64 |
| 433× | sub-neg_binary64 |
| 337× | distribute-rgt-out_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 18 | 12 |
| 2 | 22 | 12 |
| 3 | 37 | 12 |
| 4 | 78 | 12 |
| 5 | 154 | 12 |
| 6 | 360 | 12 |
| 7 | 751 | 12 |
| 8 | 2365 | 12 |
| 9 | 4284 | 12 |
| 10 | 5598 | 12 |
| 11 | 6319 | 12 |
| 12 | 6624 | 12 |
| 13 | 6821 | 12 |
| 14 | 6953 | 12 |
| 15 | 7297 | 12 |
| 16 | 7843 | 12 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) |
Compiled 18 to 12 computations (33.3% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 29.5b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
Compiled 10 to 7 computations (30% saved)
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 27.4b | (sqrt.f64 (-.f64 (*.f64 x x) 1)) | |
| 0.0b | (-.f64 (*.f64 x x) 1) | |
| 0.0b | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) | |
| 0.0b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) | |
| ✓ | 0.0b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| ✓ | 0.0b | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
| ✓ | 0.0b | (-.f64 (*.f64 x x) 1) |
| ✓ | 27.4b | (sqrt.f64 (-.f64 (*.f64 x x) 1)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| 1.0ms | x | @ | inf | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| 1.0ms | x | @ | 0 | (sqrt.f64 (-.f64 (*.f64 x x) 1)) |
| 1.0ms | x | @ | -inf | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| 1.0ms | x | @ | inf | (sqrt.f64 (-.f64 (*.f64 x x) 1)) |
| 1× | batch-egg-rewrite |
| 889× | pow1_binary64 |
| 833× | add-log-exp_binary64 |
| 831× | log1p-expm1-u_binary64 |
| 831× | expm1-log1p-u_binary64 |
| 814× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 34 |
| 1 | 176 | 34 |
| 2 | 2436 | 34 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 (*.f64 x x) 1)) |
(-.f64 (*.f64 x x) 1) |
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 1/4) (pow.f64 (fma.f64 x x -1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 1) 1/2) (pow.f64 (+.f64 x -1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 4) -1)) (sqrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) -1)) (sqrt.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x -1) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1)) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 1/4) (*.f64 (pow.f64 (fma.f64 x x -1) 1/4) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) -1) (/.f64 1 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (fma.f64 x x -1)) (pow.f64 (fma.f64 x x -1) 1/4)) (pow.f64 (fma.f64 x x -1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (fma.f64 x x -1)) (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1)) (+.f64 (pow.f64 x 6) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x 1) (+.f64 (pow.f64 x 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) -1) (+.f64 (pow.f64 x 4) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) -1) (+.f64 (pow.f64 x 4) (-.f64 1 (*.f64 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 4) -1) (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 4) -1) (-.f64 (*.f64 x x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) -1)) (neg.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1)) (neg.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log.f64 x) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (sqrt.f64 (fma.f64 x x -1)))) (/.f64 (fma.f64 x x -1) (-.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x -1) 3/2)) (/.f64 1 (fma.f64 x x (-.f64 (fma.f64 x x -1) (*.f64 x (sqrt.f64 (fma.f64 x x -1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (fma.f64 x x -1)) (/.f64 1 (-.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 (fma.f64 x x -1) (*.f64 x (sqrt.f64 (fma.f64 x x -1))))) (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x -1) 3/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (sqrt.f64 (fma.f64 x x -1))) (-.f64 (*.f64 x x) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x -1) 3/2)) (fma.f64 x x (-.f64 (fma.f64 x x -1) (*.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x -1) 3/2)) (+.f64 (fma.f64 x x -1) (-.f64 (*.f64 x x) (*.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (fma.f64 x x -1)) (-.f64 x (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x -1) 3/2))) (neg.f64 (fma.f64 x x (-.f64 (fma.f64 x x -1) (*.f64 x (sqrt.f64 (fma.f64 x x -1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (fma.f64 x x -1))) (neg.f64 (-.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (fma.f64 x x -1) (*.f64 x x)) (-.f64 (sqrt.f64 (fma.f64 x x -1)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2)) (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))) (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sqrt.f64 (fma.f64 x x -1)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 x x -1) 1/4) (pow.f64 (fma.f64 x x -1) 1/4) x)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) (log.f64 (sqrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2)) (log.f64 (cbrt.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x -1) 3/2))) (log.f64 (fma.f64 x x (-.f64 (fma.f64 x x -1) (*.f64 x (sqrt.f64 (fma.f64 x x -1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x -1))) (log.f64 (-.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2) (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))))) |
| 1× | egg-herbie |
| 487× | associate-*l*_binary64 |
| 485× | associate-*r*_binary64 |
| 476× | associate-*l/_binary64 |
| 390× | associate-*r/_binary64 |
| 315× | associate-+l-_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 112 | 752 |
| 1 | 317 | 702 |
| 2 | 912 | 690 |
| 3 | 3017 | 690 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 -1) |
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1)))) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))))) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)))))) |
x |
(-.f64 x (*.f64 1/2 (/.f64 1 x))) |
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))) |
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))) |
(*.f64 -1 x) |
(+.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x))) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)))) |
-1 |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(pow.f64 x 2) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(-.f64 (pow.f64 x 2) 1) |
(sqrt.f64 -1) |
(+.f64 (sqrt.f64 -1) x) |
(+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x)) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x))) |
(*.f64 2 x) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))) |
(/.f64 1/2 x) |
(+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x)))) |
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))))) |
(log.f64 (sqrt.f64 -1)) |
(+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1))) |
(+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1)))) |
(+.f64 (*.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1))))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
(sqrt.f64 -1) |
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1)))) |
(+.f64 (sqrt.f64 -1) (/.f64 (*.f64 1/2 (*.f64 x x)) (sqrt.f64 -1))) |
(fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))))) |
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (/.f64 (*.f64 1/2 (*.f64 x x)) (sqrt.f64 -1)))) |
(+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)))) |
(fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (sqrt.f64 -1))) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)))))) |
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 (*.f64 1/16 (pow.f64 x 6)) (pow.f64 (sqrt.f64 -1) 5))))) |
(+.f64 (sqrt.f64 -1) (+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1))))) |
(fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (fma.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 -1)))) |
x |
(-.f64 x (*.f64 1/2 (/.f64 1 x))) |
(-.f64 x (/.f64 1/2 x)) |
(+.f64 x (/.f64 -1/2 x)) |
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))) |
(-.f64 x (+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3)))) |
(-.f64 (+.f64 x (/.f64 -1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 x (-.f64 (/.f64 -1/2 x) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 x (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3)))) |
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))) |
(-.f64 (-.f64 x (/.f64 1/2 x)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))) |
(-.f64 x (+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
(+.f64 x (+.f64 (-.f64 (/.f64 -1/2 x) (/.f64 1/8 (pow.f64 x 3))) (/.f64 -1/16 (pow.f64 x 5)))) |
(+.f64 x (+.f64 (/.f64 -1/2 x) (+.f64 (/.f64 -1/8 (pow.f64 x 3)) (/.f64 -1/16 (pow.f64 x 5))))) |
(*.f64 -1 x) |
(neg.f64 x) |
(+.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(fma.f64 -1 x (/.f64 1/2 x)) |
(-.f64 (/.f64 1/2 x) x) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x))) |
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (neg.f64 x))) |
(+.f64 (/.f64 1/2 x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x)) |
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)))) |
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (neg.f64 x)))) |
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x))) |
-1 |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(pow.f64 x 2) |
(*.f64 x x) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(-.f64 (pow.f64 x 2) 1) |
(+.f64 (*.f64 x x) -1) |
(fma.f64 x x -1) |
(sqrt.f64 -1) |
(+.f64 (sqrt.f64 -1) x) |
(+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x)) |
(+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) x)) |
(+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x)) |
(+.f64 x (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1))) |
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) x))) |
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) x))) |
(+.f64 (sqrt.f64 -1) (+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1))))) |
(+.f64 (sqrt.f64 -1) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x))) |
(+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) x) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (sqrt.f64 -1))) |
(*.f64 2 x) |
(*.f64 x 2) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 x 2) (/.f64 1/2 x)) |
(fma.f64 x 2 (/.f64 -1/2 x)) |
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (*.f64 x 2) (+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3)))) |
(-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (/.f64 -1/8 (pow.f64 x 3))) |
(+.f64 (/.f64 -1/2 x) (fma.f64 x 2 (/.f64 -1/8 (pow.f64 x 3)))) |
(-.f64 (*.f64 2 x) (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))) |
(-.f64 (-.f64 (*.f64 x 2) (/.f64 1/2 x)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))) |
(-.f64 (-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (/.f64 1/8 (pow.f64 x 3))) (/.f64 1/16 (pow.f64 x 5))) |
(+.f64 (-.f64 (/.f64 -1/2 x) (/.f64 1/8 (pow.f64 x 3))) (fma.f64 x 2 (/.f64 -1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 -1/2 x) (+.f64 (fma.f64 x 2 (/.f64 -1/8 (pow.f64 x 3))) (/.f64 -1/16 (pow.f64 x 5)))) |
(/.f64 1/2 x) |
(+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x)))) |
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))))) |
(+.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (+.f64 (/.f64 1/2 x) (/.f64 5/128 (pow.f64 x 7)))) |
(+.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3))) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 5/128 (pow.f64 x 7))))) |
(log.f64 (sqrt.f64 -1)) |
(+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1))) |
(+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1))) |
(+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1)))) |
(fma.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1)))) |
(+.f64 (log.f64 (sqrt.f64 -1)) (+.f64 (/.f64 x (sqrt.f64 -1)) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1))))) |
(+.f64 (log.f64 (sqrt.f64 -1)) (fma.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1)))) |
(+.f64 (*.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (*.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (/.f64 x (sqrt.f64 -1)) (log.f64 (sqrt.f64 -1))))) |
(fma.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)) (fma.f64 -1/6 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1))))) |
(+.f64 (+.f64 (log.f64 (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1))) (fma.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1))))) |
(+.f64 (log.f64 (sqrt.f64 -1)) (fma.f64 3/40 (/.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)) (fma.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 -1)) (/.f64 x (sqrt.f64 -1))))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) |
(+.f64 (log.f64 2) (log.f64 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (log.f64 2) (-.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 3/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (log.f64 2) (-.f64 (log.f64 x) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (+.f64 (log.f64 2) (log.f64 x)) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4)))) |
(+.f64 (/.f64 -3/32 (pow.f64 x 4)) (+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 3/32 (pow.f64 x 4))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6)))) |
(-.f64 (+.f64 (log.f64 2) (log.f64 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 5/96 (pow.f64 x 6))))) |
(+.f64 (+.f64 (log.f64 2) (log.f64 x)) (-.f64 (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4))) (/.f64 5/96 (pow.f64 x 6)))) |
(+.f64 (log.f64 2) (+.f64 (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4))) (+.f64 (log.f64 x) (/.f64 -5/96 (pow.f64 x 6))))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 -1/2))) |
(+.f64 (log.f64 -1/2) (+.f64 (log.f64 (/.f64 -1 x)) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (+.f64 (log.f64 -1/2) (/.f64 3/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4))) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))) |
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))))) |
(+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 -1/2)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 -1/2) (+.f64 (*.f64 3/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))))) |
(+.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))) |
(+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 5/96 (pow.f64 x 6)))) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))) |
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x)))) (/.f64 5/96 (pow.f64 x 6)))) |
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 5/96 (pow.f64 x 6))))) |
Compiled 2755 to 2027 computations (26.4% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 182 | 3 | 185 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 182 | 4 | 186 |
| Status | Error | Program |
|---|---|---|
| ✓ | 29.5b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| ▶ | 0.6b | (log.f64 (*.f64 x 2)) |
| ▶ | 0.3b | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
| ▶ | 0.8b | (+.f64 (log.f64 2) (log.f64 x)) |
Compiled 30 to 22 computations (26.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (+.f64 (log.f64 2) (log.f64 x)) | |
| ✓ | 0.2b | (+.f64 (log.f64 2) (log.f64 x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 46.0ms | x | @ | 0 | (+.f64 (log.f64 2) (log.f64 x)) |
| 13.0ms | x | @ | -inf | (+.f64 (log.f64 2) (log.f64 x)) |
| 7.0ms | x | @ | inf | (+.f64 (log.f64 2) (log.f64 x)) |
| 1× | batch-egg-rewrite |
| 629× | pow1_binary64 |
| 588× | add-log-exp_binary64 |
| 587× | log1p-expm1-u_binary64 |
| 587× | expm1-log1p-u_binary64 |
| 576× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 127 | 6 |
| 2 | 1613 | 6 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (log.f64 2) (log.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (*.f64 2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (log.f64 2) 2) (log.f64 (/.f64 2 x))) (/.f64 (pow.f64 (log.f64 x) 2) (log.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (*.f64 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) (pow.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) 2) (cbrt.f64 (log.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (*.f64 2 x))) (sqrt.f64 (log.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3)) (/.f64 1 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2)) (/.f64 1 (log.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2)))) (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 (/.f64 2 x)) (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3)) (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3)) (+.f64 (pow.f64 (log.f64 x) 2) (-.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 2) (log.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2)) (log.f64 (/.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3))) (neg.f64 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2))) (neg.f64 (log.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 x) 2) (pow.f64 (log.f64 2) 2)) (-.f64 (log.f64 x) (log.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (*.f64 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (*.f64 2 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (*.f64 2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (*.f64 2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (*.f64 2 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log.f64 2) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log.f64 x) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 2)) 2) (cbrt.f64 (log.f64 2)) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 x)) 2) (cbrt.f64 (log.f64 x)) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 2)) (sqrt.f64 (log.f64 2)) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 x)) (sqrt.f64 (log.f64 x)) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (*.f64 2 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (*.f64 2 x)))))))) |
| 1× | egg-herbie |
| 859× | distribute-rgt-in_binary64 |
| 795× | fma-neg_binary64 |
| 737× | fma-def_binary64 |
| 546× | distribute-lft-in_binary64 |
| 390× | associate--r-_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 96 |
| 1 | 33 | 64 |
| 2 | 56 | 64 |
| 3 | 118 | 64 |
| 4 | 255 | 64 |
| 5 | 502 | 64 |
| 6 | 1067 | 64 |
| 7 | 2211 | 64 |
| 8 | 3343 | 64 |
| 9 | 3550 | 64 |
| 10 | 3566 | 64 |
| 11 | 3630 | 64 |
| 12 | 5137 | 64 |
| 13 | 5730 | 64 |
| 14 | 5842 | 64 |
| 15 | 5878 | 64 |
| 16 | 5912 | 64 |
| 17 | 5912 | 64 |
| 18 | 5964 | 64 |
| 19 | 6487 | 64 |
| 20 | 7141 | 64 |
| 21 | 7802 | 64 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
| Outputs |
|---|
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) | |
| ✓ | 0.0b | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
| 1.0ms | x | @ | -inf | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
| 1.0ms | x | @ | inf | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
| 1× | batch-egg-rewrite |
| 543× | unpow-prod-down_binary64 |
| 424× | fma-def_binary64 |
| 380× | log-prod_binary64 |
| 281× | exp-prod_binary64 |
| 266× | pow-prod-down_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 166 | 12 |
| 2 | 2492 | 10 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))) (log.f64 (/.f64 1 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2))) (log.f64 (/.f64 1 (-.f64 x (+.f64 x (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (log.f64 (pow.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2)) (log.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (log.f64 (sqrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))) (log.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))) (log.f64 (+.f64 (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2) (-.f64 (*.f64 x x) (*.f64 x (+.f64 x (/.f64 -1/2 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2))) (log.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (/.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)) (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (/.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x))) (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)))) (log.f64 (neg.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)))) (log.f64 (neg.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (*.f64 -1/8 (pow.f64 x -3)))) (log.f64 (+.f64 (pow.f64 (+.f64 x x) 2) (fma.f64 1/4 (pow.f64 x -2) (neg.f64 (*.f64 (+.f64 x x) (/.f64 -1/2 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2) (*.f64 x x))) (log.f64 (-.f64 (+.f64 x (/.f64 -1/2 x)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (pow.f64 (+.f64 x x) 2) (*.f64 1/4 (pow.f64 x -2)))) (log.f64 (-.f64 (+.f64 x x) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 2) (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (log.f64 (cbrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (*.f64 3 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (log.f64 (sqrt.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2) 1/3) (cbrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2) 3) (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2)) (cbrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))) (sqrt.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (/.f64 (fma.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x) (*.f64 x x)) (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (/.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x))) (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (fma.f64 x 2 (/.f64 -1/2 x))))))))) |
| 1× | egg-herbie |
| 660× | fma-def_binary64 |
| 585× | times-frac_binary64 |
| 412× | associate-+l-_binary64 |
| 297× | sub-neg_binary64 |
| 285× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 282 |
| 1 | 165 | 264 |
| 2 | 476 | 262 |
| 3 | 1661 | 258 |
| 4 | 6151 | 258 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (*.f64 -1 (log.f64 x)))) |
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -1 (log.f64 x))))) |
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (+.f64 (*.f64 -64/3 (pow.f64 x 6)) (*.f64 -1 (log.f64 x)))))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
| Outputs |
|---|
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) |
(-.f64 (log.f64 -1/2) (log.f64 x)) |
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (*.f64 -1 (log.f64 x)))) |
(+.f64 (log.f64 -1/2) (fma.f64 -4 (*.f64 x x) (neg.f64 (log.f64 x)))) |
(-.f64 (+.f64 (log.f64 -1/2) (*.f64 -4 (*.f64 x x))) (log.f64 x)) |
(-.f64 (fma.f64 x (*.f64 x -4) (log.f64 -1/2)) (log.f64 x)) |
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -1 (log.f64 x))))) |
(+.f64 (log.f64 -1/2) (fma.f64 -4 (*.f64 x x) (fma.f64 -8 (pow.f64 x 4) (neg.f64 (log.f64 x))))) |
(+.f64 (log.f64 -1/2) (-.f64 (fma.f64 -4 (*.f64 x x) (*.f64 -8 (pow.f64 x 4))) (log.f64 x))) |
(-.f64 (fma.f64 -4 (*.f64 x x) (*.f64 -8 (pow.f64 x 4))) (-.f64 (log.f64 x) (log.f64 -1/2))) |
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -8) -4) (log.f64 -1/2)) (log.f64 x)) |
(+.f64 (log.f64 -1/2) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (*.f64 -8 (pow.f64 x 4)) (+.f64 (*.f64 -64/3 (pow.f64 x 6)) (*.f64 -1 (log.f64 x)))))) |
(+.f64 (log.f64 -1/2) (fma.f64 -4 (*.f64 x x) (fma.f64 -8 (pow.f64 x 4) (fma.f64 -64/3 (pow.f64 x 6) (neg.f64 (log.f64 x)))))) |
(+.f64 (log.f64 -1/2) (fma.f64 x (*.f64 x -4) (-.f64 (fma.f64 -8 (pow.f64 x 4) (*.f64 -64/3 (pow.f64 x 6))) (log.f64 x)))) |
(fma.f64 x (*.f64 x -4) (fma.f64 -8 (pow.f64 x 4) (-.f64 (fma.f64 -64/3 (pow.f64 x 6) (log.f64 -1/2)) (log.f64 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) |
(+.f64 (log.f64 x) (log.f64 2)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x)))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.f64 (/.f64 -1/4 x) x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (log.f64 x) (-.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4))))) |
(+.f64 (+.f64 (log.f64 2) (/.f64 -1/4 (*.f64 x x))) (+.f64 (log.f64 x) (/.f64 -1/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 2)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (log.f64 x) (-.f64 (log.f64 2) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (/.f64 -1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6)))))) |
(+.f64 (log.f64 2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (-.f64 (log.f64 x) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6)))))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) |
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (log.f64 -2) (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 (/.f64 -1 x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (-.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (-.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (/.f64 1/32 (pow.f64 x 4))) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -1/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 -2) (+.f64 (/.f64 -1/32 (pow.f64 x 4)) (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 (/.f64 -1 x))))) |
(+.f64 (log.f64 -2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (-.f64 (/.f64 -1/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))) |
(-.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/192 (pow.f64 x 6)))) |
(+.f64 (-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) (-.f64 (/.f64 -1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (/.f64 (/.f64 -1/4 x) x) (-.f64 (log.f64 -2) (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6)))))) |
(+.f64 (/.f64 (/.f64 -1/4 x) x) (+.f64 (-.f64 (/.f64 -1/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -2) (/.f64 -1/192 (pow.f64 x 6))))) |
Compiled 1726 to 1319 computations (23.6% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 112 | 0 | 112 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 112 | 4 | 116 |
| Status | Error | Program |
|---|---|---|
| ✓ | 29.5b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| ✓ | 0.6b | (log.f64 (*.f64 x 2)) |
| ✓ | 0.3b | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
| ✓ | 0.8b | (+.f64 (log.f64 2) (log.f64 x)) |
Compiled 30 to 22 computations (26.7% saved)
Total -29.8b remaining (-9137.5%)
Threshold costs -29.8b (-9137.5%)
| Inputs |
|---|
(log.f64 (*.f64 x 2)) |
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
3 calls:
| 4.0ms | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| 4.0ms | x |
| 4.0ms | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
| 0.3b | 1 | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| 0.3b | 1 | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
Compiled 48 to 33 computations (31.3% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 18 |
| 1 | 13 | 18 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
(log.f64 (*.f64 x 2)) |
| Outputs |
|---|
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
(log.f64 (*.f64 x 2)) |
| 1× | done |
Compiled 27 to 19 computations (29.6% saved)
Loading profile data...