Time bar (total: 1.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 50% | 25% | 25% | 4 |
| 62.5% | 12.5% | 25% | 5 |
| 68.7% | 6.2% | 25% | 6 |
| 71.8% | 3.1% | 25% | 7 |
| 73.4% | 1.6% | 25% | 8 |
| 74.2% | 0.8% | 25% | 9 |
| 74.6% | 0.4% | 25% | 10 |
| 74.8% | 0.2% | 25% | 11 |
| 74.9% | 0.1% | 25% | 12 |
| 74.9% | 0% | 25.1% | 13 |
| 74.9% | 0% | 25.1% | 14 |
Compiled 11 to 9 computations (18.2% saved)
| 668.0ms | 7431× | body | 128 | valid |
| 149.0ms | 499× | body | 1024 | valid |
| 50.0ms | 226× | body | 512 | valid |
| 15.0ms | 100× | body | 256 | valid |
| 0.0ms | 3× | body | 128 | invalid |
| 2× | egg-herbie |
| 927× | fma-def_binary64 |
| 405× | fma-neg_binary64 |
| 124× | cancel-sign-sub-inv_binary64 |
| 87× | distribute-rgt-in_binary64 |
| 63× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 18 | 13 |
| 2 | 43 | 10 |
| 3 | 101 | 8 |
| 4 | 229 | 8 |
| 5 | 361 | 8 |
| 6 | 545 | 8 |
| 7 | 816 | 8 |
| 8 | 1369 | 8 |
| 9 | 1522 | 8 |
| 10 | 1835 | 8 |
| 11 | 2255 | 8 |
| 12 | 2364 | 8 |
| 13 | 2368 | 8 |
| 14 | 2368 | 8 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) |
| Outputs |
|---|
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) |
(*.f64 3 (*.f64 (-.f64 2 (*.f64 3 x)) x)) |
(*.f64 3 (*.f64 x (+.f64 2 (*.f64 x -3)))) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
Compiled 10 to 8 computations (20% saved)
| 1× | egg-herbie |
| 927× | fma-def_binary64 |
| 405× | fma-neg_binary64 |
| 124× | cancel-sign-sub-inv_binary64 |
| 87× | distribute-rgt-in_binary64 |
| 63× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 18 | 13 |
| 2 | 43 | 10 |
| 3 | 101 | 8 |
| 4 | 229 | 8 |
| 5 | 361 | 8 |
| 6 | 545 | 8 |
| 7 | 816 | 8 |
| 8 | 1369 | 8 |
| 9 | 1522 | 8 |
| 10 | 1835 | 8 |
| 11 | 2255 | 8 |
| 12 | 2364 | 8 |
| 13 | 2368 | 8 |
| 14 | 2368 | 8 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) |
| Outputs |
|---|
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) |
(*.f64 3 (*.f64 (-.f64 2 (*.f64 3 x)) x)) |
(*.f64 3 (*.f64 x (+.f64 2 (*.f64 x -3)))) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
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.2b | (*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) | |
| ▶ | 0.2b | (*.f64 x (fma.f64 x -9 6)) |
Compiled 50 to 38 computations (24% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x -9 6) |
| ✓ | 0.1b | (*.f64 x (fma.f64 x -9 6)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 x (fma.f64 x -9 6)) |
| 1.0ms | x | @ | 0 | (*.f64 x (fma.f64 x -9 6)) |
| 1.0ms | x | @ | inf | (*.f64 x (fma.f64 x -9 6)) |
| 0.0ms | x | @ | -inf | (fma.f64 x -9 6) |
| 0.0ms | x | @ | 0 | (fma.f64 x -9 6) |
| 1× | batch-egg-rewrite |
| 541× | pow1_binary64 |
| 506× | add-log-exp_binary64 |
| 506× | log1p-expm1-u_binary64 |
| 506× | expm1-log1p-u_binary64 |
| 498× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 122 | 13 |
| 2 | 1338 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (fma.f64 x -9 6)) |
(fma.f64 x -9 6) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -9) x) (*.f64 6 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -9)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x -9 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x -9 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -9 6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x -9 6) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x -9 6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -9 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x -9 6)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 x -9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x -9) 6)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -9) 1) 6)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x -9 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x -9 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x -9 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x -9 6)) (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 2) (cbrt.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -9 6)) (sqrt.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x -9) 3) 216) (+.f64 (*.f64 (*.f64 x -9) (*.f64 x -9)) (-.f64 36 (*.f64 (*.f64 x -9) 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x -9) (*.f64 x -9)) 36) (-.f64 (*.f64 x -9) 6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x -9 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -9 6) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x -9 6) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x -9 6))))))) |
| 1× | egg-herbie |
| 542× | associate-*l*_binary64 |
| 434× | unswap-sqr_binary64 |
| 370× | sqr-pow_binary64 |
| 366× | fma-def_binary64 |
| 312× | *-commutative_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 171 |
| 1 | 23 | 171 |
| 2 | 36 | 144 |
| 3 | 62 | 144 |
| 4 | 154 | 144 |
| 5 | 471 | 144 |
| 6 | 1686 | 144 |
| 7 | 2944 | 144 |
| 8 | 3148 | 144 |
| 9 | 3361 | 144 |
| 10 | 3581 | 144 |
| 11 | 3887 | 144 |
| 12 | 4287 | 144 |
| 13 | 4795 | 144 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 6 x) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(*.f64 -9 (pow.f64 x 2)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(*.f64 -9 (pow.f64 x 2)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
6 |
(+.f64 (*.f64 -9 x) 6) |
(+.f64 (*.f64 -9 x) 6) |
(+.f64 (*.f64 -9 x) 6) |
(*.f64 -9 x) |
(+.f64 6 (*.f64 -9 x)) |
(+.f64 6 (*.f64 -9 x)) |
(+.f64 6 (*.f64 -9 x)) |
(*.f64 -9 x) |
(+.f64 6 (*.f64 -9 x)) |
(+.f64 6 (*.f64 -9 x)) |
(+.f64 6 (*.f64 -9 x)) |
| Outputs |
|---|
(*.f64 6 x) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 x (*.f64 x -9)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 x (*.f64 x -9)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (fma.f64 x -9 6)) |
6 |
(+.f64 (*.f64 -9 x) 6) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(+.f64 (*.f64 -9 x) 6) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(+.f64 (*.f64 -9 x) 6) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(*.f64 -9 x) |
(*.f64 x -9) |
(+.f64 6 (*.f64 -9 x)) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(+.f64 6 (*.f64 -9 x)) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(+.f64 6 (*.f64 -9 x)) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(*.f64 -9 x) |
(*.f64 x -9) |
(+.f64 6 (*.f64 -9 x)) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(+.f64 6 (*.f64 -9 x)) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
(+.f64 6 (*.f64 -9 x)) |
(fma.f64 -9 x 6) |
(fma.f64 x -9 6) |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 6 | 47 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 42 | 7 | 49 |
| Status | Error | Program |
|---|---|---|
| 1.4b | (*.f64 x (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 3)) | |
| ✓ | 0.2b | (*.f64 x (fma.f64 x -9 6)) |
| 43.2b | (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2) | |
| 1.4b | (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3) | |
| ▶ | 0.2b | (+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| 7.7b | (*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3))) | |
| 41.1b | (cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -9 6) 3))) |
Compiled 549 to 422 computations (23.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| ✓ | 0.2b | (*.f64 -9 (pow.f64 x 2)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| 1.0ms | x | @ | 0 | (*.f64 -9 (pow.f64 x 2)) |
| 1.0ms | x | @ | inf | (*.f64 -9 (pow.f64 x 2)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| 0.0ms | x | @ | -inf | (+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| 1× | batch-egg-rewrite |
| 851× | log1p-expm1-u_binary64 |
| 851× | expm1-log1p-u_binary64 |
| 95× | add-sqr-sqrt_binary64 |
| 91× | add-log-exp_binary64 |
| 90× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 197 | 18 |
| 2 | 2361 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -9 (pow.f64 x 2)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -9 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -9 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -9 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -729) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 81))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) -9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -729))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -9 (*.f64 x x))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (*.f64 x x) 36) (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 81) (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (cbrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 2)) (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729)) (/.f64 1 (-.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (/.f64 1 (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x))))) (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729)) (-.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729)) (+.f64 (*.f64 (pow.f64 x 4) 81) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729))) (neg.f64 (-.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))) (neg.f64 (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 81) (*.f64 (*.f64 x x) 36)) (-.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -9 (*.f64 x x) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -9 (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 6 x (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -9 (*.f64 x x)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 x x) 36)) (cbrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (cbrt.f64 (*.f64 -9 (*.f64 x x))) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -9)) (*.f64 x (sqrt.f64 -9)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 1)))))) |
| 1× | egg-herbie |
| 624× | sqr-pow_binary64 |
| 513× | associate-*l*_binary64 |
| 434× | unswap-sqr_binary64 |
| 285× | cube-prod_binary64 |
| 279× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 15 | 18 |
| 2 | 26 | 18 |
| 3 | 51 | 18 |
| 4 | 124 | 18 |
| 5 | 367 | 18 |
| 6 | 1383 | 18 |
| 7 | 2272 | 18 |
| 8 | 2436 | 18 |
| 9 | 2649 | 18 |
| 10 | 2869 | 18 |
| 11 | 3169 | 18 |
| 12 | 3569 | 18 |
| 13 | 4057 | 18 |
| 14 | 4618 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 6 x) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
| Outputs |
|---|
(*.f64 6 x) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 x (*.f64 x -9)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 x (*.f64 x -9)) |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 3 | 55 |
| Fresh | 1 | 4 | 5 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 54 | 8 | 62 |
| Status | Error | Program |
|---|---|---|
| 0.2b | (*.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1) | |
| 1.4b | (*.f64 x (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 3)) | |
| ✓ | 0.2b | (*.f64 x (fma.f64 x -9 6)) |
| 43.2b | (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2) | |
| 1.4b | (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3) | |
| 9.7b | (fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (cbrt.f64 (*.f64 -9 (*.f64 x x))) (*.f64 x 6)) | |
| ▶ | 0.2b | (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| 7.7b | (*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3))) |
Compiled 982 to 653 computations (33.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| ✓ | 0.2b | (*.f64 -9 (*.f64 x x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| 0.0ms | x | @ | -inf | (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (*.f64 -9 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| 0.0ms | x | @ | inf | (*.f64 -9 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 618× | pow1_binary64 |
| 577× | add-log-exp_binary64 |
| 577× | log1p-expm1-u_binary64 |
| 577× | expm1-log1p-u_binary64 |
| 70× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 18 |
| 1 | 144 | 18 |
| 2 | 1590 | 18 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -9 (*.f64 x x)) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -9 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -9 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -9 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 81 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -9) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -9 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 6) 1) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) (sqrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 6) 3) (pow.f64 (*.f64 -9 (*.f64 x x)) 3)) (+.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (-.f64 (*.f64 81 (pow.f64 x 4)) (*.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (*.f64 81 (pow.f64 x 4))) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))))))))) |
| 1× | egg-herbie |
| 540× | associate-*l*_binary64 |
| 434× | unswap-sqr_binary64 |
| 370× | sqr-pow_binary64 |
| 366× | fma-def_binary64 |
| 306× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 201 |
| 1 | 18 | 201 |
| 2 | 32 | 192 |
| 3 | 69 | 174 |
| 4 | 166 | 174 |
| 5 | 472 | 174 |
| 6 | 1680 | 174 |
| 7 | 2915 | 174 |
| 8 | 3119 | 174 |
| 9 | 3332 | 174 |
| 10 | 3552 | 174 |
| 11 | 3857 | 174 |
| 12 | 4259 | 174 |
| 13 | 4767 | 174 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 6 x) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(*.f64 -9 (pow.f64 x 2)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(*.f64 -9 (pow.f64 x 2)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| Outputs |
|---|
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 6 x) |
(*.f64 x 6) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
(*.f64 x (+.f64 (*.f64 -9 x) 6)) |
(*.f64 x (fma.f64 -9 x 6)) |
8 alts after pruning (6 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 1 | 40 |
| Fresh | 1 | 5 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 40 | 8 | 48 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| 1.4b | (*.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2)) | |
| ▶ | 0.2b | (*.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1) |
| 1.4b | (*.f64 x (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 3)) | |
| ✓ | 0.2b | (*.f64 x (fma.f64 x -9 6)) |
| 43.2b | (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2) | |
| 9.7b | (fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (cbrt.f64 (*.f64 -9 (*.f64 x x))) (*.f64 x 6)) | |
| 7.7b | (*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3))) |
Compiled 640 to 430 computations (32.8% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
| 0.0ms | x | @ | -inf | (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
| 0.0ms | x | @ | 0 | (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
| 1× | batch-egg-rewrite |
| 602× | pow1_binary64 |
| 562× | add-log-exp_binary64 |
| 562× | log1p-expm1-u_binary64 |
| 562× | expm1-log1p-u_binary64 |
| 69× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 142 | 11 |
| 2 | 1552 | 11 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 -9 (*.f64 x x) (*.f64 x 6)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -9 (*.f64 x x)) 1) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2) (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3) (pow.f64 (*.f64 x 6) 3)) (+.f64 (*.f64 (*.f64 -9 (*.f64 x x)) (*.f64 -9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 -9 (*.f64 x x)) (*.f64 -9 (*.f64 x x))) (*.f64 (*.f64 x x) 36)) (-.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))))))) |
| 1× | egg-herbie |
| 542× | associate-*l*_binary64 |
| 434× | unswap-sqr_binary64 |
| 370× | sqr-pow_binary64 |
| 366× | fma-def_binary64 |
| 314× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 117 |
| 1 | 18 | 117 |
| 2 | 32 | 108 |
| 3 | 69 | 90 |
| 4 | 166 | 90 |
| 5 | 478 | 90 |
| 6 | 1690 | 90 |
| 7 | 2943 | 90 |
| 8 | 3147 | 90 |
| 9 | 3360 | 90 |
| 10 | 3580 | 90 |
| 11 | 3887 | 90 |
| 12 | 4287 | 90 |
| 13 | 4797 | 90 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 6 x) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(*.f64 -9 (pow.f64 x 2)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(*.f64 -9 (pow.f64 x 2)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
| Outputs |
|---|
(*.f64 6 x) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 x (*.f64 x -9)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 -9 (*.f64 x x)) |
(*.f64 x (*.f64 x -9)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2))) |
(fma.f64 6 x (*.f64 -9 (*.f64 x x))) |
(fma.f64 -9 (*.f64 x x) (*.f64 6 x)) |
(*.f64 x (+.f64 6 (*.f64 x -9))) |
(*.f64 x (fma.f64 x -9 6)) |
8 alts after pruning (5 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 0 | 27 |
| Fresh | 0 | 5 | 5 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 27 | 8 | 35 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| 1.4b | (*.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2)) | |
| ✓ | 0.2b | (*.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1) |
| 1.4b | (*.f64 x (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 3)) | |
| ✓ | 0.2b | (*.f64 x (fma.f64 x -9 6)) |
| 43.2b | (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2) | |
| 9.7b | (fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (cbrt.f64 (*.f64 -9 (*.f64 x x))) (*.f64 x 6)) | |
| 7.7b | (*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3))) |
Compiled 487 to 333 computations (31.6% saved)
Total -42.4b remaining (-28681.1%)
Threshold costs -42.4b (-28681.1%)
Compiled 316 to 218 computations (31% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 8 | 11 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| Outputs |
|---|
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
| 1× | fuel |
Compiled 106 to 71 computations (33% saved)
Loading profile data...