Time bar (total: 1.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 25% | 74.9% | 0.1% | 4 |
| 37.5% | 62.4% | 0.1% | 5 |
| 62.4% | 37.5% | 0.1% | 6 |
| 71.8% | 28.1% | 0.1% | 7 |
| 76.5% | 21.9% | 1.7% | 8 |
| 80.4% | 16.4% | 3.2% | 9 |
| 82.3% | 11.7% | 6% | 10 |
| 84.1% | 8.8% | 7.1% | 11 |
| 85% | 6% | 9% | 12 |
| 85.8% | 4.5% | 9.7% | 13 |
| 86.2% | 3.1% | 10.7% | 14 |
Compiled 8 to 5 computations (37.5% saved)
| 652.0ms | 8256× | body | 128 | valid |
| 21.0ms | 176× | body | 128 | invalid |
Compiled 16 to 10 computations (37.5% saved)
| 2× | egg-herbie |
| 372× | fma-def_binary64 |
| 348× | fma-neg_binary64 |
| 255× | times-frac_binary64 |
| 209× | div-sub_binary64 |
| 132× | associate-/l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 17 | 14 |
| 2 | 32 | 14 |
| 3 | 53 | 14 |
| 4 | 104 | 14 |
| 5 | 191 | 14 |
| 6 | 339 | 14 |
| 7 | 855 | 14 |
| 8 | 2232 | 14 |
| 9 | 2776 | 14 |
| 10 | 2867 | 14 |
| 11 | 2879 | 14 |
| 12 | 2881 | 14 |
| 13 | 2891 | 14 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(/.f64 (-.f64 x y) x) |
(/.f64 (-.f64 y x) y) |
| Outputs |
|---|
(/.f64 (-.f64 x y) x) |
(-.f64 1 (/.f64 y x)) |
(/.f64 (-.f64 y x) y) |
(-.f64 1 (/.f64 x y)) |
Compiled 7 to 4 computations (42.9% saved)
| 1× | egg-herbie |
| 221× | fma-def_binary64 |
| 170× | fma-neg_binary64 |
| 141× | div-sub_binary64 |
| 107× | times-frac_binary64 |
| 59× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 10 | 7 |
| 2 | 18 | 7 |
| 3 | 30 | 7 |
| 4 | 56 | 7 |
| 5 | 84 | 7 |
| 6 | 141 | 7 |
| 7 | 255 | 7 |
| 8 | 557 | 7 |
| 9 | 880 | 7 |
| 10 | 1225 | 7 |
| 11 | 1283 | 7 |
| 12 | 1349 | 7 |
| 13 | 1390 | 7 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 x y) x) |
| Outputs |
|---|
(/.f64 (-.f64 x y) x) |
(-.f64 1 (/.f64 y x)) |
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.0b | (-.f64 1 (/.f64 y x)) | |
| ▶ | 0.0b | (/.f64 (-.f64 x y) x) |
Compiled 40 to 25 computations (37.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (-.f64 x y) x) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 (-.f64 x y) x) |
| 1.0ms | y | @ | -inf | (/.f64 (-.f64 x y) x) |
| 1.0ms | x | @ | 0 | (/.f64 (-.f64 x y) x) |
| 0.0ms | x | @ | -inf | (/.f64 (-.f64 x y) x) |
| 0.0ms | y | @ | inf | (/.f64 (-.f64 x y) x) |
| 1× | batch-egg-rewrite |
| 787× | pow1_binary64 |
| 738× | log1p-expm1-u_binary64 |
| 738× | expm1-log1p-u_binary64 |
| 66× | add-sqr-sqrt_binary64 |
| 65× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 119 | 7 |
| 2 | 1903 | 7 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 x y) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (/.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (-.f64 1 (/.f64 y x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x y) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (/.f64 y x))) (cbrt.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 2)) (cbrt.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) (*.f64 (cbrt.f64 (-.f64 x y)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (/.f64 y x))) (sqrt.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x y)) (*.f64 (sqrt.f64 (-.f64 x y)) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 x y)) (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (-.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (*.f64 x x))) (/.f64 (-.f64 x y) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 (-.f64 x y) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) 1) (/.f64 (cbrt.f64 (-.f64 x y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x y)) 1) (/.f64 (sqrt.f64 (-.f64 x y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) (cbrt.f64 (*.f64 x x))) (cbrt.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (-.f64 x y)) (cbrt.f64 (*.f64 x x))) (/.f64 (sqrt.f64 (-.f64 x y)) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) (sqrt.f64 x)) (/.f64 (cbrt.f64 (-.f64 x y)) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 x y)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (-.f64 x y) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 1 (/.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (-.f64 x y) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 1 (/.f64 y x))) 1)))))) |
| 1× | egg-herbie |
| 20× | fma-def_binary64 |
| 13× | sub-neg_binary64 |
| 6× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 4× | associate-+l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 147 |
| 1 | 15 | 147 |
| 2 | 22 | 147 |
| 3 | 33 | 147 |
| 4 | 44 | 147 |
| 5 | 59 | 147 |
| 6 | 74 | 147 |
| 7 | 91 | 147 |
| 8 | 102 | 147 |
| 9 | 116 | 147 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 -1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
1 |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
1 |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
1 |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(*.f64 -1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(*.f64 -1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
| Outputs |
|---|
(*.f64 -1 (/.f64 y x)) |
(neg.f64 (/.f64 y x)) |
(/.f64 (neg.f64 y) x) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
1 |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
1 |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
1 |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(*.f64 -1 (/.f64 y x)) |
(neg.f64 (/.f64 y x)) |
(/.f64 (neg.f64 y) x) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(*.f64 -1 (/.f64 y x)) |
(neg.f64 (/.f64 y x)) |
(/.f64 (neg.f64 y) x) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
(-.f64 1 (/.f64 y x)) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 0 | 38 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 38 | 2 | 40 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (-.f64 1 (/.f64 y x)) |
| ✓ | 0.0b | (/.f64 (-.f64 x y) x) |
Compiled 383 to 196 computations (48.8% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 1 (/.f64 y x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (-.f64 1 (/.f64 y x)) |
| 0.0ms | y | @ | 0 | (-.f64 1 (/.f64 y x)) |
| 0.0ms | x | @ | 0 | (-.f64 1 (/.f64 y x)) |
| 0.0ms | x | @ | inf | (-.f64 1 (/.f64 y x)) |
| 0.0ms | x | @ | -inf | (-.f64 1 (/.f64 y x)) |
| 1× | batch-egg-rewrite |
| 708× | pow1_binary64 |
| 659× | add-log-exp_binary64 |
| 659× | log1p-expm1-u_binary64 |
| 659× | expm1-log1p-u_binary64 |
| 66× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 128 | 7 |
| 2 | 1713 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (/.f64 y x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (/.f64 (neg.f64 y) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (/.f64 (neg.f64 y) x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (neg.f64 y) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (/.f64 y x))) (pow.f64 (cbrt.f64 (-.f64 1 (/.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (/.f64 y x))) 2) (cbrt.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (/.f64 y x))) (sqrt.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (/.f64 y x) 3)) (/.f64 1 (+.f64 1 (+.f64 (/.f64 y x) (pow.f64 (/.f64 y x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (/.f64 y x) 2)) (/.f64 1 (+.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (/.f64 y x) (pow.f64 (/.f64 y x) 2))) (-.f64 1 (pow.f64 (/.f64 y x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (/.f64 y x)) (-.f64 1 (pow.f64 (/.f64 y x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (/.f64 y x) 3)) (+.f64 1 (+.f64 (/.f64 y x) (pow.f64 (/.f64 y x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (/.f64 y x) 2)) (+.f64 1 (/.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (/.f64 y x) 3))) (neg.f64 (+.f64 1 (+.f64 (/.f64 y x) (pow.f64 (/.f64 y x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (/.f64 y x) 2))) (neg.f64 (+.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (/.f64 (neg.f64 y) x) 3)) (+.f64 1 (-.f64 (*.f64 (/.f64 (neg.f64 y) x) (/.f64 (neg.f64 y) x)) (/.f64 (neg.f64 y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (/.f64 (neg.f64 y) x) (/.f64 (neg.f64 y) x))) (-.f64 1 (/.f64 (neg.f64 y) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (/.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (/.f64 y x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (/.f64 y x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 1 (/.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (/.f64 y x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (/.f64 y x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (/.f64 (neg.f64 y) x))))))) |
| 1× | egg-herbie |
| 14× | fma-def_binary64 |
| 8× | sub-neg_binary64 |
| 4× | +-commutative_binary64 |
| 4× | fma-neg_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 21 |
| 1 | 13 | 21 |
| 2 | 19 | 21 |
| 3 | 25 | 21 |
| 4 | 31 | 21 |
| 5 | 39 | 21 |
| 6 | 47 | 21 |
| 7 | 57 | 21 |
| 8 | 65 | 21 |
| 9 | 79 | 21 |
| 1× | saturated |
| Inputs |
|---|
1 |
(*.f64 -1 (/.f64 y x)) |
(*.f64 -1 (/.f64 y x)) |
(*.f64 -1 (/.f64 y x)) |
1 |
1 |
| Outputs |
|---|
1 |
(*.f64 -1 (/.f64 y x)) |
(neg.f64 (/.f64 y x)) |
(/.f64 (neg.f64 y) x) |
(*.f64 -1 (/.f64 y x)) |
(neg.f64 (/.f64 y x)) |
(/.f64 (neg.f64 y) x) |
(*.f64 -1 (/.f64 y x)) |
(neg.f64 (/.f64 y x)) |
(/.f64 (neg.f64 y) x) |
1 |
1 |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 0 | 32 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 32 | 2 | 34 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 1 (/.f64 y x)) |
| ✓ | 0.0b | (/.f64 (-.f64 x y) x) |
Compiled 370 to 202 computations (45.4% saved)
Total 0.0b remaining (99.2%)
Threshold costs 0.0b (99.2%)
Compiled 30 to 18 computations (40% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 1× | *-commutative_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 7 | 7 |
| 2 | 12 | 7 |
| 3 | 14 | 7 |
| 4 | 15 | 7 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 x y) x) |
| Outputs |
|---|
(/.f64 (-.f64 x y) x) |
| 1× | done |
Compiled 28 to 17 computations (39.3% saved)
Loading profile data...