
Time bar (total: 3.0s)
| 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 7 to 7 computations (0% saved)
| 579.0ms | 8 256× | 0 | valid |
ival-add: 140.0ms (64.5% of total)ival-div: 63.0ms (29% of total)ival-true: 6.0ms (2.8% of total)exact: 5.0ms (2.3% of total)ival-assert: 3.0ms (1.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 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 |
| 22.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-div: 3.0ms (40.5% of total)ival-add: 3.0ms (40.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 76× | sub-neg |
| 68× | div-sub |
| 48× | associate-/l* |
| 48× | distribute-rgt-in |
| 40× | distribute-lft-neg-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 27 |
| 1 | 35 | 25 |
| 2 | 66 | 25 |
| 3 | 139 | 25 |
| 4 | 348 | 25 |
| 5 | 523 | 25 |
| 6 | 555 | 25 |
| 7 | 572 | 25 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 8 | 5 |
| 0 | 8 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| Outputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
(/.f64 (+.f64 y x) #s(literal 2 binary64)) |
(sort x y)
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
Compiled 5 to 5 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 4× | lower-+.f32 |
| 2× | lift-+.f64 |
| 2× | lift-/.f64 |
| 2× | lower-+.f64 |
| 2× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 8 | 11 |
| 0 | 8 | 11 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
(+.f64 x y) |
x |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
(/.f64 (+.f64 y x) #s(literal 2 binary64)) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
#s(literal 2 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) | |
| accuracy | 0 | (+.f64 x y) |
| 10.0ms | 256× | 0 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-div: 2.0ms (54.8% of total)ival-add: 1.0ms (27.4% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x y) #s(literal 2 binary64)) (patch (/.f64 (+.f64 x y) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 8.0ms | x | @ | 0 | ((/ (+ x y) 2) (+ x y)) |
| 1.0ms | x | @ | -inf | ((/ (+ x y) 2) (+ x y)) |
| 0.0ms | y | @ | -inf | ((/ (+ x y) 2) (+ x y)) |
| 0.0ms | y | @ | inf | ((/ (+ x y) 2) (+ x y)) |
| 0.0ms | x | @ | inf | ((/ (+ x y) 2) (+ x y)) |
| 1× | egg-herbie |
| 11 640× | lower-fma.f64 |
| 11 640× | lower-fma.f32 |
| 2 608× | lower-*.f64 |
| 2 608× | lower-*.f32 |
| 2 172× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 168 |
| 1 | 115 | 168 |
| 2 | 264 | 168 |
| 3 | 783 | 168 |
| 4 | 1814 | 168 |
| 5 | 2648 | 168 |
| 6 | 3320 | 168 |
| 7 | 3621 | 168 |
| 8 | 3783 | 168 |
| 9 | 3819 | 168 |
| 10 | 6057 | 168 |
| 0 | 8007 | 168 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
x |
(+ x y) |
(+ x y) |
(+ x y) |
(* 1/2 y) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
y |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* 1/2 y) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
y |
(+ x y) |
(+ x y) |
(+ x y) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
x |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
| 5 156× | lower-/.f32 |
| 5 154× | lower-/.f64 |
| 3 858× | lower-fma.f64 |
| 3 858× | lower-fma.f32 |
| 3 450× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 31 | 8 |
| 2 | 182 | 8 |
| 3 | 1731 | 8 |
| 0 | 8175 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
(+.f64 x y) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 8 500 to 1 091 computations (87.2% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 409 | 3 | 412 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 410 | 3 | 413 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
| ▶ | 48.9% | #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
| ▶ | 52.4% | #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
Compiled 13 to 15 computations (-15.4% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y x) | |
| cost-diff | 0 | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 y #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (*.f64 x #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
| 12× | lower-*.f32 |
| 8× | lower-fma.f64 |
| 8× | lower-fma.f32 |
| 8× | lower-+.f32 |
| 6× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 39 |
| 0 | 16 | 39 |
| 1 | 20 | 39 |
| 2 | 22 | 39 |
| 0 | 22 | 39 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
(*.f64 x #s(literal 1/2 binary64)) |
x |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
(*.f64 y #s(literal 1/2 binary64)) |
y |
#s(literal 1/2 binary64) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.f64 y x) |
y |
x |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 x #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) x) |
x |
#s(literal 1/2 binary64) |
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 y #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) y) |
y |
#s(literal 1/2 binary64) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.f64 y x) |
y |
x |
#s(literal 1/2 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 y x) | |
| accuracy | 0 | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) | |
| accuracy | 0 | (*.f64 y #s(literal 1/2 binary64)) | |
| accuracy | 32.69556463404888 | #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) | |
| accuracy | 0 | (*.f64 x #s(literal 1/2 binary64)) | |
| accuracy | 30.479729688933507 | #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
| 20.0ms | 256× | 0 | valid |
Compiled 33 to 12 computations (63.6% saved)
ival-mult: 4.0ms (43.3% of total)ival-add: 3.0ms (32.4% of total)ival-div: 2.0ms (21.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 39.0ms | x | @ | inf | ((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | y | @ | -inf | ((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | y | @ | inf | ((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x)) |
| 0.0ms | x | @ | -inf | ((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x)) |
| 0.0ms | y | @ | 0 | ((/ (+ x y) 2) (* x 1/2) (/ (+ x y) 2) (* y 1/2) (* (+ y x) 1/2) (+ y x)) |
| 1× | egg-herbie |
| 11 640× | lower-fma.f64 |
| 11 640× | lower-fma.f32 |
| 2 608× | lower-*.f64 |
| 2 608× | lower-*.f32 |
| 2 172× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 456 |
| 1 | 115 | 456 |
| 2 | 264 | 456 |
| 3 | 783 | 456 |
| 4 | 1814 | 456 |
| 5 | 2648 | 456 |
| 6 | 3320 | 456 |
| 7 | 3621 | 456 |
| 8 | 3783 | 456 |
| 9 | 3819 | 456 |
| 10 | 6057 | 456 |
| 0 | 8007 | 456 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 x) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(* 1/2 x) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 x) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
x |
(+ x y) |
(+ x y) |
(+ x y) |
(* 1/2 y) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* 1/2 y) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
y |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* 1/2 y) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* 1/2 y) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
y |
(+ x y) |
(+ x y) |
(+ x y) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
x |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 x #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
| 5 228× | lower-/.f64 |
| 5 228× | lower-/.f32 |
| 3 300× | lower-*.f32 |
| 3 294× | lower-*.f64 |
| 2 088× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 32 |
| 0 | 16 | 32 |
| 1 | 50 | 32 |
| 2 | 304 | 32 |
| 3 | 3209 | 32 |
| 0 | 8495 | 32 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
(*.f64 x #s(literal 1/2 binary64)) |
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
(*.f64 y #s(literal 1/2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.f64 y x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 10 735 to 1 355 computations (87.4% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 568 | 0 | 568 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 568 | 3 | 571 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
| ✓ | 48.9% | #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
| ✓ | 52.4% | #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
Compiled 31 to 27 computations (12.9% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| Outputs |
|---|
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
4 calls:
| 4.0ms | x |
| 2.0ms | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 2.0ms | (+.f64 x y) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 100.0% | 1 | (+.f64 x y) |
Compiled 10 to 12 computations (-20% saved)
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64))) |
4 calls:
| 2.0ms | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 2.0ms | y |
| 2.0ms | (+.f64 x y) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 82.8% | 2 | x |
| 87.9% | 2 | y |
| 97.9% | 2 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 97.9% | 2 | (+.f64 x y) |
Compiled 10 to 12 computations (-20% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
4 calls:
| 1.0ms | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 1.0ms | x |
| 1.0ms | (+.f64 x y) |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.4% | 1 | x |
| 52.4% | 1 | y |
| 52.4% | 1 | (/.f64 (+.f64 x y) #s(literal 2 binary64)) |
| 52.4% | 1 | (+.f64 x y) |
Compiled 10 to 12 computations (-20% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.0967124523631728e-250 | 1.554513895208913e-275 |
Compiled 8 to 10 computations (-25% saved)
| 1× | egg-herbie |
| 6× | *-commutative-binary64-*.f64 |
| 2× | +-commutative-binary64-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 38 |
| 1 | 20 | 38 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(if (<=.f64 (+.f64 x y) #s(literal -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 binary64)) #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))) |
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
| Outputs |
|---|
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(*.f64 (+.f64 x y) #s(literal 1/2 binary64)) |
(if (<=.f64 (+.f64 x y) #s(literal -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 binary64)) #s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ (+ x y) 2) (*.f64 y #s(literal 1/2 binary64)))) |
(if (<=.f64 (+.f64 x y) #s(literal -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 binary64)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) y))) |
#s(approx (/ (+ x y) 2) (*.f64 x #s(literal 1/2 binary64))) |
#s(approx (/ (+ x y) 2) (*.f64 #s(literal 1/2 binary64) x)) |
| 11 640× | lower-fma.f64 |
| 11 640× | lower-fma.f32 |
| 5 156× | lower-/.f32 |
| 5 154× | lower-/.f64 |
| 3 858× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 31 | 8 |
| 2 | 182 | 8 |
| 3 | 1731 | 8 |
| 0 | 8175 | 8 |
| 0 | 38 | 168 |
| 1 | 115 | 168 |
| 2 | 264 | 168 |
| 3 | 783 | 168 |
| 4 | 1814 | 168 |
| 5 | 2648 | 168 |
| 6 | 3320 | 168 |
| 7 | 3621 | 168 |
| 8 | 3783 | 168 |
| 9 | 3819 | 168 |
| 10 | 6057 | 168 |
| 0 | 8007 | 168 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 42 to 32 computations (23.8% saved)
(sort x y)
Compiled 86 to 64 computations (25.6% saved)
Loading profile data...