Time bar (total: 5.8s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 0% | 100% | 0 |
| 0% | 0% | 100% | 1 |
| 0% | 0% | 100% | 2 |
| 0% | 0% | 100% | 3 |
| 0% | 0% | 100% | 4 |
| 0% | 0% | 100% | 5 |
| 0% | 0% | 100% | 6 |
| 0% | 0% | 100% | 7 |
| 0% | 0% | 100% | 8 |
| 0% | 0% | 100% | 9 |
| 0% | 0% | 100% | 10 |
| 0% | 0% | 100% | 11 |
| 0% | 0% | 100% | 12 |
Compiled 15 to 11 computations (26.7% saved)
| 847.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 601× | unsub-neg_binary64 |
| 586× | distribute-rgt-out--_binary64 |
| 492× | fma-neg_binary64 |
| 434× | distribute-neg-in_binary64 |
| 409× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 14 | 10 |
| 2 | 21 | 10 |
| 3 | 32 | 10 |
| 4 | 49 | 10 |
| 5 | 77 | 8 |
| 6 | 131 | 8 |
| 7 | 362 | 8 |
| 8 | 738 | 8 |
| 9 | 1536 | 8 |
| 10 | 2895 | 8 |
| 11 | 4312 | 8 |
| 12 | 5270 | 8 |
| 13 | 5580 | 8 |
| 14 | 5884 | 8 |
| 15 | 5985 | 8 |
| 16 | 6063 | 8 |
| 17 | 6331 | 8 |
| 18 | 7277 | 8 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 10 (-.f64 1 (*.f64 x x))) |
| Outputs |
|---|
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 10 (fma.f64 x (neg.f64 x) 1)) |
(/.f64 -10 (fma.f64 x x -1)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 601× | unsub-neg_binary64 |
| 586× | distribute-rgt-out--_binary64 |
| 492× | fma-neg_binary64 |
| 434× | distribute-neg-in_binary64 |
| 409× | distribute-rgt-in_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 14 | 10 |
| 2 | 21 | 10 |
| 3 | 32 | 10 |
| 4 | 49 | 10 |
| 5 | 77 | 8 |
| 6 | 131 | 8 |
| 7 | 362 | 8 |
| 8 | 738 | 8 |
| 9 | 1536 | 8 |
| 10 | 2895 | 8 |
| 11 | 4312 | 8 |
| 12 | 5270 | 8 |
| 13 | 5580 | 8 |
| 14 | 5884 | 8 |
| 15 | 5985 | 8 |
| 16 | 6063 | 8 |
| 17 | 6331 | 8 |
| 18 | 7277 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 10 (-.f64 1 (*.f64 x x))) |
| Outputs |
|---|
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 10 (fma.f64 x (neg.f64 x) 1)) |
(/.f64 -10 (fma.f64 x x -1)) |
Compiled 14 to 10 computations (28.6% 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 |
|---|---|---|
| ▶ | 8.0b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ▶ | 0.2b | (/.f64 -10 (fma.f64 x x -1)) |
Compiled 15 to 11 computations (26.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 -10 (fma.f64 x x -1)) |
Compiled 14 to 9 computations (35.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | -inf | (/.f64 -10 (fma.f64 x x -1)) |
| 1.0ms | x | @ | inf | (/.f64 -10 (fma.f64 x x -1)) |
| 1.0ms | x | @ | 0 | (/.f64 -10 (fma.f64 x x -1)) |
| 1× | batch-egg-rewrite |
| 549× | pow1_binary64 |
| 512× | add-log-exp_binary64 |
| 512× | log1p-expm1-u_binary64 |
| 512× | expm1-log1p-u_binary64 |
| 503× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 122 | 8 |
| 2 | 1370 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 -10 (fma.f64 x x -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (/.f64 1 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) -10)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 677× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 354× | distribute-neg-frac_binary64 |
| 255× | associate-/r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 226 |
| 1 | 112 | 210 |
| 2 | 338 | 206 |
| 3 | 1162 | 203 |
| 4 | 4868 | 200 |
| 1× | node limit |
| Inputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(*.f64 10 (fma.f64 x x 1)) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 10) (*.f64 10 (pow.f64 x 4))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 4) 10)) |
(*.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(*.f64 (fma.f64 x x 1) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8))) (/.f64 -10 (pow.f64 x 6)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8))) (/.f64 -10 (pow.f64 x 6)))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ✓ | 8.0b | (-.f64 1 (*.f64 x x)) |
Compiled 19 to 10 computations (47.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (-.f64 1 (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (-.f64 1 (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 0.0ms | x | @ | inf | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (-.f64 1 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 736× | pow1_binary64 |
| 694× | add-log-exp_binary64 |
| 693× | log1p-expm1-u_binary64 |
| 693× | expm1-log1p-u_binary64 |
| 681× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 154 | 17 |
| 2 | 1922 | 17 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (*.f64 x x)) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (*.f64 x (neg.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (neg.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2) (cbrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 6)) (/.f64 1 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 4)) (/.f64 1 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))) (-.f64 1 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) (-.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 6)) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 4)) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 6))) (neg.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 4))) (neg.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 x (neg.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x))) (*.f64 x (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 10 (-.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 10 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (/.f64 1 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 10 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) (pow.f64 (cbrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) 2) (cbrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) (sqrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (neg.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 10 (-.f64 1 (pow.f64 x 6))) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 10 (-.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 10 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 10 (-.f64 1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1/10 (/.f64 (*.f64 x x) 10)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 100 (pow.f64 (-.f64 1 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 10 (-.f64 1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 10 (-.f64 1 (*.f64 x x))))))))) |
| 1× | egg-herbie |
| 681× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 361× | distribute-neg-frac_binary64 |
| 258× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 320 |
| 1 | 117 | 286 |
| 2 | 354 | 282 |
| 3 | 1199 | 279 |
| 4 | 4981 | 276 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(*.f64 -1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(*.f64 -1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(*.f64 -1 (pow.f64 x 2)) |
(neg.f64 (*.f64 x x)) |
(*.f64 x (neg.f64 x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(*.f64 -1 (pow.f64 x 2)) |
(neg.f64 (*.f64 x x)) |
(*.f64 x (neg.f64 x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(fma.f64 (*.f64 x x) 10 10) |
(*.f64 10 (fma.f64 x x 1)) |
(fma.f64 x (*.f64 x 10) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 10 (*.f64 x x) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 4) 10)) |
(*.f64 10 (+.f64 (fma.f64 x x 1) (pow.f64 x 4))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(*.f64 (fma.f64 x x 1) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (/.f64 -10 (pow.f64 x 6))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (-.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (-.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 4)))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (/.f64 -10 (pow.f64 x 8)) (/.f64 -10 (pow.f64 x 6))))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (/.f64 -10 (pow.f64 x 6))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (-.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (-.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 4)))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (/.f64 -10 (pow.f64 x 8)) (/.f64 -10 (pow.f64 x 6))))) |
Compiled 1239 to 893 computations (27.9% saved)
13 alts after pruning (11 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 94 | 11 | 105 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 94 | 13 | 107 |
| Status | Error | Program |
|---|---|---|
| ▶ | 8.0b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| 58.1b | 10 | |
| ▶ | 60.3b | (/.f64 -10 (*.f64 x x)) |
| 0.4b | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1) | |
| 8.0b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) | |
| 1.4b | (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) | |
| ✓ | 8.0b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ▶ | 0.4b | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
| ✓ | 0.2b | (/.f64 -10 (fma.f64 x x -1)) |
| 1.3b | (*.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1)))) | |
| ▶ | 23.9b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| 23.9b | (expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1)))) | |
| ▶ | 0.6b | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
Compiled 239 to 175 computations (26.8% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 1 (fma.f64 x x -1)) |
| ✓ | 0.3b | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
Compiled 23 to 16 computations (30.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
| 0.0ms | x | @ | inf | (/.f64 1 (fma.f64 x x -1)) |
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
| 0.0ms | x | @ | 0 | (/.f64 1 (fma.f64 x x -1)) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
| 1× | batch-egg-rewrite |
| 637× | pow1_binary64 |
| 591× | add-log-exp_binary64 |
| 590× | log1p-expm1-u_binary64 |
| 590× | expm1-log1p-u_binary64 |
| 580× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 1 | 154 | 16 |
| 2 | 1641 | 16 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
(/.f64 1 (fma.f64 x x -1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x -1) -10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 10 (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -10 (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 (/.f64 -10 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) -1/2) (pow.f64 (fma.f64 x x -1) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x x -1)) -1) (pow.f64 (sqrt.f64 (fma.f64 x x -1)) -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 (/.f64 1 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) -1/2) 2)))) (#(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 (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 546× | fma-neg_binary64 |
| 413× | unswap-sqr_binary64 |
| 394× | sub-neg_binary64 |
| 356× | distribute-neg-frac_binary64 |
| 331× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 438 |
| 1 | 156 | 414 |
| 2 | 468 | 406 |
| 3 | 1574 | 406 |
| 4 | 6068 | 406 |
| 1× | node limit |
| Inputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
-1 |
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4))) 1) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4)))) 1) |
(/.f64 1 (pow.f64 x 2)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(/.f64 1 (pow.f64 x 2)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
| Outputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(fma.f64 x (*.f64 10 x) 10) |
(*.f64 10 (fma.f64 x x 1)) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 10) (*.f64 10 (pow.f64 x 4))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 4) 10)) |
(+.f64 10 (*.f64 10 (fma.f64 x x (pow.f64 x 4)))) |
(*.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 8)) (/.f64 -10 (pow.f64 x 6)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 8)) (/.f64 -10 (pow.f64 x 6)))) |
-1 |
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1) |
(fma.f64 -1 (*.f64 x x) -1) |
(fma.f64 (*.f64 x x) -1 -1) |
(-.f64 -1 (*.f64 x x)) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4))) 1) |
(+.f64 (*.f64 -1 (+.f64 (*.f64 x x) (pow.f64 x 4))) -1) |
(fma.f64 -1 (fma.f64 x x (pow.f64 x 4)) -1) |
(-.f64 -1 (fma.f64 x x (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4)))) 1) |
(+.f64 (fma.f64 -1 (pow.f64 x 6) (*.f64 -1 (+.f64 (*.f64 x x) (pow.f64 x 4)))) -1) |
(+.f64 -1 (-.f64 (neg.f64 (fma.f64 x x (pow.f64 x 4))) (pow.f64 x 6))) |
(-.f64 (-.f64 -1 (fma.f64 x x (pow.f64 x 4))) (pow.f64 x 6)) |
(-.f64 -1 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6)))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(/.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 6))))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(/.f64 (/.f64 1 x) x) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 (/.f64 1 x) x)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 (/.f64 1 x) x) (/.f64 1 (pow.f64 x 6))))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 -10 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 -10 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (/.f64 -10 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (/.f64 -10 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 498× | pow1_binary64 |
| 491× | add-sqr-sqrt_binary64 |
| 470× | add-log-exp_binary64 |
| 470× | log1p-expm1-u_binary64 |
| 470× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 109 | 7 |
| 2 | 1324 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 -10 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -10 (pow.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (pow.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -10 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -10 (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -10 (pow.f64 x -2))) (cbrt.f64 (/.f64 100 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 100 (pow.f64 x 4))) (cbrt.f64 (*.f64 -10 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 -10) x) (/.f64 (sqrt.f64 -10) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (/.f64 1 (*.f64 x (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -2) -10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -10 (pow.f64 x -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -10 (pow.f64 x -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -10 (pow.f64 x -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 -10) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 100 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -10) (pow.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -10 (pow.f64 x -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -10 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -10 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -10 (pow.f64 x -2)))))))) |
| 1× | egg-herbie |
| 1140× | associate-/r*_binary64 |
| 1082× | sqr-pow_binary64 |
| 560× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 11 | 84 |
| 2 | 20 | 84 |
| 3 | 35 | 84 |
| 4 | 75 | 84 |
| 5 | 224 | 84 |
| 6 | 834 | 84 |
| 7 | 2043 | 84 |
| 8 | 2209 | 84 |
| 9 | 2393 | 84 |
| 10 | 2601 | 84 |
| 11 | 2898 | 84 |
| 12 | 3291 | 84 |
| 13 | 3772 | 84 |
| 14 | 4340 | 84 |
| 15 | 5028 | 84 |
| 16 | 5863 | 84 |
| 17 | 6255 | 84 |
| 18 | 6543 | 84 |
| 19 | 6819 | 84 |
| 20 | 6891 | 84 |
| 21 | 6927 | 84 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
| Outputs |
|---|
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ✓ | 0.4b | (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x)))) |
| ✓ | 0.6b | (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x))) |
| ✓ | 7.0b | (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) |
Compiled 74 to 22 computations (70.3% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| 1.0ms | x | @ | inf | (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) |
| 0.0ms | x | @ | 0 | (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) |
| 0.0ms | x | @ | 0 | (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x)))) |
| 0.0ms | x | @ | inf | (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x)))) |
| 1× | batch-egg-rewrite |
| 494× | log-prod_binary64 |
| 300× | pow-prod-down_binary64 |
| 262× | fma-def_binary64 |
| 246× | pow-unpow_binary64 |
| 244× | pow2_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 70 |
| 1 | 260 | 34 |
| 2 | 4090 | 24 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) |
(*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x))) |
(/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x)))) |
(/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 1 (pow.f64 x 4)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (+.f64 1 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 1 (pow.f64 x 4))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 1 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2) (cbrt.f64 (+.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x x)) (hypot.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 x 12)) (/.f64 1 (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 (hypot.f64 1 (*.f64 x x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4)) (-.f64 1 (pow.f64 x 12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 x 12)) (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 x 8)) (+.f64 1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 x 12))) (neg.f64 (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 x 8))) (+.f64 -1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 x 12)) (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (pow.f64 x 4)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 (*.f64 x x)) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4)) (-.f64 1 (pow.f64 x 12))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 8))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (pow.f64 x 4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 1 (*.f64 x x)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (hypot.f64 1 (*.f64 x x)) (hypot.f64 (*.f64 x x) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (pow.f64 x 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (pow.f64 x 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 x)) (cbrt.f64 (pow.f64 x 8)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 8)) (*.f64 x (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 8)) (neg.f64 (*.f64 x (cbrt.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (pow.f64 x 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) x 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (cbrt.f64 (pow.f64 x 8))) (*.f64 x (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 x x) (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) 1) x 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) (sqrt.f64 x)) (sqrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3) -1) x 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 4)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 8) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 x) 2) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 12) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 6) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 x 8))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (+.f64 1 (expm1.f64 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 12))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (pow.f64 x 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 x 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (pow.f64 x 4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 x 4)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2) (cbrt.f64 (+.f64 1 (pow.f64 x 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x x)) (hypot.f64 1 (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 x 12)) (/.f64 1 (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 (hypot.f64 1 (*.f64 x x)) -2) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (hypot.f64 1 x) -2) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x 1))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x 1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (hypot.f64 1 x) -2) (/.f64 (pow.f64 x 4) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (fma.f64 x (+.f64 (pow.f64 x 3) x) 1)) (/.f64 (pow.f64 x 6) (fma.f64 x (+.f64 (pow.f64 x 3) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 x 4)) (pow.f64 (hypot.f64 1 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x 1)) (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4)) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2) (*.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) (pow.f64 (hypot.f64 1 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x x)) (*.f64 (hypot.f64 1 (*.f64 x x)) (pow.f64 (hypot.f64 1 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (pow.f64 x 4)) (/.f64 1 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 x 6)) (/.f64 1 (fma.f64 x (+.f64 (pow.f64 x 3) x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 x) -2) (+.f64 1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x 1)) -2) (/.f64 (+.f64 1 (pow.f64 x 4)) (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 (+.f64 1 (pow.f64 x 4)) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2) 1) (/.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (hypot.f64 1 (*.f64 x x)) 1) (/.f64 (hypot.f64 1 (*.f64 x x)) (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2) (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4))) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (hypot.f64 1 (*.f64 x x)) (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4))) (/.f64 (hypot.f64 1 (*.f64 x x)) (cbrt.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2) (hypot.f64 1 x)) (/.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 (pow.f64 x 4)) (+.f64 1 (pow.f64 x 6))) (fma.f64 x (+.f64 (pow.f64 x 3) 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 (pow.f64 (hypot.f64 1 x) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 6) 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 pow.f64 (hypot.f64 1 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) -2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (hypot.f64 1 (*.f64 x x)) 6) (pow.f64 (hypot.f64 1 x) 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (+.f64 (pow.f64 x 3) x) 1) (+.f64 1 (pow.f64 x 6))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (hypot.f64 1 x) -2) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 1 (pow.f64 x 4)) (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 1 x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 1 x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (hypot.f64 1 (*.f64 x x)) 6) (pow.f64 (hypot.f64 1 x) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (hypot.f64 1 x) (hypot.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x 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 (log1p.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (*.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 1 (pow.f64 (hypot.f64 1 x) -2) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 x x 1) (pow.f64 (hypot.f64 1 (*.f64 x x)) -2) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 x)) (pow.f64 (cbrt.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 x)) (neg.f64 (pow.f64 (cbrt.f64 x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 x (cbrt.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (*.f64 x (sqrt.f64 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 (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 x) -2)) 2) (cbrt.f64 (pow.f64 (hypot.f64 1 x) -2)) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 8))) (sqrt.f64 (*.f64 x (cbrt.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 x)) (sqrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 1 x) -2)) (sqrt.f64 (pow.f64 (hypot.f64 1 x) -2)) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4)) 1) (/.f64 (cbrt.f64 (fma.f64 x x 1)) (+.f64 1 (pow.f64 x 4))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (hypot.f64 1 x) 1) (/.f64 (hypot.f64 1 x) (+.f64 1 (pow.f64 x 4))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) -2) (/.f64 (fma.f64 x x 1) (cbrt.f64 (+.f64 1 (pow.f64 x 4)))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4)) (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2)) (/.f64 (cbrt.f64 (fma.f64 x x 1)) (cbrt.f64 (+.f64 1 (pow.f64 x 4)))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (hypot.f64 1 x) (pow.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 4))) 2)) (/.f64 (hypot.f64 1 x) (cbrt.f64 (+.f64 1 (pow.f64 x 4)))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (hypot.f64 1 (*.f64 x x))) (/.f64 (fma.f64 x x 1) (hypot.f64 1 (*.f64 x x))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4)) (hypot.f64 1 (*.f64 x x))) (/.f64 (cbrt.f64 (fma.f64 x x 1)) (hypot.f64 1 (*.f64 x x))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (hypot.f64 1 x) (hypot.f64 1 (*.f64 x x))) (/.f64 (hypot.f64 1 x) (hypot.f64 1 (*.f64 x x))) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (hypot.f64 1 (*.f64 x x)) -2) (fma.f64 x x 1) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 1 (pow.f64 x 6))) (fma.f64 x (+.f64 (pow.f64 x 3) x) 1) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (+.f64 -1 (pow.f64 x 4))) (+.f64 -1 (*.f64 x x)) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (fma.f64 x x 1) (-.f64 1 (pow.f64 x 12))) (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4)) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (fma.f64 x x 1) (+.f64 1 (pow.f64 x 8))) (+.f64 1 (pow.f64 x 4)) (neg.f64 (/.f64 (pow.f64 x 4) (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) 1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 10 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) (*.f64 (*.f64 x x) (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) 1) (*.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 10 (fma.f64 x x 1)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 10 (fma.f64 x x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 10 (fma.f64 x x 1))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 10 (fma.f64 x x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 10 (fma.f64 x x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 10 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x 1) (/.f64 -10 (+.f64 -1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (pow.f64 (hypot.f64 1 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 10 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 10 (fma.f64 x x 1))) (cbrt.f64 (/.f64 100 (pow.f64 (hypot.f64 1 x) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 100 (pow.f64 (hypot.f64 1 x) 4))) (cbrt.f64 (/.f64 10 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 10) (hypot.f64 1 x)) (/.f64 (sqrt.f64 10) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 x) -2) 10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) 1) (fma.f64 x x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 10 (+.f64 -1 (pow.f64 x 4))) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) (cbrt.f64 (pow.f64 (hypot.f64 1 x) 4))) (cbrt.f64 (fma.f64 x x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) (hypot.f64 1 x)) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 10 (fma.f64 x x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 100 (pow.f64 (hypot.f64 1 x) 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 10 (fma.f64 x x 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 10 (fma.f64 x x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 10) (hypot.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x 1) 1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (fma.f64 x x 1) 1/10) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 100 (pow.f64 (hypot.f64 1 x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 10 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 10 (fma.f64 x x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 10 (fma.f64 x x 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 10 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 10 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 10 (fma.f64 x x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 10 (fma.f64 x x 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) (*.f64 (*.f64 x x) (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 10 (pow.f64 (hypot.f64 1 (*.f64 x x)) -2) (*.f64 (*.f64 x x) (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) 1 (*.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4))) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))) 2) (cbrt.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))) (*.f64 (*.f64 x x) (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))) (sqrt.f64 (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))) (*.f64 (*.f64 x x) (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 10 (-.f64 1 (pow.f64 x 12))) (+.f64 (+.f64 1 (pow.f64 x 8)) (pow.f64 x 4)) (*.f64 (*.f64 x x) (/.f64 -10 (+.f64 -1 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 10 (+.f64 1 (pow.f64 x 8))) (+.f64 1 (pow.f64 x 4)) (*.f64 (*.f64 x x) (/.f64 -10 (+.f64 -1 (pow.f64 x 4))))))))) |
| 1× | egg-herbie |
| 697× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 360× | distribute-neg-frac_binary64 |
| 293× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 462 |
| 1 | 122 | 410 |
| 2 | 365 | 406 |
| 3 | 1241 | 403 |
| 4 | 5173 | 400 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(*.f64 -1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(*.f64 -1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(*.f64 -1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(*.f64 -1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(*.f64 -1 (pow.f64 x 4)) |
(neg.f64 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(*.f64 -1 (pow.f64 x 4)) |
(neg.f64 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 4))) |
(+.f64 1 (neg.f64 (pow.f64 x 4))) |
(-.f64 1 (pow.f64 x 4)) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
(pow.f64 x 4) |
1 |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(*.f64 -1 (pow.f64 x 2)) |
(neg.f64 (*.f64 x x)) |
(*.f64 x (neg.f64 x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(*.f64 -1 (pow.f64 x 2)) |
(neg.f64 (*.f64 x x)) |
(*.f64 x (neg.f64 x)) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
(+.f64 1 (*.f64 -1 (pow.f64 x 2))) |
(+.f64 1 (neg.f64 (*.f64 x x))) |
(-.f64 1 (*.f64 x x)) |
(fma.f64 x (neg.f64 x) 1) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(fma.f64 (*.f64 x x) 10 10) |
(*.f64 10 (fma.f64 x x 1)) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 10 (*.f64 x x) (+.f64 10 (*.f64 (pow.f64 x 4) 10))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 (pow.f64 x 4) 10 10)) |
(*.f64 10 (+.f64 (fma.f64 x x 1) (pow.f64 x 4))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 (pow.f64 x 4) 10)))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 10 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 (pow.f64 x 4) 10 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(*.f64 (fma.f64 x x 1) (fma.f64 (pow.f64 x 4) 10 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(-.f64 (-.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 4))) (/.f64 10 (*.f64 x x))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (-.f64 (-.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 4))) (/.f64 10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 -10 x) x) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8))))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(-.f64 (-.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 4))) (/.f64 10 (*.f64 x x))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (-.f64 (-.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 4))) (/.f64 10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 -10 x) x) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8))))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (log.f64 (/.f64 -10 (fma.f64 x x -1))) |
| 0.2b | (/.f64 -10 (fma.f64 x x -1)) | |
| ✓ | 1.1b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
Compiled 29 to 20 computations (31% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (log.f64 (/.f64 -10 (fma.f64 x x -1))) |
| 1.0ms | x | @ | inf | (log.f64 (/.f64 -10 (fma.f64 x x -1))) |
| 0.0ms | x | @ | -inf | (log.f64 (/.f64 -10 (fma.f64 x x -1))) |
| 0.0ms | x | @ | 0 | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| 0.0ms | x | @ | -inf | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| 1× | batch-egg-rewrite |
| 626× | pow1_binary64 |
| 582× | add-log-exp_binary64 |
| 582× | log1p-expm1-u_binary64 |
| 582× | expm1-log1p-u_binary64 |
| 571× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 147 | 18 |
| 2 | 1567 | 18 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
(log.f64 (/.f64 -10 (fma.f64 x x -1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (/.f64 -10 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (/.f64 1 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) -10)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (neg.f64 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (fma.f64 x x -1) -1/10) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 10 (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -10 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -10 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) 2)) (cbrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))))) (sqrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 -10) (neg.f64 (log.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)) (log.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1)))) (log.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 -10) (log.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 10) (log.f64 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) 2) (cbrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) (sqrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 -10) 3) (pow.f64 (log.f64 (fma.f64 x x -1)) 3)) (+.f64 (*.f64 (log.f64 -10) (log.f64 -10)) (+.f64 (*.f64 (log.f64 (fma.f64 x x -1)) (log.f64 (fma.f64 x x -1))) (*.f64 (log.f64 -10) (log.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (log.f64 -10) (log.f64 -10)) (*.f64 (log.f64 (fma.f64 x x -1)) (log.f64 (fma.f64 x x -1)))) (+.f64 (log.f64 -10) (log.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (/.f64 -10 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))))))))) |
| 1× | egg-herbie |
| 413× | unswap-sqr_binary64 |
| 359× | distribute-neg-frac_binary64 |
| 348× | associate-*l*_binary64 |
| 338× | associate-/r*_binary64 |
| 303× | associate-+r+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 73 | 489 |
| 1 | 209 | 459 |
| 2 | 604 | 453 |
| 3 | 1905 | 453 |
| 4 | 5934 | 453 |
| 1× | node limit |
| Inputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(log.f64 10) |
(+.f64 (log.f64 10) (pow.f64 x 2)) |
(+.f64 (log.f64 10) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (log.f64 10) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 6))))) |
(+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x)))) |
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x))))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x)))))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 6))) (+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x))))))) |
(+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (log.f64 -10)) |
(+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 (pow.f64 x 2)) (log.f64 -10))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 (pow.f64 x 2)) (log.f64 -10)))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 6))) (log.f64 -10))))) |
| Outputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(*.f64 10 (fma.f64 x x 1)) |
(fma.f64 x (*.f64 10 x) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 10) (*.f64 10 (pow.f64 x 4))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 4) 10)) |
(*.f64 10 (+.f64 (fma.f64 x x 1) (pow.f64 x 4))) |
(*.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (pow.f64 x 6)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (pow.f64 x 6)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
(log.f64 10) |
(+.f64 (log.f64 10) (pow.f64 x 2)) |
(+.f64 (*.f64 x x) (log.f64 10)) |
(fma.f64 x x (log.f64 10)) |
(+.f64 (log.f64 10) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (log.f64 10) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/2))) |
(+.f64 (log.f64 10) (fma.f64 x x (*.f64 (pow.f64 x 4) 1/2))) |
(fma.f64 x x (fma.f64 (pow.f64 x 4) 1/2 (log.f64 10))) |
(fma.f64 (pow.f64 x 4) 1/2 (fma.f64 x x (log.f64 10))) |
(+.f64 (log.f64 10) (+.f64 (pow.f64 x 2) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/3 (pow.f64 x 6))))) |
(+.f64 (log.f64 10) (+.f64 (*.f64 x x) (fma.f64 1/2 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 1/3)))) |
(+.f64 (fma.f64 x x (log.f64 10)) (fma.f64 (pow.f64 x 6) 1/3 (*.f64 (pow.f64 x 4) 1/2))) |
(+.f64 (log.f64 10) (fma.f64 x x (fma.f64 (pow.f64 x 6) 1/3 (*.f64 (pow.f64 x 4) 1/2)))) |
(+.f64 (log.f64 10) (fma.f64 x x (fma.f64 (pow.f64 x 4) 1/2 (*.f64 (pow.f64 x 6) 1/3)))) |
(+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 -10) (*.f64 2 (neg.f64 (log.f64 x)))) |
(fma.f64 2 (neg.f64 (log.f64 x)) (log.f64 -10)) |
(+.f64 (log.f64 -10) (*.f64 (log.f64 x) -2)) |
(+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (log.f64 -10) (*.f64 2 (neg.f64 (log.f64 x))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 2 (neg.f64 (log.f64 x)) (log.f64 -10))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (log.f64 -10) (*.f64 (log.f64 x) -2))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x)))))) |
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (log.f64 -10) (*.f64 2 (neg.f64 (log.f64 x))))) (/.f64 1/2 (pow.f64 x 4))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (fma.f64 2 (neg.f64 (log.f64 x)) (log.f64 -10)) (/.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (log.f64 -10) (+.f64 (*.f64 (log.f64 x) -2) (/.f64 1/2 (pow.f64 x 4))))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 6))) (+.f64 (log.f64 -10) (*.f64 2 (log.f64 (/.f64 1 x))))))) |
(+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (+.f64 (log.f64 -10) (*.f64 2 (neg.f64 (log.f64 x)))) (/.f64 1/3 (pow.f64 x 6))))) |
(+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (fma.f64 2 (neg.f64 (log.f64 x)) (log.f64 -10)) (/.f64 1/2 (pow.f64 x 4)))) (/.f64 1/3 (pow.f64 x 6))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (*.f64 (log.f64 x) -2) (+.f64 (log.f64 -10) (+.f64 (/.f64 1/3 (pow.f64 x 6)) (/.f64 1/2 (pow.f64 x 4)))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (log.f64 -10) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (*.f64 (log.f64 x) -2) (/.f64 1/3 (pow.f64 x 6)))))) |
(+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (log.f64 -10)) |
(fma.f64 2 (log.f64 (/.f64 -1 x)) (log.f64 -10)) |
(+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 (pow.f64 x 2)) (log.f64 -10))) |
(fma.f64 2 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1 (*.f64 x x)) (log.f64 -10))) |
(+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (log.f64 -10))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 (pow.f64 x 2)) (log.f64 -10)))) |
(+.f64 (/.f64 1/2 (pow.f64 x 4)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1 (*.f64 x x)) (log.f64 -10)))) |
(+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (log.f64 -10)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (log.f64 -10) (fma.f64 2 (log.f64 (/.f64 -1 x)) (/.f64 1/2 (pow.f64 x 4))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (log.f64 -10)))) |
(+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 2 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 6))) (log.f64 -10))))) |
(+.f64 (/.f64 1/2 (pow.f64 x 4)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (log.f64 -10) (/.f64 1/3 (pow.f64 x 6)))))) |
(+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (log.f64 -10))) (/.f64 1/3 (pow.f64 x 6)))) |
(+.f64 (log.f64 -10) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (/.f64 1/3 (pow.f64 x 6)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (/.f64 1 (*.f64 x x)))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (/.f64 1/3 (pow.f64 x 6)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (log.f64 -10))))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (/.f64 -10 (fma.f64 x x -1)) | |
| ✓ | 0.6b | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
| ✓ | 0.7b | (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) |
Compiled 32 to 23 computations (28.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
| 1.0ms | x | @ | inf | (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) |
| 1.0ms | x | @ | 0 | (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) |
| 0.0ms | x | @ | -inf | (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) |
| 1× | batch-egg-rewrite |
| 738× | pow1_binary64 |
| 699× | add-log-exp_binary64 |
| 699× | log1p-expm1-u_binary64 |
| 699× | expm1-log1p-u_binary64 |
| 684× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 1 | 193 | 19 |
| 2 | 1940 | 19 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) |
(cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (*.f64 (/.f64 1 (fma.f64 x x -1)) (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1000 (pow.f64 (/.f64 1 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1000 (/.f64 1 (pow.f64 (fma.f64 x x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (*.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (*.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3/2) (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) 3) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) (pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) -10) (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 1) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1)))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 (fma.f64 x x -1) 3) -1000))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1000 (pow.f64 (neg.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1000 (neg.f64 (pow.f64 (fma.f64 x x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -10 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2)) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 10 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2)) (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) -10) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 1) (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 10) (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (/.f64 -10 (fma.f64 x x -1))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (/.f64 1 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) -10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 1/3) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3/2) 1/3) (pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (neg.f64 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (fma.f64 x x -1) -1/10) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 10 (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -10 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -10 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 723× | associate-/r*_binary64 |
| 704× | fma-neg_binary64 |
| 575× | associate-*r*_binary64 |
| 377× | cancel-sign-sub-inv_binary64 |
| 249× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 524 |
| 1 | 179 | 490 |
| 2 | 551 | 475 |
| 3 | 1987 | 469 |
| 4 | 7868 | 469 |
| 1× | node limit |
| Inputs |
|---|
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(*.f64 -1 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
| Outputs |
|---|
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 1000 (*.f64 3000 (*.f64 x x))) |
(fma.f64 3000 (*.f64 x x) 1000) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (*.f64 3000 (*.f64 x x)))) |
(fma.f64 6000 (pow.f64 x 4) (fma.f64 3000 (*.f64 x x) 1000)) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (fma.f64 10000 (pow.f64 x 6) (*.f64 3000 (*.f64 x x))))) |
(+.f64 (fma.f64 10000 (pow.f64 x 6) (*.f64 3000 (*.f64 x x))) (fma.f64 6000 (pow.f64 x 4) 1000)) |
(fma.f64 6000 (pow.f64 x 4) (fma.f64 3000 (*.f64 x x) (fma.f64 10000 (pow.f64 x 6) 1000))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) (/.f64 -10000 (pow.f64 x 12))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) (/.f64 -10000 (pow.f64 x 12))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
(*.f64 -1 (cbrt.f64 -1000)) |
(neg.f64 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(fma.f64 -1 (cbrt.f64 -1000) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x))) |
(neg.f64 (*.f64 (+.f64 (*.f64 x x) 1) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (*.f64 x x))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x)))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) |
(neg.f64 (fma.f64 (cbrt.f64 -1000) (fma.f64 x x (pow.f64 x 4)) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (fma.f64 x x (pow.f64 x 4)))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(fma.f64 -1 (*.f64 (pow.f64 x 6) (cbrt.f64 -1000)) (fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x))))) |
(-.f64 (-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) (*.f64 (pow.f64 x 6) (cbrt.f64 -1000))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 6) (fma.f64 x x (pow.f64 x 4)))) (cbrt.f64 -1000)) |
(*.f64 (cbrt.f64 -1000) (-.f64 (-.f64 -1 (pow.f64 x 6)) (fma.f64 x x (pow.f64 x 4)))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
Compiled 8203 to 6236 computations (24% saved)
18 alts after pruning (11 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 565 | 10 | 575 |
| Fresh | 5 | 1 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 570 | 18 | 588 |
| Status | Error | Program |
|---|---|---|
| ✓ | 8.0b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ✓ | 60.3b | (/.f64 -10 (*.f64 x x)) |
| 41.5b | (/.f64 (/.f64 -10 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1))) | |
| ✓ | 0.4b | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
| ▶ | 60.3b | (/.f64 (/.f64 -10 x) x) |
| 58.1b | 10 | |
| 0.9b | (*.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) -10) | |
| ✓ | 23.9b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| 41.7b | (*.f64 (exp.f64 (neg.f64 (log.f64 (fma.f64 x x -1)))) -10) | |
| 23.9b | (expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1)))) | |
| ▶ | 0.6b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
| ▶ | 0.4b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| ▶ | 0.3b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| ✓ | 0.6b | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
| ▶ | 0.6b | (cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))) |
| 8.0b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) | |
| ✓ | 8.0b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ✓ | 0.2b | (/.f64 -10 (fma.f64 x x -1)) |
Compiled 286 to 216 computations (24.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| ✓ | 0.3b | (/.f64 (fma.f64 x x -1) -10) |
Compiled 23 to 16 computations (30.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (fma.f64 x x -1) -10) |
| 0.0ms | x | @ | -inf | (/.f64 (fma.f64 x x -1) -10) |
| 0.0ms | x | @ | inf | (/.f64 (fma.f64 x x -1) -10) |
| 0.0ms | x | @ | -inf | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| 0.0ms | x | @ | inf | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| 1× | batch-egg-rewrite |
| 693× | pow1_binary64 |
| 649× | add-log-exp_binary64 |
| 648× | log1p-expm1-u_binary64 |
| 648× | expm1-log1p-u_binary64 |
| 637× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 163 | 16 |
| 2 | 1827 | 16 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (fma.f64 x x -1) -10) |
(/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1) -1/10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x x -1) -1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) (*.f64 (cbrt.f64 (fma.f64 x x -1)) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1)) (*.f64 (sqrt.f64 (fma.f64 x x -1)) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 x x -1)) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/10 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fma.f64 x x -1) 10))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 2) 1/100))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 x x -1) -1/10))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (*.f64 (fma.f64 x x -1) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) -10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) -1) (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -1) (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (neg.f64 (fma.f64 x x -1))) 10)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 679× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 358× | distribute-neg-frac_binary64 |
| 255× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 331 |
| 1 | 118 | 297 |
| 2 | 350 | 293 |
| 3 | 1185 | 290 |
| 4 | 4932 | 287 |
| 1× | node limit |
| Inputs |
|---|
1/10 |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(*.f64 -1/10 (pow.f64 x 2)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(*.f64 -1/10 (pow.f64 x 2)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
1/10 |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(fma.f64 (*.f64 x x) 10 10) |
(*.f64 10 (fma.f64 x x 1)) |
(fma.f64 x (*.f64 x 10) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 10 (*.f64 x x) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 4) 10)) |
(*.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(*.f64 (fma.f64 x x 1) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 (/.f64 -10 x) x) |
Compiled 11 to 7 computations (36.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 (/.f64 -10 x) x) |
| 0.0ms | x | @ | -inf | (/.f64 (/.f64 -10 x) x) |
| 0.0ms | x | @ | inf | (/.f64 (/.f64 -10 x) x) |
| 1× | batch-egg-rewrite |
| 581× | pow1_binary64 |
| 547× | add-log-exp_binary64 |
| 547× | log1p-expm1-u_binary64 |
| 547× | expm1-log1p-u_binary64 |
| 537× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 112 | 7 |
| 2 | 1480 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 -10 x) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (*.f64 (/.f64 1 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 (/.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 x) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (*.f64 x x))) (pow.f64 (cbrt.f64 (/.f64 -10 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (*.f64 x x))) 2) (cbrt.f64 (/.f64 -10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 x)) 2) (*.f64 (cbrt.f64 (/.f64 -10 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 -10) x) (/.f64 (sqrt.f64 -10) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 x)) (*.f64 (sqrt.f64 (/.f64 -10 x)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 10 x) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 -10 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 -10 x)) 2) 1) (/.f64 (cbrt.f64 (/.f64 -10 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 -10 x)) 1) (/.f64 (sqrt.f64 (/.f64 -10 x)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 x) 2)) (/.f64 (/.f64 -10 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 -10 x)) 2) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 (/.f64 -10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (/.f64 -10 x)) (pow.f64 (cbrt.f64 x) 2)) (/.f64 (sqrt.f64 (/.f64 -10 x)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (sqrt.f64 x)) (/.f64 (/.f64 1 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (/.f64 -10 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 -10 x)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (/.f64 -10 x)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -10 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 -10) x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x -1/10)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 -10 x) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 -10 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -10 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1140× | associate-/r*_binary64 |
| 1082× | sqr-pow_binary64 |
| 560× | cube-prod_binary64 |
| 554× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 84 |
| 1 | 11 | 84 |
| 2 | 20 | 84 |
| 3 | 35 | 84 |
| 4 | 75 | 84 |
| 5 | 224 | 84 |
| 6 | 834 | 84 |
| 7 | 2043 | 84 |
| 8 | 2209 | 84 |
| 9 | 2393 | 84 |
| 10 | 2601 | 84 |
| 11 | 2898 | 84 |
| 12 | 3291 | 84 |
| 13 | 3772 | 84 |
| 14 | 4340 | 84 |
| 15 | 5028 | 84 |
| 16 | 5863 | 84 |
| 17 | 6255 | 84 |
| 18 | 6543 | 84 |
| 19 | 6819 | 84 |
| 20 | 6891 | 84 |
| 21 | 6927 | 84 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (pow.f64 x 2)) |
| Outputs |
|---|
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| ✓ | 0.4b | (*.f64 (fma.f64 x x -1) -1/10) |
Compiled 23 to 16 computations (30.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (fma.f64 x x -1) -1/10) |
| 0.0ms | x | @ | inf | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| 0.0ms | x | @ | 0 | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| 0.0ms | x | @ | inf | (*.f64 (fma.f64 x x -1) -1/10) |
| 1× | batch-egg-rewrite |
| 660× | pow1_binary64 |
| 614× | add-log-exp_binary64 |
| 613× | log1p-expm1-u_binary64 |
| 613× | expm1-log1p-u_binary64 |
| 602× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 155 | 16 |
| 2 | 1696 | 16 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (fma.f64 x x -1) -1/10) |
(/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) -1/10) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1) -10)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1/10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) -1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) 1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/10) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 x x -1) -1/10))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (*.f64 (fma.f64 x x -1) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) -10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) -1) (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -1) (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 679× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 358× | distribute-neg-frac_binary64 |
| 255× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 331 |
| 1 | 118 | 297 |
| 2 | 350 | 293 |
| 3 | 1185 | 290 |
| 4 | 4932 | 287 |
| 1× | node limit |
| Inputs |
|---|
1/10 |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(*.f64 -1/10 (pow.f64 x 2)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(*.f64 -1/10 (pow.f64 x 2)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
1/10 |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(fma.f64 (*.f64 x x) 10 10) |
(*.f64 10 (fma.f64 x x 1)) |
(fma.f64 x (*.f64 x 10) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 10 (*.f64 x x) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 4) 10)) |
(*.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(*.f64 (fma.f64 x x 1) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) |
| ✓ | 0.6b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
| ✓ | 0.7b | (pow.f64 (fma.f64 x x -1) 3) |
Compiled 32 to 23 computations (28.1% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (fma.f64 x x -1) 3) |
| 0.0ms | x | @ | inf | (pow.f64 (fma.f64 x x -1) 3) |
| 0.0ms | x | @ | -inf | (pow.f64 (fma.f64 x x -1) 3) |
| 0.0ms | x | @ | inf | (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) |
| 0.0ms | x | @ | -inf | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
| 1× | batch-egg-rewrite |
| 787× | pow1_binary64 |
| 743× | add-log-exp_binary64 |
| 743× | log1p-expm1-u_binary64 |
| 743× | expm1-log1p-u_binary64 |
| 727× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 29 |
| 1 | 191 | 29 |
| 2 | 2039 | 29 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (fma.f64 x x -1) 3) |
(cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
(/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (pow.f64 (fma.f64 x x -1) 2)) (*.f64 -1 (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 2) (*.f64 x x)) (*.f64 (pow.f64 (fma.f64 x x -1) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (fma.f64 x x -1) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1) (pow.f64 (fma.f64 x x -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 2) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1)) (*.f64 (sqrt.f64 (fma.f64 x x -1)) (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 3/2) (pow.f64 (fma.f64 x x -1) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) 3) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x x -1)) 3) (pow.f64 (sqrt.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 2) 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 2) (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 (*.f64 (pow.f64 (fma.f64 x x -1) 2) (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (fma.f64 x x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (fma.f64 x x -1) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (fma.f64 x x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (fma.f64 x x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 -1000) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 -1000) (pow.f64 (pow.f64 (fma.f64 x x -1) -3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 -1000) (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) (sqrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (cbrt.f64 1000000) (pow.f64 (fma.f64 x x -1) 2)) 1/3) (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 (sqrt.f64 -1000) (pow.f64 (fma.f64 x x -1) 3/2)) 1/3) (pow.f64 (/.f64 (sqrt.f64 -1000) (pow.f64 (fma.f64 x x -1) 3/2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 3) -1/1000)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x -1) (cbrt.f64 -1000)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 1000) (cbrt.f64 (neg.f64 (pow.f64 (fma.f64 x x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (cbrt.f64 -1000)) (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (cbrt.f64 -1000) 1) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (cbrt.f64 -1000) (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 (/.f64 (cbrt.f64 -1000) (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (cbrt.f64 1000000) (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1000 (pow.f64 (fma.f64 x x -1) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)) (/.f64 (cbrt.f64 1000000) (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 1000000) (pow.f64 (fma.f64 x x -1) 2)) (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 -1000) (pow.f64 (fma.f64 x x -1) 3/2)) (/.f64 (sqrt.f64 -1000) (pow.f64 (fma.f64 x x -1) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1000 (/.f64 1 (neg.f64 (pow.f64 (fma.f64 x x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) -3) -1000)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (cbrt.f64 1000000) (pow.f64 (fma.f64 x x -1) 2)) 1) (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (cbrt.f64 1000000) (pow.f64 (fma.f64 x x -1) 2)) (pow.f64 (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))) 2)) (cbrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (cbrt.f64 1000000) (pow.f64 (fma.f64 x x -1) 2)) (sqrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)))) (sqrt.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (cbrt.f64 -1000) (fma.f64 x x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 -1000) (pow.f64 (fma.f64 x x -1) 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 3) -1/1000) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1000000 (pow.f64 (fma.f64 x x -1) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1000) (pow.f64 (fma.f64 x x -1) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)))))))) |
| 1× | egg-herbie |
| 751× | fma-neg_binary64 |
| 726× | associate-/r*_binary64 |
| 430× | sub-neg_binary64 |
| 383× | cancel-sign-sub-inv_binary64 |
| 298× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 75 | 679 |
| 1 | 206 | 643 |
| 2 | 620 | 628 |
| 3 | 2179 | 622 |
| 4 | 7345 | 622 |
| 1× | node limit |
| Inputs |
|---|
-1 |
(-.f64 (*.f64 3 (pow.f64 x 2)) 1) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -3 (pow.f64 x 4))) 1) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) 1) |
(pow.f64 x 6) |
(+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) 1) |
(pow.f64 x 6) |
(+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) 1) |
(*.f64 -1 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
| Outputs |
|---|
-1 |
(-.f64 (*.f64 3 (pow.f64 x 2)) 1) |
(fma.f64 3 (*.f64 x x) -1) |
(fma.f64 x (*.f64 3 x) -1) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -3 (pow.f64 x 4))) 1) |
(+.f64 (fma.f64 3 (*.f64 x x) (*.f64 -3 (pow.f64 x 4))) -1) |
(fma.f64 3 (*.f64 x x) (fma.f64 -3 (pow.f64 x 4) -1)) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) 1) |
(+.f64 (fma.f64 3 (*.f64 x x) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) -1) |
(+.f64 (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6)) (fma.f64 3 (*.f64 x x) -1)) |
(+.f64 -1 (fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (pow.f64 x 6)))) |
(+.f64 (fma.f64 x (*.f64 3 x) -1) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) |
(pow.f64 x 6) |
(+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6)) |
(fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) |
(fma.f64 3 (*.f64 x x) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) |
(fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (pow.f64 x 6))) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) 1) |
(+.f64 (fma.f64 3 (*.f64 x x) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) -1) |
(+.f64 (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6)) (fma.f64 3 (*.f64 x x) -1)) |
(+.f64 -1 (fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (pow.f64 x 6)))) |
(+.f64 (fma.f64 x (*.f64 3 x) -1) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) |
(pow.f64 x 6) |
(+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6)) |
(fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) |
(fma.f64 3 (*.f64 x x) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) |
(fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (pow.f64 x 6))) |
(-.f64 (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -3 (pow.f64 x 4)) (pow.f64 x 6))) 1) |
(+.f64 (fma.f64 3 (*.f64 x x) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) -1) |
(+.f64 (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6)) (fma.f64 3 (*.f64 x x) -1)) |
(+.f64 -1 (fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (pow.f64 x 6)))) |
(+.f64 (fma.f64 x (*.f64 3 x) -1) (fma.f64 -3 (pow.f64 x 4) (pow.f64 x 6))) |
(*.f64 -1 (cbrt.f64 -1000)) |
(neg.f64 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(fma.f64 -1 (cbrt.f64 -1000) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x))) |
(neg.f64 (*.f64 (+.f64 (*.f64 x x) 1) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (*.f64 x x))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x)))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) |
(neg.f64 (fma.f64 (cbrt.f64 -1000) (fma.f64 x x (pow.f64 x 4)) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (fma.f64 x x (pow.f64 x 4)))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(fma.f64 -1 (*.f64 (pow.f64 x 6) (cbrt.f64 -1000)) (fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x))))) |
(-.f64 (-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) (*.f64 (pow.f64 x 6) (cbrt.f64 -1000))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (fma.f64 x x (pow.f64 x 4)) (pow.f64 x 6))) (cbrt.f64 -1000)) |
(*.f64 (cbrt.f64 -1000) (-.f64 (-.f64 -1 (pow.f64 x 6)) (fma.f64 x x (pow.f64 x 4)))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 1000 (*.f64 (*.f64 x x) 3000)) |
(fma.f64 (*.f64 x x) 3000 1000) |
(fma.f64 x (*.f64 x 3000) 1000) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (*.f64 (*.f64 x x) 3000))) |
(fma.f64 (pow.f64 x 4) 6000 (fma.f64 (*.f64 x x) 3000 1000)) |
(fma.f64 x (*.f64 x 3000) (fma.f64 (pow.f64 x 4) 6000 1000)) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (fma.f64 10000 (pow.f64 x 6) (*.f64 (*.f64 x x) 3000)))) |
(+.f64 (fma.f64 (*.f64 x x) 3000 (*.f64 (pow.f64 x 6) 10000)) (fma.f64 (pow.f64 x 4) 6000 1000)) |
(fma.f64 (pow.f64 x 4) 6000 (fma.f64 x (*.f64 x 3000) (fma.f64 (pow.f64 x 6) 10000 1000))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(-.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (+.f64 (/.f64 -6000 (pow.f64 x 10)) (/.f64 -1000 (pow.f64 x 6)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 10000 (pow.f64 x 12)) (/.f64 6000 (pow.f64 x 10))) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (-.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 -10000 (pow.f64 x 12))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (+.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 -10000 (pow.f64 x 12))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(-.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (+.f64 (/.f64 -6000 (pow.f64 x 10)) (/.f64 -1000 (pow.f64 x 6)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 10000 (pow.f64 x 12)) (/.f64 6000 (pow.f64 x 10))) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (-.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 -10000 (pow.f64 x 12))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (+.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 -10000 (pow.f64 x 12))))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3)) |
| 0.4b | (*.f64 (fma.f64 x x -1) -1/10) | |
| ✓ | 0.6b | (cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))) |
| ✓ | 0.7b | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3) |
Compiled 45 to 34 computations (24.4% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3) |
| 0.0ms | x | @ | inf | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3) |
| 0.0ms | x | @ | -inf | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3) |
| 0.0ms | x | @ | -inf | (cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))) |
| 0.0ms | x | @ | 0 | (cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))) |
| 1× | batch-egg-rewrite |
| 889× | pow1_binary64 |
| 843× | add-log-exp_binary64 |
| 841× | log1p-expm1-u_binary64 |
| 841× | expm1-log1p-u_binary64 |
| 823× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 33 |
| 1 | 228 | 30 |
| 2 | 2401 | 30 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3) |
(cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))) |
(/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1) (*.f64 -1/10 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/10 (*.f64 (fma.f64 x x -1) (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x x -1) -1/10) (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) (*.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) (*.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 3) -1/1000)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3/2) (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) 3) (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 3) (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) (fma.f64 x x -1)) -1/10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) -1/10) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) 1) (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2)) (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10))) (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) -1/10) (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 x x -1) 3) -1000)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 3) 1/1000) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3/2) (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 (fma.f64 x x -1) 3)) -1/1000))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 (fma.f64 x x -1) -1/10)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 1/3) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 3) 1/1000)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (fma.f64 x x -1) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (fma.f64 x x -1) -1/10) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (fma.f64 x x -1)) -1/10)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2)) (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3)) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (*.f64 (pow.f64 (fma.f64 x x -1) 3) 1/1000)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) (pow.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2) (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) -3) -1000)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1000 (pow.f64 (fma.f64 x x -1) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) -3) (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -3) (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/100 (pow.f64 (fma.f64 x x -1) 2)) -1) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 x x -1) 3) -1) -1000)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3/2) -1) (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 1) (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1)))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/1000 (pow.f64 (fma.f64 x x -1) 3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 x x -1) -1/10)) -3)))))) |
| 1× | egg-herbie |
| 725× | associate-/r*_binary64 |
| 704× | fma-neg_binary64 |
| 403× | sub-neg_binary64 |
| 382× | unswap-sqr_binary64 |
| 377× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 80 | 708 |
| 1 | 219 | 664 |
| 2 | 646 | 649 |
| 3 | 2233 | 643 |
| 4 | 7292 | 643 |
| 1× | node limit |
| Inputs |
|---|
1/1000 |
(+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2)))) |
(+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))))) |
(*.f64 -1/1000 (pow.f64 x 6)) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (*.f64 -1/1000 (pow.f64 x 6))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (*.f64 -3/1000 (pow.f64 x 2)))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))))) |
(*.f64 -1/1000 (pow.f64 x 6)) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (*.f64 -1/1000 (pow.f64 x 6))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (*.f64 -3/1000 (pow.f64 x 2)))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))))) |
(*.f64 -1 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
| Outputs |
|---|
1/1000 |
(+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))) |
(+.f64 1/1000 (*.f64 -3/1000 (*.f64 x x))) |
(fma.f64 -3/1000 (*.f64 x x) 1/1000) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2)))) |
(fma.f64 3/1000 (pow.f64 x 4) (+.f64 1/1000 (*.f64 -3/1000 (*.f64 x x)))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -3/1000 (*.f64 x x) 1/1000)) |
(fma.f64 -3/1000 (*.f64 x x) (fma.f64 3/1000 (pow.f64 x 4) 1/1000)) |
(+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (+.f64 1/1000 (*.f64 -3/1000 (*.f64 x x))))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (fma.f64 -3/1000 (*.f64 x x) 1/1000))) |
(fma.f64 -1/1000 (pow.f64 x 6) (fma.f64 -3/1000 (*.f64 x x) (fma.f64 3/1000 (pow.f64 x 4) 1/1000))) |
(*.f64 -1/1000 (pow.f64 x 6)) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (*.f64 -1/1000 (pow.f64 x 6))) |
(fma.f64 3/1000 (pow.f64 x 4) (*.f64 -1/1000 (pow.f64 x 6))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (*.f64 -3/1000 (pow.f64 x 2)))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (*.f64 -3/1000 (*.f64 x x)))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -3/1000 (*.f64 x x) (*.f64 -1/1000 (pow.f64 x 6)))) |
(fma.f64 -3/1000 (*.f64 x x) (fma.f64 3/1000 (pow.f64 x 4) (*.f64 -1/1000 (pow.f64 x 6)))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (+.f64 1/1000 (*.f64 -3/1000 (*.f64 x x))))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (fma.f64 -3/1000 (*.f64 x x) 1/1000))) |
(fma.f64 -1/1000 (pow.f64 x 6) (fma.f64 -3/1000 (*.f64 x x) (fma.f64 3/1000 (pow.f64 x 4) 1/1000))) |
(*.f64 -1/1000 (pow.f64 x 6)) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (*.f64 -1/1000 (pow.f64 x 6))) |
(fma.f64 3/1000 (pow.f64 x 4) (*.f64 -1/1000 (pow.f64 x 6))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (*.f64 -3/1000 (pow.f64 x 2)))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (*.f64 -3/1000 (*.f64 x x)))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -3/1000 (*.f64 x x) (*.f64 -1/1000 (pow.f64 x 6)))) |
(fma.f64 -3/1000 (*.f64 x x) (fma.f64 3/1000 (pow.f64 x 4) (*.f64 -1/1000 (pow.f64 x 6)))) |
(+.f64 (*.f64 3/1000 (pow.f64 x 4)) (+.f64 (*.f64 -1/1000 (pow.f64 x 6)) (+.f64 1/1000 (*.f64 -3/1000 (pow.f64 x 2))))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (+.f64 1/1000 (*.f64 -3/1000 (*.f64 x x))))) |
(fma.f64 3/1000 (pow.f64 x 4) (fma.f64 -1/1000 (pow.f64 x 6) (fma.f64 -3/1000 (*.f64 x x) 1/1000))) |
(fma.f64 -1/1000 (pow.f64 x 6) (fma.f64 -3/1000 (*.f64 x x) (fma.f64 3/1000 (pow.f64 x 4) 1/1000))) |
(*.f64 -1 (cbrt.f64 -1000)) |
(neg.f64 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(*.f64 -1 (+.f64 (cbrt.f64 -1000) (*.f64 (*.f64 x x) (cbrt.f64 -1000)))) |
(neg.f64 (*.f64 (+.f64 (*.f64 x x) 1) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (*.f64 x x))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x)))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) |
(neg.f64 (fma.f64 (cbrt.f64 -1000) (fma.f64 x x (pow.f64 x 4)) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (fma.f64 x x (pow.f64 x 4)))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(fma.f64 -1 (*.f64 (pow.f64 x 6) (cbrt.f64 -1000)) (fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x))))) |
(-.f64 (-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) (*.f64 (pow.f64 x 6) (cbrt.f64 -1000))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 6) (fma.f64 x x (pow.f64 x 4)))) (cbrt.f64 -1000)) |
(*.f64 (cbrt.f64 -1000) (-.f64 (-.f64 -1 (pow.f64 x 6)) (fma.f64 x x (pow.f64 x 4)))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))))) |
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 1000 (*.f64 (*.f64 x x) 3000)) |
(fma.f64 (*.f64 x x) 3000 1000) |
(fma.f64 x (*.f64 x 3000) 1000) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (*.f64 (*.f64 x x) 3000))) |
(fma.f64 (pow.f64 x 4) 6000 (fma.f64 (*.f64 x x) 3000 1000)) |
(fma.f64 x (*.f64 x 3000) (fma.f64 (pow.f64 x 4) 6000 1000)) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (fma.f64 10000 (pow.f64 x 6) (*.f64 (*.f64 x x) 3000)))) |
(+.f64 (fma.f64 (pow.f64 x 4) 6000 (fma.f64 (*.f64 x x) 3000 1000)) (*.f64 (pow.f64 x 6) 10000)) |
(fma.f64 (pow.f64 x 4) 6000 (fma.f64 (pow.f64 x 6) 10000 (fma.f64 (*.f64 x x) 3000 1000))) |
(fma.f64 (pow.f64 x 4) 6000 (fma.f64 x (*.f64 x 3000) (fma.f64 (pow.f64 x 6) 10000 1000))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (+.f64 (/.f64 -10000 (pow.f64 x 12)) (/.f64 -6000 (pow.f64 x 10))) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) (/.f64 -10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (+.f64 (/.f64 -10000 (pow.f64 x 12)) (/.f64 -6000 (pow.f64 x 10))) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) (/.f64 -10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
Compiled 5647 to 4477 computations (20.7% saved)
20 alts after pruning (9 fresh and 11 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 433 | 5 | 438 |
| Fresh | 2 | 4 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 11 | 11 |
| Total | 436 | 20 | 456 |
| Status | Error | Program |
|---|---|---|
| 8.2b | (/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) | |
| 58.1b | 10 | |
| ✓ | 8.0b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ✓ | 60.3b | (/.f64 -10 (*.f64 x x)) |
| ▶ | 6.7b | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| ✓ | 0.4b | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
| ✓ | 60.3b | (/.f64 (/.f64 -10 x) x) |
| ✓ | 23.9b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| 41.7b | (*.f64 (exp.f64 (neg.f64 (log.f64 (fma.f64 x x -1)))) -10) | |
| 23.9b | (expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1)))) | |
| ✓ | 0.6b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
| ▶ | 0.4b | (/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
| ✓ | 0.4b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| ✓ | 0.3b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| ▶ | 0.6b | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) |
| ▶ | 8.0b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
| ✓ | 8.0b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ✓ | 0.2b | (/.f64 -10 (fma.f64 x x -1)) |
| ▶ | 0.9b | (*.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) -10) |
| ✓ | 0.6b | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
Compiled 276 to 210 computations (23.9% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f64 1 (fma.f64 x x -1)) | |
| ✓ | 0.4b | (/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
Compiled 23 to 16 computations (30.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
| 0.0ms | x | @ | inf | (/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
| 0.0ms | x | @ | -inf | (/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
| 1× | batch-egg-rewrite |
| 689× | pow1_binary64 |
| 645× | add-log-exp_binary64 |
| 644× | log1p-expm1-u_binary64 |
| 644× | expm1-log1p-u_binary64 |
| 634× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 11 |
| 1 | 163 | 8 |
| 2 | 1832 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 -10 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 -10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) -10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) -10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) -1/2) (*.f64 (pow.f64 (fma.f64 x x -1) -1/2) -10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (fma.f64 x x -1)) 10)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -10 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (/.f64 1 (fma.f64 x x -1)) 1/10))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 677× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 354× | distribute-neg-frac_binary64 |
| 255× | associate-/r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 226 |
| 1 | 112 | 210 |
| 2 | 338 | 206 |
| 3 | 1162 | 203 |
| 4 | 4868 | 200 |
| 1× | node limit |
| Inputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(*.f64 10 (fma.f64 x x 1)) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 10) (*.f64 10 (pow.f64 x 4))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 4) 10)) |
(*.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(*.f64 (fma.f64 x x 1) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8))) (/.f64 -10 (pow.f64 x 6)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8))) (/.f64 -10 (pow.f64 x 6)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (/.f64 1 (-.f64 1 (*.f64 x x))) |
| ✓ | 0.3b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
| 8.0b | (-.f64 1 (*.f64 x x)) |
Compiled 28 to 16 computations (42.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (/.f64 1 (-.f64 1 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
| 0.0ms | x | @ | inf | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
| 0.0ms | x | @ | -inf | (/.f64 1 (-.f64 1 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (/.f64 1 (-.f64 1 (*.f64 x x))) |
| 1× | batch-egg-rewrite |
| 801× | pow1_binary64 |
| 751× | add-log-exp_binary64 |
| 750× | log1p-expm1-u_binary64 |
| 750× | expm1-log1p-u_binary64 |
| 736× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 1 | 174 | 20 |
| 2 | 2140 | 20 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 1 (-.f64 1 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 10 (-.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (*.f64 x x)) 10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 10 (-.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (neg.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 10 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2)) (cbrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 10 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 10 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 10 (-.f64 1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (-.f64 1 (*.f64 x x)) -2) 100))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 10 (-.f64 1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 10 (-.f64 1 (*.f64 x x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (-.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (-.f64 1 (*.f64 x x)))) (cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) -2)) (/.f64 1 (cbrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 (*.f64 x x)) -1/2) (pow.f64 (-.f64 1 (*.f64 x x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2) -1) (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) -1) (pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (pow.f64 x 6))) (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (pow.f64 x 4))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (-.f64 1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log1p.f64 (*.f64 x (neg.f64 x))))))))) |
| 1× | egg-herbie |
| 823× | fma-def_binary64 |
| 432× | sub-neg_binary64 |
| 413× | unswap-sqr_binary64 |
| 380× | distribute-neg-frac_binary64 |
| 305× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 442 |
| 1 | 158 | 408 |
| 2 | 481 | 404 |
| 3 | 1547 | 401 |
| 4 | 5588 | 401 |
| 1× | node limit |
| Inputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (+.f64 (pow.f64 x 2) (pow.f64 x 4))) |
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (pow.f64 x 6)))) |
(/.f64 -1 (pow.f64 x 2)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))))) |
(/.f64 -1 (pow.f64 x 2)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))))) |
| Outputs |
|---|
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(*.f64 (fma.f64 x x 1) 10) |
(*.f64 10 (fma.f64 x x 1)) |
(fma.f64 x (*.f64 10 x) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 10) (*.f64 10 (pow.f64 x 4))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 4) 10)) |
(+.f64 10 (*.f64 10 (fma.f64 x x (pow.f64 x 4)))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 10 x) x) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (pow.f64 x 6)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 10 x) x) (/.f64 10 (pow.f64 x 6)))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 10 x) x) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (pow.f64 x 6)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 (/.f64 10 x) x) (/.f64 10 (pow.f64 x 6)))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 4))) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 (*.f64 x x) 1) |
(fma.f64 x x 1) |
(+.f64 1 (+.f64 (pow.f64 x 2) (pow.f64 x 4))) |
(+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4))) |
(+.f64 (pow.f64 x 4) (fma.f64 x x 1)) |
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (pow.f64 x 6)))) |
(+.f64 1 (+.f64 (*.f64 x x) (+.f64 (pow.f64 x 4) (pow.f64 x 6)))) |
(+.f64 (fma.f64 x x 1) (+.f64 (pow.f64 x 4) (pow.f64 x 6))) |
(+.f64 (fma.f64 x x (pow.f64 x 4)) (+.f64 (pow.f64 x 6) 1)) |
(+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 6) (fma.f64 x x 1))) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))))) |
(-.f64 (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 6))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6)))) |
(+.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6)))))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6)))) (/.f64 -1 (pow.f64 x 8))) |
(+.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6))) (/.f64 -1 (pow.f64 x 8)))) |
(/.f64 -1 (pow.f64 x 2)) |
(/.f64 -1 (*.f64 x x)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6))))) |
(-.f64 (+.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 6))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6)))) |
(+.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 6)))))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (-.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6)))) (/.f64 -1 (pow.f64 x 8))) |
(+.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 6))) (/.f64 -1 (pow.f64 x 8)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| ✓ | 0.4b | (*.f64 -1/10 x) |
| ✓ | 7.1b | (fma.f64 x (*.f64 -1/10 x) 1/10) |
Compiled 22 to 16 computations (27.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 x (*.f64 -1/10 x) 1/10) |
| 1.0ms | x | @ | inf | (fma.f64 x (*.f64 -1/10 x) 1/10) |
| 1.0ms | x | @ | -inf | (fma.f64 x (*.f64 -1/10 x) 1/10) |
| 0.0ms | x | @ | inf | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| 1× | batch-egg-rewrite |
| 670× | pow1_binary64 |
| 622× | add-log-exp_binary64 |
| 622× | log1p-expm1-u_binary64 |
| 622× | expm1-log1p-u_binary64 |
| 610× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 23 |
| 1 | 160 | 23 |
| 2 | 1730 | 23 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(*.f64 -1/10 x) |
(/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1/10 (*.f64 (*.f64 x x) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) -1/10) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 x x) -1/10) 1) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x -1/10) 1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) 2) (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) (sqrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x (*.f64 x -1/10) 1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) 2) (/.f64 1 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) -1/10) 3) 1/1000) (+.f64 (*.f64 (*.f64 (*.f64 x x) -1/10) (*.f64 (*.f64 x x) -1/10)) (-.f64 1/100 (*.f64 (*.f64 (*.f64 x x) -1/10) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) -1/10) (*.f64 (*.f64 x x) -1/10)) 1/100) (-.f64 (*.f64 (*.f64 x x) -1/10) 1/10))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (*.f64 x -1/10) 1/10))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x -1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x -1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x -1/10) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x -1/10)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x -1/10)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/100 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x -1/10) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x -1/10))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10))) (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -2)) (/.f64 1 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -1/2) (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 x (*.f64 x -1/10) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) -1) (pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x (*.f64 x -1/10) 1/10))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x -1/10) 1/10) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))))) |
| 1× | egg-herbie |
| 679× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 358× | distribute-neg-frac_binary64 |
| 255× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 331 |
| 1 | 118 | 297 |
| 2 | 350 | 293 |
| 3 | 1185 | 290 |
| 4 | 4932 | 287 |
| 1× | node limit |
| Inputs |
|---|
1/10 |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(*.f64 -1/10 (pow.f64 x 2)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(*.f64 -1/10 (pow.f64 x 2)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(/.f64 -10 (pow.f64 x 2)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
| Outputs |
|---|
1/10 |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
(+.f64 1/10 (*.f64 -1/10 (pow.f64 x 2))) |
(+.f64 1/10 (*.f64 -1/10 (*.f64 x x))) |
(fma.f64 -1/10 (*.f64 x x) 1/10) |
(fma.f64 x (*.f64 -1/10 x) 1/10) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(fma.f64 (*.f64 x x) 10 10) |
(*.f64 10 (fma.f64 x x 1)) |
(fma.f64 x (*.f64 x 10) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 10 (*.f64 x x) (+.f64 10 (*.f64 10 (pow.f64 x 4)))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 4) 10)) |
(*.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 4)) 10) |
(+.f64 (*.f64 10 (pow.f64 x 2)) (+.f64 (*.f64 10 (pow.f64 x 6)) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 10 (*.f64 x x) (fma.f64 10 (pow.f64 x 6) (+.f64 10 (*.f64 10 (pow.f64 x 4))))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 10 (pow.f64 x 6) (fma.f64 10 (pow.f64 x 4) 10))) |
(fma.f64 10 (fma.f64 x x (pow.f64 x 6)) (fma.f64 10 (pow.f64 x 4) 10)) |
(fma.f64 10 (+.f64 (pow.f64 x 4) (fma.f64 x x (pow.f64 x 6))) 10) |
(*.f64 (fma.f64 x x 1) (fma.f64 10 (pow.f64 x 4) 10)) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (/.f64 -10 (pow.f64 x 6))) |
(neg.f64 (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 8))) (+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 6))) (*.f64 10 (/.f64 1 (pow.f64 x 2))))))) |
(neg.f64 (+.f64 (/.f64 10 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8))))) |
(-.f64 (/.f64 -10 (pow.f64 x 4)) (+.f64 (/.f64 10 (*.f64 x x)) (+.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 10 (pow.f64 x 8))))) |
(+.f64 (+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (*.f64 x x))) (/.f64 -10 (pow.f64 x 6))) (/.f64 -10 (pow.f64 x 8))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 (/.f64 -10 x) x)) (+.f64 (/.f64 -10 (pow.f64 x 6)) (/.f64 -10 (pow.f64 x 8)))) |
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.4b | (*.f64 (fma.f64 x x -1) -1/10) | |
| ✓ | 0.6b | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) |
| ✓ | 0.7b | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) |
Compiled 32 to 23 computations (28.1% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) |
| 0.0ms | x | @ | 0 | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) |
| 0.0ms | x | @ | inf | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) |
| 0.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) |
| 0.0ms | x | @ | inf | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) |
| 1× | batch-egg-rewrite |
| 777× | pow1_binary64 |
| 733× | add-log-exp_binary64 |
| 733× | log1p-expm1-u_binary64 |
| 733× | expm1-log1p-u_binary64 |
| 717× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 24 |
| 1 | 184 | 22 |
| 2 | 1984 | 22 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3) |
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 (fma.f64 x x -1) -3) -1000)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -3) -1000) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (pow.f64 (fma.f64 x x -1) -3) -1000))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)) (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) -3) -1000)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1000 (pow.f64 (fma.f64 x x -1) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2) (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) 2) -3) (pow.f64 (cbrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -3) (pow.f64 (sqrt.f64 (*.f64 (fma.f64 x x -1) -1/10)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)) 1) (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 (fma.f64 x x -1) -3)) -1000))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -3) -1000) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -3) -1000)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -3) -1000)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -3 (log.f64 (*.f64 (fma.f64 x x -1) -1/10)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6))) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2)) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -3)) (cbrt.f64 -1000))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)) 1/3) (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 x x -1) -3) 1/3) (pow.f64 -1000 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -3) -1000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1))))))) |
| 1× | egg-herbie |
| 723× | associate-/r*_binary64 |
| 704× | fma-neg_binary64 |
| 575× | associate-*r*_binary64 |
| 377× | cancel-sign-sub-inv_binary64 |
| 249× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 524 |
| 1 | 179 | 490 |
| 2 | 551 | 475 |
| 3 | 1987 | 469 |
| 4 | 7868 | 469 |
| 1× | node limit |
| Inputs |
|---|
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(*.f64 -1 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
| Outputs |
|---|
1000 |
(+.f64 1000 (*.f64 3000 (pow.f64 x 2))) |
(+.f64 1000 (*.f64 3000 (*.f64 x x))) |
(fma.f64 3000 (*.f64 x x) 1000) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (*.f64 3000 (pow.f64 x 2)))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (*.f64 3000 (*.f64 x x)))) |
(fma.f64 6000 (pow.f64 x 4) (fma.f64 3000 (*.f64 x x) 1000)) |
(+.f64 (*.f64 6000 (pow.f64 x 4)) (+.f64 1000 (+.f64 (*.f64 10000 (pow.f64 x 6)) (*.f64 3000 (pow.f64 x 2))))) |
(fma.f64 6000 (pow.f64 x 4) (+.f64 1000 (fma.f64 10000 (pow.f64 x 6) (*.f64 3000 (*.f64 x x))))) |
(+.f64 (fma.f64 10000 (pow.f64 x 6) (*.f64 3000 (*.f64 x x))) (fma.f64 6000 (pow.f64 x 4) 1000)) |
(fma.f64 6000 (pow.f64 x 4) (fma.f64 3000 (*.f64 x x) (fma.f64 10000 (pow.f64 x 6) 1000))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) (/.f64 -10000 (pow.f64 x 12))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
(/.f64 -1000 (pow.f64 x 6)) |
(neg.f64 (+.f64 (*.f64 3000 (/.f64 1 (pow.f64 x 8))) (*.f64 1000 (/.f64 1 (pow.f64 x 6))))) |
(neg.f64 (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) |
(-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) |
(neg.f64 (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8)))))) |
(neg.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6))))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8)))) |
(neg.f64 (+.f64 (*.f64 10000 (/.f64 1 (pow.f64 x 12))) (+.f64 (*.f64 6000 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 1000 (/.f64 1 (pow.f64 x 6))) (*.f64 3000 (/.f64 1 (pow.f64 x 8))))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 6000 (pow.f64 x 10)) (+.f64 (/.f64 3000 (pow.f64 x 8)) (/.f64 1000 (pow.f64 x 6)))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6)))) (/.f64 -10000 (pow.f64 x 12))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (-.f64 (-.f64 (/.f64 -1000 (pow.f64 x 6)) (/.f64 3000 (pow.f64 x 8))) (/.f64 10000 (pow.f64 x 12)))) |
(+.f64 (/.f64 -6000 (pow.f64 x 10)) (+.f64 (+.f64 (/.f64 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (/.f64 -10000 (pow.f64 x 12)))) |
(*.f64 -1 (cbrt.f64 -1000)) |
(neg.f64 (cbrt.f64 -1000)) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(fma.f64 -1 (cbrt.f64 -1000) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x))) |
(neg.f64 (*.f64 (+.f64 (*.f64 x x) 1) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (*.f64 x x))) |
(+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x)))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) |
(neg.f64 (fma.f64 (cbrt.f64 -1000) (fma.f64 x x (pow.f64 x 4)) (cbrt.f64 -1000))) |
(*.f64 (cbrt.f64 -1000) (-.f64 -1 (fma.f64 x x (pow.f64 x 4)))) |
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 6))) (+.f64 (*.f64 -1 (cbrt.f64 -1000)) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (*.f64 -1 (*.f64 (cbrt.f64 -1000) (pow.f64 x 2)))))) |
(fma.f64 -1 (*.f64 (pow.f64 x 6) (cbrt.f64 -1000)) (fma.f64 -1 (cbrt.f64 -1000) (fma.f64 -1 (*.f64 (pow.f64 x 4) (cbrt.f64 -1000)) (*.f64 (neg.f64 (cbrt.f64 -1000)) (*.f64 x x))))) |
(-.f64 (-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 4) (*.f64 x x))) (cbrt.f64 -1000)) (*.f64 (pow.f64 x 6) (cbrt.f64 -1000))) |
(-.f64 (*.f64 (neg.f64 (cbrt.f64 -1000)) (+.f64 (pow.f64 x 6) (fma.f64 x x (pow.f64 x 4)))) (cbrt.f64 -1000)) |
(*.f64 (cbrt.f64 -1000) (-.f64 (-.f64 -1 (pow.f64 x 6)) (fma.f64 x x (pow.f64 x 4)))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
(/.f64 (cbrt.f64 -1000) (pow.f64 x 2)) |
(/.f64 (cbrt.f64 -1000) (*.f64 x x)) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 2))))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 4))) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8)))) |
(+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 4)) (+.f64 (/.f64 (cbrt.f64 -1000) (pow.f64 x 6)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) |
| ✓ | 0.5b | (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) |
| ✓ | 0.5b | (pow.f64 (fma.f64 x x -1) -2) |
| ✓ | 0.6b | (cbrt.f64 (fma.f64 x x -1)) |
Compiled 67 to 48 computations (28.4% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (cbrt.f64 (fma.f64 x x -1)) |
| 1.0ms | x | @ | -inf | (cbrt.f64 (fma.f64 x x -1)) |
| 1.0ms | x | @ | inf | (cbrt.f64 (fma.f64 x x -1)) |
| 1.0ms | x | @ | inf | (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) |
| 1× | batch-egg-rewrite |
| 804× | pow1_binary64 |
| 750× | add-log-exp_binary64 |
| 748× | log1p-expm1-u_binary64 |
| 748× | expm1-log1p-u_binary64 |
| 731× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 44 |
| 1 | 214 | 33 |
| 2 | 2401 | 33 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (fma.f64 x x -1)) |
(pow.f64 (fma.f64 x x -1) -2) |
(cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) |
(*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) 1/6) (pow.f64 (fma.f64 x x -1) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.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/3) (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x x -1)) 1/3) (pow.f64 (sqrt.f64 (fma.f64 x x -1)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 2) (/.f64 1 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 x x -1) 1/6) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (cbrt.f64 (fma.f64 x x -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (fma.f64 x x -1) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (fma.f64 x x -1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1 (fma.f64 x x -1))) (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 x x -1))) (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1)) (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) (sqrt.f64 (/.f64 1 (fma.f64 x x -1)))) (sqrt.f64 (/.f64 1 (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) -2) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x x -1)) -2) (pow.f64 (sqrt.f64 (fma.f64 x x -1)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)) 1) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)) (cbrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)))) (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)) (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) (/.f64 1 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1) -4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (fma.f64 x x -1) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 -2 (log.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) (cbrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) (*.f64 (/.f64 1 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1)))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4))) (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -1/2) (sqrt.f64 (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)) 1/3) (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))) (/.f64 1 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (cbrt.f64 (fma.f64 x x -1)) (neg.f64 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (*.f64 (neg.f64 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (neg.f64 (cbrt.f64 (fma.f64 x x -1))) (neg.f64 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))) (neg.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) -1) (neg.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1) -2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.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/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (fma.f64 x x -1))) 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 1 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.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 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4))) (/.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (/.f64 (cbrt.f64 (fma.f64 x x -1)) (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) (neg.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) (pow.f64 (fma.f64 x x -1) 1/6)) (pow.f64 (fma.f64 x x -1) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) 1) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))) 2)) (cbrt.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2)) (neg.f64 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) -2) -1) (neg.f64 (cbrt.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 (pow.f64 (fma.f64 x x -1) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 x x -1) -2) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x x -1)) -1)))))) |
| 1× | egg-herbie |
| 812× | times-frac_binary64 |
| 610× | associate-*l*_binary64 |
| 547× | associate-*r*_binary64 |
| 526× | associate-/r*_binary64 |
| 431× | associate-/l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 80 | 584 |
| 1 | 211 | 568 |
| 2 | 559 | 558 |
| 3 | 1736 | 558 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 -1) |
(+.f64 (cbrt.f64 -1) (*.f64 1/3 (/.f64 (pow.f64 x 2) (pow.f64 (cbrt.f64 -1) 2)))) |
(+.f64 (cbrt.f64 -1) (+.f64 (*.f64 1/3 (/.f64 (pow.f64 x 2) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5))))) |
(+.f64 (*.f64 5/81 (/.f64 (pow.f64 x 6) (pow.f64 (cbrt.f64 -1) 8))) (+.f64 (cbrt.f64 -1) (+.f64 (*.f64 1/3 (/.f64 (pow.f64 x 2) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5)))))) |
1 |
(+.f64 (*.f64 2 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 3 (pow.f64 x 4)))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4 (pow.f64 x 6)) (*.f64 3 (pow.f64 x 4))))) |
(/.f64 1 (pow.f64 x 4)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 3 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 10))) (*.f64 3 (/.f64 1 (pow.f64 x 8)))))) |
(/.f64 1 (pow.f64 x 4)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 3 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 10))) (*.f64 3 (/.f64 1 (pow.f64 x 8)))))) |
1 |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 1 (*.f64 5/9 (pow.f64 x 4)))) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 (*.f64 40/81 (pow.f64 x 6)) (+.f64 1 (*.f64 5/9 (pow.f64 x 4))))) |
-1 |
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4))) 1) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4)))) 1) |
(/.f64 1 (pow.f64 x 2)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(/.f64 1 (pow.f64 x 2)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
| Outputs |
|---|
(cbrt.f64 -1) |
(+.f64 (cbrt.f64 -1) (*.f64 1/3 (/.f64 (pow.f64 x 2) (pow.f64 (cbrt.f64 -1) 2)))) |
(+.f64 (cbrt.f64 -1) (/.f64 (*.f64 1/3 (*.f64 x x)) (pow.f64 (cbrt.f64 -1) 2))) |
(fma.f64 1/3 (/.f64 x (/.f64 (pow.f64 (cbrt.f64 -1) 2) x)) (cbrt.f64 -1)) |
(fma.f64 1/3 (*.f64 (/.f64 x (pow.f64 (cbrt.f64 -1) 2)) x) (cbrt.f64 -1)) |
(+.f64 (cbrt.f64 -1) (+.f64 (*.f64 1/3 (/.f64 (pow.f64 x 2) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5))))) |
(+.f64 (cbrt.f64 -1) (fma.f64 1/3 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 -1) 2)) (*.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5))))) |
(+.f64 (cbrt.f64 -1) (fma.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5)) (/.f64 (*.f64 1/3 (*.f64 x x)) (pow.f64 (cbrt.f64 -1) 2)))) |
(fma.f64 1/3 (*.f64 (/.f64 x (pow.f64 (cbrt.f64 -1) 2)) x) (fma.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5)) (cbrt.f64 -1))) |
(+.f64 (*.f64 5/81 (/.f64 (pow.f64 x 6) (pow.f64 (cbrt.f64 -1) 8))) (+.f64 (cbrt.f64 -1) (+.f64 (*.f64 1/3 (/.f64 (pow.f64 x 2) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5)))))) |
(fma.f64 5/81 (/.f64 (pow.f64 x 6) (pow.f64 (cbrt.f64 -1) 8)) (+.f64 (cbrt.f64 -1) (fma.f64 1/3 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 -1) 2)) (*.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5)))))) |
(+.f64 (fma.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5)) (/.f64 (*.f64 1/3 (*.f64 x x)) (pow.f64 (cbrt.f64 -1) 2))) (fma.f64 5/81 (/.f64 (pow.f64 x 6) (pow.f64 (cbrt.f64 -1) 8)) (cbrt.f64 -1))) |
(fma.f64 5/81 (/.f64 (pow.f64 x 6) (pow.f64 (cbrt.f64 -1) 8)) (fma.f64 1/3 (*.f64 (/.f64 x (pow.f64 (cbrt.f64 -1) 2)) x) (fma.f64 -1/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 5)) (cbrt.f64 -1)))) |
1 |
(+.f64 (*.f64 2 (pow.f64 x 2)) 1) |
(fma.f64 2 (*.f64 x x) 1) |
(fma.f64 x (*.f64 x 2) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 3 (pow.f64 x 4)))) |
(+.f64 (fma.f64 2 (*.f64 x x) 1) (*.f64 (pow.f64 x 4) 3)) |
(fma.f64 2 (*.f64 x x) (fma.f64 (pow.f64 x 4) 3 1)) |
(fma.f64 (pow.f64 x 4) 3 (fma.f64 x (*.f64 x 2) 1)) |
(fma.f64 x (*.f64 x 2) (fma.f64 (pow.f64 x 4) 3 1)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4 (pow.f64 x 6)) (*.f64 3 (pow.f64 x 4))))) |
(+.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 4 (pow.f64 x 6) (*.f64 (pow.f64 x 4) 3))) |
(fma.f64 x (*.f64 x 2) (fma.f64 4 (pow.f64 x 6) (fma.f64 (pow.f64 x 4) 3 1))) |
(/.f64 1 (pow.f64 x 4)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 2 (pow.f64 x 6))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 3 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (/.f64 3 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 10))) (*.f64 3 (/.f64 1 (pow.f64 x 8)))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 3 (pow.f64 x 8)) (/.f64 4 (pow.f64 x 10))))) |
(+.f64 (+.f64 (/.f64 2 (pow.f64 x 6)) (/.f64 3 (pow.f64 x 8))) (+.f64 (/.f64 4 (pow.f64 x 10)) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 3 (pow.f64 x 8)) (/.f64 4 (pow.f64 x 10))))) |
(/.f64 1 (pow.f64 x 4)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (*.f64 2 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 2 (pow.f64 x 6))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (*.f64 3 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (/.f64 3 (pow.f64 x 8)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 6))) (+.f64 (*.f64 4 (/.f64 1 (pow.f64 x 10))) (*.f64 3 (/.f64 1 (pow.f64 x 8)))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 3 (pow.f64 x 8)) (/.f64 4 (pow.f64 x 10))))) |
(+.f64 (+.f64 (/.f64 2 (pow.f64 x 6)) (/.f64 3 (pow.f64 x 8))) (+.f64 (/.f64 4 (pow.f64 x 10)) (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (/.f64 2 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 3 (pow.f64 x 8)) (/.f64 4 (pow.f64 x 10))))) |
1 |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) 1) |
(fma.f64 2/3 (*.f64 x x) 1) |
(fma.f64 (*.f64 x x) 2/3 1) |
(fma.f64 x (*.f64 x 2/3) 1) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 1 (*.f64 5/9 (pow.f64 x 4)))) |
(+.f64 (fma.f64 2/3 (*.f64 x x) 1) (*.f64 (pow.f64 x 4) 5/9)) |
(fma.f64 (*.f64 x x) 2/3 (fma.f64 (pow.f64 x 4) 5/9 1)) |
(fma.f64 x (*.f64 x 2/3) (fma.f64 (pow.f64 x 4) 5/9 1)) |
(+.f64 (*.f64 2/3 (pow.f64 x 2)) (+.f64 (*.f64 40/81 (pow.f64 x 6)) (+.f64 1 (*.f64 5/9 (pow.f64 x 4))))) |
(fma.f64 2/3 (*.f64 x x) (fma.f64 40/81 (pow.f64 x 6) (+.f64 1 (*.f64 (pow.f64 x 4) 5/9)))) |
(fma.f64 (*.f64 x x) 2/3 (fma.f64 (pow.f64 x 6) 40/81 (fma.f64 (pow.f64 x 4) 5/9 1))) |
(fma.f64 x (*.f64 x 2/3) (fma.f64 (pow.f64 x 4) 5/9 (fma.f64 (pow.f64 x 6) 40/81 1))) |
-1 |
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1) |
(fma.f64 -1 (*.f64 x x) -1) |
(-.f64 -1 (*.f64 x x)) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4))) 1) |
(+.f64 (*.f64 -1 (+.f64 (*.f64 x x) (pow.f64 x 4))) -1) |
(fma.f64 -1 (fma.f64 x x (pow.f64 x 4)) -1) |
(-.f64 -1 (fma.f64 x x (pow.f64 x 4))) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 6)) (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 -1 (pow.f64 x 4)))) 1) |
(+.f64 (fma.f64 -1 (pow.f64 x 6) (*.f64 -1 (+.f64 (*.f64 x x) (pow.f64 x 4)))) -1) |
(fma.f64 -1 (pow.f64 x 6) (fma.f64 -1 (fma.f64 x x (pow.f64 x 4)) -1)) |
(-.f64 (-.f64 -1 (fma.f64 x x (pow.f64 x 4))) (pow.f64 x 6)) |
(-.f64 -1 (+.f64 (pow.f64 x 6) (fma.f64 x x (pow.f64 x 4)))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (*.f64 x x))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 8)) (/.f64 1 (*.f64 x x))))) |
(+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (*.f64 x x))))) |
(/.f64 1 (pow.f64 x 2)) |
(/.f64 1 (*.f64 x x)) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 (pow.f64 x 6))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (*.f64 x x))))) |
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (+.f64 (/.f64 1 (pow.f64 x 8)) (/.f64 1 (*.f64 x x))))) |
(+.f64 (/.f64 1 (pow.f64 x 8)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 6)) (/.f64 1 (*.f64 x x))))) |
Compiled 7540 to 5895 computations (21.8% saved)
23 alts after pruning (7 fresh and 16 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 487 | 5 | 492 |
| Fresh | 2 | 2 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 15 | 15 |
| Total | 489 | 23 | 512 |
| Status | Error | Program |
|---|---|---|
| 8.0b | (/.f64 1 (/.f64 (-.f64 1 (*.f64 x x)) 10)) | |
| ✓ | 8.0b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ✓ | 8.0b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ✓ | 60.3b | (/.f64 -10 (*.f64 x x)) |
| 8.0b | (*.f64 (/.f64 1 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) 10) | |
| ✓ | 6.7b | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| ✓ | 0.4b | (*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
| ✓ | 60.3b | (/.f64 (/.f64 -10 x) x) |
| 8.2b | (/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) | |
| 58.1b | 10 | |
| ✓ | 23.9b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| 8.5b | (/.f64 1 (/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) -1/10) (*.f64 (*.f64 x x) -1/10)) 1/100) (-.f64 (*.f64 (*.f64 x x) -1/10) 1/10))) | |
| 41.7b | (*.f64 (exp.f64 (neg.f64 (log.f64 (fma.f64 x x -1)))) -10) | |
| 23.9b | (expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1)))) | |
| ✓ | 0.6b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
| ✓ | 0.4b | (/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
| ✓ | 0.4b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| ✓ | 0.3b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| ✓ | 0.6b | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) |
| ✓ | 8.0b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
| ✓ | 0.2b | (/.f64 -10 (fma.f64 x x -1)) |
| ✓ | 0.9b | (*.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) -10) |
| ✓ | 0.6b | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
Compiled 248 to 180 computations (27.4% saved)
| Inputs |
|---|
10 |
10 |
10 |
10 |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 1 (/.f64 (-.f64 1 (*.f64 x x)) 10)) |
(/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) |
(/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
(*.f64 (/.f64 1 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) 10) |
(/.f64 1 (/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) -1/10) (*.f64 (*.f64 x x) -1/10)) 1/100) (-.f64 (*.f64 (*.f64 x x) -1/10) 1/10))) |
(/.f64 -10 (fma.f64 x x -1)) |
(/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
(/.f64 (/.f64 1 (fma.f64 x x -1)) -1/10) |
(/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
(/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
(*.f64 (/.f64 1 (fma.f64 x x -1)) -10) |
(pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1) |
(expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1)))) |
(exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
(expm1.f64 (log1p.f64 (/.f64 -10 (fma.f64 x x -1)))) |
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -3)) |
(*.f64 (exp.f64 (neg.f64 (log.f64 (fma.f64 x x -1)))) -10) |
(cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
(pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) |
(cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
(cbrt.f64 (/.f64 1 (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) 3))) |
(/.f64 (/.f64 -10 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1))) |
(*.f64 (*.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) -10) |
(*.f64 (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| Outputs |
|---|
(/.f64 -10 (fma.f64 x x -1)) |
7 calls:
| 63.0ms | (-.f64 1 (*.f64 x x)) |
| 45.0ms | (*.f64 x x) |
| 38.0ms | (-.f64 1 (*.f64 x x)) |
| 21.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 20.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.2b | 1 | x |
| 0.2b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 0.2b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 0.2b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.2b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.2b | 1 | (*.f64 x x) |
| 0.2b | 1 | (*.f64 x x) |
Compiled 342 to 234 computations (31.6% saved)
| Inputs |
|---|
10 |
10 |
10 |
10 |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 1 (/.f64 (-.f64 1 (*.f64 x x)) 10)) |
(/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) |
(/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
(*.f64 (/.f64 1 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) 10) |
(/.f64 1 (/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) -1/10) (*.f64 (*.f64 x x) -1/10)) 1/100) (-.f64 (*.f64 (*.f64 x x) -1/10) 1/10))) |
| Outputs |
|---|
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
5 calls:
| 10.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 10.0ms | (*.f64 x x) |
| 9.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 9.0ms | x |
| 9.0ms | (-.f64 1 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 8.0b | 1 | x |
| 8.0b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 8.0b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 8.0b | 1 | (-.f64 1 (*.f64 x x)) |
| 8.0b | 1 | (*.f64 x x) |
Compiled 151 to 91 computations (39.7% saved)
| Inputs |
|---|
10 |
10 |
10 |
10 |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 1 (/.f64 (-.f64 1 (*.f64 x x)) 10)) |
(/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) |
(/.f64 1 (+.f64 (*.f64 (*.f64 x x) -1/10) 1/10)) |
| Outputs |
|---|
(/.f64 10 (-.f64 1 (*.f64 x x))) |
4 calls:
| 10.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 9.0ms | (*.f64 x x) |
| 6.0ms | x |
| 6.0ms | (-.f64 1 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 8.0b | 1 | x |
| 8.0b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 8.0b | 1 | (-.f64 1 (*.f64 x x)) |
| 8.0b | 1 | (*.f64 x x) |
Compiled 69 to 46 computations (33.3% saved)
| Inputs |
|---|
10 |
10 |
10 |
10 |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (*.f64 x x)) |
| Outputs |
|---|
10 |
(/.f64 (/.f64 -10 x) x) |
3 calls:
| 11.0ms | (*.f64 x x) |
| 9.0ms | (*.f64 x x) |
| 9.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 55.4b | 2 | x |
| 55.4b | 2 | (*.f64 x x) |
| 55.4b | 2 | (*.f64 x x) |
Compiled 25 to 16 computations (36% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.9999783902776361 | 1.0000123760386301 |
Compiled 12 to 9 computations (25% saved)
Total -0.0b remaining (-0%)
Threshold costs -0.0b (-0%)
| Inputs |
|---|
10 |
10 |
10 |
10 |
| Outputs |
|---|
10 |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 58.1b | 1 | x |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 49 |
| 1 | 26 | 49 |
| 2 | 32 | 49 |
| 3 | 36 | 49 |
| 4 | 38 | 49 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 -10 (fma.f64 x x -1)) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(if (<=.f64 (*.f64 x x) 1) 10 (/.f64 (/.f64 -10 x) x)) |
10 |
| Outputs |
|---|
(/.f64 -10 (fma.f64 x x -1)) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(if (<=.f64 (*.f64 x x) 1) 10 (/.f64 (/.f64 -10 x) x)) |
10 |
Compiled 40 to 30 computations (25% saved)
| 1× | egg-herbie |
| 601× | unsub-neg_binary64 |
| 586× | distribute-rgt-out--_binary64 |
| 492× | fma-neg_binary64 |
| 434× | distribute-neg-in_binary64 |
| 409× | distribute-rgt-in_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 10 |
| 1 | 14 | 10 |
| 2 | 21 | 10 |
| 3 | 32 | 10 |
| 4 | 49 | 10 |
| 5 | 77 | 8 |
| 6 | 131 | 8 |
| 7 | 362 | 8 |
| 8 | 738 | 8 |
| 9 | 1536 | 8 |
| 10 | 2895 | 8 |
| 11 | 4312 | 8 |
| 12 | 5270 | 8 |
| 13 | 5580 | 8 |
| 14 | 5884 | 8 |
| 15 | 5985 | 8 |
| 16 | 6063 | 8 |
| 17 | 6331 | 8 |
| 18 | 7277 | 8 |
| 1× | node limit |
Compiled 110 to 86 computations (21.8% saved)
Compiled 36 to 24 computations (33.3% saved)
Loading profile data...