Time bar (total: 1.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 62.5% | 37.5% | 0% | 4 |
| 81.2% | 18.7% | 0% | 5 |
| 90.6% | 9.4% | 0% | 6 |
| 95.3% | 4.7% | 0% | 7 |
| 97.6% | 2.3% | 0% | 8 |
| 98.8% | 1.2% | 0% | 9 |
| 99.4% | 0.6% | 0% | 10 |
| 99.7% | 0.3% | 0% | 11 |
| 99.8% | 0.1% | 0% | 12 |
Compiled 7 to 5 computations (28.6% saved)
| 615.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 11× | sub-neg_binary64 |
| 7× | +-commutative_binary64 |
| 6× | fma-def_binary64 |
| 4× | div-sub_binary64 |
| 3× | associate-+l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 9 | 7 |
| 2 | 13 | 7 |
| 3 | 19 | 7 |
| 4 | 27 | 7 |
| 5 | 37 | 7 |
| 6 | 50 | 7 |
| 7 | 68 | 7 |
| 8 | 81 | 7 |
| 9 | 84 | 7 |
| 10 | 85 | 7 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 x (-.f64 1 x)) |
| Outputs |
|---|
(/.f64 x (-.f64 1 x)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
| 11× | sub-neg_binary64 |
| 7× | +-commutative_binary64 |
| 6× | fma-def_binary64 |
| 4× | div-sub_binary64 |
| 3× | associate-+l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 9 | 7 |
| 2 | 13 | 7 |
| 3 | 19 | 7 |
| 4 | 27 | 7 |
| 5 | 37 | 7 |
| 6 | 50 | 7 |
| 7 | 68 | 7 |
| 8 | 81 | 7 |
| 9 | 84 | 7 |
| 10 | 85 | 7 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (-.f64 1 x)) |
| Outputs |
|---|
(/.f64 x (-.f64 1 x)) |
Compiled 6 to 4 computations (33.3% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (/.f64 x (-.f64 1 x)) |
Compiled 6 to 4 computations (33.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 x (-.f64 1 x)) |
Compiled 11 to 7 computations (36.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (/.f64 x (-.f64 1 x)) |
| 1.0ms | x | @ | 0 | (/.f64 x (-.f64 1 x)) |
| 1.0ms | x | @ | inf | (/.f64 x (-.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 607× | pow1_binary64 |
| 568× | add-log-exp_binary64 |
| 568× | log1p-expm1-u_binary64 |
| 568× | expm1-log1p-u_binary64 |
| 557× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 108 | 7 |
| 2 | 1473 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (-.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) 2) (cbrt.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (-.f64 1 x))) (sqrt.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 x (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (-.f64 1 x))) (/.f64 x (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (-.f64 1 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (*.f64 x x))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (-.f64 1 x)))))))) |
| 1× | egg-herbie |
| 698× | fma-neg_binary64 |
| 597× | associate-/l*_binary64 |
| 562× | associate-*l*_binary64 |
| 478× | cancel-sign-sub-inv_binary64 |
| 445× | associate-*r*_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 150 |
| 1 | 76 | 132 |
| 2 | 220 | 125 |
| 3 | 597 | 125 |
| 4 | 1842 | 125 |
| 5 | 5601 | 113 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)) |
(+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))) |
(+.f64 x (*.f64 x (fma.f64 x x x))) |
(fma.f64 x (fma.f64 x x x) x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x))) |
(+.f64 (*.f64 x x) (+.f64 (+.f64 x (pow.f64 x 3)) (pow.f64 x 4))) |
(+.f64 (+.f64 x (pow.f64 x 3)) (fma.f64 x x (pow.f64 x 4))) |
(*.f64 (fma.f64 x x 1) (fma.f64 x x x)) |
(*.f64 (fma.f64 x x x) (fma.f64 x x 1)) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(-.f64 -1 (/.f64 1 x)) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))) |
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 -1 (+.f64 (/.f64 -1 x) (/.f64 -1 (*.f64 x x)))) |
(+.f64 -1 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(neg.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 -1 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (-.f64 -1 (/.f64 1 x)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x))) (-.f64 -1 (/.f64 1 (pow.f64 x 3)))) |
(+.f64 -1 (-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(*.f64 (-.f64 1 (/.f64 -1 (*.f64 x x))) (+.f64 -1 (/.f64 -1 x))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(-.f64 -1 (/.f64 1 x)) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))) |
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 -1 (+.f64 (/.f64 -1 x) (/.f64 -1 (*.f64 x x)))) |
(+.f64 -1 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(neg.f64 (+.f64 (+.f64 1 (/.f64 1 (*.f64 x x))) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 -1 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (-.f64 -1 (/.f64 1 x)) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (-.f64 (/.f64 -1 x) (/.f64 1 (*.f64 x x))) (-.f64 -1 (/.f64 1 (pow.f64 x 3)))) |
(+.f64 -1 (-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(*.f64 (-.f64 1 (/.f64 -1 (*.f64 x x))) (+.f64 -1 (/.f64 -1 x))) |
Compiled 447 to 308 computations (31.1% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 4 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 42 | 5 | 47 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 x (-.f64 1 x)) |
| ▶ | 34.0b | (+.f64 -1 (/.f64 -1 x)) |
| ▶ | 0.1b | (*.f64 (/.f64 1 (-.f64 1 x)) x) |
| 33.6b | -1 | |
| 30.0b | x |
Compiled 24 to 18 computations (25% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 1 (-.f64 1 x)) |
| ✓ | 0.1b | (*.f64 (/.f64 1 (-.f64 1 x)) x) |
Compiled 18 to 13 computations (27.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (/.f64 1 (-.f64 1 x)) |
| 0.0ms | x | @ | 0 | (*.f64 (/.f64 1 (-.f64 1 x)) x) |
| 0.0ms | x | @ | -inf | (/.f64 1 (-.f64 1 x)) |
| 0.0ms | x | @ | -inf | (*.f64 (/.f64 1 (-.f64 1 x)) x) |
| 0.0ms | x | @ | 0 | (/.f64 1 (-.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 666× | pow1_binary64 |
| 621× | add-log-exp_binary64 |
| 621× | log1p-expm1-u_binary64 |
| 621× | expm1-log1p-u_binary64 |
| 609× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 14 |
| 1 | 130 | 14 |
| 2 | 1694 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 (-.f64 1 x)) x) |
(/.f64 1 (-.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (-.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 (-.f64 1 x) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 x) (/.f64 (-.f64 1 x) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (neg.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (sqrt.f64 (-.f64 1 x))) (sqrt.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x 1) (-.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x -1) (neg.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (/.f64 1 (-.f64 1 x)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (-.f64 1 x)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (-.f64 1 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (-.f64 1 x))) (cbrt.f64 (pow.f64 (-.f64 1 x) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 1 x) -2)) (/.f64 1 (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 x) -1/2) (pow.f64 (-.f64 1 x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2) -1) (pow.f64 (cbrt.f64 (-.f64 1 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (-.f64 1 x)) -1) (pow.f64 (sqrt.f64 (-.f64 1 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 (*.f64 x x))) (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 x) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 x) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log1p.f64 (neg.f64 x)))))))) |
| 1× | egg-herbie |
| 774× | fma-neg_binary64 |
| 535× | associate-*l*_binary64 |
| 445× | fma-def_binary64 |
| 443× | associate-*r*_binary64 |
| 425× | associate-/r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 333 |
| 1 | 112 | 299 |
| 2 | 345 | 290 |
| 3 | 1021 | 289 |
| 4 | 2833 | 289 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
1 |
(+.f64 1 x) |
(+.f64 1 (+.f64 (pow.f64 x 2) x)) |
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x)) |
(+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))) |
(+.f64 (fma.f64 x x x) (pow.f64 x 3)) |
(fma.f64 x (fma.f64 x x x) x) |
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x))) |
(+.f64 (*.f64 x x) (+.f64 (+.f64 x (pow.f64 x 3)) (pow.f64 x 4))) |
(+.f64 (+.f64 (fma.f64 x x x) (pow.f64 x 3)) (pow.f64 x 4)) |
(*.f64 (fma.f64 x x 1) (fma.f64 x x x)) |
(*.f64 (fma.f64 x x x) (fma.f64 x x 1)) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(-.f64 -1 (/.f64 1 x)) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))) |
(+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))) |
(+.f64 (+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 -1 (/.f64 (/.f64 -1 x) x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(-.f64 -1 (/.f64 1 x)) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x))) |
(+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))))) |
(+.f64 -1 (-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 -1 (+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3))))) |
(+.f64 (+.f64 (-.f64 -1 (/.f64 1 x)) (/.f64 -1 (*.f64 x x))) (/.f64 -1 (pow.f64 x 3))) |
(-.f64 (+.f64 -1 (/.f64 (/.f64 -1 x) x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 (pow.f64 x 2) x)) |
(+.f64 (+.f64 x (*.f64 x x)) 1) |
(+.f64 (fma.f64 x x x) 1) |
(+.f64 x (fma.f64 x x 1)) |
(+.f64 1 (+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))) |
(+.f64 (+.f64 (*.f64 x x) (+.f64 x (pow.f64 x 3))) 1) |
(+.f64 (+.f64 (fma.f64 x x x) (pow.f64 x 3)) 1) |
(+.f64 (fma.f64 x (fma.f64 x x x) x) 1) |
(*.f64 (+.f64 x 1) (fma.f64 x x 1)) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) |
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4)))) |
(/.f64 -1 x) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))) |
(neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) |
(+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x)))) |
(neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))) |
(-.f64 (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 x)) (/.f64 1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 -1 x) (/.f64 -1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 x))))) |
(neg.f64 (+.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (/.f64 -1 (pow.f64 x 4)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (+.f64 (-.f64 (/.f64 -1 (pow.f64 x 4)) (/.f64 1 (*.f64 x x))) (/.f64 -1 x)) (/.f64 -1 (pow.f64 x 3))) |
(+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4))))) |
(+.f64 (+.f64 (/.f64 (/.f64 -1 x) x) (/.f64 -1 x)) (-.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 4)))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 -1 (/.f64 -1 x)) |
Compiled 11 to 8 computations (27.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 -1 (/.f64 -1 x)) |
| 0.0ms | x | @ | inf | (+.f64 -1 (/.f64 -1 x)) |
| 0.0ms | x | @ | -inf | (+.f64 -1 (/.f64 -1 x)) |
| 1× | batch-egg-rewrite |
| 578× | pow1_binary64 |
| 537× | add-log-exp_binary64 |
| 537× | log1p-expm1-u_binary64 |
| 537× | expm1-log1p-u_binary64 |
| 527× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 111 | 7 |
| 2 | 1462 | 7 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 -1 (/.f64 -1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 -1 (/.f64 -1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 -1 (/.f64 -1 x))) (/.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (/.f64 -1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 -1 (/.f64 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 -1 (/.f64 -1 x))) (pow.f64 (cbrt.f64 (+.f64 -1 (/.f64 -1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (/.f64 -1 x))) 2) (cbrt.f64 (+.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (/.f64 -1 x))) (sqrt.f64 (+.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1 (/.f64 -1 (pow.f64 x 3))) (/.f64 1 (+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (/.f64 1 (*.f64 x x))) (/.f64 1 (-.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (/.f64 -1 x)) 1) (-.f64 (sqrt.f64 (/.f64 -1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x))) (+.f64 -1 (/.f64 -1 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 -1 (/.f64 -1 x)) (-.f64 1 (/.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (/.f64 -1 (pow.f64 x 3))) (+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1 (/.f64 -1 (pow.f64 x 3))) (+.f64 (/.f64 1 (*.f64 x x)) (-.f64 1 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (/.f64 1 (*.f64 x x))) (-.f64 -1 (/.f64 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1 (/.f64 -1 (pow.f64 x 3)))) (neg.f64 (+.f64 1 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 -1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (/.f64 1 (*.f64 x x)))) (neg.f64 (-.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (/.f64 1 (*.f64 x x)) 1) (-.f64 (/.f64 -1 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -1 (/.f64 -1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -1 (/.f64 -1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 -1 (/.f64 -1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 -1 (/.f64 -1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 -1 (/.f64 -1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 -1 (/.f64 -1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 -1 (/.f64 -1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (/.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 -1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 -1 x)) 2) (cbrt.f64 (/.f64 -1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 -1 x)) (sqrt.f64 (/.f64 -1 x)) -1))))) |
| 1× | egg-herbie |
| 7× | sub-neg_binary64 |
| 5× | +-commutative_binary64 |
| 5× | fma-def_binary64 |
| 3× | associate-+l-_binary64 |
| 3× | associate--r+_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 87 |
| 1 | 16 | 69 |
| 2 | 29 | 69 |
| 3 | 38 | 69 |
| 4 | 48 | 69 |
| 5 | 57 | 69 |
| 6 | 68 | 69 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 -1 x) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
| Outputs |
|---|
(/.f64 -1 x) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
-1 |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
(neg.f64 (+.f64 1 (/.f64 1 x))) |
(+.f64 -1 (neg.f64 (/.f64 1 x))) |
(+.f64 -1 (/.f64 -1 x)) |
Compiled 1115 to 839 computations (24.8% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 107 | 2 | 109 |
| Fresh | 1 | 1 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 108 | 6 | 114 |
| Status | Error | Program |
|---|---|---|
| 33.6b | -1 | |
| ✓ | 0.0b | (/.f64 x (-.f64 1 x)) |
| ✓ | 0.1b | (*.f64 (/.f64 1 (-.f64 1 x)) x) |
| ▶ | 30.3b | (*.f64 (+.f64 x 1) x) |
| ✓ | 34.0b | (+.f64 -1 (/.f64 -1 x)) |
| 30.0b | x |
Compiled 30 to 22 computations (26.7% 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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 (+.f64 x 1) x) |
| 0.0ms | x | @ | inf | (*.f64 (+.f64 x 1) x) |
| 0.0ms | x | @ | 0 | (*.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 |
| 1082× | sqr-pow_binary64 |
| 739× | fma-def_binary64 |
| 572× | cube-prod_binary64 |
| 564× | fabs-mul_binary64 |
| 523× | pow-sqr_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 72 |
| 1 | 11 | 54 |
| 2 | 22 | 54 |
| 3 | 39 | 54 |
| 4 | 89 | 54 |
| 5 | 273 | 54 |
| 6 | 952 | 54 |
| 7 | 2125 | 54 |
| 8 | 2540 | 54 |
| 9 | 2755 | 54 |
| 10 | 2993 | 54 |
| 11 | 3354 | 54 |
| 12 | 3788 | 54 |
| 13 | 4290 | 54 |
| 14 | 4876 | 54 |
| 15 | 5599 | 54 |
| 16 | 6448 | 54 |
| 17 | 6840 | 54 |
| 18 | 7132 | 54 |
| 19 | 7413 | 54 |
| 20 | 7489 | 54 |
| 21 | 7525 | 54 |
| 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) |
| Outputs |
|---|
x |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
(+.f64 (pow.f64 x 2) x) |
(+.f64 x (*.f64 x x)) |
(fma.f64 x x x) |
Compiled 159 to 75 computations (52.8% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 21 | 1 | 22 |
| Fresh | 1 | 1 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 22 | 6 | 28 |
| Status | Error | Program |
|---|---|---|
| 33.6b | -1 | |
| ✓ | 0.0b | (/.f64 x (-.f64 1 x)) |
| ✓ | 0.1b | (*.f64 (/.f64 1 (-.f64 1 x)) x) |
| ✓ | 30.3b | (*.f64 (+.f64 x 1) x) |
| 30.0b | x | |
| ✓ | 34.0b | (+.f64 -1 (/.f64 -1 x)) |
Compiled 30 to 22 computations (26.7% saved)
Compiled 1 to 1 computations (0% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 4 | 4 |
| Total | 0 | 6 | 6 |
| Status | Error | Program |
|---|---|---|
| 33.6b | -1 | |
| ✓ | 0.0b | (/.f64 x (-.f64 1 x)) |
| ✓ | 0.1b | (*.f64 (/.f64 1 (-.f64 1 x)) x) |
| ✓ | 30.3b | (*.f64 (+.f64 x 1) x) |
| 30.0b | x | |
| ✓ | 34.0b | (+.f64 -1 (/.f64 -1 x)) |
Compiled 30 to 22 computations (26.7% saved)
| Inputs |
|---|
x |
-1 |
-1 |
x |
(*.f64 (+.f64 x 1) x) |
(+.f64 -1 (/.f64 -1 x)) |
(/.f64 x (-.f64 1 x)) |
(*.f64 (/.f64 1 (-.f64 1 x)) x) |
| Outputs |
|---|
(/.f64 x (-.f64 1 x)) |
2 calls:
| 5.0ms | x |
| 3.0ms | (/.f64 x (-.f64 1 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (/.f64 x (-.f64 1 x)) |
Compiled 35 to 23 computations (34.3% saved)
| Inputs |
|---|
x |
-1 |
-1 |
x |
(*.f64 (+.f64 x 1) x) |
(+.f64 -1 (/.f64 -1 x)) |
| Outputs |
|---|
(+.f64 -1 (/.f64 -1 x)) |
(*.f64 (+.f64 x 1) x) |
(+.f64 -1 (/.f64 -1 x)) |
1 calls:
| 14.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.1b | 3 | x |
Compiled 17 to 11 computations (35.3% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 15.0ms | 0.0041619781694708065 | 4.538795993251062 |
| 14.0ms | -32.65887040153858 | -0.9852319482557348 |
Compiled 10 to 7 computations (30% saved)
| Inputs |
|---|
x |
-1 |
-1 |
x |
(*.f64 (+.f64 x 1) x) |
| Outputs |
|---|
-1 |
(*.f64 (+.f64 x 1) x) |
-1 |
1 calls:
| 13.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.4b | 3 | x |
Compiled 12 to 7 computations (41.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 0.0041619781694708065 | 4.538795993251062 |
| 14.0ms | -0.9852319482557348 | -0.0037156178346910746 |
Compiled 10 to 7 computations (30% saved)
Total -59.8b remaining (-3121.8%)
Threshold costs -59.8b (-3121.8%)
| Inputs |
|---|
x |
-1 |
-1 |
x |
| Outputs |
|---|
-1 |
x |
-1 |
1 calls:
| 11.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 1.9b | 3 | x |
Compiled 7 to 4 computations (42.9% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 0.0041619781694708065 | 4.538795993251062 |
| 14.0ms | -32.65887040153858 | -0.9852319482557348 |
Compiled 10 to 7 computations (30% saved)
| 1× | egg-herbie |
| 4× | +-commutative_binary64 |
| 2× | *-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 77 |
| 1 | 30 | 77 |
| 2 | 33 | 77 |
| 3 | 35 | 77 |
| 4 | 36 | 77 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (-.f64 1 x)) |
(if (<=.f64 x -2298163696417351/70368744177664) (+.f64 -1 (/.f64 -1 x)) (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) (+.f64 -1 (/.f64 -1 x)))) |
(if (<=.f64 x -4437090235038035/4503599627370496) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) -1)) |
(if (<=.f64 x -2298163696417351/70368744177664) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) x -1)) |
x |
| Outputs |
|---|
(/.f64 x (-.f64 1 x)) |
(if (<=.f64 x -2298163696417351/70368744177664) (+.f64 -1 (/.f64 -1 x)) (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) (+.f64 -1 (/.f64 -1 x)))) |
(if (<=.f64 x -2298163696417351/70368744177664) (+.f64 -1 (/.f64 -1 x)) (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 x (+.f64 x 1)) (+.f64 -1 (/.f64 -1 x)))) |
(if (<=.f64 x -4437090235038035/4503599627370496) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 (+.f64 x 1) x) -1)) |
(if (<=.f64 x -4437090235038035/4503599627370496) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) (*.f64 x (+.f64 x 1)) -1)) |
(if (<=.f64 x -2298163696417351/70368744177664) -1 (if (<=.f64 x 4798434133287133/1152921504606846976) x -1)) |
x |
Compiled 60 to 44 computations (26.7% saved)
Compiled 56 to 40 computations (28.6% saved)
Loading profile data...