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 |
| 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)
| 718.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 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 0.2b | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
Compiled 56 to 38 computations (32.1% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 1.0ms | x | @ | inf | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 1.0ms | x | @ | -inf | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 1× | batch-egg-rewrite |
| 799× | log1p-expm1-u_binary64 |
| 799× | expm1-log1p-u_binary64 |
| 88× | add-sqr-sqrt_binary64 |
| 84× | *-un-lft-identity_binary64 |
| 84× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 176 | 13 |
| 2 | 2197 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x x)) (*.f64 (*.f64 x -2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 3) (*.f64 (*.f64 x x) (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 27 (pow.f64 (*.f64 x 2) 3)) (*.f64 x x)) (+.f64 9 (*.f64 (*.f64 x 2) (+.f64 3 (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x x) (-.f64 27 (pow.f64 (*.f64 x 2) 3))) (+.f64 9 (*.f64 (*.f64 x 2) (+.f64 3 (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (+.f64 3 (*.f64 x -2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (+.f64 3 (*.f64 x -2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (+.f64 3 (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (+.f64 3 (*.f64 x -2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 3 (*.f64 x -2)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))))))) |
| 1× | egg-herbie |
| 536× | unswap-sqr_binary64 |
| 490× | fma-def_binary64 |
| 444× | associate-*l*_binary64 |
| 378× | sqr-pow_binary64 |
| 358× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 147 |
| 1 | 26 | 147 |
| 2 | 58 | 138 |
| 3 | 153 | 120 |
| 4 | 395 | 120 |
| 5 | 1523 | 120 |
| 6 | 3272 | 120 |
| 7 | 3628 | 120 |
| 8 | 3879 | 120 |
| 9 | 4166 | 120 |
| 10 | 4545 | 120 |
| 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))) |
| 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))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 22 | 4 | 26 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 22 | 6 | 28 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 4.4b | (/.f64 (*.f64 (-.f64 27 (pow.f64 (*.f64 x 2) 3)) (*.f64 x x)) (+.f64 9 (*.f64 (*.f64 x 2) (+.f64 3 (*.f64 x 2))))) | |
| 3.0b | (/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2))) | |
| ▶ | 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))) | |
| 9.8b | (pow.f64 (*.f64 x (sqrt.f64 (+.f64 3 (*.f64 x -2)))) 2) |
Compiled 480 to 336 computations (30% 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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 3 (pow.f64 x 2)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
| 1.0ms | x | @ | 0 | (*.f64 3 (pow.f64 x 2)) |
| 0.0ms | x | @ | -inf | (*.f64 -2 (pow.f64 x 3)) |
| 0.0ms | x | @ | inf | (*.f64 -2 (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 891× | log1p-expm1-u_binary64 |
| 891× | expm1-log1p-u_binary64 |
| 103× | add-sqr-sqrt_binary64 |
| 98× | add-log-exp_binary64 |
| 98× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 28 |
| 1 | 222 | 28 |
| 2 | 2568 | 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 (exp.f64 (log1p.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 4) 9) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))) (/.f64 (*.f64 (pow.f64 x 6) 4) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (cbrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 2)) (cbrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(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 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.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 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.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 (+.f64 (*.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 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.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) (*.f64 (pow.f64 (pow.f64 x 3) 3) -8)) (+.f64 (*.f64 (pow.f64 x 6) 4) (-.f64 (*.f64 (pow.f64 x 4) 9) (*.f64 (*.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 (*.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 (*.f64 (pow.f64 x 4) 9) (*.f64 (pow.f64 x 6) 4)) (*.f64 (*.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 (+.f64 (*.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) 4) (*.f64 (pow.f64 x 4) 9)) (-.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 3 (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -2 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -2 (pow.f64 x 3)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 6) 4)) (*.f64 x (cbrt.f64 -2)) (*.f64 3 (*.f64 x x)))))) (#(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 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 3)) (*.f64 x (sqrt.f64 3)) (*.f64 -2 (pow.f64 x 3))))))) |
((#(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)) |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 66 | 2 | 68 |
| Fresh | 1 | 3 | 4 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 68 | 6 | 74 |
| Status | Error | Program |
|---|---|---|
| 3.0b | (/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2))) | |
| ▶ | 0.1b | (+.f64 (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) (*.f64 -2 (pow.f64 x 3))) |
| ✓ | 0.2b | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 4.4b | (/.f64 (*.f64 (-.f64 27 (pow.f64 (*.f64 x 2) 3)) (*.f64 x x)) (+.f64 9 (*.f64 (*.f64 x 2) (+.f64 3 (*.f64 x 2))))) | |
| 0.3b | (+.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 2) (*.f64 -2 (pow.f64 x 3))) | |
| 0.2b | (*.f64 x (*.f64 x (fma.f64 x -2 3))) |
Compiled 1274 to 953 computations (25.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 -2 (pow.f64 x 3)) | |
| ✓ | 0.0b | (+.f64 (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) (*.f64 -2 (pow.f64 x 3))) |
| ✓ | 0.2b | (*.f64 3 (*.f64 x x)) |
| ✓ | 1.3b | (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) |
| 0.0ms | x | @ | inf | (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) |
| 0.0ms | x | @ | 0 | (+.f64 (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) (*.f64 -2 (pow.f64 x 3))) |
| 0.0ms | x | @ | inf | (+.f64 (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) (*.f64 -2 (pow.f64 x 3))) |
| 0.0ms | x | @ | 0 | (*.f64 3 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 471× | log-prod_binary64 |
| 368× | fma-def_binary64 |
| 186× | fma-neg_binary64 |
| 174× | expm1-udef_binary64 |
| 174× | log1p-udef_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 30 |
| 1 | 221 | 28 |
| 2 | 2689 | 28 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) |
(*.f64 3 (*.f64 x x)) |
(+.f64 (expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x x)))) (*.f64 -2 (pow.f64 x 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (pow.f64 (exp.f64 x) x))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 3 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 3 (*.f64 x x))) (cbrt.f64 (*.f64 9 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 9 (pow.f64 x 4))) (cbrt.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 3)) (*.f64 x (sqrt.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 3 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 3 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 3 x) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 3 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 3 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 3 (*.f64 x x) 1) 3) 1) (fma.f64 (fma.f64 3 (*.f64 x x) 1) (fma.f64 3 (*.f64 x x) 1) (+.f64 1 (*.f64 (fma.f64 3 (*.f64 x x) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (fma.f64 3 (*.f64 x x) 1) (fma.f64 3 (*.f64 x x) 1) -1) (+.f64 (fma.f64 3 (*.f64 x x) 1) 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 27 (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (*.f64 x x)))))) (#(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 27 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 2 (log.f64 x) (log.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 x) (log.f64 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) 1)) (cbrt.f64 (fma.f64 3 (*.f64 x x) 1))) (cbrt.f64 (fma.f64 3 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 3))) (hypot.f64 1 (*.f64 x (sqrt.f64 3))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (pow.f64 (exp.f64 x) x) (pow.f64 (exp.f64 x) x))) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 3 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 3 (*.f64 x x) 1) 3) 1) (fma.f64 (fma.f64 3 (*.f64 x x) 1) (fma.f64 3 (*.f64 x x) 1) (+.f64 1 (*.f64 (fma.f64 3 (*.f64 x x) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (fma.f64 3 (*.f64 x x) 1) (fma.f64 3 (*.f64 x x) 1) -1) (+.f64 (fma.f64 3 (*.f64 x x) 1) 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 27 (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (*.f64 x x)))))) (#(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 27 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 2 (log.f64 x) (log.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 x) (log.f64 3)) 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 fma.f64 1 (fma.f64 3 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) 1)) (cbrt.f64 (fma.f64 3 (*.f64 x x) 1))) (cbrt.f64 (fma.f64 3 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 3))) (hypot.f64 1 (*.f64 x (sqrt.f64 3))) -1))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 3 (*.f64 x x) 1) (-.f64 1 (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 9 (pow.f64 x 4)) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))) (/.f64 (*.f64 4 (pow.f64 x 6)) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 -2 (pow.f64 x 3) (fma.f64 3 (*.f64 x x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))) 2) (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -8 (pow.f64 (pow.f64 x 3) 3) (*.f64 27 (pow.f64 x 6))) (/.f64 1 (-.f64 (fma.f64 9 (pow.f64 x 4) (*.f64 4 (pow.f64 x 6))) (*.f64 3 (*.f64 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 4 (pow.f64 x 6))) (/.f64 1 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 9 (pow.f64 x 4) (*.f64 4 (pow.f64 x 6))) (*.f64 3 (*.f64 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))))) (fma.f64 -8 (pow.f64 (pow.f64 x 3) 3) (*.f64 27 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3))) (-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 4 (pow.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -8 (pow.f64 (pow.f64 x 3) 3) (*.f64 27 (pow.f64 x 6))) (-.f64 (fma.f64 9 (pow.f64 x 4) (*.f64 4 (pow.f64 x 6))) (*.f64 3 (*.f64 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -8 (pow.f64 (pow.f64 x 3) 3) (*.f64 27 (pow.f64 x 6))) (fma.f64 4 (pow.f64 x 6) (-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 3 (*.f64 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 4 (pow.f64 x 6))) (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 -8 (pow.f64 (pow.f64 x 3) 3) (*.f64 27 (pow.f64 x 6)))) (neg.f64 (-.f64 (fma.f64 9 (pow.f64 x 4) (*.f64 4 (pow.f64 x 6))) (*.f64 3 (*.f64 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 4 (pow.f64 x 6)))) (neg.f64 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 4 (pow.f64 x 6)) (*.f64 9 (pow.f64 x 4))) (-.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 9 (pow.f64 x 4) (*.f64 4 (pow.f64 x 6))) (*.f64 3 (*.f64 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))))) (fma.f64 -8 (pow.f64 (pow.f64 x 3) 3) (*.f64 27 (pow.f64 x 6)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 3 (*.f64 x x) (*.f64 2 (pow.f64 x 3))) (-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 4 (pow.f64 x 6)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 x x)))) (pow.f64 (exp.f64 -2) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (+.f64 1 (expm1.f64 (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 x x)))) (+.f64 1 (expm1.f64 (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -2 (pow.f64 x 3)))) (pow.f64 (exp.f64 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -2) (pow.f64 x 3)) (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -2 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) -2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 3 (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x -2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 (*.f64 x x)) 1 (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -2 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -2 (pow.f64 x 3)) 1 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3 (*.f64 x x)) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -2 (pow.f64 x 3)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3 (*.f64 x x) 1) (neg.f64 (-.f64 1 (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 3 (*.f64 x x))) (cbrt.f64 (*.f64 9 (pow.f64 x 4))) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 9 (pow.f64 x 4))) (cbrt.f64 (*.f64 3 (*.f64 x x))) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 -2)) (pow.f64 (*.f64 x (cbrt.f64 -2)) 2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 -2)) 2) (*.f64 x (cbrt.f64 -2)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (*.f64 (pow.f64 (cbrt.f64 x) 2) 3) (*.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 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -2) (pow.f64 x 3/2)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) -2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 x) x (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (fma.f64 3 (*.f64 x x) 1)) (cbrt.f64 (fma.f64 3 (*.f64 x x) 1))) (cbrt.f64 (fma.f64 3 (*.f64 x x) 1)) (neg.f64 (-.f64 1 (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 3))) (hypot.f64 1 (*.f64 x (sqrt.f64 3))) (neg.f64 (-.f64 1 (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -2 x) (*.f64 x x) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -2 (*.f64 x x)) x (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -2 (pow.f64 x 3/2)) (pow.f64 x 3/2) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 3 x) 1) x (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 3 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 3 x) (sqrt.f64 x)) (sqrt.f64 x) (*.f64 -2 (pow.f64 x 3))))))) |
| 1× | egg-herbie |
| 536× | unswap-sqr_binary64 |
| 490× | fma-def_binary64 |
| 444× | associate-*l*_binary64 |
| 378× | sqr-pow_binary64 |
| 358× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 315 |
| 1 | 26 | 315 |
| 2 | 58 | 306 |
| 3 | 153 | 288 |
| 4 | 395 | 288 |
| 5 | 1523 | 288 |
| 6 | 3272 | 288 |
| 7 | 3628 | 288 |
| 8 | 3879 | 288 |
| 9 | 4166 | 288 |
| 10 | 4545 | 288 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (pow.f64 x 2)) |
(*.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))) |
| Outputs |
|---|
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(*.f64 3 (pow.f64 x 2)) |
(*.f64 3 (*.f64 x x)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 121 | 1 | 122 |
| Fresh | 1 | 3 | 4 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 123 | 5 | 128 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 4.4b | (/.f64 (*.f64 (-.f64 27 (pow.f64 (*.f64 x 2) 3)) (*.f64 x x)) (+.f64 9 (*.f64 (*.f64 x 2) (+.f64 3 (*.f64 x 2))))) | |
| 3.0b | (/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2))) | |
| 0.3b | (+.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 2) (*.f64 -2 (pow.f64 x 3))) | |
| ▶ | 0.1b | (fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3))) |
Compiled 2171 to 1560 computations (28.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 -2 (pow.f64 x 3)) | |
| ✓ | 0.1b | (fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3))) |
| 1.0ms | x | @ | 0 | (fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3))) |
| 0.0ms | x | @ | inf | (fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3))) |
| 1× | batch-egg-rewrite |
| 718× | pow1_binary64 |
| 670× | add-log-exp_binary64 |
| 669× | log1p-expm1-u_binary64 |
| 669× | expm1-log1p-u_binary64 |
| 79× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 170 | 14 |
| 2 | 1841 | 14 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 x (*.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 3)) 1) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))) (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))) 2) (cbrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))) (sqrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x 3)) 3) (pow.f64 (*.f64 -2 (pow.f64 x 3)) 3)) (+.f64 (*.f64 (*.f64 x (*.f64 x 3)) (*.f64 x (*.f64 x 3))) (-.f64 (*.f64 4 (pow.f64 x 6)) (*.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x 3)) (*.f64 x (*.f64 x 3))) (*.f64 4 (pow.f64 x 6))) (-.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (*.f64 x 3) (*.f64 -2 (pow.f64 x 3))))))))) |
| 1× | egg-herbie |
| 536× | unswap-sqr_binary64 |
| 490× | fma-def_binary64 |
| 444× | associate-*l*_binary64 |
| 378× | sqr-pow_binary64 |
| 358× | *-commutative_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 147 |
| 1 | 26 | 147 |
| 2 | 58 | 138 |
| 3 | 153 | 120 |
| 4 | 395 | 120 |
| 5 | 1523 | 120 |
| 6 | 3272 | 120 |
| 7 | 3628 | 120 |
| 8 | 3879 | 120 |
| 9 | 4166 | 120 |
| 10 | 4545 | 120 |
| 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))) |
| 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))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(*.f64 -2 (pow.f64 x 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))) |
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) |
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) |
(*.f64 x (*.f64 x (fma.f64 x -2 3))) |
(*.f64 (*.f64 x x) (fma.f64 x -2 3)) |
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 (*.f64 x x) (-.f64 3 (*.f64 x 2))) |
| 4.4b | (/.f64 (*.f64 (-.f64 27 (pow.f64 (*.f64 x 2) 3)) (*.f64 x x)) (+.f64 9 (*.f64 (*.f64 x 2) (+.f64 3 (*.f64 x 2))))) | |
| 3.0b | (/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2))) | |
| 0.3b | (+.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 2) (*.f64 -2 (pow.f64 x 3))) | |
| ✓ | 0.1b | (fma.f64 x (*.f64 3 x) (*.f64 -2 (pow.f64 x 3))) |
Compiled 635 to 479 computations (24.6% saved)
Total 0.1b remaining (91.1%)
Threshold costs 0.1b (91.1%)
Compiled 333 to 231 computations (30.6% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 1 | 9 | 14 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (*.f64 x x) 3 (*.f64 -2 (pow.f64 x 3))) |
| Outputs |
|---|
(fma.f64 (*.f64 x x) 3 (*.f64 -2 (pow.f64 x 3))) |
| 1× | fuel |
Compiled 98 to 73 computations (25.5% saved)
Loading profile data...