
Time bar (total: 2.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 7 to 7 computations (0% saved)
| 342.0ms | 8 256× | 0 | valid |
ival-sub: 88.0ms (51.3% of total)ival-div: 68.0ms (39.6% of total)ival-true: 6.0ms (3.5% of total)exact: 5.0ms (2.9% of total)ival-assert: 4.0ms (2.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 x (/.f64 y #s(literal 4 binary64))) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (/.f64 y #s(literal 4 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 4 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 |
| 35.0ms | 512× | 0 | valid |
Compiled 42 to 24 computations (42.9% saved)
ival-sub: 18.0ms (79.6% of total)ival-div: 4.0ms (17.7% 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 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 29 |
| 1 | 30 | 27 |
| 2 | 74 | 25 |
| 3 | 152 | 25 |
| 4 | 250 | 25 |
| 5 | 293 | 25 |
| 6 | 299 | 25 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 9 | 5 |
| 2 | 19 | 5 |
| 3 | 27 | 5 |
| 4 | 39 | 5 |
| 5 | 58 | 5 |
| 6 | 94 | 5 |
| 7 | 126 | 5 |
| 8 | 182 | 5 |
| 9 | 213 | 5 |
| 10 | 246 | 5 |
| 11 | 247 | 5 |
| 0 | 247 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 x (/.f64 y #s(literal 4 binary64))) |
| Outputs |
|---|
(-.f64 x (/.f64 y #s(literal 4 binary64))) |
(fma.f64 #s(literal -1/4 binary64) y 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 4 binary64))) |
Compiled 5 to 5 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 128 | (-.f64 x (/.f64 y #s(literal 4 binary64))) | |
| cost-diff | 384 | (/.f64 y #s(literal 4 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 9 | 11 |
| 2 | 19 | 11 |
| 3 | 27 | 11 |
| 4 | 39 | 11 |
| 5 | 58 | 11 |
| 6 | 94 | 11 |
| 7 | 126 | 11 |
| 8 | 182 | 11 |
| 9 | 213 | 11 |
| 10 | 246 | 11 |
| 11 | 247 | 11 |
| 0 | 247 | 10 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 x (/.f64 y #s(literal 4 binary64))) |
x |
(/.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
| Outputs |
|---|
(-.f64 x (/.f64 y #s(literal 4 binary64))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
x |
(/.f64 y #s(literal 4 binary64)) |
(*.f64 #s(literal 1/4 binary64) y) |
y |
#s(literal 4 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 y #s(literal 4 binary64)) | |
| accuracy | 0 | (-.f64 x (/.f64 y #s(literal 4 binary64))) |
| 17.0ms | 256× | 0 | valid |
Compiled 24 to 12 computations (50% saved)
ival-div: 2.0ms (57.1% of total)ival-sub: 1.0ms (28.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 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ()) |
#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/4 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/4 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 4 binary64)) (patch (/.f64 y #s(literal 4 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/4 y)) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/4 y)) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/4 y)) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 4 binary64))) (patch (-.f64 x (/.f64 y #s(literal 4 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((/ y 4) (- x (/ y 4))) |
| 0.0ms | y | @ | -inf | ((/ y 4) (- x (/ y 4))) |
| 0.0ms | x | @ | -inf | ((/ y 4) (- x (/ y 4))) |
| 0.0ms | y | @ | 0 | ((/ y 4) (- x (/ y 4))) |
| 0.0ms | x | @ | inf | ((/ y 4) (- x (/ y 4))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 138 |
| 1 | 68 | 138 |
| 2 | 170 | 138 |
| 3 | 455 | 138 |
| 4 | 1249 | 138 |
| 5 | 2477 | 138 |
| 6 | 3282 | 138 |
| 7 | 3618 | 138 |
| 8 | 3914 | 138 |
| 9 | 4095 | 138 |
| 10 | 5236 | 138 |
| 11 | 6032 | 138 |
| 12 | 6800 | 138 |
| 13 | 7068 | 138 |
| 14 | 7848 | 138 |
| 0 | 8384 | 120 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/4 y) |
(* 1/4 y) |
(* 1/4 y) |
(* 1/4 y) |
x |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
(* 1/4 y) |
(* 1/4 y) |
(* 1/4 y) |
(* 1/4 y) |
(* -1/4 y) |
(* y (- (/ x y) 1/4)) |
(* y (- (/ x y) 1/4)) |
(* y (- (/ x y) 1/4)) |
(* 1/4 y) |
(* 1/4 y) |
(* 1/4 y) |
(* 1/4 y) |
(* -1/4 y) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1/4 y) |
(- x (* 1/4 y)) |
(- x (* 1/4 y)) |
(- x (* 1/4 y)) |
x |
(* x (+ 1 (* -1/4 (/ y x)))) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(* x (+ 1 (* -1/4 (/ y x)))) |
x |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
| Outputs |
|---|
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
x |
(+ x (* -1/4 y)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(+ x (* -1/4 y)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(+ x (* -1/4 y)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* -1/4 y) |
(*.f64 #s(literal -1/4 binary64) y) |
(* y (- (/ x y) 1/4)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* y (- (/ x y) 1/4)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* y (- (/ x y) 1/4)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* 1/4 y) |
(*.f64 y #s(literal 1/4 binary64)) |
(* -1/4 y) |
(*.f64 #s(literal -1/4 binary64) y) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* -1/4 y) |
(*.f64 #s(literal -1/4 binary64) y) |
(- x (* 1/4 y)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(- x (* 1/4 y)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(- x (* 1/4 y)) |
(fma.f64 #s(literal -1/4 binary64) y x) |
x |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
x |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 #s(literal -1/4 binary64) y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 32 | 8 |
| 2 | 248 | 8 |
| 3 | 4066 | 8 |
| 0 | 8150 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 y #s(literal 4 binary64)) |
(-.f64 x (/.f64 y #s(literal 4 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> |
Compiled 2 670 to 398 computations (85.1% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 161 | 2 | 163 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 162 | 2 | 164 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 y #s(literal -1/4 binary64) x) |
| ▶ | 52.9% | #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
Compiled 8 to 9 computations (-12.5% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y #s(literal -1/4 binary64) x) | |
| cost-diff | 0 | (*.f64 #s(literal -1/4 binary64) y) | |
| cost-diff | 0 | #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 0 | 12 | 21 |
| 1 | 16 | 21 |
| 2 | 26 | 21 |
| 3 | 34 | 21 |
| 4 | 47 | 20 |
| 5 | 71 | 20 |
| 6 | 106 | 20 |
| 7 | 135 | 20 |
| 8 | 191 | 20 |
| 9 | 222 | 20 |
| 10 | 255 | 20 |
| 11 | 256 | 20 |
| 0 | 256 | 20 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
(*.f64 #s(literal -1/4 binary64) y) |
#s(literal -1/4 binary64) |
y |
(fma.f64 y #s(literal -1/4 binary64) x) |
y |
#s(literal -1/4 binary64) |
x |
| Outputs |
|---|
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
#s(approx (- x (/ y 4)) (*.f64 y #s(literal -1/4 binary64))) |
(*.f64 #s(literal -1/4 binary64) y) |
(*.f64 y #s(literal -1/4 binary64)) |
#s(literal -1/4 binary64) |
y |
(fma.f64 y #s(literal -1/4 binary64) x) |
y |
#s(literal -1/4 binary64) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 y #s(literal -1/4 binary64) x) | |
| accuracy | 0 | (*.f64 #s(literal -1/4 binary64) y) | |
| accuracy | 30.160446319120037 | #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
| 32.0ms | 256× | 0 | valid |
Compiled 36 to 17 computations (52.8% saved)
ival-mult: 20.0ms (78.9% of total)ival-div: 2.0ms (7.9% of total)ival-sub: 1.0ms (3.9% of total)ival-add: 1.0ms (3.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 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ()) |
#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/4)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor -inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/4 binary64) y) (patch (*.f64 #s(literal -1/4 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/4 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor 0 x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/4 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/4 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/4 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/4 y) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/4 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/4 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) (patch #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/4 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/4 binary64) x) (patch (fma.f64 y #s(literal -1/4 binary64) x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x)) |
| 0.0ms | y | @ | 0 | ((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x)) |
| 0.0ms | y | @ | -inf | ((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x)) |
| 0.0ms | x | @ | inf | ((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x)) |
| 0.0ms | x | @ | -inf | ((- x (/ y 4)) (* -1/4 y) (+ (* y -1/4) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 240 |
| 1 | 68 | 240 |
| 2 | 170 | 240 |
| 3 | 456 | 240 |
| 4 | 1244 | 240 |
| 5 | 2466 | 240 |
| 6 | 3268 | 240 |
| 7 | 3604 | 240 |
| 8 | 3900 | 240 |
| 9 | 4084 | 240 |
| 10 | 5232 | 240 |
| 11 | 6028 | 240 |
| 12 | 6796 | 240 |
| 13 | 7064 | 240 |
| 14 | 7844 | 240 |
| 0 | 8380 | 204 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
x |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
(* -1/4 y) |
(* y (- (/ x y) 1/4)) |
(* y (- (/ x y) 1/4)) |
(* y (- (/ x y) 1/4)) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
(* y (- (/ x y) 1/4)) |
(* y (- (/ x y) 1/4)) |
(* y (- (/ x y) 1/4)) |
(* -1/4 y) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
(* -1/4 y) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(* -1/4 y) |
(- x (* 1/4 y)) |
(- x (* 1/4 y)) |
(- x (* 1/4 y)) |
(* -1/4 y) |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
(+ x (* -1/4 y)) |
x |
(* x (+ 1 (* -1/4 (/ y x)))) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(* x (+ 1 (* -1/4 (/ y x)))) |
x |
(* x (+ 1 (* -1/4 (/ y x)))) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(* x (+ 1 (* -1/4 (/ y x)))) |
x |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
x |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
| Outputs |
|---|
x |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
x |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* y (- (/ x y) 1/4)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* y (- (/ x y) 1/4)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* y (- (/ x y) 1/4)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* y (- (/ x y) 1/4)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* y (- (/ x y) 1/4)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* y (- (/ x y) 1/4)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* y (+ 1/4 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(- x (* 1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(- x (* 1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(- x (* 1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1/4 y) |
(*.f64 y #s(literal -1/4 binary64)) |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(+ x (* -1/4 y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
x |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
x |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* x (+ 1 (* -1/4 (/ y x)))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
x |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
x |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(* -1 (* x (- (* 1/4 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/4 binary64) x) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 0 | 12 | 16 |
| 1 | 49 | 15 |
| 2 | 399 | 15 |
| 3 | 6470 | 15 |
| 0 | 8192 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
(*.f64 #s(literal -1/4 binary64) y) |
(fma.f64 y #s(literal -1/4 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> |
Compiled 3 387 to 411 computations (87.9% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 195 | 0 | 195 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 195 | 2 | 197 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 y #s(literal -1/4 binary64) x) |
| ✓ | 52.9% | #s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
Compiled 21 to 18 computations (14.3% saved)
| Inputs |
|---|
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
(fma.f64 y #s(literal -1/4 binary64) x) |
(-.f64 x (/.f64 y #s(literal 4 binary64))) |
| Outputs |
|---|
(fma.f64 y #s(literal -1/4 binary64) x) |
4 calls:
| 2.0ms | (-.f64 x (/.f64 y #s(literal 4 binary64))) |
| 2.0ms | (/.f64 y #s(literal 4 binary64)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (-.f64 x (/.f64 y #s(literal 4 binary64))) |
| 100.0% | 1 | (/.f64 y #s(literal 4 binary64)) |
Compiled 10 to 13 computations (-30% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
| Outputs |
|---|
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
4 calls:
| 1.0ms | (-.f64 x (/.f64 y #s(literal 4 binary64))) |
| 1.0ms | (/.f64 y #s(literal 4 binary64)) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.9% | 1 | x |
| 52.9% | 1 | y |
| 52.9% | 1 | (-.f64 x (/.f64 y #s(literal 4 binary64))) |
| 52.9% | 1 | (/.f64 y #s(literal 4 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 13 |
| 1 | 10 | 13 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 y #s(literal -1/4 binary64) x) |
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
| Outputs |
|---|
(fma.f64 y #s(literal -1/4 binary64) x) |
#s(approx (- x (/ y 4)) (*.f64 #s(literal -1/4 binary64) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 32 | 8 |
| 2 | 248 | 8 |
| 3 | 4066 | 8 |
| 0 | 8150 | 7 |
| 0 | 25 | 138 |
| 1 | 68 | 138 |
| 2 | 170 | 138 |
| 3 | 455 | 138 |
| 4 | 1249 | 138 |
| 5 | 2477 | 138 |
| 6 | 3282 | 138 |
| 7 | 3618 | 138 |
| 8 | 3914 | 138 |
| 9 | 4095 | 138 |
| 10 | 5236 | 138 |
| 11 | 6032 | 138 |
| 12 | 6800 | 138 |
| 13 | 7068 | 138 |
| 14 | 7848 | 138 |
| 0 | 8384 | 120 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 20 to 17 computations (15% saved)
Compiled 26 to 22 computations (15.4% saved)
Loading profile data...