Time bar (total: 1.4s)
| 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 |
| 62.5% | 6.2% | 31.3% | 6 |
| 65.6% | 3.1% | 31.3% | 7 |
| 65.6% | 1.6% | 32.8% | 8 |
| 66.4% | 0.8% | 32.8% | 9 |
| 66.4% | 0.4% | 33.2% | 10 |
| 66.6% | 0.2% | 33.2% | 11 |
| 66.6% | 0.1% | 33.3% | 12 |
| 66.6% | 0% | 33.4% | 13 |
| 66.6% | 0% | 33.4% | 14 |
Compiled 11 to 8 computations (27.3% saved)
| 677.0ms | 8256× | body | 128 | valid |
| 0.0ms | 3× | body | 128 | invalid |
Compiled 22 to 16 computations (27.3% saved)
| 2× | egg-herbie |
| 783× | fma-neg_binary64 |
| 701× | fma-def_binary64 |
| 349× | associate-*l*_binary64 |
| 313× | distribute-rgt-neg-in_binary64 |
| 258× | cancel-sign-sub-inv_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 17 | 13 |
| 2 | 45 | 11 |
| 3 | 118 | 11 |
| 4 | 232 | 11 |
| 5 | 311 | 11 |
| 6 | 465 | 11 |
| 7 | 796 | 11 |
| 8 | 1677 | 11 |
| 9 | 2538 | 11 |
| 10 | 3445 | 11 |
| 11 | 4626 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| Outputs |
|---|
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
Compiled 10 to 7 computations (30% saved)
| 1× | egg-herbie |
| 783× | fma-neg_binary64 |
| 701× | fma-def_binary64 |
| 349× | associate-*l*_binary64 |
| 313× | distribute-rgt-neg-in_binary64 |
| 258× | cancel-sign-sub-inv_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 17 | 13 |
| 2 | 45 | 11 |
| 3 | 118 | 11 |
| 4 | 232 | 11 |
| 5 | 311 | 11 |
| 6 | 465 | 11 |
| 7 | 796 | 11 |
| 8 | 1677 | 11 |
| 9 | 2538 | 11 |
| 10 | 3445 | 11 |
| 11 | 4626 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| Outputs |
|---|
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
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 x (*.f64 x (fma.f64 x -2 3))) |
| 0.2b | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
Compiled 56 to 38 computations (32.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 x (fma.f64 x -2 3)) |
| ✓ | 0.2b | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
| 1.0ms | x | @ | 0 | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
| 1.0ms | x | @ | inf | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
| 0.0ms | x | @ | -inf | (*.f64 x (fma.f64 x -2 3)) |
| 0.0ms | x | @ | 0 | (*.f64 x (fma.f64 x -2 3)) |
| 1× | batch-egg-rewrite |
| 647× | pow1_binary64 |
| 601× | add-log-exp_binary64 |
| 600× | log1p-expm1-u_binary64 |
| 600× | expm1-log1p-u_binary64 |
| 69× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1 | 143 | 19 |
| 2 | 1612 | 19 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 x (fma.f64 x -2 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -2) (*.f64 x x)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) (fma.f64 x -2 3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -2)) (*.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (fma.f64 x -2 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x -2 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -2 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -2 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x -2 3) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -2 3)))))))) |
| 1× | egg-herbie |
| 683× | fma-def_binary64 |
| 495× | distribute-rgt-neg-in_binary64 |
| 487× | fma-neg_binary64 |
| 428× | distribute-lft-neg-in_binary64 |
| 340× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 300 |
| 1 | 42 | 264 |
| 2 | 102 | 246 |
| 3 | 318 | 210 |
| 4 | 1031 | 210 |
| 5 | 2232 | 210 |
| 6 | 3763 | 210 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(*.f64 3 x) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(*.f64 -2 (pow.f64 x 2)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(*.f64 -2 (pow.f64 x 2)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
| Outputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2)))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 3 x) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) -2) |
(*.f64 x (*.f64 x -2)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 2)) |
(*.f64 (*.f64 x x) -2) |
(*.f64 x (*.f64 x -2)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
(-.f64 (*.f64 3 x) (*.f64 2 (pow.f64 x 2))) |
(+.f64 (*.f64 3 x) (*.f64 (*.f64 x x) -2)) |
(fma.f64 3 x (*.f64 x (*.f64 x -2))) |
(*.f64 x (-.f64 3 (*.f64 x 2))) |
(*.f64 x (fma.f64 x -2 3)) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 4 | 43 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 5 | 45 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
| ✓ | 0.2b | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
| 13.7b | (*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3))) | |
| 23.8b | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3)) | |
| 8.8b | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
Compiled 537 to 375 computations (30.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 2 (pow.f64 x 3)) |
| ✓ | 0.0b | (-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
| ✓ | 0.2b | (*.f64 3 (pow.f64 x 2)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
| 1.0ms | x | @ | -inf | (*.f64 2 (pow.f64 x 3)) |
| 1.0ms | x | @ | 0 | (*.f64 3 (pow.f64 x 2)) |
| 1.0ms | x | @ | inf | (*.f64 3 (pow.f64 x 2)) |
| 0.0ms | x | @ | 0 | (-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
| 1× | batch-egg-rewrite |
| 888× | log1p-expm1-u_binary64 |
| 888× | expm1-log1p-u_binary64 |
| 99× | add-sqr-sqrt_binary64 |
| 95× | add-log-exp_binary64 |
| 95× | pow1_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 214 | 28 |
| 2 | 2569 | 28 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(*.f64 2 (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 6) 27))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 3 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (*.f64 (*.f64 (pow.f64 x 3) -2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (+.f64 (*.f64 (pow.f64 x 3) -2) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 -2 (pow.f64 x 3) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 (*.f64 (pow.f64 x 3) -2) 1 (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 (neg.f64 (*.f64 x (cbrt.f64 2))) (cbrt.f64 (*.f64 (pow.f64 x 6) 4)) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (fma.f64 (neg.f64 (*.f64 (sqrt.f64 2) (pow.f64 x 3/2))) (*.f64 (sqrt.f64 2) (pow.f64 x 3/2)) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (*.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2) (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) 8)) (/.f64 1 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (/.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x (sqrt.f64 3)) (*.f64 (sqrt.f64 2) (pow.f64 x 3/2))) (-.f64 (*.f64 x (sqrt.f64 3)) (*.f64 (sqrt.f64 2) (pow.f64 x 3/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3))))) (-.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3))) (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) 8)) (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 27) (*.f64 (pow.f64 (pow.f64 x 3) 3) 8))) (neg.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 2 (pow.f64 x 3)) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4))) (neg.f64 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 6) 27) (pow.f64 (*.f64 (pow.f64 x 3) -2) 3)) (+.f64 (*.f64 (pow.f64 x 4) 9) (-.f64 (*.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 (pow.f64 x 3) -2)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3) (pow.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) 3)) (+.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2) (-.f64 (*.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))) (*.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 (pow.f64 x 3) -2))) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2) (*.f64 (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))) (-.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 3 (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2) (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 9)) (cbrt.f64 (*.f64 3 (*.f64 x x))) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 3)) (*.f64 x (sqrt.f64 3)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (pow.f64 x 3) 3) 8) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x 3) 3) 8))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 x 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 x 3)))))))) |
| 1× | egg-herbie |
| 674× | sqr-pow_binary64 |
| 536× | unswap-sqr_binary64 |
| 419× | associate-*l*_binary64 |
| 387× | *-commutative_binary64 |
| 279× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 23 | 21 |
| 2 | 52 | 21 |
| 3 | 114 | 21 |
| 4 | 311 | 21 |
| 5 | 1272 | 21 |
| 6 | 2442 | 21 |
| 7 | 2608 | 21 |
| 8 | 2858 | 21 |
| 9 | 3145 | 21 |
| 10 | 3524 | 21 |
| 11 | 4023 | 21 |
| 12 | 4628 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
| Outputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 78 | 1 | 79 |
| Fresh | 0 | 3 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 79 | 5 | 84 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
| 13.7b | (*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3))) | |
| ▶ | 0.1b | (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
| 23.8b | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3)) | |
| 8.8b | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
Compiled 1619 to 1214 computations (25% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (pow.f64 x 3) -2) |
| ✓ | 0.1b | (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
| 0.0ms | x | @ | 0 | (*.f64 (pow.f64 x 3) -2) |
| 0.0ms | x | @ | inf | (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
| 0.0ms | x | @ | -inf | (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
| 0.0ms | x | @ | inf | (*.f64 (pow.f64 x 3) -2) |
| 1× | batch-egg-rewrite |
| 674× | pow1_binary64 |
| 630× | add-log-exp_binary64 |
| 629× | log1p-expm1-u_binary64 |
| 629× | expm1-log1p-u_binary64 |
| 78× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 1 | 169 | 21 |
| 2 | 1799 | 21 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (pow.f64 x 3) -2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 3 (*.f64 x x)) 1) (*.f64 (pow.f64 x 3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2) (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 3 (*.f64 x x)) 3) (pow.f64 (*.f64 (pow.f64 x 3) -2) 3)) (+.f64 (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 3 (*.f64 x x))) (-.f64 (*.f64 4 (pow.f64 x 6)) (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 3 (*.f64 x x)) (*.f64 3 (*.f64 x x))) (*.f64 4 (pow.f64 x 6))) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 x 3) -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) -2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 3) -2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 -2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 x 3) -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 3) -2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 3) -2))))))) |
| 1× | egg-herbie |
| 850× | fma-def_binary64 |
| 501× | distribute-rgt-neg-in_binary64 |
| 431× | distribute-lft-neg-in_binary64 |
| 385× | fma-neg_binary64 |
| 336× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 249 |
| 1 | 31 | 231 |
| 2 | 83 | 222 |
| 3 | 283 | 204 |
| 4 | 876 | 204 |
| 5 | 1948 | 204 |
| 6 | 3341 | 204 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 -2 (pow.f64 x 3)) |
| Outputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (pow.f64 x 3) -2)) |
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
(*.f64 -2 (pow.f64 x 3)) |
(*.f64 (pow.f64 x 3) -2) |
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 0 | 40 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 40 | 5 | 45 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
| 13.7b | (*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3))) | |
| ✓ | 0.1b | (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
| 23.8b | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3)) | |
| ▶ | 8.8b | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
Compiled 638 to 440 computations (31% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (fma.f64 x -2 3)) |
| ✓ | 0.3b | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
| ✓ | 0.3b | (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | x | @ | 0 | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
| 1.0ms | x | @ | inf | (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) |
| 1.0ms | x | @ | 0 | (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) |
| 1.0ms | x | @ | inf | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
| 1.0ms | x | @ | -inf | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
| 1× | batch-egg-rewrite |
| 731× | pow1_binary64 |
| 679× | log1p-expm1-u_binary64 |
| 679× | expm1-log1p-u_binary64 |
| 88× | add-sqr-sqrt_binary64 |
| 83× | add-log-exp_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 30 |
| 1 | 188 | 28 |
| 2 | 1986 | 28 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (sqrt.f64 (fma.f64 x -2 3))) |
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
(sqrt.f64 (fma.f64 x -2 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -2 3) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x -2 3) 3/2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (sqrt.f64 (fma.f64 x -2 3)) (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x -2 3) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -2 3)) (*.f64 x (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 4)) (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (fma.f64 x -2 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))) (sqrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) x) (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (sqrt.f64 (fma.f64 x -2 3))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (fma.f64 x -2 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -2 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x -2 3)) (cbrt.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x -2 3))) (cbrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x -2 3) 1/4) (pow.f64 (fma.f64 x -2 3) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x -2 3)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x -2 3)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x -2 3)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x -2 3) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x -2 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -2 3) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x -2 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -2 3) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x -2 3) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x -2 3)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x -2 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x -2 3)))))))) |
| 1× | egg-herbie |
| 813× | associate-/l*_binary64 |
| 633× | cancel-sign-sub-inv_binary64 |
| 613× | fma-def_binary64 |
| 324× | fma-neg_binary64 |
| 227× | distribute-neg-frac_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 263 |
| 1 | 120 | 228 |
| 2 | 396 | 217 |
| 3 | 1712 | 192 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 3) x) |
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 (pow.f64 x 2) (sqrt.f64 3))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (/.f64 (pow.f64 x 2) (sqrt.f64 3)))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (/.f64 (pow.f64 x 2) (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)))))) |
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) |
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(sqrt.f64 3) |
(-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))) |
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3))))) |
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3))) (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5)))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 3) x) |
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 (pow.f64 x 2) (sqrt.f64 3))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 (*.f64 x x) (sqrt.f64 3))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (/.f64 x (/.f64 (sqrt.f64 3) x))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (*.f64 (/.f64 x (sqrt.f64 3)) x)) |
(*.f64 x (-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3)))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (/.f64 (pow.f64 x 2) (sqrt.f64 3)))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (fma.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3)) (/.f64 (*.f64 x x) (sqrt.f64 3)))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (/.f64 x (/.f64 (sqrt.f64 3) x)) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3))))) |
(-.f64 (fma.f64 (sqrt.f64 3) x (*.f64 -1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)))) (*.f64 (/.f64 x (sqrt.f64 3)) x)) |
(fma.f64 (sqrt.f64 3) x (*.f64 (*.f64 (/.f64 x (sqrt.f64 3)) x) (-.f64 -1 (/.f64 x 6)))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3))) (+.f64 (/.f64 (pow.f64 x 2) (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)))))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (+.f64 (fma.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 3)) (/.f64 (*.f64 x x) (sqrt.f64 3))) (*.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5))))) |
(-.f64 (-.f64 (*.f64 (sqrt.f64 3) x) (*.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)))) (fma.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (/.f64 x (/.f64 (sqrt.f64 3) x)))) |
(-.f64 (*.f64 (sqrt.f64 3) x) (fma.f64 1/2 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) (fma.f64 1/6 (/.f64 (pow.f64 x 3) (sqrt.f64 3)) (*.f64 (/.f64 x (sqrt.f64 3)) x)))) |
(fma.f64 (sqrt.f64 3) x (fma.f64 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 3) 5)) -1/2 (*.f64 (*.f64 (/.f64 x (sqrt.f64 3)) x) (-.f64 -1 (/.f64 x 6))))) |
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) |
(*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) |
(*.f64 x (*.f64 x 3)) |
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 (*.f64 x x) 3 (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 (*.f64 x x) 3 (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(-.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3))) |
(+.f64 (*.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 (*.f64 x x) 3 (*.f64 (pow.f64 x 3) -2)) |
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(sqrt.f64 3) |
(-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))) |
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3))))) |
(-.f64 (-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))) (*.f64 1/2 (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 3)))) |
(-.f64 (-.f64 (sqrt.f64 3) (/.f64 x (sqrt.f64 3))) (*.f64 1/6 (/.f64 x (/.f64 (sqrt.f64 3) x)))) |
(-.f64 (sqrt.f64 3) (fma.f64 1/6 (*.f64 (/.f64 x (sqrt.f64 3)) x) (/.f64 x (sqrt.f64 3)))) |
(+.f64 (sqrt.f64 3) (*.f64 (/.f64 x (sqrt.f64 3)) (-.f64 -1 (/.f64 x 6)))) |
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (pow.f64 (sqrt.f64 3) 3))) (*.f64 1/2 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5)))))) |
(-.f64 (sqrt.f64 3) (+.f64 (/.f64 x (sqrt.f64 3)) (*.f64 1/2 (+.f64 (/.f64 (*.f64 x x) (pow.f64 (sqrt.f64 3) 3)) (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5)))))) |
(-.f64 (sqrt.f64 3) (fma.f64 1/2 (+.f64 (*.f64 (/.f64 x (sqrt.f64 3)) (/.f64 x 3)) (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5))) (/.f64 x (sqrt.f64 3)))) |
(-.f64 (sqrt.f64 3) (fma.f64 1/2 (fma.f64 (/.f64 x (sqrt.f64 3)) (/.f64 x 3) (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5))) (/.f64 x (sqrt.f64 3)))) |
(+.f64 (sqrt.f64 3) (fma.f64 (/.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 3) 5)) -1/2 (*.f64 (/.f64 x (sqrt.f64 3)) (-.f64 -1 (/.f64 x 6))))) |
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 81 | 0 | 81 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 81 | 5 | 86 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
| 13.7b | (*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3))) | |
| ✓ | 0.1b | (fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2)) |
| 23.8b | (cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3)) | |
| ✓ | 8.8b | (pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2) |
Compiled 1190 to 932 computations (21.7% saved)
Total 0.1b remaining (87%)
Threshold costs 0.1b (87%)
Compiled 248 to 169 computations (31.9% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 1 | 12 | 16 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x))) |
| Outputs |
|---|
(+.f64 (*.f64 (pow.f64 x 3) -2) (*.f64 3 (*.f64 x x))) |
| 1× | fuel |
Compiled 78 to 58 computations (25.6% saved)
Loading profile data...