
Time bar (total: 3.5s)
| 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)
| 428.0ms | 8 256× | 0 | valid |
ival-add: 69.0ms (48.9% of total)ival-mult: 58.0ms (41.1% of total)ival-true: 6.0ms (4.3% of total)exact: 5.0ms (3.5% of total)ival-assert: 3.0ms (2.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 y #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 x (+.f64 y #s(literal 1 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 |
| 19.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-add: 3.0ms (41.2% of total)ival-mult: 3.0ms (41.2% 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 |
| 102× | unsub-neg |
| 74× | distribute-lft-in |
| 68× | distribute-rgt-in |
| 68× | associate-*r* |
| 68× | sub-neg |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 31 |
| 1 | 57 | 27 |
| 2 | 162 | 25 |
| 3 | 388 | 25 |
| 4 | 514 | 25 |
| 5 | 615 | 25 |
| 6 | 620 | 25 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 17 | 5 |
| 2 | 21 | 5 |
| 3 | 34 | 5 |
| 4 | 34 | 5 |
| 0 | 34 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(*.f64 x (+.f64 y #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 x (+.f64 y #s(literal 1 binary64))) |
(fma.f64 y x x) |
(negabs 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 1 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 1 binary64)) | |
| cost-diff | 128 | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 28× | lower-*.f32 |
| 26× | lower-*.f64 |
| 16× | lower-fma.f64 |
| 16× | lower-fma.f32 |
| 8× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 17 | 11 |
| 2 | 21 | 11 |
| 3 | 34 | 11 |
| 4 | 34 | 11 |
| 0 | 34 | 10 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x (+.f64 y #s(literal 1 binary64))) |
x |
(+.f64 y #s(literal 1 binary64)) |
y |
#s(literal 1 binary64) |
| Outputs |
|---|
(*.f64 x (+.f64 y #s(literal 1 binary64))) |
(fma.f64 y x x) |
x |
(+.f64 y #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) y) |
y |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 y #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 13.0ms | 256× | 0 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-add: 3.0ms (59.4% of total)ival-mult: 2.0ms (39.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 (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 y) (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 y) (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 y) (taylor 0 y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt (+.f64 y #s(literal 1 binary64)) (patch (+.f64 y #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x (+.f64 y #s(literal 1 binary64))) (patch (*.f64 x (+.f64 y #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((* x (+ y 1)) (+ y 1)) |
| 0.0ms | y | @ | -inf | ((* x (+ y 1)) (+ y 1)) |
| 0.0ms | y | @ | inf | ((* x (+ y 1)) (+ y 1)) |
| 0.0ms | x | @ | inf | ((* x (+ y 1)) (+ y 1)) |
| 0.0ms | x | @ | 0 | ((* x (+ y 1)) (+ y 1)) |
| 1× | egg-herbie |
| 3 472× | lower-fma.f64 |
| 3 472× | lower-fma.f32 |
| 2 232× | lower-/.f32 |
| 2 232× | lower-/.f64 |
| 2 112× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 142 |
| 1 | 63 | 142 |
| 2 | 136 | 142 |
| 3 | 336 | 142 |
| 4 | 1268 | 142 |
| 5 | 2642 | 142 |
| 6 | 3266 | 142 |
| 7 | 3557 | 142 |
| 8 | 3733 | 142 |
| 9 | 3767 | 142 |
| 10 | 4347 | 142 |
| 11 | 5640 | 142 |
| 12 | 6396 | 142 |
| 13 | 6645 | 142 |
| 14 | 6701 | 142 |
| 15 | 6701 | 142 |
| 16 | 7189 | 142 |
| 17 | 7285 | 142 |
| 18 | 7437 | 142 |
| 19 | 7497 | 142 |
| 0 | 8093 | 121 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* x y)) |
(+ x (* x y)) |
(+ x (* x y)) |
1 |
(+ 1 y) |
(+ 1 y) |
(+ 1 y) |
(* x y) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
y |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
y |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
| Outputs |
|---|
x |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
1 |
#s(literal 1 binary64) |
(+ 1 y) |
(-.f64 y #s(literal -1 binary64)) |
(+ 1 y) |
(-.f64 y #s(literal -1 binary64)) |
(+ 1 y) |
(-.f64 y #s(literal -1 binary64)) |
(* x y) |
(*.f64 y x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
y |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
y |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
| 7 892× | lower-fma.f64 |
| 7 892× | lower-fma.f32 |
| 4 072× | lower-/.f64 |
| 4 072× | lower-/.f32 |
| 3 458× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 30 | 8 |
| 2 | 173 | 8 |
| 3 | 1266 | 8 |
| 0 | 8426 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x (+.f64 y #s(literal 1 binary64))) |
(+.f64 y #s(literal 1 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 6 423 to 807 computations (87.4% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 309 | 3 | 312 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 310 | 3 | 313 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 y x x) |
| ▶ | 52.3% | (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
| ▶ | 49.6% | #s(approx (* x (+ y 1)) (*.f64 y x)) |
Compiled 12 to 12 computations (0% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y x x) | |
| cost-diff | 0 | #s(approx (+ y 1) #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (* x (+ y 1)) (*.f64 y x)) |
| 40× | lower-*.f32 |
| 36× | lower-*.f64 |
| 16× | lower-fma.f32 |
| 14× | lower-fma.f64 |
| 12× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 0 | 13 | 33 |
| 1 | 25 | 33 |
| 2 | 25 | 33 |
| 3 | 44 | 33 |
| 4 | 44 | 33 |
| 0 | 44 | 33 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
x |
#s(approx (+ y 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(fma.f64 y x x) |
y |
x |
| Outputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
(*.f64 #s(approx (+ y 1) #s(literal 1 binary64)) x) |
x |
#s(approx (+ y 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(fma.f64 y x x) |
y |
x |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 y x x) | |
| accuracy | 0.0078125 | (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) | |
| accuracy | 30.671458013390662 | #s(approx (+ y 1) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 y x) | |
| accuracy | 32.232767882176155 | #s(approx (* x (+ y 1)) (*.f64 y x)) |
| 47.0ms | 256× | 0 | valid |
Compiled 29 to 9 computations (69% saved)
ival-mult: 3.0ms (49.9% of total)ival-add: 2.0ms (33.2% 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 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ()) |
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.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 (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 y) (taylor 0 y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 y) (taylor 0 y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 y) (taylor 0 y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ 1 y))) (taylor -inf y) (#s(alt #s(approx (+ y 1) #s(literal 1 binary64)) (patch #s(approx (+ y 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.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 (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt #s(approx (* x (+ y 1)) (*.f64 y x)) (patch #s(approx (* x (+ y 1)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor -inf x) (#s(alt (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) (patch (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((* x (+ y 1)) (* y x) (* x (+ y 1)) (+ y 1) (+ (* y x) x)) |
| 1.0ms | x | @ | inf | ((* x (+ y 1)) (* y x) (* x (+ y 1)) (+ y 1) (+ (* y x) x)) |
| 1.0ms | y | @ | -inf | ((* x (+ y 1)) (* y x) (* x (+ y 1)) (+ y 1) (+ (* y x) x)) |
| 0.0ms | y | @ | inf | ((* x (+ y 1)) (* y x) (* x (+ y 1)) (+ y 1) (+ (* y x) x)) |
| 0.0ms | x | @ | 0 | ((* x (+ y 1)) (* y x) (* x (+ y 1)) (+ y 1) (+ (* y x) x)) |
| 1× | egg-herbie |
| 2 840× | lower-fma.f64 |
| 2 840× | lower-fma.f32 |
| 1 792× | lower-/.f32 |
| 1 792× | lower-/.f64 |
| 1 676× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 438 |
| 1 | 74 | 438 |
| 2 | 162 | 438 |
| 3 | 389 | 438 |
| 4 | 1416 | 438 |
| 5 | 2597 | 438 |
| 6 | 3130 | 438 |
| 7 | 3458 | 438 |
| 8 | 3618 | 438 |
| 9 | 3624 | 438 |
| 10 | 4475 | 438 |
| 11 | 5777 | 438 |
| 12 | 6911 | 438 |
| 13 | 7598 | 438 |
| 14 | 7637 | 438 |
| 15 | 7649 | 438 |
| 0 | 8329 | 375 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* x y)) |
(+ x (* x y)) |
(+ x (* x y)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
x |
(+ x (* x y)) |
(+ x (* x y)) |
(+ x (* x y)) |
1 |
(+ 1 y) |
(+ 1 y) |
(+ 1 y) |
x |
(+ x (* x y)) |
(+ x (* x y)) |
(+ x (* x y)) |
(* x y) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
y |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* x y) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
y |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* y (+ 1 (/ 1 y))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
| Outputs |
|---|
x |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
x |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
1 |
#s(literal 1 binary64) |
(+ 1 y) |
(-.f64 y #s(literal -1 binary64)) |
(+ 1 y) |
(-.f64 y #s(literal -1 binary64)) |
(+ 1 y) |
(-.f64 y #s(literal -1 binary64)) |
x |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
y |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* x y) |
(*.f64 y x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
y |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* y (+ 1 (/ 1 y))) |
(-.f64 y #s(literal -1 binary64)) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
| 8 298× | lower-fma.f32 |
| 8 296× | lower-fma.f64 |
| 4 642× | lower-/.f64 |
| 4 642× | lower-/.f32 |
| 4 138× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 28 |
| 0 | 13 | 27 |
| 1 | 50 | 27 |
| 2 | 292 | 27 |
| 3 | 2641 | 27 |
| 0 | 9223 | 27 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
(*.f64 y x) |
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
#s(approx (+ y 1) #s(literal 1 binary64)) |
(fma.f64 y x 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> |
Compiled 4 698 to 510 computations (89.1% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 280 | 0 | 280 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 280 | 3 | 283 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 y x x) |
| ✓ | 52.3% | (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
| ✓ | 49.6% | #s(approx (* x (+ y 1)) (*.f64 y x)) |
Compiled 29 to 22 computations (24.1% saved)
| Inputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
(fma.f64 y x x) |
(*.f64 x (+.f64 y #s(literal 1 binary64))) |
| Outputs |
|---|
(fma.f64 y x x) |
4 calls:
| 38.0ms | (+.f64 y #s(literal 1 binary64)) |
| 2.0ms | x |
| 2.0ms | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 100.0% | 1 | (+.f64 y #s(literal 1 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) |
#s(approx (* x (+ y 1)) (*.f64 y x)) |
4 calls:
| 2.0ms | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 2.0ms | x |
| 2.0ms | y |
| 1.0ms | (+.f64 y #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 61.3% | 5 | x |
| 97.6% | 3 | y |
| 80.2% | 3 | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 97.6% | 3 | (+.f64 y #s(literal 1 binary64)) |
Compiled 10 to 13 computations (-30% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
| Outputs |
|---|
#s(approx (* x (+ y 1)) (*.f64 y x)) |
4 calls:
| 17.0ms | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (+.f64 y #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 49.6% | 1 | x |
| 49.6% | 1 | (*.f64 x (+.f64 y #s(literal 1 binary64))) |
| 49.6% | 1 | y |
| 49.6% | 1 | (+.f64 y #s(literal 1 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.1043110191478023 | 216.86398378882288 |
| 0.0ms | -147851.08707673659 | 1.0 |
Compiled 8 to 10 computations (-25% saved)
| 1× | egg-herbie |
| 4× | *-commutative-binary64-*.f64 |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | 1-exp-binary64-exp.f64 |
| 2× | +-commutative-binary64-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 50 |
| 1 | 23 | 50 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 y x x) |
(if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal -100000 binary64)) #s(approx (* x (+ y 1)) (*.f64 y x)) (if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal 2 binary64)) (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #s(approx (* x (+ y 1)) (*.f64 y x)))) |
#s(approx (* x (+ y 1)) (*.f64 y x)) |
| Outputs |
|---|
(fma.f64 y x x) |
(if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal -100000 binary64)) #s(approx (* x (+ y 1)) (*.f64 y x)) (if (<=.f64 (+.f64 y #s(literal 1 binary64)) #s(literal 2 binary64)) (*.f64 x #s(approx (+ y 1) #s(literal 1 binary64))) #s(approx (* x (+ y 1)) (*.f64 y x)))) |
(if (<=.f64 (+.f64 #s(literal 1 binary64) y) #s(literal -100000 binary64)) #s(approx (* x (+ y 1)) (*.f64 x y)) (if (<=.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) (*.f64 #s(approx (+ y 1) #s(literal 1 binary64)) x) #s(approx (* x (+ y 1)) (*.f64 x y)))) |
#s(approx (* x (+ y 1)) (*.f64 y x)) |
#s(approx (* x (+ y 1)) (*.f64 x y)) |
| 7 892× | lower-fma.f64 |
| 7 892× | lower-fma.f32 |
| 4 072× | lower-/.f64 |
| 4 072× | lower-/.f32 |
| 3 472× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 30 | 8 |
| 2 | 173 | 8 |
| 3 | 1266 | 8 |
| 0 | 8426 | 7 |
| 0 | 19 | 142 |
| 1 | 63 | 142 |
| 2 | 136 | 142 |
| 3 | 336 | 142 |
| 4 | 1268 | 142 |
| 5 | 2642 | 142 |
| 6 | 3266 | 142 |
| 7 | 3557 | 142 |
| 8 | 3733 | 142 |
| 9 | 3767 | 142 |
| 10 | 4347 | 142 |
| 11 | 5640 | 142 |
| 12 | 6396 | 142 |
| 13 | 6645 | 142 |
| 14 | 6701 | 142 |
| 15 | 6701 | 142 |
| 16 | 7189 | 142 |
| 17 | 7285 | 142 |
| 18 | 7437 | 142 |
| 19 | 7497 | 142 |
| 0 | 8093 | 121 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 50 to 31 computations (38% saved)
(negabs x)
Compiled 100 to 60 computations (40% saved)
Loading profile data...