
Time bar (total: 2.8s)
| 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)
| 401.0ms | 8 256× | 0 | valid |
ival-div: 75.0ms (57.6% of total)ival-add: 42.0ms (32.3% of total)ival-true: 6.0ms (4.6% of total)exact: 5.0ms (3.8% of total)ival-assert: 3.0ms (2.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 500 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 y #s(literal 500 binary64)) |
| 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 |
| 20.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-div: 4.0ms (54.8% of total)ival-add: 2.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)| 1× | egg-herbie |
| 44× | sub-neg |
| 40× | distribute-lft-neg-in |
| 34× | cancel-sign-sub |
| 26× | *-commutative |
| 24× | associate--r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 29 |
| 1 | 32 | 25 |
| 2 | 74 | 25 |
| 3 | 176 | 25 |
| 4 | 245 | 25 |
| 5 | 294 | 25 |
| 6 | 301 | 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 x (/.f64 y #s(literal 500 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
(+.f64 (/.f64 y #s(literal 500 binary64)) x) |
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
Compiled 5 to 5 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 y #s(literal 500 binary64)) | |
| cost-diff | 0 | (+.f64 x (/.f64 y #s(literal 500 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 x (/.f64 y #s(literal 500 binary64))) |
x |
(/.f64 y #s(literal 500 binary64)) |
y |
#s(literal 500 binary64) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
(+.f64 (/.f64 y #s(literal 500 binary64)) x) |
x |
(/.f64 y #s(literal 500 binary64)) |
y |
#s(literal 500 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 y #s(literal 500 binary64)) | |
| accuracy | 0.00390625 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 9.0ms | 256× | 0 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-div: 2.0ms (57.7% of total)ival-add: 1.0ms (28.8% 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 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ()) |
#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x (/.f64 y #s(literal 500 binary64))) (patch (+.f64 x (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | y | @ | -inf | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | x | @ | -inf | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | y | @ | 0 | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | x | @ | inf | ((+ x (/ y 500)) (/ y 500)) |
| 1× | egg-herbie |
| 4 188× | lower-/.f32 |
| 4 188× | lower-/.f64 |
| 3 708× | associate-/r* |
| 2 352× | lower-fma.f64 |
| 2 352× | lower-fma.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 138 |
| 1 | 64 | 138 |
| 2 | 141 | 138 |
| 3 | 395 | 138 |
| 4 | 1104 | 138 |
| 5 | 2534 | 138 |
| 6 | 3433 | 138 |
| 7 | 4306 | 138 |
| 8 | 4782 | 138 |
| 9 | 4957 | 138 |
| 10 | 5047 | 138 |
| 11 | 5745 | 138 |
| 12 | 6061 | 138 |
| 13 | 6065 | 138 |
| 14 | 6065 | 138 |
| 15 | 6065 | 138 |
| 0 | 8138 | 120 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
| Outputs |
|---|
x |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
| 3 588× | lower-/.f32 |
| 3 586× | lower-/.f64 |
| 3 556× | lower-fma.f64 |
| 3 556× | lower-fma.f32 |
| 2 998× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 31 | 8 |
| 2 | 235 | 8 |
| 3 | 3706 | 8 |
| 0 | 8295 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
(/.f64 y #s(literal 500 binary64)) |
| 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> |
Compiled 2 922 to 434 computations (85.1% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 184 | 3 | 187 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 184 | 4 | 188 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (fma.f64 y #s(literal 1/500 binary64) x) |
| ▶ | 99.9% | (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
| ✓ | 100.0% | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| ▶ | 44.8% | #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
Compiled 18 to 19 computations (-5.6% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y #s(literal 1/500 binary64) x) | |
| cost-diff | 0 | (*.f64 #s(literal -1/500 binary64) y) | |
| cost-diff | 128 | (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) | |
| cost-diff | 0 | (*.f64 y #s(literal 1/500 binary64)) | |
| cost-diff | 0 | #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
| 128× | lower-fma.f32 |
| 126× | lower-fma.f64 |
| 80× | lower-*.f32 |
| 76× | lower-*.f64 |
| 50× | sub-neg |
Useful iterations: 9 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 32 |
| 0 | 16 | 31 |
| 1 | 24 | 31 |
| 2 | 32 | 31 |
| 3 | 41 | 31 |
| 4 | 53 | 31 |
| 5 | 77 | 31 |
| 6 | 112 | 31 |
| 7 | 145 | 31 |
| 8 | 194 | 31 |
| 9 | 239 | 30 |
| 10 | 280 | 30 |
| 0 | 280 | 30 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
(*.f64 y #s(literal 1/500 binary64)) |
y |
#s(literal 1/500 binary64) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
x |
(*.f64 #s(literal -1/500 binary64) y) |
#s(literal -1/500 binary64) |
y |
(fma.f64 y #s(literal 1/500 binary64) x) |
y |
#s(literal 1/500 binary64) |
x |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
(*.f64 y #s(literal 1/500 binary64)) |
(*.f64 #s(literal 1/500 binary64) y) |
y |
#s(literal 1/500 binary64) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
(fma.f64 #s(literal 1/500 binary64) y x) |
x |
(*.f64 #s(literal -1/500 binary64) y) |
#s(literal -1/500 binary64) |
y |
(fma.f64 y #s(literal 1/500 binary64) x) |
(fma.f64 #s(literal 1/500 binary64) y x) |
y |
#s(literal 1/500 binary64) |
x |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0703125 | (fma.f64 y #s(literal 1/500 binary64) x) | |
| accuracy | 0.00390625 | (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) | |
| accuracy | 0.140625 | (*.f64 #s(literal -1/500 binary64) y) | |
| accuracy | 0.140625 | (*.f64 y #s(literal 1/500 binary64)) | |
| accuracy | 35.248145428675606 | #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
| 116.0ms | 256× | 0 | valid |
Compiled 31 to 13 computations (58.1% saved)
const: 98.0ms (91.6% of total)ival-mult: 3.0ms (2.8% of total)ival-div: 2.0ms (1.9% of total)ival-add: 2.0ms (1.9% of total)ival-sub: 1.0ms (0.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(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ()) |
#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ()) |
#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/500 binary64)) (patch (*.f64 y #s(literal 1/500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/500 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/500 binary64) y) (patch (*.f64 #s(literal -1/500 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1/500 y)) (taylor 0 x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1/500 y)) (taylor 0 x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1/500 y)) (taylor 0 x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) (patch #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) (patch (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal 1/500 binary64) x) (patch (fma.f64 y #s(literal 1/500 binary64) x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((+ x (/ y 500)) (* y 1/500) (- x (* -1/500 y)) (* -1/500 y) (+ (* y 1/500) x)) |
| 0.0ms | y | @ | inf | ((+ x (/ y 500)) (* y 1/500) (- x (* -1/500 y)) (* -1/500 y) (+ (* y 1/500) x)) |
| 0.0ms | y | @ | 0 | ((+ x (/ y 500)) (* y 1/500) (- x (* -1/500 y)) (* -1/500 y) (+ (* y 1/500) x)) |
| 0.0ms | x | @ | -inf | ((+ x (/ y 500)) (* y 1/500) (- x (* -1/500 y)) (* -1/500 y) (+ (* y 1/500) x)) |
| 0.0ms | x | @ | 0 | ((+ x (/ y 500)) (* y 1/500) (- x (* -1/500 y)) (* -1/500 y) (+ (* y 1/500) x)) |
| 1× | egg-herbie |
| 2 744× | lower-*.f64 |
| 2 744× | lower-*.f32 |
| 2 716× | lower-fma.f64 |
| 2 716× | lower-fma.f32 |
| 2 640× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 378 |
| 1 | 69 | 378 |
| 2 | 148 | 378 |
| 3 | 431 | 378 |
| 4 | 1241 | 378 |
| 5 | 2416 | 378 |
| 6 | 3204 | 378 |
| 7 | 3551 | 378 |
| 8 | 3866 | 378 |
| 9 | 4042 | 378 |
| 10 | 5336 | 378 |
| 11 | 6176 | 378 |
| 12 | 7024 | 378 |
| 13 | 7326 | 378 |
| 0 | 8232 | 324 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
x |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(* -1/500 y) |
(* -1/500 y) |
(* -1/500 y) |
(* -1/500 y) |
x |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(* 1/500 y) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* -1/500 y) |
(* -1/500 y) |
(* -1/500 y) |
(* -1/500 y) |
(* 1/500 y) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* 1/500 y) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1/500 y) |
(* -1/500 y) |
(* -1/500 y) |
(* -1/500 y) |
(* 1/500 y) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* 1/500 y) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(* 1/500 y) |
(- x (* -1/500 y)) |
(- x (* -1/500 y)) |
(- x (* -1/500 y)) |
(* 1/500 y) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
| Outputs |
|---|
x |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
x |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
x |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* -1/500 y) |
(*.f64 #s(literal -1/500 binary64) y) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(- x (* -1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(- x (* -1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(- x (* -1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
| 5 826× | lower-fma.f32 |
| 5 824× | lower-fma.f64 |
| 3 138× | lower-*.f32 |
| 3 134× | lower-*.f64 |
| 2 228× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 24 |
| 0 | 16 | 22 |
| 1 | 67 | 22 |
| 2 | 495 | 22 |
| 3 | 7806 | 22 |
| 0 | 8131 | 22 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
(*.f64 y #s(literal 1/500 binary64)) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
(*.f64 #s(literal -1/500 binary64) y) |
(fma.f64 y #s(literal 1/500 binary64) 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> |
Compiled 7 822 to 460 computations (94.1% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 423 | 1 | 424 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 1 | 0 | 1 |
| Total | 424 | 4 | 428 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 y #s(literal 1/500 binary64) x) |
| ✓ | 99.9% | (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
| ▶ | 44.9% | #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
| ✓ | 44.8% | #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
Compiled 17 to 19 computations (-11.8% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 y #s(literal 500 binary64)) | |
| cost-diff | 0 | #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
| 4× | lower-+.f64 |
| 4× | lower-+.f32 |
| 2× | lift-/.f64 |
| 2× | lower-/.f32 |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 0 | 8 | 14 |
| 1 | 9 | 14 |
| 0 | 9 | 14 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
(/.f64 y #s(literal 500 binary64)) |
y |
#s(literal 500 binary64) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
(/.f64 y #s(literal 500 binary64)) |
y |
#s(literal 500 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 y #s(literal 500 binary64)) | |
| accuracy | 35.248145428675606 | #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
| 9.0ms | 256× | 0 | valid |
Compiled 12 to 7 computations (41.7% saved)
ival-div: 2.0ms (57.3% of total)ival-add: 1.0ms (28.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(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ()) |
#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/500 (/ x y))) (taylor inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1/500))) (taylor -inf y) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 500 binary64)) (patch (/.f64 y #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/500 y) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* 1/500 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/500 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) (patch #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | -inf | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | y | @ | inf | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | y | @ | 0 | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | x | @ | -inf | ((+ x (/ y 500)) (/ y 500)) |
| 0.0ms | x | @ | inf | ((+ x (/ y 500)) (/ y 500)) |
| 1× | egg-herbie |
| 4 188× | lower-/.f32 |
| 4 188× | lower-/.f64 |
| 3 708× | associate-/r* |
| 2 352× | lower-fma.f64 |
| 2 352× | lower-fma.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 138 |
| 1 | 64 | 138 |
| 2 | 141 | 138 |
| 3 | 395 | 138 |
| 4 | 1104 | 138 |
| 5 | 2534 | 138 |
| 6 | 3433 | 138 |
| 7 | 4306 | 138 |
| 8 | 4782 | 138 |
| 9 | 4957 | 138 |
| 10 | 5047 | 138 |
| 11 | 5745 | 138 |
| 12 | 6061 | 138 |
| 13 | 6065 | 138 |
| 14 | 6065 | 138 |
| 15 | 6065 | 138 |
| 0 | 8138 | 120 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* y (+ 1/500 (/ x y))) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(* 1/500 y) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
(+ x (* 1/500 y)) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(* x (+ 1 (* 1/500 (/ y x)))) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
| Outputs |
|---|
x |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* y (+ 1/500 (/ x y))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* y (- (* -1 (/ x y)) 1/500))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(* 1/500 y) |
(*.f64 y #s(literal 1/500 binary64)) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(+ x (* 1/500 y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* x (+ 1 (* 1/500 (/ y x)))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
x |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(* -1 (* x (- (* -1/500 (/ y x)) 1))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
| 3 588× | lower-/.f32 |
| 3 586× | lower-/.f64 |
| 3 556× | lower-fma.f64 |
| 3 556× | lower-fma.f32 |
| 2 998× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 0 | 8 | 12 |
| 1 | 32 | 12 |
| 2 | 236 | 12 |
| 3 | 3707 | 12 |
| 0 | 8296 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
(/.f64 y #s(literal 500 binary64)) |
| 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> |
Compiled 452 to 133 computations (70.6% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 74 | 0 | 74 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 74 | 4 | 78 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 y #s(literal 1/500 binary64) x) |
| ✓ | 99.9% | (-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
| ✓ | 44.9% | #s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
| ✓ | 44.8% | #s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
Compiled 39 to 32 computations (17.9% saved)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
4 calls:
| 2.0ms | (/.f64 y #s(literal 500 binary64)) |
| 2.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 100.0% | 1 | (/.f64 y #s(literal 500 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64))) |
| Outputs |
|---|
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
4 calls:
| 20.0ms | y |
| 2.0ms | (/.f64 y #s(literal 500 binary64)) |
| 2.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | y |
| 99.9% | 1 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 99.9% | 1 | (/.f64 y #s(literal 500 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
(fma.f64 y #s(literal 1/500 binary64) x) |
| Outputs |
|---|
(fma.f64 y #s(literal 1/500 binary64) x) |
4 calls:
| 4.0ms | y |
| 2.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 2.0ms | (/.f64 y #s(literal 500 binary64)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | y |
| 99.9% | 1 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 99.9% | 1 | (/.f64 y #s(literal 500 binary64)) |
Compiled 10 to 13 computations (-30% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
4 calls:
| 1.0ms | (/.f64 y #s(literal 500 binary64)) |
| 1.0ms | y |
| 1.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 44.8% | 1 | x |
| 44.8% | 1 | y |
| 44.8% | 1 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 44.8% | 1 | (/.f64 y #s(literal 500 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| 1× | egg-herbie |
| 10× | *-commutative-binary64-*.f64 |
| 10× | +-commutative-binary64-+.f64 |
| 8× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 6× | neg-sub0-binary64--.f64-neg.f64 |
| 6× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 23 |
| 1 | 22 | 23 |
| 2 | 34 | 23 |
| 3 | 40 | 23 |
| 4 | 44 | 23 |
| 5 | 45 | 23 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
(+.f64 (/.f64 y #s(literal 500 binary64)) x) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
(fma.f64 y #s(literal 1/500 binary64) x) |
#s(approx (+ x (/ y 500)) (*.f64 y #s(literal 1/500 binary64))) |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
| 4 188× | lower-/.f32 |
| 4 188× | lower-/.f64 |
| 3 708× | associate-/r* |
| 3 588× | lower-/.f32 |
| 3 586× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 138 |
| 1 | 64 | 138 |
| 2 | 141 | 138 |
| 3 | 395 | 138 |
| 4 | 1104 | 138 |
| 5 | 2534 | 138 |
| 6 | 3433 | 138 |
| 7 | 4306 | 138 |
| 8 | 4782 | 138 |
| 9 | 4957 | 138 |
| 10 | 5047 | 138 |
| 11 | 5745 | 138 |
| 12 | 6061 | 138 |
| 13 | 6065 | 138 |
| 14 | 6065 | 138 |
| 15 | 6065 | 138 |
| 0 | 8138 | 120 |
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 31 | 8 |
| 2 | 235 | 8 |
| 3 | 3706 | 8 |
| 0 | 8295 | 7 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 40 to 31 computations (22.5% saved)
Compiled 46 to 34 computations (26.1% saved)
Loading profile data...