Time bar (total: 1.5s)
| 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)
| 617.0ms | 7419× | body | 128 | valid |
| 123.0ms | 474× | body | 1024 | valid |
| 52.0ms | 239× | body | 512 | valid |
| 16.0ms | 124× | body | 256 | valid |
| 0.0ms | 1× | body | 128 | invalid |
Compiled 22 to 18 computations (18.2% saved)
| 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.3b | (*.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 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 x (fma.f64 x -9 6)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 x (fma.f64 x -9 6)) |
| 1.0ms | x | @ | inf | (*.f64 x (fma.f64 x -9 6)) |
| 1.0ms | x | @ | 0 | (*.f64 x (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 | 8 |
| 1 | 122 | 8 |
| 2 | 1338 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (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 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 log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x -9 6)))))))) |
| 1× | egg-herbie |
| 626× | fma-neg_binary64 |
| 596× | fma-def_binary64 |
| 297× | distribute-rgt-neg-in_binary64 |
| 262× | cancel-sign-sub-inv_binary64 |
| 256× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 135 |
| 1 | 24 | 117 |
| 2 | 50 | 108 |
| 3 | 135 | 90 |
| 4 | 400 | 90 |
| 5 | 1349 | 90 |
| 6 | 2613 | 90 |
| 7 | 4183 | 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))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) -9) |
(*.f64 x (*.f64 x -9)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) -9) |
(*.f64 x (*.f64 x -9)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 6 | 20 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 15 | 7 | 22 |
| Status | Error | Program |
|---|---|---|
| 0.2b | (+.f64 (*.f64 (*.f64 x -9) x) (*.f64 6 x)) | |
| 0.3b | (*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) | |
| ▶ | 0.2b | (-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
| 44.8b | (cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -9 6) 3))) | |
| 44.8b | (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 3)) | |
| 42.7b | (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) |
Compiled 309 to 239 computations (22.7% 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 9 (pow.f64 x 2)) |
| 1.0ms | x | @ | inf | (*.f64 9 (pow.f64 x 2)) |
| 0.0ms | x | @ | inf | (-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
| 0.0ms | x | @ | 0 | (-.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 |
| 893× | log1p-expm1-u_binary64 |
| 893× | expm1-log1p-u_binary64 |
| 97× | add-sqr-sqrt_binary64 |
| 95× | add-log-exp_binary64 |
| 94× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 20 |
| 1 | 209 | 18 |
| 2 | 2494 | 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 3) 2)))) (#(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 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 (pow.f64 (*.f64 9 (*.f64 x x)) 3))))) (#(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 log1p.f64 (expm1.f64 (*.f64 9 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 (*.f64 (*.f64 x x) -9) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (+.f64 (*.f64 (*.f64 x x) -9) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 -9 (*.f64 x x) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (*.f64 (*.f64 x x) -9) 1 (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 9 (*.f64 x x)))) (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (neg.f64 (*.f64 x 3)) (*.f64 x 3) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (*.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (fma.f64 x 6 (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) -9) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2)) (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 3) 216) (pow.f64 (*.f64 9 (*.f64 x x)) 3)) (/.f64 1 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 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 (fma.f64 x 6 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (*.f64 x 6)) (*.f64 x 3)) (-.f64 (sqrt.f64 (*.f64 x 6)) (*.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 6 (*.f64 9 (*.f64 x x))))) (-.f64 (*.f64 (pow.f64 x 3) 216) (pow.f64 (*.f64 9 (*.f64 x x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.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) (pow.f64 (*.f64 9 (*.f64 x x)) 3)) (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 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)) (fma.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) (pow.f64 (*.f64 9 (*.f64 x x)) 3))) (neg.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 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 (fma.f64 x 6 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (pow.f64 (*.f64 (*.f64 x x) -9) 3)) (+.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 (*.f64 (*.f64 x x) -9) (*.f64 (*.f64 x x) -9)) (*.f64 (*.f64 x 6) (*.f64 (*.f64 x x) -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 3) (pow.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) 3)) (+.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2) (-.f64 (*.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))) (*.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 (*.f64 x x) -9) (*.f64 (*.f64 x x) -9))) (-.f64 (*.f64 x 6) (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2) (*.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))) (-.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 6 (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 6 x (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 6) (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.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 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2)) (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)))))))) |
| 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)) |
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 62 | 4 | 66 |
| Fresh | 3 | 3 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 66 | 7 | 73 |
| Status | Error | Program |
|---|---|---|
| 0.3b | (*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) | |
| 11.4b | (+.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 9 (*.f64 x x)))) (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (*.f64 9 (*.f64 x x)))) | |
| 11.4b | (-.f64 (*.f64 6 x) (sqrt.f64 (*.f64 (pow.f64 x 4) 81))) | |
| 0.3b | (-.f64 (*.f64 6 x) (pow.f64 (*.f64 x 3) 2)) | |
| 42.7b | (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.1b | (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
Compiled 1374 to 843 computations (38.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
| ✓ | 0.2b | (*.f64 (*.f64 x x) -9) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
| 0.0ms | x | @ | 0 | (*.f64 (*.f64 x x) -9) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) -9) |
| 0.0ms | x | @ | -inf | (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
| 0.0ms | x | @ | inf | (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
| 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: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 18 |
| 1 | 144 | 17 |
| 2 | 1591 | 17 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x x) -9) |
(fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x -9)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -9))) 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 (pow.f64 x 4) 81))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -9)))))))) |
((#(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 x 6) (*.f64 x (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 6) 1) (*.f64 x (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 6 (*.f64 x -9))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 6 (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 6 (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2) (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) (sqrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 6) 3) (pow.f64 (*.f64 x (*.f64 x -9)) 3)) (+.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (-.f64 (*.f64 (pow.f64 x 4) 81) (*.f64 (*.f64 x 6) (*.f64 x (*.f64 x -9))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (*.f64 (pow.f64 x 4) 81)) (-.f64 (*.f64 x 6) (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 6 (*.f64 x -9))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 6 (*.f64 x -9))))))))) |
| 1× | egg-herbie |
| 626× | fma-neg_binary64 |
| 596× | fma-def_binary64 |
| 293× | distribute-rgt-neg-in_binary64 |
| 262× | cancel-sign-sub-inv_binary64 |
| 251× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 219 |
| 1 | 24 | 201 |
| 2 | 50 | 192 |
| 3 | 134 | 174 |
| 4 | 402 | 174 |
| 5 | 1345 | 174 |
| 6 | 2596 | 174 |
| 7 | 4165 | 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))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.f64 x (fma.f64 -9 x 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.f64 x (fma.f64 -9 x 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.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))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.f64 x (fma.f64 -9 x 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.f64 x (fma.f64 -9 x 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.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))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.f64 x (fma.f64 -9 x 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.f64 x (fma.f64 -9 x 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) |
(fma.f64 x 6 (*.f64 -9 (*.f64 x x))) |
(*.f64 x (+.f64 6 (*.f64 -9 x))) |
(*.f64 x (fma.f64 -9 x 6)) |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 2 | 41 |
| Fresh | 2 | 4 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 41 | 7 | 48 |
| Status | Error | Program |
|---|---|---|
| 0.3b | (*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) | |
| 11.4b | (+.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 9 (*.f64 x x)))) (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (*.f64 9 (*.f64 x x)))) | |
| 0.3b | (-.f64 (*.f64 6 x) (pow.f64 (*.f64 x 3) 2)) | |
| 1.4b | (*.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2)) | |
| ▶ | 0.2b | (*.f64 x (fma.f64 -9 x 6)) |
| 42.7b | (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2) | |
| ✓ | 0.1b | (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
Compiled 632 to 474 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 x (fma.f64 -9 x 6)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 x (fma.f64 -9 x 6)) |
| 0.0ms | x | @ | 0 | (*.f64 x (fma.f64 -9 x 6)) |
| 0.0ms | x | @ | inf | (*.f64 x (fma.f64 -9 x 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 | 8 |
| 1 | 122 | 8 |
| 2 | 1339 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (fma.f64 -9 x 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 -9 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 -9 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 -9 x 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -9 x 6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 -9 x 6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 -9 x 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 -9 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 -9 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 -9 x 6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 -9 x 6) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 -9 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 -9 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 -9 x 6)))))))) |
| 1× | egg-herbie |
| 626× | fma-neg_binary64 |
| 596× | fma-def_binary64 |
| 297× | distribute-rgt-neg-in_binary64 |
| 262× | cancel-sign-sub-inv_binary64 |
| 256× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 135 |
| 1 | 24 | 117 |
| 2 | 50 | 108 |
| 3 | 135 | 90 |
| 4 | 400 | 90 |
| 5 | 1349 | 90 |
| 6 | 2613 | 90 |
| 7 | 4183 | 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))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) -9) |
(*.f64 x (*.f64 x -9)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(*.f64 -9 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) -9) |
(*.f64 x (*.f64 x -9)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2))) |
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9)) |
(fma.f64 6 x (*.f64 x (*.f64 x -9))) |
(*.f64 x (+.f64 (*.f64 x -9) 6)) |
(*.f64 x (fma.f64 x -9 6)) |
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 0 | 20 |
| Fresh | 0 | 5 | 5 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 20 | 7 | 27 |
| Status | Error | Program |
|---|---|---|
| 0.3b | (*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x) | |
| 11.4b | (+.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 9 (*.f64 x x)))) (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (*.f64 9 (*.f64 x x)))) | |
| 0.3b | (-.f64 (*.f64 6 x) (pow.f64 (*.f64 x 3) 2)) | |
| 1.4b | (*.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2)) | |
| ✓ | 0.2b | (*.f64 x (fma.f64 -9 x 6)) |
| 42.7b | (pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2) | |
| ✓ | 0.1b | (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
Compiled 260 to 195 computations (25% saved)
Total 0.1b remaining (65%)
Threshold costs 0.1b (65%)
Compiled 376 to 257 computations (31.6% 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 (*.f64 x x) -9)) |
| Outputs |
|---|
(fma.f64 x 6 (*.f64 (*.f64 x x) -9)) |
| 1× | fuel |
Compiled 113 to 82 computations (27.4% saved)
Loading profile data...