Time bar (total: 1.1s)
| 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 |
| 0% | 99.9% | 0.1% | 4 |
| 25% | 74.9% | 0.1% | 5 |
| 37.5% | 62.4% | 0.1% | 6 |
| 56.2% | 43.7% | 0.1% | 7 |
| 65.6% | 34.3% | 0.1% | 8 |
| 76.5% | 23.4% | 0.1% | 9 |
| 82% | 18% | 0.1% | 10 |
| 87.8% | 12.1% | 0.1% | 11 |
| 90.7% | 9.2% | 0.1% | 12 |
Compiled 8 to 6 computations (25% saved)
| 775.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 36× | fma-neg_binary64 |
| 16× | sub-neg_binary64 |
| 16× | fma-def_binary64 |
| 14× | cancel-sign-sub-inv_binary64 |
| 8× | associate--r+_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 1 | 13 | 16 |
| 2 | 21 | 16 |
| 3 | 33 | 16 |
| 4 | 63 | 16 |
| 5 | 116 | 16 |
| 6 | 150 | 16 |
| 7 | 192 | 16 |
| 8 | 202 | 16 |
| 0 | 2 | 2 |
| 1 | 2 | 2 |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
0 |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sort x y)
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 39× | fma-neg_binary64 |
| 17× | fma-def_binary64 |
| 16× | cancel-sign-sub-inv_binary64 |
| 16× | sub-neg_binary64 |
| 9× | fabs-sub_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 10 | 8 |
| 2 | 17 | 8 |
| 3 | 26 | 8 |
| 4 | 47 | 8 |
| 5 | 103 | 8 |
| 6 | 154 | 8 |
| 7 | 193 | 8 |
| 8 | 218 | 8 |
| 9 | 223 | 8 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 7 to 5 computations (28.6% 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 | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 7 to 5 computations (28.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 16 to 5 computations (68.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 0.0ms | y | @ | inf | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 0.0ms | y | @ | -inf | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 0.0ms | x | @ | inf | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 1× | batch-egg-rewrite |
| 664× | pow1_binary64 |
| 621× | add-log-exp_binary64 |
| 621× | log1p-expm1-u_binary64 |
| 621× | expm1-log1p-u_binary64 |
| 607× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 133 | 6 |
| 2 | 1906 | 6 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (-.f64 x y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) (cbrt.f64 (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 x y)) (cbrt.f64 (sqrt.f64 (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x y) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x y) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x y) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x y) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (-.f64 x y)))))))) |
| 1× | egg-herbie |
| 33× | fma-neg_binary64 |
| 27× | fma-def_binary64 |
| 15× | cancel-sign-sub-inv_binary64 |
| 14× | sub-neg_binary64 |
| 8× | distribute-rgt-neg-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 80 |
| 1 | 26 | 64 |
| 2 | 49 | 64 |
| 3 | 94 | 64 |
| 4 | 158 | 64 |
| 5 | 181 | 64 |
| 6 | 205 | 64 |
| 7 | 210 | 64 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 y (*.f64 -1 x))))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 -1 y) x))) |
(sqrt.f64 (fabs.f64 (+.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
Compiled 207 to 94 computations (54.6% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 1 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 24 | 2 | 26 |
| Status | Error | Program |
|---|---|---|
| ▶ | 64.0b | (pow.f64 (-.f64 x y) 1/2) |
| ✓ | 0.0b | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 14 to 10 computations (28.6% saved)
Compiled 13 to 6 computations (53.8% saved)
Compiled 2 to 2 computations (0% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ✓ | 64.0b | (pow.f64 (-.f64 x y) 1/2) |
| ✓ | 0.0b | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 14 to 10 computations (28.6% saved)
Total -64.0b remaining (-1638300%)
Threshold costs -64.0b (-1638300%)
| Inputs |
|---|
(pow.f64 (-.f64 x y) 1/2) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
5 calls:
| 4.0ms | x |
| 4.0ms | (-.f64 x y) |
| 3.0ms | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 3.0ms | (fabs.f64 (-.f64 x y)) |
| 3.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 0.0b | 1 | (fabs.f64 (-.f64 x y)) |
| 0.0b | 1 | (-.f64 x y) |
Compiled 36 to 23 computations (36.1% saved)
| 1× | egg-herbie |
| 4× | +-commutative_binary64 |
| 4× | sub-neg_binary64 |
| 2× | *-commutative_binary64 |
| 2× | neg-sub0_binary64 |
| 2× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 12 | 15 |
| 2 | 19 | 15 |
| 3 | 24 | 15 |
| 4 | 27 | 15 |
| 5 | 28 | 15 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(pow.f64 (-.f64 x y) 1/2) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(pow.f64 (-.f64 x y) 1/2) |
Compiled 14 to 10 computations (28.6% saved)
(sort x y)
Compiled 26 to 17 computations (34.6% saved)
Loading profile data...