
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 8 to 6 computations (25% saved)
| 896.0ms | 8256× | body | 256 | valid |
| 1× | egg-herbie |
| 130× | fma-def |
| 34× | sub-neg |
| 22× | distribute-lft-neg-in |
| 22× | cancel-sign-sub-inv |
| 22× | cancel-sign-sub |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 83 |
| 1 | 34 | 75 |
| 2 | 72 | 75 |
| 3 | 157 | 75 |
| 4 | 223 | 75 |
| 5 | 251 | 75 |
| 6 | 255 | 75 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 (neg.f64 x) y))) |
(sqrt.f64 (fabs.f64 (-.f64 x (neg.f64 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))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 (neg.f64 x) y))) |
(sqrt.f64 (fabs.f64 (-.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (+.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x (neg.f64 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 y (neg.f64 x)))) |
(sqrt.f64 (fabs.f64 (+.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 7 to 5 computations (28.6% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
| ▶ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
Compiled 14 to 10 computations (28.6% saved)
Found 1 expressions with local error:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
Compiled 17 to 6 computations (64.7% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | 0 | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
| 0.0ms | x | @ | inf | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
| 0.0ms | y | @ | -inf | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
| 0.0ms | y | @ | inf | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
| 1× | batch-egg-rewrite |
| 1678× | pow1 |
| 1556× | add-exp-log |
| 1556× | log1p-expm1-u |
| 1556× | expm1-log1p-u |
| 1520× | add-log-exp |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 171 | 11 |
| 2 | 2345 | 11 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
| Outputs |
|---|
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) 1) |
(*.f64 (sqrt.f64 (-.f64 y x)) 1) |
(*.f64 1 (sqrt.f64 (-.f64 y x))) |
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x))) |
(*.f64 (cbrt.f64 (-.f64 y x)) (cbrt.f64 (sqrt.f64 (-.f64 y x)))) |
(*.f64 (pow.f64 (-.f64 y x) 1/4) (pow.f64 (-.f64 y x) 1/4)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 y x))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 y x)) 1/2)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y y (*.f64 x (+.f64 y x))))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 x x))) (sqrt.f64 (+.f64 y x))) |
(pow.f64 (-.f64 y x) 1/2) |
(pow.f64 (sqrt.f64 (-.f64 y x)) 1) |
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) 3) |
(pow.f64 (pow.f64 (-.f64 y x) 3/2) 1/3) |
(pow.f64 (pow.f64 (-.f64 y x) 1/4) 2) |
(fabs.f64 (sqrt.f64 (-.f64 y x))) |
(log.f64 (exp.f64 (sqrt.f64 (-.f64 y x)))) |
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 y x)))) |
(exp.f64 (log.f64 (sqrt.f64 (-.f64 y x)))) |
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 y x)))) |
| 1× | egg-herbie |
| 786× | fma-def |
| 758× | associate-*r* |
| 658× | associate-*l* |
| 596× | distribute-lft-in |
| 554× | distribute-rgt-in |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 75 | 728 |
| 1 | 156 | 616 |
| 2 | 371 | 524 |
| 3 | 1170 | 496 |
| 4 | 3994 | 496 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) 1) |
(*.f64 (sqrt.f64 (-.f64 y x)) 1) |
(*.f64 1 (sqrt.f64 (-.f64 y x))) |
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x))) |
(*.f64 (cbrt.f64 (-.f64 y x)) (cbrt.f64 (sqrt.f64 (-.f64 y x)))) |
(*.f64 (pow.f64 (-.f64 y x) 1/4) (pow.f64 (-.f64 y x) 1/4)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 y x))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 y x)) 1/2)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y y (*.f64 x (+.f64 y x))))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 x x))) (sqrt.f64 (+.f64 y x))) |
(pow.f64 (-.f64 y x) 1/2) |
(pow.f64 (sqrt.f64 (-.f64 y x)) 1) |
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) 3) |
(pow.f64 (pow.f64 (-.f64 y x) 3/2) 1/3) |
(pow.f64 (pow.f64 (-.f64 y x) 1/4) 2) |
(fabs.f64 (sqrt.f64 (-.f64 y x))) |
(log.f64 (exp.f64 (sqrt.f64 (-.f64 y x)))) |
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 y x)))) |
(exp.f64 (log.f64 (sqrt.f64 (-.f64 y x)))) |
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 y x)))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (neg.f64 (+.f64 (*.f64 -1 y) x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (+.f64 y (*.f64 -1 x)))) |
(sqrt.f64 (fabs.f64 (fma.f64 -1 y x))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) 1) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(*.f64 (sqrt.f64 (-.f64 y x)) 1) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(*.f64 1 (sqrt.f64 (-.f64 y x))) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x))) |
(*.f64 (cbrt.f64 (-.f64 y x)) (cbrt.f64 (sqrt.f64 (-.f64 y x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) (cbrt.f64 (-.f64 y x))) |
(*.f64 (pow.f64 (-.f64 y x) 1/4) (pow.f64 (-.f64 y x) 1/4)) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 y x))) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(*.f64 (cbrt.f64 (-.f64 y x)) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(pow.f64 (cbrt.f64 (-.f64 y x)) 3/2) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 y x))) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 y x)) 1/2)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 y x)) 2)) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 y x))) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(*.f64 (cbrt.f64 (-.f64 y x)) (sqrt.f64 (cbrt.f64 (-.f64 y x)))) |
(pow.f64 (cbrt.f64 (-.f64 y x)) 3/2) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y y (*.f64 x (+.f64 y x))))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))) |
(/.f64 (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 x x))) (sqrt.f64 (+.f64 y x))) |
(pow.f64 (-.f64 y x) 1/2) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(pow.f64 (sqrt.f64 (-.f64 y x)) 1) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 y x))) 3) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(pow.f64 (pow.f64 (-.f64 y x) 3/2) 1/3) |
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2)) |
(pow.f64 (pow.f64 (-.f64 y x) 1/4) 2) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(fabs.f64 (sqrt.f64 (-.f64 y x))) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(log.f64 (exp.f64 (sqrt.f64 (-.f64 y x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(cbrt.f64 (pow.f64 (-.f64 y x) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 y x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(exp.f64 (log.f64 (sqrt.f64 (-.f64 y x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 y x)))) |
(+.f64 (+.f64 1 (sqrt.f64 (-.f64 y x))) -1) |
(+.f64 (sqrt.f64 (-.f64 y x)) 0) |
(sqrt.f64 (-.f64 y x)) |
Compiled 276 to 118 computations (57.2% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 1 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 32 | 2 | 34 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 51.6% | (sqrt.f64 (-.f64 y x)) |
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
| ▶ | 51.6% | (sqrt.f64 (-.f64 y x)) |
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
Compiled 26 to 18 computations (30.8% saved)
Compiled 12 to 5 computations (58.3% 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 | Accuracy | Program |
|---|---|---|
| ✓ | 51.6% | (sqrt.f64 (-.f64 y x)) |
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 y x))) |
Compiled 29 to 18 computations (37.9% saved)
| Inputs |
|---|
(sqrt.f64 (-.f64 y x)) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
5 calls:
| 3.0ms | y |
| 3.0ms | x |
| 3.0ms | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 3.0ms | (fabs.f64 (-.f64 x y)) |
| 3.0ms | (-.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 100.0% | 1 | (fabs.f64 (-.f64 x y)) |
| 100.0% | 1 | (-.f64 x y) |
Compiled 40 to 25 computations (37.5% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(sqrt.f64 (-.f64 y x)) |
| Outputs |
|---|
(sqrt.f64 (-.f64 y x)) |
2 calls:
| 3.0ms | y |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.6% | 1 | x |
| 51.6% | 1 | y |
Compiled 12 to 8 computations (33.3% 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 | 10 | 26 |
| 1 | 15 | 26 |
| 2 | 23 | 26 |
| 3 | 27 | 26 |
| 4 | 29 | 26 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (-.f64 y x)) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (-.f64 y x)) |
Compiled 13 to 9 computations (30.8% saved)
| 1678× | pow1 |
| 1556× | add-exp-log |
| 1556× | log1p-expm1-u |
| 1556× | expm1-log1p-u |
| 1520× | add-log-exp |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 83 |
| 1 | 34 | 75 |
| 2 | 72 | 75 |
| 3 | 157 | 75 |
| 4 | 223 | 75 |
| 5 | 251 | 75 |
| 6 | 255 | 75 |
| 0 | 8 | 15 |
| 1 | 171 | 11 |
| 2 | 2345 | 11 |
| 0 | 75 | 728 |
| 1 | 156 | 616 |
| 2 | 371 | 524 |
| 3 | 1170 | 496 |
| 4 | 3994 | 496 |
| 1× | node limit |
| 1× | node limit |
| 1× | saturated |
Compiled 128 to 63 computations (50.8% saved)
Compiled 36 to 24 computations (33.3% saved)
Loading profile data...