Time bar (total: 2.9s)
| 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)
| 986.0ms | 8256× | body | 256 | valid |
| 893.0ms | 8511× | body | 256 | invalid |
| 2× | egg-herbie |
| 864× | fma-neg_binary64 |
| 682× | unsub-neg_binary64 |
| 430× | distribute-neg-in_binary64 |
| 420× | sub-neg_binary64 |
| 353× | 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 | 76 | 12 |
| 5 | 152 | 12 |
| 6 | 359 | 12 |
| 7 | 756 | 12 |
| 8 | 2543 | 12 |
| 9 | 4491 | 12 |
| 10 | 5836 | 12 |
| 11 | 6572 | 12 |
| 12 | 6876 | 12 |
| 13 | 7073 | 12 |
| 14 | 7205 | 12 |
| 15 | 7549 | 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 |
| 864× | fma-neg_binary64 |
| 682× | unsub-neg_binary64 |
| 430× | distribute-neg-in_binary64 |
| 420× | sub-neg_binary64 |
| 353× | 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 | 76 | 12 |
| 5 | 152 | 12 |
| 6 | 359 | 12 |
| 7 | 756 | 12 |
| 8 | 2543 | 12 |
| 9 | 4491 | 12 |
| 10 | 5836 | 12 |
| 11 | 6572 | 12 |
| 12 | 6876 | 12 |
| 13 | 7073 | 12 |
| 14 | 7205 | 12 |
| 15 | 7549 | 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 |
|---|---|---|
| ▶ | 31.2b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
Compiled 10 to 7 computations (30% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
| ✓ | 29.1b | (sqrt.f64 (-.f64 (*.f64 x x) 1)) |
Compiled 34 to 17 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (sqrt.f64 (-.f64 (*.f64 x x) 1)) |
| 1.0ms | x | @ | inf | (sqrt.f64 (-.f64 (*.f64 x x) 1)) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (-.f64 (*.f64 x x) 1)) |
| 0.0ms | x | @ | -inf | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
| 0.0ms | x | @ | 0 | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
| 1× | batch-egg-rewrite |
| 821× | pow1_binary64 |
| 772× | add-log-exp_binary64 |
| 770× | log1p-expm1-u_binary64 |
| 770× | expm1-log1p-u_binary64 |
| 754× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 159 | 17 |
| 2 | 2275 | 17 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (-.f64 (*.f64 x x) 1)) |
(+.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 (sqrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -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 (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 6) -1)) (sqrt.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(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 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 expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(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 -.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)))) (cbrt.f64 (pow.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.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 (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 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 expm1.f64 (log1p.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1)))))))) (#(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 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 (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 fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sqrt.f64 (fma.f64 x x -1))))))) |
| 1× | egg-herbie |
| 676× | associate-/l*_binary64 |
| 635× | fma-def_binary64 |
| 578× | unswap-sqr_binary64 |
| 479× | associate-/r*_binary64 |
| 402× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 395 |
| 1 | 200 | 377 |
| 2 | 515 | 369 |
| 3 | 1560 | 366 |
| 4 | 6932 | 366 |
| 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)))) |
(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)))))) |
| Outputs |
|---|
(sqrt.f64 -1) |
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1)))) |
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)))) |
(fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)) |
(fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) (sqrt.f64 -1)) |
(fma.f64 1/2 (*.f64 x (/.f64 x (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 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 1/2 (/.f64 (*.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/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) (sqrt.f64 -1))) |
(+.f64 (sqrt.f64 -1) (*.f64 (*.f64 x (/.f64 x (sqrt.f64 -1))) (+.f64 1/2 (/.f64 (*.f64 x x) 8)))) |
(+.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 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)))))) |
(+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (/.f64 (*.f64 1/16 (pow.f64 x 6)) (pow.f64 (sqrt.f64 -1) 5))) (+.f64 (sqrt.f64 -1) (*.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 (*.f64 x x) (sqrt.f64 -1)) (fma.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 -1)))) |
(+.f64 (fma.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 -1)) (*.f64 (*.f64 x (/.f64 x (sqrt.f64 -1))) (+.f64 1/2 (/.f64 (*.f64 x x) 8)))) |
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 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 (/.f64 -1/2 x) (+.f64 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 x (+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))))) |
(-.f64 (-.f64 x (/.f64 1/16 (pow.f64 x 5))) (+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3)))) |
(+.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 -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))) |
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 x (-.f64 (/.f64 1/2 x) (/.f64 -1/16 (pow.f64 x 5))))) |
(-.f64 (+.f64 (/.f64 1/2 x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x)) (/.f64 -1/16 (pow.f64 x 5))) |
(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 x (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1))) |
(+.f64 (sqrt.f64 -1) (fma.f64 1/2 (*.f64 x (/.f64 x (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))) |
(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 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)) (+.f64 x (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1))))) |
(+.f64 x (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) (sqrt.f64 -1)))) |
(+.f64 (+.f64 (sqrt.f64 -1) x) (*.f64 (*.f64 x (/.f64 x (sqrt.f64 -1))) (+.f64 1/2 (/.f64 (*.f64 x x) 8)))) |
(*.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 (/.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 x 2) (+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))))) |
(-.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (fma.f64 x 2 (/.f64 -1/2 x)) (+.f64 (/.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/2 x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.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 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.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/8 (pow.f64 x 3)) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (/.f64 5/128 (pow.f64 x 7))))) |
Compiled 1477 to 1074 computations (27.3% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 97 | 2 | 99 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 97 | 3 | 100 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.8b | (log.f64 (+.f64 x x)) |
| ✓ | 31.2b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| ▶ | 0.3b | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
Compiled 24 to 16 computations (33.3% saved)
Compiled 9 to 3 computations (66.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (+.f64 x (/.f64 -1/2 x))) |
Compiled 26 to 16 computations (38.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 x (+.f64 x (/.f64 -1/2 x))) |
| 1.0ms | x | @ | inf | (+.f64 x (+.f64 x (/.f64 -1/2 x))) |
| 1.0ms | x | @ | -inf | (+.f64 x (+.f64 x (/.f64 -1/2 x))) |
| 1× | batch-egg-rewrite |
| 933× | pow1_binary64 |
| 880× | add-log-exp_binary64 |
| 879× | log1p-expm1-u_binary64 |
| 879× | expm1-log1p-u_binary64 |
| 864× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 149 | 10 |
| 2 | 2320 | 10 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (+.f64 x (/.f64 -1/2 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (+.f64 x (/.f64 -1/2 x)))) (/.f64 (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2) (-.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (+.f64 x (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) (pow.f64 (cbrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) 2) (cbrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) (sqrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)) (/.f64 1 (fma.f64 x x (*.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)) (/.f64 1 (-.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x))) (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.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 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)) (fma.f64 x x (*.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3)) (+.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 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2)) (-.f64 x (+.f64 x (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 3))) (neg.f64 (fma.f64 x x (*.f64 (+.f64 x (/.f64 -1/2 x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2))) (neg.f64 (-.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x x) 3) (/.f64 -1/8 (pow.f64 x 3))) (+.f64 (*.f64 (+.f64 x x) (+.f64 x x)) (-.f64 (pow.f64 (/.f64 -1/2 x) 2) (*.f64 (+.f64 x x) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x (/.f64 -1/2 x)) 2) (*.f64 x x)) (-.f64 (+.f64 x (/.f64 -1/2 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 x x) (+.f64 x x)) (pow.f64 (/.f64 -1/2 x) 2)) (-.f64 (+.f64 x x) (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (+.f64 x (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x (/.f64 -1/2 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x (/.f64 -1/2 x))) 2) (cbrt.f64 (+.f64 x (/.f64 -1/2 x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (+.f64 x (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x (/.f64 -1/2 x))) (sqrt.f64 (+.f64 x (/.f64 -1/2 x))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (+.f64 x (/.f64 -1/2 x))))))) |
| 1× | egg-herbie |
| 120× | fma-def_binary64 |
| 71× | fma-neg_binary64 |
| 30× | associate-/r*_binary64 |
| 30× | cancel-sign-sub-inv_binary64 |
| 23× | associate-/l*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 102 |
| 1 | 23 | 84 |
| 2 | 37 | 84 |
| 3 | 54 | 84 |
| 4 | 79 | 84 |
| 5 | 116 | 84 |
| 6 | 184 | 84 |
| 7 | 253 | 84 |
| 8 | 334 | 84 |
| 9 | 448 | 84 |
| 10 | 569 | 84 |
| 11 | 579 | 84 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 -1/2 x) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(*.f64 2 x) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(*.f64 2 x) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
| Outputs |
|---|
(/.f64 -1/2 x) |
(-.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 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 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 x 2) (/.f64 1/2 x)) |
(fma.f64 x 2 (/.f64 -1/2 x)) |
(*.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 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 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 x 2) (/.f64 1/2 x)) |
(fma.f64 x 2 (/.f64 -1/2 x)) |
(*.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 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 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 x 2) (/.f64 1/2 x)) |
(fma.f64 x 2 (/.f64 -1/2 x)) |
Compiled 644 to 427 computations (33.7% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 0 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 40 | 3 | 43 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.8b | (log.f64 (+.f64 x x)) |
| ✓ | 31.2b | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))) |
| ✓ | 0.3b | (log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
Compiled 24 to 16 computations (33.3% saved)
Total -31.8b remaining (-10119.2%)
Threshold costs -31.8b (-10119.2%)
| Inputs |
|---|
(log.f64 (+.f64 x x)) |
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 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:
| 8.0ms | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))) |
| 8.0ms | x |
| 7.0ms | (log.f64 (+.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 43 to 28 computations (34.9% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 11 | 18 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
(log.f64 (+.f64 x x)) |
| Outputs |
|---|
(log.f64 (+.f64 x (+.f64 x (/.f64 -1/2 x)))) |
(log.f64 (+.f64 x x)) |
Compiled 14 to 9 computations (35.7% saved)
| 1× | egg-herbie |
| 676× | associate-/l*_binary64 |
| 635× | fma-def_binary64 |
| 578× | unswap-sqr_binary64 |
| 479× | associate-/r*_binary64 |
| 402× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 395 |
| 1 | 200 | 377 |
| 2 | 515 | 369 |
| 3 | 1560 | 366 |
| 4 | 6932 | 366 |
| 1× | node limit |
Compiled 46 to 34 computations (26.1% saved)
Compiled 13 to 8 computations (38.5% saved)
Loading profile data...