Time bar (total: 1.0s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 5 |
| 37.5% | 37.5% | 62.4% | 0.1% | 0% | 0% | 0% | 6 |
| 56.3% | 56.2% | 43.7% | 0.1% | 0% | 0% | 0% | 7 |
| 65.6% | 65.6% | 34.3% | 0.1% | 0% | 0% | 0% | 8 |
| 76.6% | 76.5% | 23.4% | 0.1% | 0% | 0% | 0% | 9 |
| 82% | 82% | 18% | 0.1% | 0% | 0% | 0% | 10 |
| 87.9% | 87.8% | 12.1% | 0.1% | 0% | 0% | 0% | 11 |
| 90.8% | 90.7% | 9.2% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 8 to 6 computations (25% saved)
| 754.0ms | 8256× | body | 256 | valid |
| 2× | egg-herbie |
| 80× | fma-def |
| 42× | associate--r+ |
| 32× | associate--l+ |
| 32× | +-commutative |
| 26× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 30 |
| 1 | 15 | 30 |
| 2 | 23 | 30 |
| 3 | 36 | 30 |
| 4 | 64 | 30 |
| 5 | 117 | 30 |
| 6 | 183 | 30 |
| 7 | 214 | 30 |
| 8 | 224 | 30 |
| 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 |
| 80× | fma-def |
| 64× | associate--r+ |
| 36× | associate-+l- |
| 36× | +-commutative |
| 32× | associate--l+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 12 | 15 |
| 2 | 19 | 15 |
| 3 | 29 | 15 |
| 4 | 47 | 15 |
| 5 | 94 | 15 |
| 6 | 191 | 15 |
| 7 | 240 | 15 |
| 8 | 258 | 15 |
| 9 | 263 | 15 |
| 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 | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 0.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))) |
| 1× | batch-egg-rewrite |
| 1696× | add-sqr-sqrt |
| 1678× | *-un-lft-identity |
| 1568× | add-cube-cbrt |
| 1554× | add-cbrt-cube |
| 178× | pow1 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 170 | 11 |
| 2 | 2282 | 11 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (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 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4))))) (#(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 (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) 1/4) 2)))) (#(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) 3/2) 1/3)))) (#(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 log.f64 (+.f64 1 (expm1.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 exp.f64 (log.f64 (sqrt.f64 (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 x y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (-.f64 x y)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y)))))))) |
| 1× | egg-herbie |
| 1206× | associate-+r+ |
| 1100× | distribute-lft-in |
| 1050× | distribute-rgt-in |
| 962× | associate-*r* |
| 902× | associate-*l* |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 82 | 609 |
| 1 | 168 | 565 |
| 2 | 375 | 557 |
| 3 | 1032 | 529 |
| 4 | 3981 | 529 |
| 1× | node limit |
| 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))) |
(-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (-.f64 x y)))) 1) |
(*.f64 (sqrt.f64 (-.f64 x y)) 1) |
(*.f64 1 (sqrt.f64 (-.f64 x y))) |
(*.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4)) |
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) (cbrt.f64 (-.f64 x y))) |
(*.f64 (cbrt.f64 (-.f64 x y)) (cbrt.f64 (sqrt.f64 (-.f64 x y)))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y)))) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 x y))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 x y)) 1/2)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 x y))))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 x y))) |
(pow.f64 (-.f64 x y) 1/2) |
(pow.f64 (sqrt.f64 (-.f64 x y)) 1) |
(pow.f64 (pow.f64 (-.f64 x y) 1/4) 2) |
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3) |
(pow.f64 (pow.f64 (-.f64 x y) 3/2) 1/3) |
(fabs.f64 (sqrt.f64 (-.f64 x y))) |
(log.f64 (exp.f64 (sqrt.f64 (-.f64 x y)))) |
(log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (-.f64 x y))))) |
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 x y)))) |
(exp.f64 (log.f64 (sqrt.f64 (-.f64 x y)))) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 x y))) 1)) |
(exp.f64 (*.f64 (log.f64 (-.f64 x y)) 1/2)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y)))) |
| 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))) |
(-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (-.f64 x y)))) 1) |
(sqrt.f64 (-.f64 x y)) |
(*.f64 (sqrt.f64 (-.f64 x y)) 1) |
(sqrt.f64 (-.f64 x y)) |
(*.f64 1 (sqrt.f64 (-.f64 x y))) |
(sqrt.f64 (-.f64 x y)) |
(*.f64 (pow.f64 (-.f64 x y) 1/4) (pow.f64 (-.f64 x y) 1/4)) |
(sqrt.f64 (-.f64 x y)) |
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) (cbrt.f64 (-.f64 x y))) |
(*.f64 (cbrt.f64 (-.f64 x y)) (cbrt.f64 (sqrt.f64 (-.f64 x y)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) (cbrt.f64 (-.f64 x y))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y)))) |
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (cbrt.f64 (-.f64 x y)))) |
(*.f64 (cbrt.f64 (-.f64 x y)) (sqrt.f64 (cbrt.f64 (-.f64 x y)))) |
(pow.f64 (cbrt.f64 (-.f64 x y)) 3/2) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 x y))) |
(sqrt.f64 (-.f64 x y)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 x y)) 1/2)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 x y)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 x y)))) |
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 x y))) (sqrt.f64 (cbrt.f64 (-.f64 x y)))) |
(*.f64 (cbrt.f64 (-.f64 x y)) (sqrt.f64 (cbrt.f64 (-.f64 x y)))) |
(pow.f64 (cbrt.f64 (-.f64 x y)) 3/2) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 x y))))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 x x (*.f64 y (+.f64 y x))))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 x y))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 x x) (*.f64 y y))) (sqrt.f64 (+.f64 y x))) |
(pow.f64 (-.f64 x y) 1/2) |
(sqrt.f64 (-.f64 x y)) |
(pow.f64 (sqrt.f64 (-.f64 x y)) 1) |
(sqrt.f64 (-.f64 x y)) |
(pow.f64 (pow.f64 (-.f64 x y) 1/4) 2) |
(sqrt.f64 (-.f64 x y)) |
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 x y))) 3) |
(sqrt.f64 (-.f64 x y)) |
(pow.f64 (pow.f64 (-.f64 x y) 3/2) 1/3) |
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2)) |
(fabs.f64 (sqrt.f64 (-.f64 x y))) |
(sqrt.f64 (-.f64 x y)) |
(log.f64 (exp.f64 (sqrt.f64 (-.f64 x y)))) |
(sqrt.f64 (-.f64 x y)) |
(log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (-.f64 x y))))) |
(sqrt.f64 (-.f64 x y)) |
(cbrt.f64 (pow.f64 (-.f64 x y) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 x y)))) |
(sqrt.f64 (-.f64 x y)) |
(exp.f64 (log.f64 (sqrt.f64 (-.f64 x y)))) |
(sqrt.f64 (-.f64 x y)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (-.f64 x y))) 1)) |
(sqrt.f64 (-.f64 x y)) |
(exp.f64 (*.f64 (log.f64 (-.f64 x y)) 1/2)) |
(sqrt.f64 (-.f64 x y)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 x y)))) |
(sqrt.f64 (-.f64 x y)) |
Compiled 316 to 134 computations (57.6% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 35 | 1 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 35 | 2 | 37 |
| Status | Error | Program |
|---|---|---|
| ▶ | 64.0b | (sqrt.f64 (-.f64 x y)) |
| ✓ | 0.0b | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 13 to 9 computations (30.8% saved)
Compiled 11 to 4 computations (63.6% 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 | (sqrt.f64 (-.f64 x y)) |
| ✓ | 0.0b | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 13 to 9 computations (30.8% saved)
Total -64.0b remaining (-546033.3%)
Threshold costs -64.0b (-546033.3%)
| Inputs |
|---|
(sqrt.f64 (-.f64 x y)) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
5 calls:
| 4.0ms | x |
| 4.0ms | (fabs.f64 (-.f64 x y)) |
| 3.0ms | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 3.0ms | (-.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 35 to 22 computations (37.1% saved)
| 1× | egg-herbie |
| 8× | sub-neg |
| 8× | +-commutative |
| 4× | neg-mul-1 |
| 4× | *-commutative |
| 4× | neg-sub0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 1 | 13 | 26 |
| 2 | 20 | 26 |
| 3 | 25 | 26 |
| 4 | 28 | 26 |
| 5 | 29 | 26 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (-.f64 x y)) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (-.f64 x y)) |
Compiled 13 to 9 computations (30.8% saved)
(sort x y)
Compiled 25 to 16 computations (36% saved)
Loading profile data...