Time bar (total: 4.6s)
| 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)
| 791.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 597× | unsub-neg_binary64 |
| 579× | distribute-rgt-out--_binary64 |
| 492× | fma-neg_binary64 |
| 442× | 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 | 335 | 8 |
| 8 | 686 | 8 |
| 9 | 1461 | 8 |
| 10 | 2785 | 8 |
| 11 | 4171 | 8 |
| 12 | 5107 | 8 |
| 13 | 5419 | 8 |
| 14 | 5722 | 8 |
| 15 | 5818 | 8 |
| 16 | 5896 | 8 |
| 17 | 6164 | 8 |
| 18 | 7110 | 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 x -1)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 597× | unsub-neg_binary64 |
| 579× | distribute-rgt-out--_binary64 |
| 492× | fma-neg_binary64 |
| 442× | 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 | 335 | 8 |
| 8 | 686 | 8 |
| 9 | 1461 | 8 |
| 10 | 2785 | 8 |
| 11 | 4171 | 8 |
| 12 | 5107 | 8 |
| 13 | 5419 | 8 |
| 14 | 5722 | 8 |
| 15 | 5818 | 8 |
| 16 | 5896 | 8 |
| 17 | 6164 | 8 |
| 18 | 7110 | 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 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 |
|---|---|---|
| ▶ | 0.3b | (/.f64 -10 (fma.f64 x x -1)) |
| ▶ | 7.6b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
Compiled 15 to 11 computations (26.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 7.7b | (-.f64 1 (*.f64 x x)) | |
| 0.3b | (/.f64 10 (-.f64 1 (*.f64 x x))) | |
| ✓ | 0.3b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ✓ | 7.7b | (-.f64 1 (*.f64 x x)) |
Compiled 19 to 10 computations (47.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 1.0ms | x | @ | 0 | (-.f64 1 (*.f64 x x)) |
| 1.0ms | x | @ | inf | (-.f64 1 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (/.f64 10 (-.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 | 1917 | 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 log1p.f64 (expm1.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 log1p.f64 (expm1.f64 (/.f64 10 (-.f64 1 (*.f64 x x)))))))) (#(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 exp.f64 (log.f64 (/.f64 10 (-.f64 1 (*.f64 x x))))))))) |
| 1× | egg-herbie |
| 689× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 364× | distribute-neg-frac_binary64 |
| 261× | associate-*l*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 320 |
| 1 | 117 | 286 |
| 2 | 354 | 282 |
| 3 | 1193 | 279 |
| 4 | 4888 | 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) |
(fma.f64 x (*.f64 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)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 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))) |
(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 -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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.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 6)) (/.f64 -10 (pow.f64 x 8))))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (-.f64 (/.f64 -10 (pow.f64 x 8)) (-.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 -10 (*.f64 x x))))) |
(/.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))) |
(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 -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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.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 6)) (/.f64 -10 (pow.f64 x 8))))) |
(+.f64 (/.f64 -10 (pow.f64 x 4)) (-.f64 (/.f64 -10 (pow.f64 x 8)) (-.f64 (/.f64 10 (pow.f64 x 6)) (/.f64 -10 (*.f64 x x))))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f64 -10 (fma.f64 x x -1)) | |
| ✓ | 0.3b | (/.f64 -10 (fma.f64 x x -1)) |
Compiled 14 to 9 computations (35.7% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (/.f64 -10 (fma.f64 x x -1)) |
| 0.0ms | x | @ | 0 | (/.f64 -10 (fma.f64 x x -1)) |
| 0.0ms | x | @ | -inf | (/.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 log1p.f64 (expm1.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 exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 674× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 429× | distribute-lft-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 354× | distribute-neg-frac_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 226 |
| 1 | 112 | 210 |
| 2 | 338 | 206 |
| 3 | 1154 | 203 |
| 4 | 4782 | 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) |
(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 (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 (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 -10 (pow.f64 x 4)) (+.f64 (/.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 -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 -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 -10 (*.f64 x x)) (-.f64 (/.f64 -10 (pow.f64 x 6)) (+.f64 (/.f64 10 (pow.f64 x 4)) (/.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 -10 (pow.f64 x 4)) (+.f64 (/.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 -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 -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 -10 (*.f64 x x)) (-.f64 (/.f64 -10 (pow.f64 x 6)) (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (pow.f64 x 8))))) |
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 |
|---|---|---|
| 19.9b | (sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) | |
| 7.6b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) | |
| ✓ | 0.3b | (/.f64 -10 (fma.f64 x x -1)) |
| ✓ | 7.6b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 1.4b | (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) | |
| ▶ | 7.6b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ▶ | 0.6b | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) |
| ▶ | 60.6b | (/.f64 -10 (*.f64 x x)) |
| 0.4b | (pow.f64 (*.f64 (fma.f64 x x -1) -1/10) -1) | |
| 20.4b | (pow.f64 (sqrt.f64 (/.f64 -10 (fma.f64 x x -1))) 2) | |
| ▶ | 21.2b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| 57.8b | 10 | |
| ▶ | 0.3b | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
Compiled 225 to 165 computations (26.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) | |
| 0.3b | (/.f64 1 (fma.f64 x x -1)) | |
| ✓ | 0.3b | (/.f64 1 (fma.f64 x x -1)) |
| ✓ | 0.3b | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
Compiled 23 to 16 computations (30.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
| 0.0ms | x | @ | inf | (/.f64 1 (fma.f64 x x -1)) |
| 0.0ms | x | @ | 0 | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
| 0.0ms | x | @ | 0 | (/.f64 1 (fma.f64 x x -1)) |
| 0.0ms | x | @ | -inf | (/.f64 1 (fma.f64 x x -1)) |
| 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 | 155 | 16 |
| 2 | 1641 | 16 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
(/.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 -10 (fma.f64 x x -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 (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 log1p.f64 (expm1.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 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 (cbrt.f64 (/.f64 1 (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)) (cbrt.f64 (/.f64 1 (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 (cbrt.f64 (/.f64 1 (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 log1p.f64 (expm1.f64 (/.f64 1 (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 exp.f64 (neg.f64 (log.f64 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 531× | fma-neg_binary64 |
| 413× | unswap-sqr_binary64 |
| 397× | sub-neg_binary64 |
| 383× | distribute-rgt-neg-in_binary64 |
| 355× | distribute-neg-frac_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 438 |
| 1 | 156 | 414 |
| 2 | 468 | 406 |
| 3 | 1561 | 406 |
| 4 | 5868 | 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) |
(*.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))) |
(+.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))) |
(-.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 (*.f64 x x)) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.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)))) |
(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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (pow.f64 x 8)))) |
(-.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (+.f64 (/.f64 10 (pow.f64 x 4)) (/.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 (*.f64 x x)) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.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)))) |
(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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (pow.f64 x 8)))) |
(-.f64 (-.f64 (/.f64 -10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (pow.f64 x 8)))) |
-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) |
(fma.f64 (pow.f64 x 6) -1 (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 4) (fma.f64 x x (pow.f64 x 6)))) |
(/.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 (*.f64 x x)) (/.f64 1 (pow.f64 x 6)))) |
(+.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 (*.f64 x x)) (/.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 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 8))))) |
(/.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 (*.f64 x x)) (/.f64 1 (pow.f64 x 6)))) |
(+.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 (*.f64 x x)) (/.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 6)) (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 8))))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (/.f64 -10 (*.f64 x x)) | |
| ✓ | 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 | 1322 | 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 log1p.f64 (expm1.f64 (*.f64 -10 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 |
| 1138× | associate-/r*_binary64 |
| 1106× | sqr-pow_binary64 |
| 561× | cube-prod_binary64 |
| 553× | fabs-mul_binary64 |
| 536× | 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 | 209 | 84 |
| 6 | 754 | 84 |
| 7 | 1962 | 84 |
| 8 | 2128 | 84 |
| 9 | 2312 | 84 |
| 10 | 2520 | 84 |
| 11 | 2811 | 84 |
| 12 | 3202 | 84 |
| 13 | 3680 | 84 |
| 14 | 4241 | 84 |
| 15 | 4925 | 84 |
| 16 | 5758 | 84 |
| 17 | 6150 | 84 |
| 18 | 6438 | 84 |
| 19 | 6716 | 84 |
| 20 | 6794 | 84 |
| 21 | 6828 | 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 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.4b | (*.f64 (*.f64 x (neg.f64 x)) (*.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.3b | (-.f64 1 (*.f64 x (neg.f64 x))) | |
| 0.3b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) | |
| ✓ | 0.3b | (-.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.4b | (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x))) |
| ✓ | 6.7b | (-.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 (-.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)))) |
| 1.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 | @ | 0 | (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) |
| 0.0ms | x | @ | -inf | (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) |
| 1× | batch-egg-rewrite |
| 878× | pow1_binary64 |
| 826× | add-log-exp_binary64 |
| 825× | log1p-expm1-u_binary64 |
| 825× | expm1-log1p-u_binary64 |
| 107× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 67 |
| 1 | 210 | 31 |
| 2 | 3328 | 31 |
| 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 1 (*.f64 x (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (*.f64 x x) 6)) (/.f64 1 (+.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (/.f64 1 (+.f64 1 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 x (pow.f64 x 3))) (-.f64 1 (pow.f64 (*.f64 x x) 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 1 (pow.f64 (*.f64 x x) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (*.f64 x x) 6)) (+.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (+.f64 1 (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (*.f64 x x) 6))) (neg.f64 (+.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4))) (+.f64 -1 (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 x x) 6)) (+.f64 1 (-.f64 (pow.f64 (*.f64 x x) 4) (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 x (pow.f64 x 3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (pow.f64 x 3)) 1)))) (#(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 (*.f64 x x) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 x (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 1 (pow.f64 (exp.f64 x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x x) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x x)) 2)))))) |
((#(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 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (neg.f64 (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x)))) (/.f64 (pow.f64 (*.f64 x x) 3) (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x)))))))) (#(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 (pow.f64 x 3))) (/.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 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (*.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (/.f64 -1 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (*.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (/.f64 -1 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 x (pow.f64 x 3))) (/.f64 1 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (+.f64 1 (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (*.f64 x x) 3)) (/.f64 1 (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) 1) (/.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 1) (/.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x x))) 2)) (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (cbrt.f64 (+.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (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 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x x))) 2)) (/.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (cbrt.f64 (+.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (hypot.f64 1 x)) (/.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 1 (*.f64 x (pow.f64 x 3)))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 1 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) 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 (hypot.f64 1 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 -1 (*.f64 x x))))))) (#(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 log.f64 (+.f64 1 (expm1.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 cbrt.f64 (/.f64 (pow.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 3) (pow.f64 (+.f64 1 (*.f64 x x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 x x))))))) |
((#(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 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (neg.f64 (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x)))))))) (#(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 (pow.f64 x 3))) (/.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 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (*.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (/.f64 -1 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (*.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (/.f64 -1 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (*.f64 x (pow.f64 x 3))) (/.f64 1 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (+.f64 1 (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (*.f64 x x) 3)) (/.f64 1 (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) 1) (/.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 1) (/.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x x))) 2)) (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (cbrt.f64 (+.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (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 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x x))) 2)) (/.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (cbrt.f64 (+.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 x)) (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (hypot.f64 1 x)) (/.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 1 (*.f64 x (pow.f64 x 3)))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 1 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 -1 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x))) (+.f64 1 (pow.f64 (*.f64 x x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) 2) (/.f64 (+.f64 1 (*.f64 x x)) (cbrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3)))) (/.f64 (+.f64 1 (*.f64 x x)) (sqrt.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (*.f64 x (pow.f64 x 3))) (+.f64 -1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (*.f64 x x) 6)) (*.f64 (+.f64 1 (*.f64 x x)) (+.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 x x) 3)) (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 (+.f64 1 (*.f64 x x)) (+.f64 1 (*.f64 x (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1 (*.f64 x (pow.f64 x 3)))) (neg.f64 (+.f64 -1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (*.f64 x x) 3))) (neg.f64 (+.f64 1 (*.f64 x (+.f64 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (*.f64 x x) 6)) 1) (*.f64 (+.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 x (pow.f64 x 3))) (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) 1) (*.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (+.f64 1 (*.f64 x x)) (*.f64 (+.f64 1 (*.f64 x x)) (*.f64 x (pow.f64 x 3)))) (pow.f64 (+.f64 1 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (hypot.f64 1 x)) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) 3) (pow.f64 (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x))) 3)) (+.f64 (*.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (/.f64 -1 (+.f64 -1 (*.f64 x x)))) (+.f64 (*.f64 (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x))) (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x)))) (*.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (/.f64 -1 (+.f64 -1 (*.f64 x x)))) (*.f64 (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x))) (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x))))) (+.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) (/.f64 (*.f64 x (pow.f64 x 3)) (+.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 1) (+.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (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 (-.f64 1 (pow.f64 (*.f64 x x) 6)) (/.f64 -1 (+.f64 -1 (*.f64 x x)))) (+.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (*.f64 x (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (*.f64 x x) 4)) (/.f64 -1 (+.f64 -1 (*.f64 x x)))) (+.f64 1 (*.f64 x (pow.f64 x 3))))))) (#(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 (hypot.f64 1 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1 (+.f64 -1 (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) (+.f64 -1 (*.f64 x x))))))) (#(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 log.f64 (+.f64 1 (expm1.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 cbrt.f64 (/.f64 (pow.f64 (+.f64 1 (*.f64 x (pow.f64 x 3))) 3) (pow.f64 (+.f64 1 (*.f64 x x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 x x))))))) |
| 1× | egg-herbie |
| 671× | fma-neg_binary64 |
| 463× | distribute-rgt-neg-in_binary64 |
| 454× | distribute-lft-neg-in_binary64 |
| 421× | fma-def_binary64 |
| 352× | associate-*l*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 308 |
| 1 | 28 | 254 |
| 2 | 57 | 254 |
| 3 | 134 | 254 |
| 4 | 397 | 254 |
| 5 | 1445 | 254 |
| 6 | 3070 | 254 |
| 7 | 4826 | 254 |
| 8 | 7729 | 254 |
| 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))) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (pow.f64 x 2)) |
(+.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) |
1 |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
(+.f64 1 (pow.f64 x 2)) |
(+.f64 1 (*.f64 x x)) |
(fma.f64 x x 1) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 1.2b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) | |
| 0.3b | (/.f64 -10 (fma.f64 x x -1)) | |
| 0.0b | (log.f64 (/.f64 -10 (fma.f64 x x -1))) | |
| ✓ | 0.0b | (log.f64 (/.f64 -10 (fma.f64 x x -1))) |
| 0.3b | (/.f64 -10 (fma.f64 x x -1)) | |
| ✓ | 1.2b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
Compiled 29 to 20 computations (31% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.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 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 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 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 log1p.f64 (expm1.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 +.f64 (log.f64 -10) (neg.f64 (log.f64 (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 (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 -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 log1p.f64 (-.f64 (/.f64 -10 (fma.f64 x x -1)) 1))))) (#(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 exp.f64 (log.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1))))))))) |
| 1× | egg-herbie |
| 413× | unswap-sqr_binary64 |
| 358× | distribute-neg-frac_binary64 |
| 338× | associate-*l*_binary64 |
| 326× | associate-/r*_binary64 |
| 317× | associate-+r+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 73 | 489 |
| 1 | 209 | 459 |
| 2 | 604 | 453 |
| 3 | 1901 | 453 |
| 4 | 5783 | 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)) |
(+.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))) |
(+.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))) |
(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 -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 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8))) (+.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 (/.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))) |
(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 -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 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8))) (+.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 (/.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 (+.f64 (*.f64 x x) (log.f64 10)) (*.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 (fma.f64 x x (log.f64 10)) (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 (*.f64 (log.f64 x) -2) (+.f64 (log.f64 -10) (/.f64 1/2 (pow.f64 x 4))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (+.f64 (log.f64 -10) (*.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 (/.f64 1/2 (pow.f64 x 4)) (/.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 1 (*.f64 x x)) (+.f64 (+.f64 (fma.f64 2 (neg.f64 (log.f64 x)) (log.f64 -10)) (/.f64 1/3 (pow.f64 x 6))) (/.f64 1/2 (pow.f64 x 4)))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (log.f64 -10) (+.f64 (*.f64 (log.f64 x) -2) (/.f64 1/3 (pow.f64 x 6)))))) |
(+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1/2 (pow.f64 x 4)) (+.f64 (+.f64 (log.f64 -10) (*.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 (/.f64 1 (*.f64 x x)) (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 (log.f64 -10) (fma.f64 2 (log.f64 (/.f64 -1 x)) (/.f64 1/2 (pow.f64 x 4))))) |
(+.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 (/.f64 1 (*.f64 x x)) (+.f64 (+.f64 (log.f64 -10) (/.f64 1/3 (pow.f64 x 6))) (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)) (+.f64 (/.f64 1/3 (pow.f64 x 6)) (fma.f64 2 (log.f64 (/.f64 -1 x)) (log.f64 -10))))) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.7b | (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3) | |
| 0.5b | (cbrt.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 3)) | |
| 0.3b | (/.f64 -10 (fma.f64 x x -1)) | |
| 0.3b | (/.f64 -10 (fma.f64 x x -1)) | |
| ✓ | 0.5b | (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 | @ | 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 | @ | inf | (cbrt.f64 (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 | 1939 | 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 log1p.f64 (expm1.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 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 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 log1p.f64 (expm1.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 exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 723× | associate-/r*_binary64 |
| 704× | fma-neg_binary64 |
| 542× | associate-*r*_binary64 |
| 405× | sub-neg_binary64 |
| 378× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 524 |
| 1 | 179 | 490 |
| 2 | 551 | 475 |
| 3 | 1976 | 469 |
| 4 | 7643 | 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)) |
(fma.f64 3000 (*.f64 x x) (fma.f64 6000 (pow.f64 x 4) 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 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 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 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.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 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 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 6)) (+.f64 (/.f64 (cbrt.f64 -1000) (*.f64 x x)) (/.f64 (cbrt.f64 -1000) (pow.f64 x 8))))) |
Compiled 7098 to 5198 computations (26.8% saved)
18 alts after pruning (12 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 457 | 11 | 468 |
| Fresh | 5 | 1 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 6 | 6 |
| Total | 463 | 18 | 481 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.4b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| 57.8b | 10 | |
| ▶ | 19.9b | (sqrt.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) |
| 7.6b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) | |
| ✓ | 0.3b | (/.f64 -10 (fma.f64 x x -1)) |
| ✓ | 7.6b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ✓ | 7.6b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ✓ | 21.2b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| ▶ | 0.4b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| ▶ | 60.6b | (/.f64 (/.f64 -10 x) x) |
| 0.6b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) | |
| ▶ | 19.9b | (sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) |
| 1.5b | (*.f64 (pow.f64 (pow.f64 (/.f64 -10 (fma.f64 x x -1)) 2) 1/3) (cbrt.f64 (/.f64 -10 (fma.f64 x x -1)))) | |
| ✓ | 60.6b | (/.f64 -10 (*.f64 x x)) |
| 1.4b | (*.f64 -10 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3)) | |
| 1.4b | (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) | |
| 0.6b | (cbrt.f64 (*.f64 -1000 (/.f64 1 (pow.f64 (fma.f64 x x -1) 3)))) | |
| ✓ | 0.3b | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
Compiled 296 to 228 computations (23% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f64 (fma.f64 x x -1) -10) | |
| 0.3b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) | |
| ✓ | 0.3b | (/.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) |
| 1.0ms | x | @ | inf | (/.f64 (fma.f64 x x -1) -10) |
| 1.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 | 1829 | 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 log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(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 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 log1p.f64 (expm1.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 exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 683× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 355× | distribute-neg-frac_binary64 |
| 255× | associate-/r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 331 |
| 1 | 118 | 297 |
| 2 | 350 | 293 |
| 3 | 1179 | 290 |
| 4 | 4797 | 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) |
(fma.f64 x (*.f64 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)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 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)) |
(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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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 -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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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)))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (/.f64 (/.f64 -10 x) x) | |
| ✓ | 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 log1p.f64 (expm1.f64 (/.f64 -10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 |
| 1138× | associate-/r*_binary64 |
| 1106× | sqr-pow_binary64 |
| 561× | cube-prod_binary64 |
| 553× | fabs-mul_binary64 |
| 536× | 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 | 209 | 84 |
| 6 | 754 | 84 |
| 7 | 1962 | 84 |
| 8 | 2128 | 84 |
| 9 | 2312 | 84 |
| 10 | 2520 | 84 |
| 11 | 2811 | 84 |
| 12 | 3202 | 84 |
| 13 | 3680 | 84 |
| 14 | 4241 | 84 |
| 15 | 4925 | 84 |
| 16 | 5758 | 84 |
| 17 | 6150 | 84 |
| 18 | 6438 | 84 |
| 19 | 6716 | 84 |
| 20 | 6794 | 84 |
| 21 | 6828 | 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 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
(/.f64 -10 (pow.f64 x 2)) |
(/.f64 -10 (*.f64 x x)) |
(/.f64 (/.f64 -10 x) x) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.4b | (*.f64 (fma.f64 x x -1) -1/10) | |
| 0.3b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) | |
| ✓ | 0.3b | (/.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 | @ | -inf | (*.f64 (fma.f64 x x -1) -1/10) |
| 0.0ms | x | @ | 0 | (/.f64 1 (*.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 log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x -1) -1/10)))))) (#(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 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 log1p.f64 (expm1.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 exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 683× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 355× | distribute-neg-frac_binary64 |
| 255× | associate-/r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 331 |
| 1 | 118 | 297 |
| 2 | 350 | 293 |
| 3 | 1179 | 290 |
| 4 | 4797 | 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) |
(fma.f64 x (*.f64 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)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 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)) |
(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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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 -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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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)))) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (pow.f64 (fma.f64 x x -1) 2) | |
| 0.2b | (/.f64 100 (pow.f64 (fma.f64 x x -1) 2)) | |
| 0.1b | (sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) | |
| ✓ | 0.1b | (sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) |
| ✓ | 0.2b | (/.f64 100 (pow.f64 (fma.f64 x x -1) 2)) |
| ✓ | 0.5b | (pow.f64 (fma.f64 x x -1) 2) |
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) 2) |
| 0.0ms | x | @ | inf | (sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) |
| 0.0ms | x | @ | inf | (/.f64 100 (pow.f64 (fma.f64 x x -1) 2)) |
| 0.0ms | x | @ | inf | (pow.f64 (fma.f64 x x -1) 2) |
| 0.0ms | x | @ | 0 | (/.f64 100 (pow.f64 (fma.f64 x x -1) 2)) |
| 1× | batch-egg-rewrite |
| 764× | pow1_binary64 |
| 718× | add-log-exp_binary64 |
| 718× | log1p-expm1-u_binary64 |
| 718× | expm1-log1p-u_binary64 |
| 703× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 32 |
| 1 | 188 | 27 |
| 2 | 2017 | 27 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (fma.f64 x x -1) 2) |
(/.f64 100 (pow.f64 (fma.f64 x x -1) 2)) |
(sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (fma.f64 x x -1)) (*.f64 -1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 x x -1) (*.f64 x x)) (*.f64 (fma.f64 x x -1) -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 (fma.f64 x x -1) (fma.f64 x x -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 1 (pow.f64 (fma.f64 x x -1) 2))))) (#(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 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) (*.f64 (cbrt.f64 (fma.f64 x x -1)) (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 (sqrt.f64 (fma.f64 x x -1)) (*.f64 (sqrt.f64 (fma.f64 x x -1)) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x x -1) (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (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 log1p.f64 (expm1.f64 (pow.f64 (fma.f64 x x -1) 2)))))) (#(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 exp.f64 (*.f64 2 (log.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 100 (pow.f64 (fma.f64 x x -1) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 10 (fma.f64 x x -1)) (/.f64 10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 100 (pow.f64 (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 10000 (pow.f64 (fma.f64 x x -1) 4))))))) (#(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))) (/.f64 10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 10000 (pow.f64 (fma.f64 x x -1) 4))) (pow.f64 (cbrt.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))) (/.f64 10 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -100 (/.f64 1 (neg.f64 (pow.f64 (fma.f64 x x -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x x -1) -2) 100)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 10 (fma.f64 x x -1)) (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 (/.f64 10 (fma.f64 x x -1)) (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 pow.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 10 (fma.f64 x x -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 10000 (pow.f64 (fma.f64 x x -1) 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (/.f64 10 (fma.f64 x x -1))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 2) 1/100) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 10000 (pow.f64 (fma.f64 x x -1) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 100) (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)))))))) |
((#(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 (/.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 (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 (/.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 (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 (sqrt.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (/.f64 10000 (pow.f64 (fma.f64 x x -1) 4)))) (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 10 (fma.f64 x x -1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 100 1/2) (pow.f64 (pow.f64 (fma.f64 x x -1) -2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (/.f64 10 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 10000 (pow.f64 (fma.f64 x x -1) 4))) 1/2) (pow.f64 (pow.f64 (cbrt.f64 (/.f64 10 (fma.f64 x x -1))) 2) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (sqrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) 2) 1/100)))))) (#(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 (sqrt.f64 -100) (sqrt.f64 (neg.f64 (pow.f64 (fma.f64 x x -1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -10 (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) 1/2)))) (#(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 fabs.f64 (/.f64 10 (fma.f64 x x -1)))))) (#(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 (/.f64 1000 (pow.f64 (fma.f64 x x -1) 3)))))) (#(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 expm1.f64 (log1p.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 |
| 796× | fma-def_binary64 |
| 723× | associate-/l*_binary64 |
| 583× | distribute-rgt-out_binary64 |
| 446× | unswap-sqr_binary64 |
| 423× | distribute-lft-out_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 66 | 551 |
| 1 | 186 | 545 |
| 2 | 462 | 524 |
| 3 | 1243 | 524 |
| 4 | 4449 | 521 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 -2 (pow.f64 x 2)) 1) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(pow.f64 x 4) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (pow.f64 x 4)) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(pow.f64 x 4) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (pow.f64 x 4)) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
100 |
(+.f64 100 (*.f64 200 (pow.f64 x 2))) |
(+.f64 100 (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2)))) |
(+.f64 100 (+.f64 (*.f64 400 (pow.f64 x 6)) (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2))))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
-10 |
(-.f64 (*.f64 -10 (pow.f64 x 2)) 10) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (*.f64 -10 (pow.f64 x 2))) 10) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (+.f64 (*.f64 -10 (pow.f64 x 6)) (*.f64 -10 (pow.f64 x 2)))) 10) |
(/.f64 10 (pow.f64 x 2)) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.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))))) |
(+.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)) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.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))))) |
(+.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 (*.f64 -2 (pow.f64 x 2)) 1) |
(fma.f64 -2 (*.f64 x x) 1) |
(fma.f64 x (*.f64 -2 x) 1) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (fma.f64 -2 (*.f64 x x) 1) (pow.f64 x 4)) |
(+.f64 (pow.f64 x 4) (fma.f64 -2 (*.f64 x x) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -2) 1) |
(fma.f64 x (*.f64 x (fma.f64 x x -2)) 1) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (fma.f64 -2 (*.f64 x x) 1) (pow.f64 x 4)) |
(+.f64 (pow.f64 x 4) (fma.f64 -2 (*.f64 x x) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -2) 1) |
(fma.f64 x (*.f64 x (fma.f64 x x -2)) 1) |
(pow.f64 x 4) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (pow.f64 x 4)) |
(fma.f64 -2 (*.f64 x x) (pow.f64 x 4)) |
(*.f64 x (*.f64 x (fma.f64 x x -2))) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (fma.f64 -2 (*.f64 x x) 1) (pow.f64 x 4)) |
(+.f64 (pow.f64 x 4) (fma.f64 -2 (*.f64 x x) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -2) 1) |
(fma.f64 x (*.f64 x (fma.f64 x x -2)) 1) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (fma.f64 -2 (*.f64 x x) 1) (pow.f64 x 4)) |
(+.f64 (pow.f64 x 4) (fma.f64 -2 (*.f64 x x) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -2) 1) |
(fma.f64 x (*.f64 x (fma.f64 x x -2)) 1) |
(pow.f64 x 4) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (pow.f64 x 4)) |
(fma.f64 -2 (*.f64 x x) (pow.f64 x 4)) |
(*.f64 x (*.f64 x (fma.f64 x x -2))) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (fma.f64 -2 (*.f64 x x) 1) (pow.f64 x 4)) |
(+.f64 (pow.f64 x 4) (fma.f64 -2 (*.f64 x x) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -2) 1) |
(fma.f64 x (*.f64 x (fma.f64 x x -2)) 1) |
(+.f64 (*.f64 -2 (pow.f64 x 2)) (+.f64 1 (pow.f64 x 4))) |
(+.f64 (fma.f64 -2 (*.f64 x x) 1) (pow.f64 x 4)) |
(+.f64 (pow.f64 x 4) (fma.f64 -2 (*.f64 x x) 1)) |
(fma.f64 (*.f64 x x) (fma.f64 x x -2) 1) |
(fma.f64 x (*.f64 x (fma.f64 x x -2)) 1) |
100 |
(+.f64 100 (*.f64 200 (pow.f64 x 2))) |
(+.f64 100 (*.f64 (*.f64 x x) 200)) |
(fma.f64 (*.f64 x x) 200 100) |
(fma.f64 x (*.f64 x 200) 100) |
(+.f64 100 (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2)))) |
(+.f64 100 (fma.f64 300 (pow.f64 x 4) (*.f64 (*.f64 x x) 200))) |
(+.f64 100 (fma.f64 (*.f64 x x) 200 (*.f64 (pow.f64 x 4) 300))) |
(fma.f64 x (*.f64 x 200) (fma.f64 (pow.f64 x 4) 300 100)) |
(+.f64 100 (+.f64 (*.f64 400 (pow.f64 x 6)) (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2))))) |
(+.f64 100 (fma.f64 400 (pow.f64 x 6) (fma.f64 300 (pow.f64 x 4) (*.f64 (*.f64 x x) 200)))) |
(+.f64 100 (fma.f64 400 (pow.f64 x 6) (fma.f64 (*.f64 x x) 200 (*.f64 (pow.f64 x 4) 300)))) |
(fma.f64 400 (pow.f64 x 6) (fma.f64 x (*.f64 x 200) (fma.f64 (pow.f64 x 4) 300 100))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 300) 200) (fma.f64 400 (pow.f64 x 6) 100)) |
(fma.f64 x (*.f64 x 200) (fma.f64 (pow.f64 x 4) 300 (fma.f64 400 (pow.f64 x 6) 100))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 200 (pow.f64 x 6))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 400 (pow.f64 x 10)) (/.f64 200 (pow.f64 x 6))) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 400 (pow.f64 x 10))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 300 (pow.f64 x 8)) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 400 (pow.f64 x 10))))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 200 (pow.f64 x 6))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 400 (pow.f64 x 10)) (/.f64 200 (pow.f64 x 6))) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 400 (pow.f64 x 10))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 300 (pow.f64 x 8)) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 400 (pow.f64 x 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)) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (*.f64 -10 (pow.f64 x 2))) 10) |
(+.f64 (*.f64 -10 (+.f64 (pow.f64 x 4) (*.f64 x x))) -10) |
(fma.f64 -10 (+.f64 (*.f64 x x) (pow.f64 x 4)) -10) |
(fma.f64 -10 (fma.f64 x x (pow.f64 x 4)) -10) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (+.f64 (*.f64 -10 (pow.f64 x 6)) (*.f64 -10 (pow.f64 x 2)))) 10) |
(+.f64 (fma.f64 -10 (pow.f64 x 4) (*.f64 -10 (+.f64 (pow.f64 x 6) (*.f64 x x)))) -10) |
(fma.f64 (pow.f64 x 4) -10 (fma.f64 -10 (+.f64 (*.f64 x x) (pow.f64 x 6)) -10)) |
(fma.f64 -10 (+.f64 (pow.f64 x 6) (fma.f64 x x (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 (pow.f64 x 4) -10 -10)) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.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))))) |
(+.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 6)) (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.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 (/.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 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 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.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))))) |
(+.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 6)) (+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.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 (/.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 10 (pow.f64 x 4)) (+.f64 (/.f64 10 (pow.f64 x 6)) (+.f64 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 8))))) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (pow.f64 (fma.f64 x x -1) -2) | |
| 0.2b | (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) | |
| 0.1b | (sqrt.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) | |
| ✓ | 0.1b | (sqrt.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) |
| ✓ | 0.2b | (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) |
| ✓ | 0.5b | (pow.f64 (fma.f64 x x -1) -2) |
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) -2) |
| 0.0ms | x | @ | inf | (pow.f64 (fma.f64 x x -1) -2) |
| 0.0ms | x | @ | -inf | (pow.f64 (fma.f64 x x -1) -2) |
| 0.0ms | x | @ | inf | (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) |
| 0.0ms | x | @ | -inf | (*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) |
| 1× | batch-egg-rewrite |
| 736× | pow1_binary64 |
| 688× | add-log-exp_binary64 |
| 688× | log1p-expm1-u_binary64 |
| 688× | expm1-log1p-u_binary64 |
| 673× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 32 |
| 1 | 183 | 30 |
| 2 | 1923 | 30 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (fma.f64 x x -1) -2) |
(*.f64 100 (pow.f64 (fma.f64 x x -1) -2)) |
(sqrt.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) |
| Outputs |
|---|
((#(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 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) -2)) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -4)) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(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 (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 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 log1p.f64 (expm1.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(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 exp.f64 (*.f64 -2 (log.f64 (fma.f64 x x -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -4) 10000) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -4) 10000))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 100) (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)) (cbrt.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)) (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)) (sqrt.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 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 (/.f64 1 (fma.f64 x x -1)) (pow.f64 100 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 10 (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -4) 10000))) (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 100 1/2) (/.f64 1 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 (/.f64 1 (fma.f64 x x -1)) 10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -4) 10000)) 1/2) (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 10) (/.f64 1 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 1 (fma.f64 x x -1)) 10))))))) |
| 1× | egg-herbie |
| 686× | distribute-rgt-out_binary64 |
| 545× | distribute-lft-out_binary64 |
| 505× | associate-/r*_binary64 |
| 458× | associate-*l*_binary64 |
| 446× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 79 | 642 |
| 1 | 228 | 634 |
| 2 | 573 | 623 |
| 3 | 1546 | 623 |
| 4 | 4817 | 620 |
| 1× | node limit |
| Inputs |
|---|
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)))))) |
100 |
(+.f64 100 (*.f64 200 (pow.f64 x 2))) |
(+.f64 100 (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2)))) |
(+.f64 100 (+.f64 (*.f64 400 (pow.f64 x 6)) (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2))))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
-10 |
(-.f64 (*.f64 -10 (pow.f64 x 2)) 10) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (*.f64 -10 (pow.f64 x 2))) 10) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (+.f64 (*.f64 -10 (pow.f64 x 6)) (*.f64 -10 (pow.f64 x 2)))) 10) |
(/.f64 10 (pow.f64 x 2)) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.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))))) |
(+.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)) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.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))))) |
(+.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 (*.f64 2 (pow.f64 x 2)) 1) |
(fma.f64 2 (*.f64 x x) 1) |
(fma.f64 x (*.f64 2 x) 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 3 (pow.f64 x 4))) |
(fma.f64 2 (*.f64 x x) (fma.f64 3 (pow.f64 x 4) 1)) |
(fma.f64 3 (pow.f64 x 4) (fma.f64 2 (*.f64 x x) 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 3 (pow.f64 x 4)))) |
(+.f64 (fma.f64 3 (pow.f64 x 4) (*.f64 4 (pow.f64 x 6))) (fma.f64 2 (*.f64 x x) 1)) |
(fma.f64 2 (*.f64 x x) (fma.f64 3 (pow.f64 x 4) (fma.f64 4 (pow.f64 x 6) 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 1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 2 (pow.f64 x 6)) (/.f64 3 (pow.f64 x 8))) (/.f64 4 (pow.f64 x 10)))) |
(+.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 1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 2 (pow.f64 x 6)) (/.f64 3 (pow.f64 x 8))) (/.f64 4 (pow.f64 x 10)))) |
(+.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))))) |
100 |
(+.f64 100 (*.f64 200 (pow.f64 x 2))) |
(+.f64 100 (*.f64 (*.f64 x x) 200)) |
(fma.f64 (*.f64 x x) 200 100) |
(fma.f64 x (*.f64 x 200) 100) |
(+.f64 100 (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2)))) |
(+.f64 100 (fma.f64 300 (pow.f64 x 4) (*.f64 (*.f64 x x) 200))) |
(+.f64 100 (fma.f64 (pow.f64 x 4) 300 (*.f64 (*.f64 200 x) x))) |
(fma.f64 x (*.f64 x 200) (fma.f64 (pow.f64 x 4) 300 100)) |
(fma.f64 (pow.f64 x 4) 300 (fma.f64 x (*.f64 x 200) 100)) |
(+.f64 100 (+.f64 (*.f64 400 (pow.f64 x 6)) (+.f64 (*.f64 300 (pow.f64 x 4)) (*.f64 200 (pow.f64 x 2))))) |
(+.f64 100 (fma.f64 400 (pow.f64 x 6) (fma.f64 300 (pow.f64 x 4) (*.f64 (*.f64 x x) 200)))) |
(+.f64 100 (fma.f64 (pow.f64 x 6) 400 (fma.f64 (pow.f64 x 4) 300 (*.f64 (*.f64 200 x) x)))) |
(fma.f64 (pow.f64 x 6) 400 (fma.f64 x (*.f64 x 200) (fma.f64 (pow.f64 x 4) 300 100))) |
(fma.f64 (pow.f64 x 6) 400 (fma.f64 (pow.f64 x 4) 300 (fma.f64 x (*.f64 x 200) 100))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 200 (pow.f64 x 6))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 100 (pow.f64 x 4)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
(+.f64 (+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 400 (pow.f64 x 10))) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 400 (pow.f64 x 10))) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 100 (pow.f64 x 4)))) |
(+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 400 (pow.f64 x 10))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 400 (pow.f64 x 10))))) |
(+.f64 (/.f64 300 (pow.f64 x 8)) (+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 400 (pow.f64 x 10))))) |
(/.f64 100 (pow.f64 x 4)) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (*.f64 200 (/.f64 1 (pow.f64 x 6)))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 200 (pow.f64 x 6))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 100 (pow.f64 x 4)))) |
(+.f64 (*.f64 100 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 400 (/.f64 1 (pow.f64 x 10))) (+.f64 (*.f64 200 (/.f64 1 (pow.f64 x 6))) (*.f64 300 (/.f64 1 (pow.f64 x 8)))))) |
(+.f64 (+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 400 (pow.f64 x 10))) (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 300 (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 200 (pow.f64 x 6)) (/.f64 400 (pow.f64 x 10))) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 100 (pow.f64 x 4)))) |
(+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 400 (pow.f64 x 10))))) |
(+.f64 (/.f64 100 (pow.f64 x 4)) (+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 300 (pow.f64 x 8)) (/.f64 400 (pow.f64 x 10))))) |
(+.f64 (/.f64 300 (pow.f64 x 8)) (+.f64 (/.f64 200 (pow.f64 x 6)) (+.f64 (/.f64 100 (pow.f64 x 4)) (/.f64 400 (pow.f64 x 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)) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (*.f64 -10 (pow.f64 x 2))) 10) |
(+.f64 (*.f64 -10 (+.f64 (pow.f64 x 4) (*.f64 x x))) -10) |
(fma.f64 -10 (+.f64 (*.f64 x x) (pow.f64 x 4)) -10) |
(fma.f64 -10 (fma.f64 x x (pow.f64 x 4)) -10) |
(-.f64 (+.f64 (*.f64 -10 (pow.f64 x 4)) (+.f64 (*.f64 -10 (pow.f64 x 6)) (*.f64 -10 (pow.f64 x 2)))) 10) |
(+.f64 (fma.f64 -10 (pow.f64 x 4) (*.f64 -10 (+.f64 (pow.f64 x 6) (*.f64 x x)))) -10) |
(fma.f64 (pow.f64 x 4) -10 (fma.f64 -10 (+.f64 (*.f64 x x) (pow.f64 x 6)) -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) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 (/.f64 10 x) x)) |
(+.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))))) |
(+.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 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 (/.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 (/.f64 (/.f64 10 x) x) (/.f64 10 (pow.f64 x 6))) (+.f64 (/.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 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 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(+.f64 (*.f64 10 (/.f64 1 (pow.f64 x 4))) (*.f64 10 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x))) |
(+.f64 (/.f64 10 (pow.f64 x 4)) (/.f64 (/.f64 10 x) x)) |
(+.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))))) |
(+.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 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 (/.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 (/.f64 (/.f64 10 x) x) (/.f64 10 (pow.f64 x 6))) (+.f64 (/.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 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))))) |
Compiled 4455 to 3499 computations (21.5% saved)
20 alts after pruning (11 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 359 | 7 | 366 |
| Fresh | 3 | 4 | 7 |
| Picked | 0 | 1 | 1 |
| Done | 2 | 8 | 10 |
| Total | 364 | 20 | 384 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.4b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| 57.8b | 10 | |
| 7.6b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) | |
| 20.3b | (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)) 3)) | |
| ✓ | 19.9b | (sqrt.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) |
| ✓ | 0.3b | (/.f64 -10 (fma.f64 x x -1)) |
| ✓ | 7.6b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ▶ | 8.1b | (/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
| ✓ | 7.6b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ✓ | 21.2b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| ✓ | 0.4b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| ▶ | 0.6b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
| 1.4b | (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) | |
| ✓ | 19.9b | (sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) |
| 57.8b | (/.f64 (/.f64 10 x) x) | |
| ▶ | 57.8b | (/.f64 10 (*.f64 x x)) |
| ▶ | 6.9b | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| ▶ | 1.4b | (*.f64 -10 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3)) |
| 60.6b | -10 | |
| ✓ | 0.3b | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
Compiled 268 to 206 computations (23.1% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.7b | (pow.f64 (fma.f64 x x -1) 3) | |
| 0.5b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) | |
| 0.3b | (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) | |
| ✓ | 0.3b | (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3)) |
| ✓ | 0.5b | (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 log1p.f64 (expm1.f64 (pow.f64 (fma.f64 x x -1) 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 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 log1p.f64 (expm1.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 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 log1p.f64 (expm1.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -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 exp.f64 (log.f64 (*.f64 -1000 (pow.f64 (fma.f64 x x -1) -3)))))))) |
| 1× | egg-herbie |
| 751× | fma-neg_binary64 |
| 719× | associate-/r*_binary64 |
| 429× | sub-neg_binary64 |
| 384× | cancel-sign-sub-inv_binary64 |
| 382× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 75 | 679 |
| 1 | 206 | 643 |
| 2 | 620 | 628 |
| 3 | 2171 | 622 |
| 4 | 7220 | 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) |
(-.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 (fma.f64 -3 (pow.f64 x 4) -1) (fma.f64 3 (*.f64 x x) (pow.f64 x 6))) |
(+.f64 -1 (fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (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 (fma.f64 -3 (pow.f64 x 4) -1) (fma.f64 3 (*.f64 x x) (pow.f64 x 6))) |
(+.f64 -1 (fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (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 (fma.f64 -3 (pow.f64 x 4) -1) (fma.f64 3 (*.f64 x x) (pow.f64 x 6))) |
(+.f64 -1 (fma.f64 -3 (pow.f64 x 4) (fma.f64 3 (*.f64 x x) (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) (*.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) (*.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 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) (*.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 (pow.f64 x 6) 10000 (fma.f64 x (*.f64 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))) |
(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 -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 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 (/.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 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (+.f64 (/.f64 -6000 (pow.f64 x 10)) (/.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 -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 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 (/.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 -3000 (pow.f64 x 8)) (/.f64 -1000 (pow.f64 x 6))) (+.f64 (/.f64 -6000 (pow.f64 x 10)) (/.f64 -10000 (pow.f64 x 12)))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (/.f64 10 (*.f64 x x)) | |
| ✓ | 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 | 1322 | 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 log1p.f64 (expm1.f64 (*.f64 10 (pow.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 |
| 1138× | associate-/r*_binary64 |
| 1108× | sqr-pow_binary64 |
| 561× | cube-prod_binary64 |
| 550× | fabs-mul_binary64 |
| 536× | 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 | 209 | 84 |
| 6 | 754 | 84 |
| 7 | 1962 | 84 |
| 8 | 2128 | 84 |
| 9 | 2311 | 84 |
| 10 | 2519 | 84 |
| 11 | 2810 | 84 |
| 12 | 3201 | 84 |
| 13 | 3681 | 84 |
| 14 | 4242 | 84 |
| 15 | 4926 | 84 |
| 16 | 5761 | 84 |
| 17 | 6151 | 84 |
| 18 | 6437 | 84 |
| 19 | 6715 | 84 |
| 20 | 6787 | 84 |
| 21 | 6823 | 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 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (pow.f64 x 2)) |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 8.2b | (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10) | |
| 0.5b | (*.f64 -1/10 (*.f64 x x)) | |
| 0.3b | (/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) | |
| ✓ | 0.3b | (/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
| ✓ | 0.5b | (*.f64 -1/10 (*.f64 x x)) |
| ✓ | 8.2b | (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10) |
Compiled 29 to 17 computations (41.4% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 -1/10 (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10) |
| 0.0ms | x | @ | inf | (/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
| 0.0ms | x | @ | 0 | (*.f64 -1/10 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 866× | pow1_binary64 |
| 811× | add-log-exp_binary64 |
| 810× | log1p-expm1-u_binary64 |
| 810× | expm1-log1p-u_binary64 |
| 796× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 193 | 26 |
| 2 | 2270 | 26 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10) |
(*.f64 -1/10 (*.f64 x x)) |
(/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/100 (pow.f64 x 4)) (fma.f64 -1/10 (*.f64 x x) -1/10)) (/.f64 1/100 (fma.f64 -1/10 (*.f64 x x) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) (pow.f64 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) 2) (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) (sqrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/1000 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3)) (/.f64 1 (+.f64 (*.f64 1/100 (pow.f64 x 4)) (-.f64 1/100 (*.f64 (*.f64 x x) -1/100)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/100 (pow.f64 x 4)) -1/100) (/.f64 1 (fma.f64 -1/10 (*.f64 x x) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 1/100 (pow.f64 x 4)) (-.f64 1/100 (*.f64 (*.f64 x x) -1/100))) (+.f64 1/1000 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/10 (*.f64 x x) -1/10) (+.f64 (*.f64 1/100 (pow.f64 x 4)) -1/100)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) 2) (/.f64 1 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/1000 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3)) (+.f64 (*.f64 1/100 (pow.f64 x 4)) (-.f64 1/100 (*.f64 (*.f64 x x) -1/100))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/1000 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3)) (+.f64 1/100 (-.f64 (*.f64 1/100 (pow.f64 x 4)) (*.f64 (*.f64 x x) -1/100))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/100 (pow.f64 x 4)) -1/100) (fma.f64 -1/10 (*.f64 x x) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/1000 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3))) (neg.f64 (+.f64 (*.f64 1/100 (pow.f64 x 4)) (-.f64 1/100 (*.f64 (*.f64 x x) -1/100)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 1/100 (pow.f64 x 4)) -1/100)) (neg.f64 (fma.f64 -1/10 (*.f64 x x) -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/100 (*.f64 1/100 (pow.f64 x 4))) (-.f64 1/10 (*.f64 -1/10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/10 (*.f64 x x) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/10 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/10 (*.f64 x x)) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/100 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/10 (*.f64 x x))) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/10)) (*.f64 x (sqrt.f64 -1/10)) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/10 x) x 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/10 (*.f64 x x) 1/10))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/10 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/10 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/10 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/10)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/100 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/10) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/10 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/10 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10))) (cbrt.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -2)) (/.f64 1 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -1/2) (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 -1/10 (*.f64 x x) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) -1) (pow.f64 (sqrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1/1000 (pow.f64 (*.f64 -1/10 (*.f64 x x)) 3))) (+.f64 (*.f64 1/100 (pow.f64 x 4)) (-.f64 1/100 (*.f64 (*.f64 x x) -1/100))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (*.f64 1/100 (pow.f64 x 4)) -1/100)) (fma.f64 -1/10 (*.f64 x x) -1/10))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 -1/10 (*.f64 x x) 1/10))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/10 (*.f64 x x) 1/10) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 -1/10 (*.f64 x x) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 -1/10 (*.f64 x x) 1/10)))))))) |
| 1× | egg-herbie |
| 683× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 355× | distribute-neg-frac_binary64 |
| 255× | associate-/r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 415 |
| 1 | 118 | 381 |
| 2 | 350 | 377 |
| 3 | 1179 | 374 |
| 4 | 4797 | 371 |
| 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))) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.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) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.f64 x x)) |
(*.f64 -1/10 (pow.f64 x 2)) |
(*.f64 -1/10 (*.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) |
(fma.f64 x (*.f64 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)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 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)) |
(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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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 -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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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)))) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 7.3b | (fma.f64 x (*.f64 -1/10 x) 1/10) | |
| 0.4b | (*.f64 -1/10 x) | |
| 0.3b | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) | |
| ✓ | 0.3b | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| ✓ | 0.4b | (*.f64 -1/10 x) |
| ✓ | 7.3b | (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) |
| 0.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/10 x) |
| 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 | 1731 | 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 x (*.f64 x -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -1/10)) 1/10)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 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 x (*.f64 x -1/10)) 3) 1/1000) (+.f64 (*.f64 (*.f64 x (*.f64 x -1/10)) (*.f64 x (*.f64 x -1/10))) (-.f64 1/100 (*.f64 (*.f64 x (*.f64 x -1/10)) 1/10))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x -1/10)) (*.f64 x (*.f64 x -1/10))) 1/100) (-.f64 (*.f64 x (*.f64 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 log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))) (#(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 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 log1p.f64 (expm1.f64 (*.f64 x -1/10)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 x (*.f64 x -1/10) 1/10))))))) (#(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 exp.f64 (neg.f64 (log.f64 (fma.f64 x (*.f64 x -1/10) 1/10)))))))) |
| 1× | egg-herbie |
| 683× | fma-def_binary64 |
| 437× | distribute-rgt-out_binary64 |
| 413× | unswap-sqr_binary64 |
| 355× | distribute-neg-frac_binary64 |
| 255× | associate-/r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 331 |
| 1 | 118 | 297 |
| 2 | 350 | 293 |
| 3 | 1179 | 290 |
| 4 | 4797 | 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) |
(fma.f64 x (*.f64 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)))) |
(+.f64 (fma.f64 10 (*.f64 x x) 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)) |
(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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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 -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 -10 (pow.f64 x 4)) (+.f64 (/.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 -10 (*.f64 x x)) (/.f64 -10 (pow.f64 x 6))) (+.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 -10 (pow.f64 x 8)))) |
(+.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)))) |
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.8b | (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3) | |
| 0.5b | (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) | |
| 0.3b | (*.f64 -10 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3)) | |
| 0.3b | (/.f64 1 (fma.f64 x x -1)) | |
| 0.3b | (/.f64 1 (fma.f64 x x -1)) | |
| ✓ | 0.3b | (*.f64 -10 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3)) |
| ✓ | 0.5b | (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) |
| ✓ | 0.8b | (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3) |
Compiled 43 to 32 computations (25.6% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3) |
| 3.0ms | x | @ | 0 | (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3) |
| 1.0ms | x | @ | -inf | (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3) |
| 1.0ms | x | @ | inf | (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) |
| 0.0ms | x | @ | 0 | (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) |
| 1× | batch-egg-rewrite |
| 803× | pow1_binary64 |
| 757× | add-log-exp_binary64 |
| 755× | log1p-expm1-u_binary64 |
| 755× | expm1-log1p-u_binary64 |
| 741× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 29 |
| 1 | 223 | 26 |
| 2 | 2150 | 26 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3) |
(cbrt.f64 (/.f64 1 (fma.f64 x x -1))) |
(*.f64 -10 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3)) |
| Outputs |
|---|
((#(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 (cbrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) (*.f64 (/.f64 1 (cbrt.f64 (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 (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 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)) (*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)) (cbrt.f64 (pow.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) 2)) -1) (/.f64 1 (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) (pow.f64 (sqrt.f64 (fma.f64 x x -1)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))) 3) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)) 3) (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) 1) (/.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) -2)) (cbrt.f64 (cbrt.f64 (pow.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 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2))) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (neg.f64 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 x x -1) -1/2) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) 1) (cbrt.f64 (fma.f64 x x -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 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 log1p.f64 (expm1.f64 (/.f64 1 (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 exp.f64 (neg.f64 (log.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)))) 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 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1)))) (cbrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.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 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)) (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (/.f64 1 (cbrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)) 1/3) (/.f64 1 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (fma.f64 x x -1) -1/2) 1/3) (pow.f64 (pow.f64 (fma.f64 x x -1) -1/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (cbrt.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (cbrt.f64 (neg.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -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/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 x x -1)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1))) 1)))) (#(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 (/.f64 1 (cbrt.f64 (cbrt.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 x x -1) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (cbrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (cbrt.f64 (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 (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 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 (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 log1p.f64 (expm1.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 exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))))))) |
| 1× | egg-herbie |
| 756× | associate-/l*_binary64 |
| 413× | distribute-rgt-in_binary64 |
| 385× | fma-neg_binary64 |
| 375× | fma-def_binary64 |
| 358× | distribute-lft-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 95 | 521 |
| 1 | 278 | 454 |
| 2 | 894 | 410 |
| 3 | 3290 | 353 |
| 1× | node limit |
| Inputs |
|---|
-1 |
(-.f64 (*.f64 -1 (pow.f64 x 2)) 1) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (*.f64 (-.f64 (*.f64 (cbrt.f64 -1) (-.f64 (*.f64 1/9 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))) (*.f64 4/9 (/.f64 1 (cbrt.f64 -1))))) 4/9) (pow.f64 x 4))) 1) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 (-.f64 (+.f64 (*.f64 (cbrt.f64 -1) (+.f64 (*.f64 2/3 (/.f64 (-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 6))) 5/9) (cbrt.f64 -1))) (*.f64 4/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))))) (+.f64 (*.f64 1/3 (-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 6))) 5/9)) (*.f64 -1/3 (/.f64 (-.f64 (*.f64 1/9 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))) (*.f64 4/9 (/.f64 1 (cbrt.f64 -1)))) (pow.f64 (cbrt.f64 -1) 2))))) 4/27) (pow.f64 x 6)) (*.f64 (-.f64 (*.f64 (cbrt.f64 -1) (-.f64 (*.f64 1/9 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))) (*.f64 4/9 (/.f64 1 (cbrt.f64 -1))))) 4/9) (pow.f64 x 4)))) 1) |
(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 -2/9 (/.f64 (pow.f64 x 4) (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 (*.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 1/3 (/.f64 (*.f64 (-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 6))) 5/9) (pow.f64 x 6)) (pow.f64 (cbrt.f64 -1) 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 (*.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 (-.f64 (*.f64 (cbrt.f64 -1) (-.f64 (*.f64 1/9 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))) (*.f64 4/9 (/.f64 1 (cbrt.f64 -1))))) 4/9) (pow.f64 x 4))) 1) |
(+.f64 (fma.f64 -1 (*.f64 x x) (*.f64 (fma.f64 (cbrt.f64 -1) (-.f64 (/.f64 1/9 (pow.f64 (cbrt.f64 -1) 4)) (/.f64 4/9 (cbrt.f64 -1))) -4/9) (pow.f64 x 4))) -1) |
(fma.f64 -1 (*.f64 x x) (fma.f64 (fma.f64 (cbrt.f64 -1) (+.f64 (/.f64 1/9 (*.f64 -1 (cbrt.f64 -1))) (/.f64 -4/9 (cbrt.f64 -1))) -4/9) (pow.f64 x 4) -1)) |
(fma.f64 (fma.f64 (cbrt.f64 -1) (+.f64 (/.f64 -1/9 (cbrt.f64 -1)) (/.f64 -4/9 (cbrt.f64 -1))) -4/9) (pow.f64 x 4) (-.f64 -1 (*.f64 x x))) |
(-.f64 (*.f64 -1 (pow.f64 x 4)) (fma.f64 x x 1)) |
(-.f64 (+.f64 (*.f64 -1 (pow.f64 x 2)) (+.f64 (*.f64 (-.f64 (+.f64 (*.f64 (cbrt.f64 -1) (+.f64 (*.f64 2/3 (/.f64 (-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 6))) 5/9) (cbrt.f64 -1))) (*.f64 4/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))))) (+.f64 (*.f64 1/3 (-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 6))) 5/9)) (*.f64 -1/3 (/.f64 (-.f64 (*.f64 1/9 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))) (*.f64 4/9 (/.f64 1 (cbrt.f64 -1)))) (pow.f64 (cbrt.f64 -1) 2))))) 4/27) (pow.f64 x 6)) (*.f64 (-.f64 (*.f64 (cbrt.f64 -1) (-.f64 (*.f64 1/9 (/.f64 1 (pow.f64 (cbrt.f64 -1) 4))) (*.f64 4/9 (/.f64 1 (cbrt.f64 -1))))) 4/9) (pow.f64 x 4)))) 1) |
(+.f64 (fma.f64 -1 (*.f64 x x) (fma.f64 (+.f64 (fma.f64 (cbrt.f64 -1) (fma.f64 2/3 (/.f64 (+.f64 (/.f64 1/27 (pow.f64 (cbrt.f64 -1) 6)) -5/9) (cbrt.f64 -1)) (/.f64 4/27 (pow.f64 (cbrt.f64 -1) 4))) (fma.f64 1/3 (+.f64 (/.f64 1/27 (pow.f64 (cbrt.f64 -1) 6)) -5/9) (*.f64 -1/3 (/.f64 (-.f64 (/.f64 1/9 (pow.f64 (cbrt.f64 -1) 4)) (/.f64 4/9 (cbrt.f64 -1))) (pow.f64 (cbrt.f64 -1) 2))))) -4/27) (pow.f64 x 6) (*.f64 (fma.f64 (cbrt.f64 -1) (-.f64 (/.f64 1/9 (pow.f64 (cbrt.f64 -1) 4)) (/.f64 4/9 (cbrt.f64 -1))) -4/9) (pow.f64 x 4)))) -1) |
(+.f64 -1 (-.f64 (fma.f64 (fma.f64 (cbrt.f64 -1) (+.f64 (/.f64 1/9 (*.f64 -1 (cbrt.f64 -1))) (/.f64 -4/9 (cbrt.f64 -1))) -4/9) (pow.f64 x 4) (*.f64 (fma.f64 (cbrt.f64 -1) (+.f64 (/.f64 -28/81 (cbrt.f64 -1)) (/.f64 4/27 (*.f64 -1 (cbrt.f64 -1)))) (+.f64 (*.f64 -1/3 (+.f64 (/.f64 (/.f64 1/9 (*.f64 -1 (cbrt.f64 -1))) (pow.f64 (cbrt.f64 -1) 2)) 4/9)) -26/81)) (pow.f64 x 6))) (*.f64 x x))) |
(-.f64 (fma.f64 (fma.f64 (cbrt.f64 -1) (+.f64 (/.f64 -1/9 (cbrt.f64 -1)) (/.f64 -4/9 (cbrt.f64 -1))) -4/9) (pow.f64 x 4) (fma.f64 (fma.f64 (cbrt.f64 -1) (+.f64 (/.f64 -28/81 (cbrt.f64 -1)) (/.f64 -4/27 (cbrt.f64 -1))) -41/81) (pow.f64 x 6) -1)) (*.f64 x x)) |
(-.f64 (fma.f64 -1 (pow.f64 x 4) (*.f64 -1 (pow.f64 x 6))) (fma.f64 x x 1)) |
(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 -1/3 (/.f64 (*.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 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2))))) |
(+.f64 (cbrt.f64 -1) (fma.f64 -1/3 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 -1) 2)) (*.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2))))) |
(+.f64 (cbrt.f64 -1) (fma.f64 -1/3 (/.f64 x (/.f64 (pow.f64 (cbrt.f64 -1) 2) x)) (*.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2))))) |
(fma.f64 -1/3 (*.f64 (/.f64 x (pow.f64 (cbrt.f64 -1) 2)) x) (fma.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 -1))) |
(fma.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2)) (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 (*.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 1/3 (/.f64 (*.f64 (-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 (cbrt.f64 -1) 6))) 5/9) (pow.f64 x 6)) (pow.f64 (cbrt.f64 -1) 2)))))) |
(+.f64 (cbrt.f64 -1) (fma.f64 -1/3 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 -1) 2)) (fma.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2)) (*.f64 1/3 (/.f64 (+.f64 (/.f64 1/27 (pow.f64 (cbrt.f64 -1) 6)) -5/9) (/.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 x 6))))))) |
(+.f64 (cbrt.f64 -1) (fma.f64 -1/3 (/.f64 x (/.f64 (pow.f64 (cbrt.f64 -1) 2) x)) (fma.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2)) (/.f64 (*.f64 -14/81 (pow.f64 x 6)) (pow.f64 (cbrt.f64 -1) 2))))) |
(+.f64 (fma.f64 -1/3 (*.f64 (/.f64 x (pow.f64 (cbrt.f64 -1) 2)) x) (cbrt.f64 -1)) (fma.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2)) (*.f64 (/.f64 -14/81 (pow.f64 (cbrt.f64 -1) 2)) (pow.f64 x 6)))) |
(+.f64 (*.f64 (/.f64 -14/81 (pow.f64 (cbrt.f64 -1) 2)) (pow.f64 x 6)) (fma.f64 -2/9 (/.f64 (pow.f64 x 4) (pow.f64 (cbrt.f64 -1) 2)) (fma.f64 -1/3 (*.f64 (/.f64 x (pow.f64 (cbrt.f64 -1) 2)) x) (cbrt.f64 -1)))) |
10 |
(+.f64 (*.f64 10 (pow.f64 x 2)) 10) |
(fma.f64 10 (*.f64 x x) 10) |
(fma.f64 (*.f64 x x) 10 10) |
(fma.f64 x (*.f64 x 10) 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 (pow.f64 x 4) 10)) |
(fma.f64 (*.f64 x x) 10 (fma.f64 (pow.f64 x 4) 10 10)) |
(*.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 (pow.f64 x 4) 10)))) |
(fma.f64 (*.f64 x x) 10 (fma.f64 (pow.f64 x 6) 10 (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)) |
(/.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 -10 (pow.f64 x 4)) (+.f64 (/.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 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 8)) (/.f64 -10 (pow.f64 x 6))) (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (/.f64 -10 (pow.f64 x 8)) (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.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 (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 -10 (pow.f64 x 4)) (+.f64 (/.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 (/.f64 10 (*.f64 x x)) (/.f64 10 (pow.f64 x 6))) (/.f64 10 (pow.f64 x 8)))) |
(+.f64 (+.f64 (/.f64 -10 (pow.f64 x 8)) (/.f64 -10 (pow.f64 x 6))) (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (*.f64 x x)))) |
(+.f64 (/.f64 -10 (*.f64 x x)) (+.f64 (/.f64 -10 (pow.f64 x 8)) (-.f64 (/.f64 -10 (pow.f64 x 4)) (/.f64 10 (pow.f64 x 6))))) |
Compiled 5952 to 4733 computations (20.5% saved)
22 alts after pruning (8 fresh and 14 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 432 | 4 | 436 |
| Fresh | 2 | 4 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 13 | 13 |
| Total | 434 | 22 | 456 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.4b | (/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
| 1.4b | (pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) | |
| 8.0b | (/.f64 1 (+.f64 (*.f64 x (*.f64 x -1/10)) 1/10)) | |
| 57.8b | (/.f64 (/.f64 10 x) x) | |
| 8.5b | (/.f64 1 (/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x -1/10)) (*.f64 x (*.f64 x -1/10))) 1/100) (-.f64 (*.f64 x (*.f64 x -1/10)) 1/10))) | |
| ✓ | 57.8b | (/.f64 10 (*.f64 x x)) |
| 7.6b | (*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) | |
| 20.3b | (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)) 3)) | |
| ✓ | 19.9b | (sqrt.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) |
| ✓ | 0.3b | (/.f64 -10 (fma.f64 x x -1)) |
| ✓ | 7.6b | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| ✓ | 8.1b | (/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
| ✓ | 7.6b | (/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
| ✓ | 21.2b | (exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
| ✓ | 0.4b | (/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
| 57.8b | 10 | |
| ✓ | 19.9b | (sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) |
| ✓ | 6.9b | (/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
| ✓ | 1.4b | (*.f64 -10 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3)) |
| 60.6b | -10 | |
| ✓ | 0.6b | (cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
| ✓ | 0.3b | (*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
Compiled 216 to 164 computations (24.1% saved)
| Inputs |
|---|
-10 |
10 |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 1 (+.f64 (*.f64 x (*.f64 x -1/10)) 1/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 1 (/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x -1/10)) (*.f64 x (*.f64 x -1/10))) 1/100) (-.f64 (*.f64 x (*.f64 x -1/10)) 1/10))) |
(/.f64 -10 (fma.f64 x x -1)) |
(*.f64 -10 (/.f64 1 (fma.f64 x x -1))) |
(/.f64 1 (fma.f64 x (*.f64 -1/10 x) 1/10)) |
(/.f64 1 (*.f64 (fma.f64 x x -1) -1/10)) |
(/.f64 1 (/.f64 (fma.f64 x x -1) -10)) |
(exp.f64 (log.f64 (/.f64 -10 (fma.f64 x x -1)))) |
(cbrt.f64 (/.f64 -1000 (pow.f64 (fma.f64 x x -1) 3))) |
(sqrt.f64 (/.f64 100 (pow.f64 (fma.f64 x x -1) 2))) |
(sqrt.f64 (*.f64 100 (pow.f64 (fma.f64 x x -1) -2))) |
(pow.f64 (cbrt.f64 (/.f64 -10 (fma.f64 x x -1))) 3) |
(*.f64 -10 (pow.f64 (cbrt.f64 (/.f64 1 (fma.f64 x x -1))) 3)) |
(sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1) -2) 100)) 3)) |
| Outputs |
|---|
(/.f64 -10 (fma.f64 x x -1)) |
7 calls:
| 46.0ms | (-.f64 1 (*.f64 x x)) |
| 44.0ms | (*.f64 x x) |
| 29.0ms | x |
| 26.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 18.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
| 0.3b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 0.3b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 0.3b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.3b | 1 | (-.f64 1 (*.f64 x x)) |
| 0.3b | 1 | (*.f64 x x) |
| 0.3b | 1 | (*.f64 x x) |
Compiled 233 to 165 computations (29.2% saved)
| Inputs |
|---|
-10 |
10 |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 1 (+.f64 (*.f64 x (*.f64 x -1/10)) 1/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 1 (/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x -1/10)) (*.f64 x (*.f64 x -1/10))) 1/100) (-.f64 (*.f64 x (*.f64 x -1/10)) 1/10))) |
| Outputs |
|---|
(/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x (neg.f64 x)) (*.f64 x (neg.f64 x)))) (-.f64 1 (*.f64 x (neg.f64 x))))) |
7 calls:
| 136.0ms | (*.f64 x x) |
| 37.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 10.0ms | (-.f64 1 (*.f64 x x)) |
| 7.0ms | (*.f64 x x) |
| 7.0ms | (-.f64 1 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 7.6b | 1 | x |
| 7.6b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 7.6b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 7.6b | 1 | (-.f64 1 (*.f64 x x)) |
| 7.6b | 1 | (-.f64 1 (*.f64 x x)) |
| 7.6b | 1 | (*.f64 x x) |
| 7.6b | 1 | (*.f64 x x) |
Compiled 128 to 84 computations (34.4% saved)
| Inputs |
|---|
-10 |
10 |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(/.f64 1 (+.f64 (*.f64 x (*.f64 x -1/10)) 1/10)) |
| Outputs |
|---|
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
5 calls:
| 20.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 7.0ms | (*.f64 x x) |
| 6.0ms | x |
| 6.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 6.0ms | (-.f64 1 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 7.6b | 1 | x |
| 7.6b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 7.6b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 7.6b | 1 | (-.f64 1 (*.f64 x x)) |
| 7.6b | 1 | (*.f64 x x) |
Compiled 75 to 51 computations (32% saved)
| Inputs |
|---|
-10 |
10 |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(/.f64 1 (+.f64 (*.f64 -1/10 (*.f64 x x)) 1/10)) |
| Outputs |
|---|
(/.f64 10 (-.f64 1 (*.f64 x x))) |
4 calls:
| 96.0ms | (*.f64 x x) |
| 9.0ms | x |
| 5.0ms | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 5.0ms | (-.f64 1 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 7.6b | 1 | x |
| 7.6b | 1 | (/.f64 10 (-.f64 1 (*.f64 x x))) |
| 7.6b | 1 | (-.f64 1 (*.f64 x x)) |
| 7.6b | 1 | (*.f64 x x) |
Compiled 49 to 32 computations (34.7% saved)
| Inputs |
|---|
-10 |
10 |
(/.f64 10 (*.f64 x x)) |
(/.f64 (/.f64 10 x) x) |
| Outputs |
|---|
(/.f64 10 (*.f64 x x)) |
-10 |
2 calls:
| 9.0ms | x |
| 8.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 55.4b | 2 | x |
| 55.4b | 2 | (*.f64 x x) |
Compiled 19 to 12 computations (36.8% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.999979798577645 | 1.000032725358654 |
Compiled 12 to 9 computations (25% saved)
Total -7.6b remaining (-13.8%)
Threshold costs -7.6b (-13.8%)
| Inputs |
|---|
-10 |
10 |
| Outputs |
|---|
10 |
-10 |
1 calls:
| 7.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 55.4b | 2 | x |
Compiled 5 to 4 computations (20% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.9999898992378098 | 1.0000163625454606 |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
| 17× | cancel-sign-sub-inv_binary64 |
| 10× | distribute-rgt-neg-in_binary64 |
| 8× | distribute-lft-neg-in_binary64 |
| 8× | sub-neg_binary64 |
| 7× | +-commutative_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 88 |
| 1 | 44 | 82 |
| 2 | 67 | 82 |
| 3 | 91 | 82 |
| 4 | 113 | 82 |
| 5 | 118 | 82 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 -10 (fma.f64 x x -1)) |
(/.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 1 (*.f64 x x))) 10) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(if (<=.f64 (*.f64 x x) 1) (/.f64 10 (*.f64 x x)) -10) |
(if (<=.f64 x 1) 10 -10) |
-10 |
| Outputs |
|---|
(/.f64 -10 (fma.f64 x x -1)) |
(/.f64 10 (/.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 (neg.f64 (*.f64 x x)) (neg.f64 (*.f64 x x)))) (-.f64 1 (neg.f64 (*.f64 x x))))) |
(/.f64 10 (/.f64 (-.f64 1 (*.f64 (*.f64 x x) (*.f64 x x))) (+.f64 1 (*.f64 x x)))) |
(*.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) 10) |
(*.f64 10 (/.f64 1 (-.f64 1 (*.f64 x x)))) |
(/.f64 10 (-.f64 1 (*.f64 x x))) |
(if (<=.f64 (*.f64 x x) 1) (/.f64 10 (*.f64 x x)) -10) |
(if (<=.f64 x 1) 10 -10) |
-10 |
| 1× | fuel |
Compiled 124 to 81 computations (34.7% saved)
Loading profile data...