
Time bar (total: 2.2s)
| 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 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 6 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 7 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 8 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 9 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 10 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 11 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 9 to 7 computations (22.2% saved)
| 536.0ms | 8 256× | 0 | valid |
ival-add: 249.0ms (74.3% of total)ival-div: 77.0ms (23% of total)ival-true: 6.0ms (1.8% of total)ival-assert: 3.0ms (0.9% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 y y) |
| 0 | 0 | - | 0 | - | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 42.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-add: 5.0ms (57.5% of total)ival-div: 3.0ms (34.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 41 |
| 1 | 39 | 39 |
| 2 | 108 | 39 |
| 3 | 246 | 35 |
| 4 | 396 | 35 |
| 5 | 456 | 35 |
| 6 | 469 | 35 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 14 | 7 |
| 2 | 24 | 7 |
| 3 | 36 | 7 |
| 4 | 42 | 7 |
| 0 | 42 | 7 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
| Outputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(/.f64 (/.f64 (+.f64 y x) y) #s(literal 2 binary64)) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y y) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 14 | 15 |
| 2 | 24 | 15 |
| 3 | 36 | 15 |
| 4 | 42 | 15 |
| 0 | 42 | 15 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(+.f64 x y) |
x |
y |
(+.f64 y y) |
| Outputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(/.f64 (/.f64 (+.f64 y x) y) #s(literal 2 binary64)) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
(+.f64 y y) |
(*.f64 #s(literal 2 binary64) y) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y y) | |
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 0.01171875 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 10.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-div: 2.0ms (47.3% of total)ival-add: 2.0ms (47.3% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(+.f64 x y) |
(+.f64 y y) |
| Outputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
y |
(+ x y) |
(* 1/2 (/ x y)) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(* 2 y) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | y | @ | 0 | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | y | @ | inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | -inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 47 |
| 1 | 105 | 47 |
| 2 | 228 | 47 |
| 3 | 648 | 47 |
| 4 | 2049 | 47 |
| 5 | 4498 | 47 |
| 6 | 7409 | 47 |
| 0 | 8200 | 44 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
y |
(+ x y) |
(* 1/2 (/ x y)) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(* 2 y) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
| Outputs |
|---|
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* 1/2 (/ x y))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
y |
(+ x y) |
(+.f64 y x) |
(* 1/2 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(* 2 y) |
(*.f64 #s(literal 2 binary64) y) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 36 | 13 |
| 0 | 267 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
(+.f64 x y) |
(+.f64 y y) |
| Outputs |
|---|
(*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(*.f64 (/.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64))) |
(/.f64 (/.f64 (+.f64 y x) #s(literal 2 binary64)) y) |
(/.f64 (-.f64 (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))) (-.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))) |
(/.f64 (+.f64 (pow.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64)) (pow.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) #s(literal 3 binary64))) (fma.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y)) (-.f64 (*.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) (*.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y)))))) |
(/.f64 (neg.f64 (neg.f64 (+.f64 y x))) (*.f64 #s(literal -2 binary64) y)) |
(/.f64 (fma.f64 x (*.f64 #s(literal -2 binary64) y) (*.f64 (*.f64 #s(literal -2 binary64) y) y)) (*.f64 (*.f64 #s(literal -2 binary64) y) (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (*.f64 (-.f64 x y) (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)) (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (neg.f64 (+.f64 y x)) (*.f64 #s(literal -2 binary64) y)) |
(/.f64 (+.f64 y x) (*.f64 #s(literal -2 binary64) y)) |
(neg.f64 (*.f64 (/.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64))) |
(fma.f64 (/.f64 x #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 y (*.f64 #s(literal -2 binary64) y))) |
(fma.f64 (/.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) |
(fma.f64 (/.f64 y #s(literal 0 binary64)) #s(literal 0 binary64) (/.f64 x (*.f64 #s(literal -2 binary64) y))) |
(fma.f64 (/.f64 y (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) |
(+.f64 (/.f64 y (*.f64 #s(literal -2 binary64) y)) (/.f64 x (*.f64 #s(literal -2 binary64) y))) |
(+.f64 (/.f64 x (*.f64 #s(literal -2 binary64) y)) (/.f64 y (*.f64 #s(literal -2 binary64) y))) |
(/.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (-.f64 y x)) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 x y))) (neg.f64 (-.f64 x y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 x y)) (-.f64 x y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 x x) (*.f64 y x)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 y (-.f64 y x) (*.f64 x x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x y)) (/.f64 (*.f64 y y) (-.f64 x y))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y x) (*.f64 x x)))) |
(+.f64 y x) |
(+.f64 x y) |
(*.f64 #s(literal -2 binary64) y) |
(*.f64 #s(literal 2 binary64) (neg.f64 y)) |
(*.f64 #s(literal 2 binary64) y) |
(*.f64 y #s(literal 2 binary64)) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y y #s(literal 0 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (neg.f64 (fma.f64 y y #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y #s(literal 0 binary64))) |
(neg.f64 (*.f64 #s(literal -2 binary64) y)) |
(-.f64 (/.f64 (*.f64 y y) #s(literal 0 binary64)) (/.f64 (*.f64 y y) #s(literal 0 binary64))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y y #s(literal 0 binary64)))) |
(+.f64 (neg.f64 y) (neg.f64 y)) |
(+.f64 y y) |
Compiled 661 to 140 computations (78.8% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 3 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 44 | 4 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (+.f64 x y) (+.f64 y y)) |
| ▶ | 99.9% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
| ▶ | 48.9% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
| ▶ | 51.8% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 43 to 30 computations (30.2% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (/.f64 x y) | |
| cost-diff | 0 | (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 60 |
| 0 | 18 | 60 |
| 1 | 31 | 60 |
| 2 | 48 | 60 |
| 3 | 82 | 60 |
| 4 | 123 | 60 |
| 5 | 158 | 60 |
| 6 | 199 | 60 |
| 7 | 288 | 60 |
| 8 | 389 | 60 |
| 9 | 471 | 60 |
| 10 | 546 | 60 |
| 11 | 605 | 60 |
| 12 | 625 | 60 |
| 13 | 627 | 60 |
| 0 | 627 | 60 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 #s(literal 1/2 binary64) y) | |
| accuracy | 0.0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) | |
| accuracy | 0.0859375 | (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) | |
| accuracy | 0.0 | (/.f64 x y) | |
| accuracy | 0.0 | (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) | |
| accuracy | 32.68003807727854 | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) | |
| accuracy | 30.863501158536174 | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| 19.0ms | 256× | 0 | valid |
Compiled 48 to 13 computations (72.9% saved)
ival-div: 5.0ms (43.4% of total)ival-add: 3.0ms (26% of total)ival-mult: 3.0ms (26% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 x y) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
| Outputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
(* 1/2 (/ x y)) |
(/ x y) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(/ 1/2 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (* (/ x y) 1/2) (/ x y) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y)) |
| 1.0ms | x | @ | -inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (* (/ x y) 1/2) (/ x y) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (* (/ x y) 1/2) (/ x y) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y)) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (* (/ x y) 1/2) (/ x y) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y)) |
| 1.0ms | y | @ | 0 | ((/ (+ x y) (+ y y)) (/ (+ x y) (+ y y)) (* (/ x y) 1/2) (/ x y) (/ (+ x y) (+ y y)) (+ (* (/ 1/2 y) x) 1/2) (/ 1/2 y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 40 |
| 1 | 60 | 40 |
| 2 | 135 | 40 |
| 3 | 316 | 40 |
| 4 | 486 | 40 |
| 5 | 725 | 40 |
| 6 | 1496 | 40 |
| 7 | 2189 | 40 |
| 8 | 2559 | 40 |
| 9 | 2559 | 40 |
| 0 | 2559 | 36 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
(* 1/2 (/ x y)) |
(/ x y) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(/ 1/2 y) |
| Outputs |
|---|
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* 1/2 (/ x y))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(* 1/2 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/ x y) |
(/.f64 x y) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(* x (+ (* 1/2 (/ 1 y)) (* 1/2 (/ 1 x)))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/ 1/2 y) |
(/.f64 #s(literal 1/2 binary64) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 53 |
| 0 | 18 | 53 |
| 1 | 73 | 53 |
| 0 | 448 | 53 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(/.f64 x y) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(/.f64 #s(literal 1/2 binary64) y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(*.f64 x (/.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (*.f64 (neg.f64 x) #s(literal 1/2 binary64)) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 y)) |
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y)) |
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(/.f64 (neg.f64 x) (neg.f64 y)) |
(/.f64 x y) |
(neg.f64 (/.f64 (neg.f64 x) y)) |
(neg.f64 (/.f64 x (neg.f64 y))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))) |
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))) |
(/.f64 (+.f64 #s(literal 1/8 binary64) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64))) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
(fma.f64 x (/.f64 #s(literal 1/2 binary64) y) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) x)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64))))) |
(+.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(/.f64 #s(literal -1/2 binary64) (neg.f64 y)) |
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y))) |
(/.f64 #s(literal 1/2 binary64) y) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) y)) |
Compiled 787 to 139 computations (82.3% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 1 | 43 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 42 | 5 | 47 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (+.f64 x y) (+.f64 y y)) |
| ✓ | 99.9% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
| ✓ | 48.9% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
| ▶ | 48.8% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
| ✓ | 51.8% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 56 to 39 computations (30.4% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1/2 binary64) y) | |
| cost-diff | 0 | (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 24 |
| 0 | 11 | 24 |
| 1 | 20 | 24 |
| 2 | 34 | 24 |
| 3 | 46 | 24 |
| 4 | 53 | 24 |
| 0 | 53 | 24 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
#s(literal 1/2 binary64) |
y |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 #s(literal 1/2 binary64) y) | |
| accuracy | 0.2265625 | (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) | |
| accuracy | 32.68003807727854 | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
| 13.0ms | 256× | 0 | valid |
Compiled 20 to 10 computations (50% saved)
ival-div: 3.0ms (40.1% of total)ival-add: 2.0ms (26.7% of total)ival-mult: 2.0ms (26.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
| Outputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
(* 1/2 (/ x y)) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(/ 1/2 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((/ (+ x y) (+ y y)) (* (/ 1/2 y) x) (/ 1/2 y)) |
| 1.0ms | y | @ | 0 | ((/ (+ x y) (+ y y)) (* (/ 1/2 y) x) (/ 1/2 y)) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) (+ y y)) (* (/ 1/2 y) x) (/ 1/2 y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (* (/ 1/2 y) x) (/ 1/2 y)) |
| 1.0ms | x | @ | -inf | ((/ (+ x y) (+ y y)) (* (/ 1/2 y) x) (/ 1/2 y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 30 |
| 1 | 53 | 30 |
| 2 | 122 | 30 |
| 3 | 296 | 30 |
| 4 | 480 | 30 |
| 5 | 722 | 30 |
| 6 | 1485 | 30 |
| 7 | 2143 | 30 |
| 8 | 2527 | 30 |
| 9 | 2527 | 30 |
| 0 | 2527 | 27 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
(* 1/2 (/ x y)) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(/ 1/2 y) |
| Outputs |
|---|
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* 1/2 (/ x y))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(* 1/2 (/ x y)) |
(*.f64 (/.f64 x y) #s(literal 1/2 binary64)) |
(* x (+ (* 1/2 (/ 1 x)) (* 1/2 (/ 1 y)))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/ (+ (* 1/2 x) (* 1/2 y)) y) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/ 1/2 y) |
(/.f64 #s(literal 1/2 binary64) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 0 | 11 | 21 |
| 1 | 46 | 21 |
| 0 | 292 | 21 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(/.f64 #s(literal 1/2 binary64) y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x) |
(*.f64 #s(literal 1/2 binary64) (/.f64 x y)) |
(*.f64 x (/.f64 #s(literal 1/2 binary64) y)) |
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y)) |
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y)) |
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y)) |
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y) |
(/.f64 #s(literal -1/2 binary64) (neg.f64 y)) |
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y))) |
(/.f64 #s(literal 1/2 binary64) y) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) y)) |
Compiled 223 to 51 computations (77.1% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 0 | 16 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 16 | 5 | 21 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (+.f64 x y) (+.f64 y y)) |
| ✓ | 99.9% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
| ✓ | 48.9% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
| ✓ | 48.8% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
| ✓ | 51.8% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 112 to 57 computations (49.1% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(/.f64 (+.f64 x y) (+.f64 y y)) |
| Outputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
3 calls:
| 25.0ms | x |
| 2.0ms | y |
| 2.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | y |
| 99.9% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 74.2% | 3 | x |
| 77.0% | 3 | y |
| 97.1% | 3 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) |
1 calls:
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.0% | 3 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 7 to 5 computations (28.6% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
3 calls:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.8% | 1 | x |
| 51.8% | 1 | y |
| 51.8% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 9 to 9 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.79155565325888 | 12.364053441188592 |
| 0.0ms | -7804.707406039494 | 0.49799442904248503 |
Compiled 10 to 10 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.79155565325888 | 12.364053441188592 |
| 0.0ms | -7804.707406039494 | 0.49799442904248503 |
Compiled 10 to 10 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 116 |
| 1 | 38 | 116 |
| 2 | 47 | 116 |
| 3 | 62 | 116 |
| 4 | 90 | 116 |
| 5 | 148 | 116 |
| 6 | 332 | 116 |
| 7 | 999 | 116 |
| 8 | 2511 | 116 |
| 9 | 3961 | 116 |
| 10 | 5863 | 116 |
| 11 | 7502 | 116 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5000 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))))) |
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5000 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)))) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| Outputs |
|---|
(/.f64 (+.f64 x y) (+.f64 y y)) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5000 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))))) |
(if (or (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5000 binary64)) (not (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)))) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))) |
(if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5000 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) (if (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)))) |
(if (or (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal -5000 binary64)) (not (<=.f64 (/.f64 (+.f64 x y) (+.f64 y y)) #s(literal 1 binary64)))) #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 53 |
| 0 | 18 | 53 |
| 1 | 73 | 53 |
| 0 | 448 | 53 |
| 0 | 34 | 47 |
| 1 | 105 | 47 |
| 2 | 228 | 47 |
| 3 | 648 | 47 |
| 4 | 2049 | 47 |
| 5 | 4498 | 47 |
| 6 | 7409 | 47 |
| 0 | 8200 | 44 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
Compiled 148 to 59 computations (60.1% saved)
Compiled 260 to 74 computations (71.5% saved)
Loading profile data...