
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)
| 835.0ms | 8 256× | 0 | valid |
ival-sub: 223.0ms (59.6% of total)ival-div: 137.0ms (36.6% of total)ival-true: 7.0ms (1.9% of total)exact: 4.0ms (1.1% of total)ival-assert: 3.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 200 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 x (/.f64 y #s(literal 200 binary64))) |
| 0 | 0 | - | 0 | - | (/.f64 y #s(literal 200 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-div: 4.0ms (53% of total)ival-sub: 2.0ms (26.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 128× | lower-fma.f64 |
| 128× | lower-fma.f32 |
| 80× | lower-*.f64 |
| 80× | lower-*.f32 |
| 46× | sub-neg |
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 200 binary64))) |
| Outputs |
|---|
(-.f64 x (/.f64 y #s(literal 200 binary64))) |
(fma.f64 #s(literal -1/200 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 200 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 200 binary64))) | |
| cost-diff | 384 | (/.f64 y #s(literal 200 binary64)) |
| 128× | lower-fma.f64 |
| 128× | lower-fma.f32 |
| 80× | lower-*.f64 |
| 80× | lower-*.f32 |
| 40× | lower-+.f64 |
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 200 binary64))) |
x |
(/.f64 y #s(literal 200 binary64)) |
y |
#s(literal 200 binary64) |
| Outputs |
|---|
(-.f64 x (/.f64 y #s(literal 200 binary64))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
x |
(/.f64 y #s(literal 200 binary64)) |
(*.f64 #s(literal 1/200 binary64) y) |
y |
#s(literal 200 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 y #s(literal 200 binary64)) | |
| accuracy | 0 | (-.f64 x (/.f64 y #s(literal 200 binary64))) |
| 33.0ms | 256× | 0 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-div: 25.0ms (92.4% of total)ival-sub: 1.0ms (3.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ()) |
#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal 200 binary64)) (patch (/.f64 y #s(literal 200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 y #s(literal 200 binary64))) (patch (-.f64 x (/.f64 y #s(literal 200 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((/ y 200) (- x (/ y 200))) |
| 1.0ms | y | @ | -inf | ((/ y 200) (- x (/ y 200))) |
| 0.0ms | x | @ | -inf | ((/ y 200) (- x (/ y 200))) |
| 0.0ms | y | @ | 0 | ((/ y 200) (- x (/ y 200))) |
| 0.0ms | x | @ | inf | ((/ y 200) (- x (/ y 200))) |
| 1× | egg-herbie |
| 3 160× | lower-fma.f64 |
| 3 160× | lower-fma.f32 |
| 2 584× | lower-*.f64 |
| 2 584× | lower-*.f32 |
| 2 384× | lower-/.f32 |
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/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
x |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* -1/200 y) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* -1/200 y) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1/200 y) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
| Outputs |
|---|
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
x |
(+ x (* -1/200 y)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(+ x (* -1/200 y)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(+ x (* -1/200 y)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* -1/200 y) |
(*.f64 #s(literal -1/200 binary64) y) |
(* y (- (/ x y) 1/200)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* 1/200 y) |
(*.f64 y #s(literal 1/200 binary64)) |
(* -1/200 y) |
(*.f64 #s(literal -1/200 binary64) y) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* -1/200 y) |
(*.f64 #s(literal -1/200 binary64) y) |
(- x (* 1/200 y)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(- x (* 1/200 y)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(- x (* 1/200 y)) |
(fma.f64 #s(literal -1/200 binary64) y x) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 #s(literal -1/200 binary64) y x) |
| 3 368× | lower-fma.f64 |
| 3 368× | lower-fma.f32 |
| 3 224× | lower-*.f64 |
| 3 224× | lower-*.f32 |
| 2 912× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 32 | 8 |
| 2 | 248 | 8 |
| 3 | 4067 | 8 |
| 0 | 8164 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 y #s(literal 200 binary64)) |
(-.f64 x (/.f64 y #s(literal 200 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 399 computations (85.1% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 161 | 2 | 163 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 161 | 3 | 164 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (fma.f64 y #s(literal -1/200 binary64) x) |
| ✓ | 100.0% | (-.f64 x (/.f64 y #s(literal 200 binary64))) |
| ▶ | 45.3% | #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
Compiled 13 to 14 computations (-7.7% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y #s(literal -1/200 binary64) x) | |
| cost-diff | 0 | (*.f64 #s(literal -1/200 binary64) y) | |
| cost-diff | 0 | #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
| 128× | lower-fma.f32 |
| 126× | lower-fma.f64 |
| 80× | lower-*.f32 |
| 78× | lower-*.f64 |
| 40× | lower-+.f64 |
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 200)) (*.f64 #s(literal -1/200 binary64) y)) |
(*.f64 #s(literal -1/200 binary64) y) |
#s(literal -1/200 binary64) |
y |
(fma.f64 y #s(literal -1/200 binary64) x) |
y |
#s(literal -1/200 binary64) |
x |
| Outputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
(*.f64 #s(literal -1/200 binary64) y) |
#s(literal -1/200 binary64) |
y |
(fma.f64 y #s(literal -1/200 binary64) x) |
(fma.f64 #s(literal -1/200 binary64) y x) |
y |
#s(literal -1/200 binary64) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0390625 | (fma.f64 y #s(literal -1/200 binary64) x) | |
| accuracy | 0.09765625 | (*.f64 #s(literal -1/200 binary64) y) | |
| accuracy | 34.96967661747678 | #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
| 23.0ms | 256× | 0 | valid |
Compiled 20 to 11 computations (45% saved)
ival-mult: 3.0ms (24.7% of total)const: 3.0ms (24.7% of total)ival-div: 2.0ms (16.5% of total)ival-sub: 1.0ms (8.2% of total)ival-add: 1.0ms (8.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 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ()) |
#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (*.f64 #s(literal -1/200 binary64) y) (patch (*.f64 #s(literal -1/200 binary64) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) (patch #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -1/200 binary64) x) (patch (fma.f64 y #s(literal -1/200 binary64) x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((- x (/ y 200)) (* -1/200 y) (+ (* y -1/200) x)) |
| 0.0ms | y | @ | 0 | ((- x (/ y 200)) (* -1/200 y) (+ (* y -1/200) x)) |
| 0.0ms | y | @ | -inf | ((- x (/ y 200)) (* -1/200 y) (+ (* y -1/200) x)) |
| 0.0ms | x | @ | -inf | ((- x (/ y 200)) (* -1/200 y) (+ (* y -1/200) x)) |
| 0.0ms | x | @ | inf | ((- x (/ y 200)) (* -1/200 y) (+ (* y -1/200) x)) |
| 1× | egg-herbie |
| 3 160× | lower-fma.f64 |
| 3 160× | lower-fma.f32 |
| 2 584× | lower-*.f64 |
| 2 584× | lower-*.f32 |
| 2 384× | lower-/.f32 |
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/200 y)) |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
x |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(* -1/200 y) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* -1/200 y) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1/200 y) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
(* -1/200 y) |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
| Outputs |
|---|
x |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
x |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
| 4 868× | lower-fma.f32 |
| 4 866× | lower-fma.f64 |
| 3 436× | lower-*.f32 |
| 3 434× | lower-*.f64 |
| 2 340× | lower-/.f64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 0 | 12 | 16 |
| 1 | 49 | 15 |
| 2 | 399 | 15 |
| 3 | 6478 | 15 |
| 0 | 8206 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
(*.f64 #s(literal -1/200 binary64) y) |
(fma.f64 y #s(literal -1/200 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 413 computations (87.8% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 194 | 1 | 195 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 1 | 0 | 1 |
| Total | 195 | 3 | 198 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 y #s(literal -1/200 binary64) x) |
| ▶ | 45.4% | #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
| ✓ | 45.3% | #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
Compiled 12 to 14 computations (-16.7% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) | |
| cost-diff | 384 | (/.f64 y #s(literal -200 binary64)) |
| 128× | lower-fma.f64 |
| 128× | lower-fma.f32 |
| 80× | lower-*.f64 |
| 80× | lower-*.f32 |
| 40× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 0 | 9 | 14 |
| 1 | 11 | 14 |
| 2 | 20 | 14 |
| 3 | 28 | 14 |
| 4 | 41 | 14 |
| 5 | 60 | 14 |
| 6 | 96 | 14 |
| 7 | 128 | 14 |
| 8 | 183 | 14 |
| 9 | 214 | 14 |
| 10 | 247 | 14 |
| 11 | 248 | 14 |
| 0 | 248 | 13 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
(/.f64 y #s(literal -200 binary64)) |
y |
#s(literal -200 binary64) |
| Outputs |
|---|
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
(/.f64 y #s(literal -200 binary64)) |
(*.f64 #s(literal -1/200 binary64) y) |
y |
#s(literal -200 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 y #s(literal -200 binary64)) | |
| accuracy | 34.96967661747678 | #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
| 12.0ms | 256× | 0 | valid |
Compiled 12 to 9 computations (25% saved)
ival-div: 4.0ms (70.1% of total)ival-sub: 1.0ms (17.5% 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 -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt (/.f64 y #s(literal -200 binary64)) (patch (/.f64 y #s(literal -200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) (patch #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ y -200) (- x (/ y 200))) |
| 0.0ms | y | @ | inf | ((/ y -200) (- x (/ y 200))) |
| 0.0ms | y | @ | -inf | ((/ y -200) (- x (/ y 200))) |
| 0.0ms | y | @ | 0 | ((/ y -200) (- x (/ y 200))) |
| 0.0ms | x | @ | -inf | ((/ y -200) (- x (/ y 200))) |
| 1× | egg-herbie |
| 3 160× | lower-fma.f64 |
| 3 160× | lower-fma.f32 |
| 2 584× | lower-*.f64 |
| 2 584× | lower-*.f32 |
| 2 384× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 138 |
| 1 | 68 | 138 |
| 2 | 170 | 138 |
| 3 | 456 | 138 |
| 4 | 1245 | 138 |
| 5 | 2470 | 138 |
| 6 | 3272 | 138 |
| 7 | 3608 | 138 |
| 8 | 3904 | 138 |
| 9 | 4087 | 138 |
| 10 | 5232 | 138 |
| 11 | 6028 | 138 |
| 12 | 6796 | 138 |
| 13 | 7064 | 138 |
| 14 | 7844 | 138 |
| 0 | 8380 | 120 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
x |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1/200 y) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1/200 y) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
| Outputs |
|---|
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
x |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
| 2 862× | lower-*.f64 |
| 2 862× | lower-*.f32 |
| 2 754× | lower-fma.f64 |
| 2 754× | lower-fma.f32 |
| 2 540× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 0 | 9 | 12 |
| 1 | 40 | 12 |
| 2 | 262 | 12 |
| 3 | 4234 | 12 |
| 0 | 9056 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 y #s(literal -200 binary64)) |
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 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> |
Compiled 562 to 166 computations (70.5% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 88 | 1 | 89 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 88 | 4 | 92 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 y #s(literal -1/200 binary64) x) |
| ✓ | 45.4% | #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
| ▶ | 2.2% | #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
| ✓ | 45.3% | #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
Compiled 16 to 19 computations (-18.8% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y #s(literal 1/200 binary64)) | |
| cost-diff | 0 | #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
| 128× | lower-fma.f64 |
| 128× | lower-fma.f32 |
| 80× | lower-*.f32 |
| 78× | lower-*.f64 |
| 40× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 14 |
| 0 | 9 | 14 |
| 1 | 12 | 14 |
| 2 | 22 | 14 |
| 3 | 30 | 14 |
| 4 | 43 | 14 |
| 5 | 62 | 14 |
| 6 | 98 | 14 |
| 7 | 127 | 14 |
| 8 | 185 | 14 |
| 9 | 214 | 14 |
| 10 | 247 | 14 |
| 11 | 248 | 14 |
| 0 | 248 | 13 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
(*.f64 y #s(literal 1/200 binary64)) |
y |
#s(literal 1/200 binary64) |
| Outputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
#s(approx (- x (/ y 200)) (*.f64 #s(literal 1/200 binary64) y)) |
(*.f64 y #s(literal 1/200 binary64)) |
(*.f64 #s(literal 1/200 binary64) y) |
y |
#s(literal 1/200 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.09765625 | (*.f64 y #s(literal 1/200 binary64)) | |
| accuracy | 62.608283024875504 | #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
| 22.0ms | 256× | 0 | valid |
Compiled 12 to 9 computations (25% saved)
ival-mult: 8.0ms (53.6% of total)const: 3.0ms (20.1% of total)ival-div: 2.0ms (13.4% of total)ival-sub: 1.0ms (6.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/200 y)) (taylor 0 y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1/200)) (taylor inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1/200 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/200 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/200 binary64)) (patch (*.f64 y #s(literal 1/200 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/200 y) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* 1/200 y)) (taylor 0 x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/200 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/200 (/ y x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) (patch #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((- x (/ y 200)) (* y 1/200)) |
| 0.0ms | y | @ | -inf | ((- x (/ y 200)) (* y 1/200)) |
| 0.0ms | y | @ | 0 | ((- x (/ y 200)) (* y 1/200)) |
| 0.0ms | x | @ | inf | ((- x (/ y 200)) (* y 1/200)) |
| 0.0ms | x | @ | -inf | ((- x (/ y 200)) (* y 1/200)) |
| 1× | egg-herbie |
| 3 160× | lower-fma.f64 |
| 3 160× | lower-fma.f32 |
| 2 584× | lower-*.f64 |
| 2 584× | lower-*.f32 |
| 2 384× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 138 |
| 1 | 68 | 138 |
| 2 | 170 | 138 |
| 3 | 455 | 138 |
| 4 | 1250 | 138 |
| 5 | 2475 | 138 |
| 6 | 3277 | 138 |
| 7 | 3613 | 138 |
| 8 | 3909 | 138 |
| 9 | 4090 | 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 |
|---|
x |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(+ x (* -1/200 y)) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* -1/200 y) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* y (- (/ x y) 1/200)) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* -1/200 y) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* 1/200 y) |
(* -1/200 y) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
(- x (* 1/200 y)) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(* x (+ 1 (* -1/200 (/ y x)))) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
| Outputs |
|---|
x |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(+ x (* -1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* y (- (/ x y) 1/200)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* y (+ 1/200 (* -1 (/ x y))))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* 1/200 y) |
(*.f64 #s(literal 1/200 binary64) y) |
(* -1/200 y) |
(*.f64 y #s(literal -1/200 binary64)) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(- x (* 1/200 y)) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* x (+ 1 (* -1/200 (/ y x)))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
x |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
(* -1 (* x (- (* 1/200 (/ y x)) 1))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
| 3 750× | lower-fma.f64 |
| 3 750× | lower-fma.f32 |
| 3 446× | lower-*.f32 |
| 3 444× | lower-*.f64 |
| 2 920× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 0 | 9 | 12 |
| 1 | 34 | 12 |
| 2 | 259 | 12 |
| 3 | 4161 | 12 |
| 0 | 8351 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
(*.f64 y #s(literal 1/200 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> |
Compiled 447 to 133 computations (70.2% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 73 | 0 | 73 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 73 | 4 | 77 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 y #s(literal -1/200 binary64) x) |
| ✓ | 45.4% | #s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
| ✓ | 2.2% | #s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
| ✓ | 45.3% | #s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
Compiled 37 to 34 computations (8.1% saved)
| Inputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
(-.f64 x (/.f64 y #s(literal 200 binary64))) |
| Outputs |
|---|
(-.f64 x (/.f64 y #s(literal 200 binary64))) |
4 calls:
| 43.0ms | (/.f64 y #s(literal 200 binary64)) |
| 2.0ms | (-.f64 x (/.f64 y #s(literal 200 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 200 binary64))) |
| 100.0% | 1 | (/.f64 y #s(literal 200 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
#s(approx (- x (/ y 200)) (/.f64 y #s(literal -200 binary64))) |
| Outputs |
|---|
(fma.f64 y #s(literal -1/200 binary64) x) |
4 calls:
| 12.0ms | (/.f64 y #s(literal 200 binary64)) |
| 2.0ms | (-.f64 x (/.f64 y #s(literal 200 binary64))) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | y |
| 99.9% | 1 | (-.f64 x (/.f64 y #s(literal 200 binary64))) |
| 99.9% | 1 | (/.f64 y #s(literal 200 binary64)) |
Compiled 10 to 13 computations (-30% saved)
Total -28.0b remaining (-80.1%)
Threshold costs -28b (-80.1%)
| Inputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
#s(approx (- x (/ y 200)) (*.f64 y #s(literal 1/200 binary64))) |
| Outputs |
|---|
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
4 calls:
| 2.0ms | (-.f64 x (/.f64 y #s(literal 200 binary64))) |
| 2.0ms | (/.f64 y #s(literal 200 binary64)) |
| 2.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 45.3% | 1 | x |
| 45.3% | 1 | y |
| 45.3% | 1 | (-.f64 x (/.f64 y #s(literal 200 binary64))) |
| 45.3% | 1 | (/.f64 y #s(literal 200 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| 1× | egg-herbie |
| 8× | *-commutative-binary64-*.f64 |
| 8× | +-commutative-binary64-+.f64 |
| 8× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 6× | neg-sub0-binary64--.f64-neg.f64 |
| 6× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 18 |
| 1 | 14 | 18 |
| 2 | 23 | 18 |
| 3 | 29 | 18 |
| 4 | 34 | 18 |
| 5 | 36 | 18 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 x (/.f64 y #s(literal 200 binary64))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
| Outputs |
|---|
(-.f64 x (/.f64 y #s(literal 200 binary64))) |
(fma.f64 y #s(literal -1/200 binary64) x) |
#s(approx (- x (/ y 200)) (*.f64 #s(literal -1/200 binary64) y)) |
| 3 368× | lower-fma.f64 |
| 3 368× | lower-fma.f32 |
| 3 224× | lower-*.f64 |
| 3 224× | lower-*.f32 |
| 3 160× | lower-fma.f64 |
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 |
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 32 | 8 |
| 2 | 248 | 8 |
| 3 | 4067 | 8 |
| 0 | 8164 | 7 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 25 to 20 computations (20% saved)
Compiled 36 to 28 computations (22.2% saved)
Loading profile data...