Time bar (total: 935.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 57.1% | 50% | 37.5% | 0% | 12.5% | 0% | 0% | 4 |
| 76.9% | 62.5% | 18.7% | 0% | 18.7% | 0% | 0% | 5 |
| 88% | 68.7% | 9.4% | 0% | 21.9% | 0% | 0% | 6 |
| 93.9% | 71.8% | 4.7% | 0% | 23.4% | 0% | 0% | 7 |
| 96.9% | 73.4% | 2.3% | 0% | 24.2% | 0% | 0% | 8 |
| 98.4% | 74.2% | 1.2% | 0% | 24.6% | 0% | 0% | 9 |
| 99.2% | 74.6% | 0.6% | 0% | 24.8% | 0% | 0% | 10 |
| 99.6% | 74.8% | 0.3% | 0% | 24.9% | 0% | 0% | 11 |
| 99.8% | 74.9% | 0.1% | 0% | 24.9% | 0% | 0% | 12 |
Compiled 7 to 4 computations (42.9% saved)
| 548.0ms | 8256× | body | 256 | valid |
| 0.0ms | 8× | body | 256 | infinite |
| 2× | egg-herbie |
| 9× | fma-def_binary64 |
| 2× | +-commutative_binary64 |
| 2× | associate-*l*_binary64 |
| 2× | distribute-lft-in_binary64 |
| 2× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1 | 8 | 5 |
| 2 | 13 | 5 |
| 3 | 19 | 5 |
| 4 | 23 | 5 |
| 5 | 33 | 5 |
| 6 | 35 | 5 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
Compiled 7 to 4 computations (42.9% saved)
| 1× | egg-herbie |
| 9× | fma-def_binary64 |
| 2× | +-commutative_binary64 |
| 2× | associate-*l*_binary64 |
| 2× | distribute-lft-in_binary64 |
| 2× | distribute-rgt-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1 | 8 | 5 |
| 2 | 13 | 5 |
| 3 | 19 | 5 |
| 4 | 23 | 5 |
| 5 | 33 | 5 |
| 6 | 35 | 5 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
Compiled 10 to 4 computations (60% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0b | (fma.f64 x x x) |
| ▶ | 0.0b | (+.f64 x (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 x x)) |
Compiled 10 to 3 computations (70% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 x (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (+.f64 x (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (+.f64 x (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 502× | pow1_binary64 |
| 488× | add-sqr-sqrt_binary64 |
| 474× | add-log-exp_binary64 |
| 473× | log1p-expm1-u_binary64 |
| 473× | expm1-log1p-u_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1 | 92 | 5 |
| 2 | 1386 | 5 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 3) (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x)))))) |
| 1× | egg-herbie |
| 774× | fma-neg_binary64 |
| 563× | log-prod_binary64 |
| 497× | associate-*l*_binary64 |
| 437× | associate-*r*_binary64 |
| 418× | div-sub_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 89 | 374 |
| 1 | 211 | 359 |
| 2 | 683 | 359 |
| 3 | 4597 | 359 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(-.f64 (+.f64 1 (fma.f64 x x x)) 1) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x)))) |
(*.f64 x (+.f64 x 1)) |
(*.f64 (fma.f64 x x x) 1) |
(*.f64 1 (fma.f64 x x x)) |
(*.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x))) |
(*.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x))) |
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(*.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x)))) |
(*.f64 (+.f64 x 1) x) |
(*.f64 (*.f64 (+.f64 x 1) 1) x) |
(*.f64 (*.f64 (+.f64 x 1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(*.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x)) |
(/.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 3) (pow.f64 x 6)))) |
(/.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4)))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x)))) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x)) |
(pow.f64 (fma.f64 x x x) 1) |
(pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3) |
(pow.f64 (cbrt.f64 (fma.f64 x x x)) 3) |
(pow.f64 (hypot.f64 x (sqrt.f64 x)) 2) |
(sqrt.f64 (pow.f64 (fma.f64 x x x) 2)) |
(log.f64 (exp.f64 (fma.f64 x x x))) |
(cbrt.f64 (pow.f64 (fma.f64 x x x) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 x x x))) |
(log1p.f64 (expm1.f64 (fma.f64 x x x))) |
(exp.f64 (log.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(fma.f64 1 x (*.f64 x x)) |
(fma.f64 1 (*.f64 x x) x) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) x) |
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x x)) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x)) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(-.f64 (+.f64 1 (fma.f64 x x x)) 1) |
(fma.f64 x x x) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 x x))) (/.f64 (pow.f64 x 4) (-.f64 x (*.f64 x x)))) |
(fma.f64 x x x) |
(*.f64 x (+.f64 x 1)) |
(fma.f64 x x x) |
(*.f64 (fma.f64 x x x) 1) |
(fma.f64 x x x) |
(*.f64 1 (fma.f64 x x x)) |
(fma.f64 x x x) |
(*.f64 (cbrt.f64 (fma.f64 x x x)) (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2)) |
(fma.f64 x x x) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(*.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x))) |
(fma.f64 x x x) |
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (*.f64 (*.f64 x x) (-.f64 (fma.f64 x x 1) x))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x (-.f64 x (*.f64 x x)) (pow.f64 x 4))) |
(*.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (/.f64 1 (-.f64 x (*.f64 x x)))) |
(fma.f64 x x x) |
(*.f64 (+.f64 x 1) x) |
(fma.f64 x x x) |
(*.f64 (*.f64 (+.f64 x 1) 1) x) |
(fma.f64 x x x) |
(*.f64 (*.f64 (+.f64 x 1) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x)) |
(fma.f64 x x x) |
(*.f64 (*.f64 (+.f64 x 1) (sqrt.f64 x)) (sqrt.f64 x)) |
(fma.f64 x x x) |
(/.f64 1 (/.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))) (+.f64 (pow.f64 x 3) (pow.f64 x 6)))) |
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (*.f64 (*.f64 x x) (-.f64 (fma.f64 x x 1) x))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x (-.f64 x (*.f64 x x)) (pow.f64 x 4))) |
(/.f64 1 (/.f64 (-.f64 x (*.f64 x x)) (-.f64 (*.f64 x x) (pow.f64 x 4)))) |
(fma.f64 x x x) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (*.f64 (*.f64 x x) (-.f64 (fma.f64 x x 1) x))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x (-.f64 x (*.f64 x x)) (pow.f64 x 4))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (pow.f64 x 3)))) |
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (*.f64 (*.f64 x x) (-.f64 (fma.f64 x x 1) x))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x (-.f64 x (*.f64 x x)) (pow.f64 x 4))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 x 4)) (-.f64 x (*.f64 x x))) |
(fma.f64 x x x) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6))) (neg.f64 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (/.f64 1 (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3))))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x x (-.f64 (pow.f64 x 4) (pow.f64 x 3)))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (*.f64 (*.f64 x x) (-.f64 (fma.f64 x x 1) x))) |
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 x 6)) (fma.f64 x (-.f64 x (*.f64 x x)) (pow.f64 x 4))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 x 4))) (neg.f64 (-.f64 x (*.f64 x x)))) |
(fma.f64 x x x) |
(/.f64 (-.f64 (pow.f64 x 4) (*.f64 x x)) (-.f64 (*.f64 x x) x)) |
(fma.f64 x x x) |
(pow.f64 (fma.f64 x x x) 1) |
(fma.f64 x x x) |
(pow.f64 (pow.f64 (fma.f64 x x x) 3) 1/3) |
(fma.f64 x x x) |
(pow.f64 (cbrt.f64 (fma.f64 x x x)) 3) |
(fma.f64 x x x) |
(pow.f64 (hypot.f64 x (sqrt.f64 x)) 2) |
(fma.f64 x x x) |
(sqrt.f64 (pow.f64 (fma.f64 x x x) 2)) |
(fma.f64 x x x) |
(log.f64 (exp.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(cbrt.f64 (pow.f64 (fma.f64 x x x) 3)) |
(fma.f64 x x x) |
(expm1.f64 (log1p.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(log1p.f64 (expm1.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(exp.f64 (log.f64 (fma.f64 x x x))) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 1 x (*.f64 x x)) |
(fma.f64 x x x) |
(fma.f64 1 (*.f64 x x) x) |
(fma.f64 x x x) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) x) |
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) x) |
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 x x)) |
(fma.f64 x x x) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 x x)) |
(fma.f64 x x x) |
Compiled 6 to 2 computations (66.7% saved)
Compiled 447 to 210 computations (53% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 3 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 43 | 4 | 47 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 x x)) |
| ▶ | 0.0b | (*.f64 (+.f64 x 1) x) |
| ▶ | 38.7b | (*.f64 x x) |
| 23.6b | x |
Compiled 18 to 10 computations (44.4% saved)
Compiled 5 to 2 computations (60% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 x 1) x) |
Compiled 11 to 7 computations (36.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (+.f64 x 1) x) |
| 0.0ms | x | @ | -inf | (*.f64 (+.f64 x 1) x) |
| 0.0ms | x | @ | inf | (*.f64 (+.f64 x 1) x) |
| 1× | batch-egg-rewrite |
| 502× | pow1_binary64 |
| 487× | add-sqr-sqrt_binary64 |
| 468× | log1p-expm1-u_binary64 |
| 468× | expm1-log1p-u_binary64 |
| 467× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 103 | 7 |
| 2 | 1303 | 7 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 x 1) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log1p.f64 x) (log.f64 x))))))) |
| 1× | egg-herbie |
| 676× | fma-def_binary64 |
| 516× | times-frac_binary64 |
| 433× | distribute-rgt-out_binary64 |
| 369× | fma-neg_binary64 |
| 352× | associate-/l*_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 174 |
| 1 | 122 | 166 |
| 2 | 346 | 166 |
| 3 | 1978 | 166 |
| 4 | 4600 | 166 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(pow.f64 x 2) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(+.f64 (*.f64 x x) x) |
(-.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1) |
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1)) |
(/.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1)) |
(pow.f64 (+.f64 x (*.f64 x x)) 1) |
(pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3) |
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3) |
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2) |
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2)) |
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1))) |
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x)))) |
(exp.f64 (+.f64 (log1p.f64 x) (log.f64 x))) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(fma.f64 x x x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (*.f64 x x) x) |
(fma.f64 x x x) |
(-.f64 (+.f64 1 (+.f64 x (*.f64 x x))) 1) |
(fma.f64 x x x) |
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 1 x))) |
(/.f64 x (/.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 1 (pow.f64 x 3)))) |
(/.f64 (+.f64 x (pow.f64 x 4)) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (+.f64 x (pow.f64 x 4)) (-.f64 (fma.f64 x x 1) x)) |
(/.f64 (*.f64 (fma.f64 x x -1) x) (+.f64 x -1)) |
(fma.f64 x x x) |
(/.f64 (*.f64 x (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x))) |
(/.f64 x (/.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 1 (pow.f64 x 3)))) |
(/.f64 (+.f64 x (pow.f64 x 4)) (fma.f64 x x (-.f64 1 x))) |
(/.f64 (+.f64 x (pow.f64 x 4)) (-.f64 (fma.f64 x x 1) x)) |
(/.f64 (*.f64 x (fma.f64 x x -1)) (+.f64 x -1)) |
(fma.f64 x x x) |
(pow.f64 (+.f64 x (*.f64 x x)) 1) |
(fma.f64 x x x) |
(pow.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) 1/3) |
(fma.f64 x x x) |
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x x))) 3) |
(fma.f64 x x x) |
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x x))) 2) |
(fma.f64 x x x) |
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 2)) |
(fma.f64 x x x) |
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 1))) |
(fma.f64 x x x) |
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3)) |
(fma.f64 x x x) |
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x x)))) |
(fma.f64 x x x) |
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x x)))) |
(fma.f64 x x x) |
(exp.f64 (+.f64 (log1p.f64 x) (log.f64 x))) |
(*.f64 x (exp.f64 (log1p.f64 x))) |
Compiled 202 to 100 computations (50.5% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 26 | 0 | 26 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 26 | 4 | 30 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 x x)) |
| ✓ | 0.0b | (*.f64 (+.f64 x 1) x) |
| ✓ | 38.7b | (*.f64 x x) |
| 23.6b | x |
Compiled 18 to 10 computations (44.4% saved)
Compiled 1 to 1 computations (0% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 3 | 3 |
| Total | 0 | 4 | 4 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 x x)) |
| ✓ | 0.0b | (*.f64 (+.f64 x 1) x) |
| ✓ | 38.7b | (*.f64 x x) |
| 23.6b | x |
Compiled 18 to 10 computations (44.4% saved)
Compiled 1 to 1 computations (0% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 3 | 3 |
| Total | 0 | 4 | 4 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 x (*.f64 x x)) |
| ✓ | 0.0b | (*.f64 (+.f64 x 1) x) |
| ✓ | 38.7b | (*.f64 x x) |
| 23.6b | x |
Compiled 18 to 10 computations (44.4% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (+.f64 x 1) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
| Outputs |
|---|
(fma.f64 x x x) |
2 calls:
| 26.0ms | (+.f64 x (*.f64 x x)) |
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0b | 1 | x |
| 0b | 1 | (+.f64 x (*.f64 x x)) |
Compiled 27 to 11 computations (59.3% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (+.f64 x 1) x) |
(+.f64 x (*.f64 x x)) |
| Outputs |
|---|
(+.f64 x (*.f64 x x)) |
2 calls:
| 4.0ms | (+.f64 x (*.f64 x x)) |
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (+.f64 x (*.f64 x x)) |
Compiled 23 to 10 computations (56.5% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (+.f64 x 1) x) |
| Outputs |
|---|
(*.f64 (+.f64 x 1) x) |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
Compiled 12 to 6 computations (50% saved)
Total -59.1b remaining (-3744%)
Threshold costs -59.1b (-3744%)
| Inputs |
|---|
x |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 x x) |
x |
(*.f64 x x) |
1 calls:
| 9.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.6b | 3 | x |
Compiled 7 to 3 computations (57.1% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 24.0ms | 7.200483344911448e-6 | 6385.974964050891 |
| 13.0ms | -2100.184659194215 | -1.2644350467812824e-6 |
| 35.0ms | 288× | body | 256 | valid |
Compiled 154 to 96 computations (37.7% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 41 |
| 1 | 19 | 41 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x x x) |
(+.f64 x (*.f64 x x)) |
(*.f64 (+.f64 x 1) x) |
(if (<=.f64 x -1) (*.f64 x x) (if (<=.f64 x 1) x (*.f64 x x))) |
x |
| Outputs |
|---|
(fma.f64 x x x) |
(+.f64 x (*.f64 x x)) |
(*.f64 (+.f64 x 1) x) |
(*.f64 x (+.f64 x 1)) |
(if (<=.f64 x -1) (*.f64 x x) (if (<=.f64 x 1) x (*.f64 x x))) |
x |
Compiled 35 to 18 computations (48.6% saved)
| 1× | egg-herbie |
| 9× | fma-def_binary64 |
| 2× | +-commutative_binary64 |
| 2× | associate-*l*_binary64 |
| 2× | distribute-lft-in_binary64 |
| 2× | distribute-rgt-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1 | 8 | 5 |
| 2 | 13 | 5 |
| 3 | 19 | 5 |
| 4 | 23 | 5 |
| 5 | 33 | 5 |
| 6 | 35 | 5 |
| 1× | saturated |
Compiled 17 to 8 computations (52.9% saved)
Compiled 31 to 13 computations (58.1% saved)
Loading profile data...