
Time bar (total: 2.5s)
| 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)
| 464.0ms | 8 256× | 0 | valid |
ival-add: 107.0ms (61.3% of total)ival-div: 58.0ms (33.2% of total)ival-true: 6.0ms (3.4% of total)ival-assert: 4.0ms (2.3% 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 |
| 21.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-add: 5.0ms (55.6% of total)ival-div: 4.0ms (44.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.015625 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 10.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-div: 2.0ms (44.3% of total)ival-add: 2.0ms (44.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 | @ | inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | y | @ | 0 | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (+ x y) (+ y y)) |
| 1.0ms | x | @ | 0 | ((/ (+ 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)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 3 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 45 | 3 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.8% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
| ▶ | 48.5% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
| ▶ | 53.1% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 36 to 25 computations (30.6% 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.1015625 | (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64)) | |
| accuracy | 0.0 | (/.f64 x y) | |
| accuracy | 0.00390625 | (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) | |
| accuracy | 32.97927938387359 | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) | |
| accuracy | 30.040327505187406 | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| 21.0ms | 256× | 0 | valid |
Compiled 48 to 13 computations (72.9% saved)
ival-div: 5.0ms (39.9% of total)ival-add: 4.0ms (31.9% of total)ival-mult: 3.0ms (23.9% 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 | |
|---|---|---|---|---|
| 19.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)) |
| 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 | 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.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× | 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)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 1 | 43 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 0 | 0 |
| Total | 43 | 3 | 46 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
| ✓ | 48.5% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
| ✓ | 53.1% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 36 to 25 computations (30.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 x y) | |
| cost-diff | 0 | (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 0 | 12 | 26 |
| 1 | 25 | 26 |
| 2 | 49 | 26 |
| 3 | 76 | 26 |
| 4 | 116 | 26 |
| 5 | 153 | 26 |
| 6 | 203 | 26 |
| 7 | 290 | 26 |
| 8 | 395 | 26 |
| 9 | 477 | 26 |
| 10 | 552 | 26 |
| 11 | 611 | 26 |
| 12 | 631 | 26 |
| 13 | 633 | 26 |
| 0 | 633 | 26 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #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)) |
(/.f64 x y) |
x |
y |
#s(literal 1/2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) | |
| accuracy | 0.0 | (/.f64 x y) | |
| accuracy | 0.0 | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
| 24.0ms | 256× | 0 | valid |
Compiled 22 to 11 computations (50% saved)
ival-add: 6.0ms (44% of total)ival-div: 5.0ms (36.7% of total)ival-mult: 2.0ms (14.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)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/.f64 x y) |
| Outputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
(/ x y) |
(* 1/2 (/ 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) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (+ x y) (+ y y)) (+ (* (/ x y) 1/2) 1/2) (/ x y)) |
| 1.0ms | x | @ | inf | ((/ (+ x y) (+ y y)) (+ (* (/ x y) 1/2) 1/2) (/ x y)) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) (+ y y)) (+ (* (/ x y) 1/2) 1/2) (/ x y)) |
| 0.0ms | x | @ | 0 | ((/ (+ x y) (+ y y)) (+ (* (/ x y) 1/2) 1/2) (/ x y)) |
| 0.0ms | y | @ | inf | ((/ (+ x y) (+ y y)) (+ (* (/ x y) 1/2) 1/2) (/ x y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 37 |
| 1 | 60 | 37 |
| 2 | 135 | 37 |
| 3 | 316 | 37 |
| 4 | 486 | 37 |
| 5 | 725 | 37 |
| 6 | 1502 | 37 |
| 7 | 2190 | 37 |
| 8 | 2563 | 37 |
| 9 | 2563 | 37 |
| 0 | 2563 | 33 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
1/2 |
(+ 1/2 (* 1/2 (/ x y))) |
(/ x y) |
(* 1/2 (/ 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) |
| 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)) |
(/ x y) |
(/.f64 x y) |
(* 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)) |
(* 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)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 0 | 12 | 23 |
| 1 | 64 | 23 |
| 0 | 444 | 23 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64)) |
(/.f64 x y) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (+.f64 #s(literal 1 binary64) (/.f64 x y))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 x y)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal 1/8 binary64) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x y) #s(literal 1/2 binary64)) |
(fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/2 binary64) (/.f64 x y))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (/.f64 x y)) #s(literal 1/2 binary64))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (/.f64 x y) #s(literal 1/4 binary64))))) |
(+.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 x y)) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 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))) |
Compiled 560 to 104 computations (81.4% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 28 | 0 | 28 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 28 | 3 | 31 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
| ✓ | 48.5% | #s(approx (/ (+ x y) (+ y y)) (*.f64 (/.f64 x y) #s(literal 1/2 binary64))) |
| ✓ | 53.1% | #s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
Compiled 93 to 43 computations (53.8% saved)
| 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))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) x #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(/.f64 (+.f64 x y) (+.f64 y y)) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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 |
|---|---|---|
| 100.0% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | 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 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:
| 3.0ms | y |
| 2.0ms | x |
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 99.8% | 1 | x |
| 99.8% | 1 | 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 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:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.9% | 3 | (/.f64 (+.f64 x y) (+.f64 y y)) |
| 75.0% | 3 | x |
| 78.9% | 3 | y |
Compiled 9 to 9 computations (0% 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 | x |
| 1.0ms | y |
| 1.0ms | (/.f64 (+.f64 x y) (+.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.1% | 1 | x |
| 53.1% | 1 | y |
| 53.1% | 1 | (/.f64 (+.f64 x y) (+.f64 y y)) |
Compiled 9 to 9 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.5000000253558187 | 1.0068824935199574 |
| 0.0ms | -1.469952545950264 | 0.49999518483988725 |
Compiled 10 to 10 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 80 |
| 1 | 35 | 80 |
| 2 | 44 | 80 |
| 3 | 59 | 80 |
| 4 | 87 | 80 |
| 5 | 145 | 80 |
| 6 | 329 | 80 |
| 7 | 1002 | 80 |
| 8 | 2504 | 80 |
| 9 | 3948 | 80 |
| 10 | 5857 | 80 |
| 11 | 7525 | 80 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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))) |
(if (<=.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))) (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))))) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x y) (+ y y)) (fma.f64 (/.f64 x y) #s(literal 1/2 binary64) #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))) |
(if (<=.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))) (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 -1 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))) |
#s(approx (/ (+ x y) (+ y y)) #s(literal 1/2 binary64)) |
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 |
| 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× | saturated |
Compiled 100 to 49 computations (51% saved)
Compiled 188 to 72 computations (61.7% saved)
Loading profile data...