
Time bar (total: 4.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)
| 767.0ms | 8 256× | 0 | valid |
ival-mult: 56.0ms (45.6% of total)ival-sub: 52.0ms (42.3% of total)ival-true: 7.0ms (5.7% of total)exact: 5.0ms (4.1% of total)ival-assert: 4.0ms (3.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 0 | 0 | - | 0 | - | (*.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 19.0ms | 512× | 0 | valid |
Compiled 42 to 24 computations (42.9% saved)
ival-sub: 3.0ms (42.2% of total)ival-mult: 3.0ms (42.2% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 29 |
| 1 | 31 | 25 |
| 2 | 79 | 25 |
| 3 | 170 | 25 |
| 4 | 247 | 25 |
| 5 | 275 | 25 |
| 6 | 281 | 25 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 10 | 5 |
| 2 | 15 | 5 |
| 3 | 21 | 5 |
| 4 | 36 | 5 |
| 5 | 55 | 5 |
| 6 | 101 | 5 |
| 7 | 143 | 5 |
| 8 | 194 | 5 |
| 9 | 211 | 5 |
| 10 | 219 | 5 |
| 0 | 219 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| Outputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
Compiled 5 to 5 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 10 | 11 |
| 2 | 15 | 11 |
| 3 | 21 | 11 |
| 4 | 36 | 11 |
| 5 | 55 | 11 |
| 6 | 101 | 11 |
| 7 | 143 | 11 |
| 8 | 194 | 11 |
| 9 | 211 | 11 |
| 10 | 219 | 11 |
| 0 | 219 | 11 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
y |
| Outputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal 2 binary64) |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 (*.f64 x #s(literal 2 binary64)) y) | |
| accuracy | 0 | (*.f64 x #s(literal 2 binary64)) |
| 11.0ms | 256× | 0 | valid |
Compiled 24 to 12 computations (50% saved)
ival-mult: 2.0ms (58.1% of total)ival-sub: 1.0ms (29% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 2 x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 2 binary64)) y) (patch (-.f64 (*.f64 x #s(literal 2 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (* x 2) y) (* x 2)) |
| 1.0ms | x | @ | inf | ((- (* x 2) y) (* x 2)) |
| 1.0ms | x | @ | 0 | ((- (* x 2) y) (* x 2)) |
| 0.0ms | y | @ | inf | ((- (* x 2) y) (* x 2)) |
| 0.0ms | y | @ | 0 | ((- (* x 2) y) (* x 2)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 141 |
| 1 | 68 | 141 |
| 2 | 170 | 141 |
| 3 | 436 | 141 |
| 4 | 958 | 141 |
| 5 | 1948 | 141 |
| 6 | 3052 | 141 |
| 7 | 4443 | 141 |
| 8 | 4919 | 141 |
| 9 | 5131 | 141 |
| 10 | 5185 | 141 |
| 11 | 5944 | 141 |
| 12 | 6883 | 141 |
| 13 | 7325 | 141 |
| 14 | 7907 | 141 |
| 0 | 8235 | 141 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 x) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(* -1 y) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* -1 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
| Outputs |
|---|
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 23 | 8 |
| 2 | 161 | 8 |
| 3 | 1576 | 8 |
| 0 | 9355 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 12 573 to 816 computations (93.5% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 406 | 2 | 408 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 406 | 3 | 409 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| ▶ | 49.3% | #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
| ▶ | 52.9% | #s(approx (- (* x 2) y) (neg.f64 y)) |
Compiled 12 to 14 computations (-16.7% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) | |
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | #s(approx (- (* x 2) y) (neg.f64 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 25 |
| 0 | 11 | 25 |
| 1 | 17 | 25 |
| 2 | 22 | 25 |
| 3 | 29 | 25 |
| 4 | 45 | 25 |
| 5 | 66 | 25 |
| 6 | 106 | 25 |
| 7 | 151 | 25 |
| 8 | 200 | 25 |
| 9 | 217 | 25 |
| 10 | 225 | 25 |
| 0 | 225 | 25 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x 2) y) (neg.f64 y)) |
(neg.f64 y) |
y |
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
| Outputs |
|---|
#s(approx (- (* x 2) y) (neg.f64 y)) |
(neg.f64 y) |
y |
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 32.43092313842629 | #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) | |
| accuracy | 0 | (neg.f64 y) | |
| accuracy | 30.14567471152941 | #s(approx (- (* x 2) y) (neg.f64 y)) |
| 18.0ms | 256× | 0 | valid |
Compiled 35 to 16 computations (54.3% saved)
ival-mult: 4.0ms (57.3% of total)ival-sub: 1.0ms (14.3% of total)ival-neg: 1.0ms (14.3% 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 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ()) |
#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 2 x) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (neg.f64 y)) (patch #s(approx (- (* x 2) y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x)) |
| 0.0ms | x | @ | inf | ((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x)) |
| 0.0ms | y | @ | inf | ((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x)) |
| 0.0ms | y | @ | -inf | ((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x)) |
| 0.0ms | x | @ | 0 | ((- (* x 2) y) (neg y) (- (* x 2) y) (* 2 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 270 |
| 1 | 68 | 270 |
| 2 | 170 | 270 |
| 3 | 436 | 270 |
| 4 | 958 | 270 |
| 5 | 1948 | 270 |
| 6 | 3052 | 270 |
| 7 | 4443 | 270 |
| 8 | 4919 | 270 |
| 9 | 5131 | 270 |
| 10 | 5185 | 270 |
| 11 | 5944 | 270 |
| 12 | 6883 | 270 |
| 13 | 7325 | 270 |
| 14 | 7907 | 270 |
| 0 | 8235 | 270 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 x) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* 2 x) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(* -1 y) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* -1 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(* -1 y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* 2 x) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
(* 2 x) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
| Outputs |
|---|
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 22 |
| 0 | 11 | 22 |
| 1 | 30 | 22 |
| 2 | 178 | 22 |
| 3 | 1773 | 20 |
| 0 | 9433 | 18 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x 2) y) (neg.f64 y)) |
(neg.f64 y) |
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 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> |
Compiled 985 to 206 computations (79.1% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 139 | 1 | 140 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 139 | 4 | 143 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| ✓ | 49.3% | #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
| ✓ | 52.9% | #s(approx (- (* x 2) y) (neg.f64 y)) |
| ▶ | 2.2% | #s(approx (- (* x 2) y) y) |
Compiled 14 to 17 computations (-21.4% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- (* x 2) y) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 0 | 6 | 8 |
| 1 | 9 | 8 |
| 2 | 14 | 8 |
| 3 | 20 | 8 |
| 4 | 36 | 8 |
| 5 | 55 | 8 |
| 6 | 101 | 8 |
| 7 | 143 | 8 |
| 8 | 193 | 8 |
| 9 | 210 | 8 |
| 10 | 218 | 8 |
| 0 | 218 | 8 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (* x 2) y) y) |
y |
| Outputs |
|---|
#s(approx (- (* x 2) y) y) |
y |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 62.60575098730486 | #s(approx (- (* x 2) y) y) |
| 9.0ms | 256× | 0 | valid |
Compiled 11 to 10 computations (9.1% saved)
ival-mult: 2.0ms (59.9% of total)ival-sub: 1.0ms (29.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 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 2 x) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 y) (* 2 x)) (taylor 0 y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 2 (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -2 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 x) y) (taylor 0 x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 2))) (taylor -inf x) (#s(alt #s(approx (- (* x 2) y) y) (patch #s(approx (- (* x 2) y) y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 25.0ms | x | @ | inf | ((- (* x 2) y)) |
| 0.0ms | x | @ | -inf | ((- (* x 2) y)) |
| 0.0ms | y | @ | inf | ((- (* x 2) y)) |
| 0.0ms | y | @ | -inf | ((- (* x 2) y)) |
| 0.0ms | y | @ | 0 | ((- (* x 2) y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 105 |
| 1 | 68 | 105 |
| 2 | 170 | 105 |
| 3 | 436 | 105 |
| 4 | 958 | 105 |
| 5 | 1948 | 105 |
| 6 | 3052 | 105 |
| 7 | 4443 | 105 |
| 8 | 4919 | 105 |
| 9 | 5131 | 105 |
| 10 | 5185 | 105 |
| 11 | 5944 | 105 |
| 12 | 6883 | 105 |
| 13 | 7325 | 105 |
| 14 | 7907 | 105 |
| 0 | 8235 | 105 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 x) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(+ (* -1 y) (* 2 x)) |
(* -1 y) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* y (- (* 2 (/ x y)) 1)) |
(* -1 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(* -1 y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(- (* 2 x) y) |
(* 2 x) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* x (+ 2 (* -1 (/ y x)))) |
(* 2 x) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
(* -1 (* x (- (/ y x) 2))) |
| Outputs |
|---|
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(+ (* -1 y) (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* y (- (* 2 (/ x y)) 1)) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* y (+ 1 (* -2 (/ x y))))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 y) |
(neg.f64 y) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(- (* 2 x) y) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* x (+ 2 (* -1 (/ y x)))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
(* -1 (* x (- (/ y x) 2))) |
(fma.f64 #s(literal 2 binary64) x (neg.f64 y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 0 | 6 | 7 |
| 1 | 22 | 7 |
| 2 | 160 | 7 |
| 3 | 1570 | 7 |
| 0 | 9362 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (* x 2) y) y) |
| Outputs |
|---|
#<batchref> |
Compiled 131 to 10 computations (92.4% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 0 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 25 | 4 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| ✓ | 49.3% | #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
| ✓ | 52.9% | #s(approx (- (* x 2) y) (neg.f64 y)) |
| ✓ | 2.2% | #s(approx (- (* x 2) y) y) |
Compiled 28 to 27 computations (3.6% saved)
| Inputs |
|---|
#s(approx (- (* x 2) y) y) |
#s(approx (- (* x 2) y) (neg.f64 y)) |
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| Outputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
4 calls:
| 2.0ms | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 2.0ms | y |
| 2.0ms | (*.f64 x #s(literal 2 binary64)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 100.0% | 1 | (*.f64 x #s(literal 2 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (- (* x 2) y) y) |
#s(approx (- (* x 2) y) (neg.f64 y)) |
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
| Outputs |
|---|
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* x 2) y) (neg.f64 y)) |
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) |
4 calls:
| 2.0ms | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 2.0ms | (*.f64 x #s(literal 2 binary64)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 80.9% | 3 | x |
| 73.7% | 3 | y |
| 63.1% | 4 | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 80.9% | 3 | (*.f64 x #s(literal 2 binary64)) |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (- (* x 2) y) y) |
#s(approx (- (* x 2) y) (neg.f64 y)) |
| Outputs |
|---|
#s(approx (- (* x 2) y) (neg.f64 y)) |
4 calls:
| 2.0ms | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 2.0ms | (*.f64 x #s(literal 2 binary64)) |
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.9% | 1 | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 52.9% | 1 | y |
| 52.9% | 1 | x |
| 52.9% | 1 | (*.f64 x #s(literal 2 binary64)) |
Compiled 10 to 13 computations (-30% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* x 2) y) y) |
| Outputs |
|---|
#s(approx (- (* x 2) y) y) |
4 calls:
| 73.0ms | y |
| 1.0ms | (*.f64 x #s(literal 2 binary64)) |
| 1.0ms | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.2% | 1 | x |
| 2.2% | 1 | (-.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 2.2% | 1 | (*.f64 x #s(literal 2 binary64)) |
| 2.2% | 1 | y |
Compiled 10 to 13 computations (-30% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.4806459173655455e+51 | 8.738975154220965e+55 |
| 0.0ms | -1364880333.2129548 | -298.80457923169894 |
Compiled 8 to 10 computations (-25% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 58 |
| 1 | 24 | 58 |
| 2 | 27 | 58 |
| 3 | 28 | 58 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
(if (<=.f64 (*.f64 x #s(literal 2 binary64)) #s(literal -1000000000 binary64)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (if (<=.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1999999999999999986441897348723255952923416883888128 binary64)) #s(approx (- (* x 2) y) (neg.f64 y)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (- (* x 2) y) (neg.f64 y)) |
#s(approx (- (* x 2) y) y) |
| Outputs |
|---|
(-.f64 (*.f64 x #s(literal 2 binary64)) y) |
(-.f64 (*.f64 #s(literal 2 binary64) x) y) |
(if (<=.f64 (*.f64 x #s(literal 2 binary64)) #s(literal -1000000000 binary64)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (if (<=.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1999999999999999986441897348723255952923416883888128 binary64)) #s(approx (- (* x 2) y) (neg.f64 y)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)))) |
(if (<=.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1000000000 binary64)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)) (if (<=.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1999999999999999986441897348723255952923416883888128 binary64)) #s(approx (- (* x 2) y) (neg.f64 y)) #s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (- (* x 2) y) (neg.f64 y)) |
#s(approx (- (* x 2) y) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 22 |
| 0 | 11 | 22 |
| 1 | 30 | 22 |
| 2 | 178 | 22 |
| 3 | 1773 | 20 |
| 0 | 9433 | 18 |
| 0 | 25 | 141 |
| 1 | 68 | 141 |
| 2 | 170 | 141 |
| 3 | 436 | 141 |
| 4 | 958 | 141 |
| 5 | 1948 | 141 |
| 6 | 3052 | 141 |
| 7 | 4443 | 141 |
| 8 | 4919 | 141 |
| 9 | 5131 | 141 |
| 10 | 5185 | 141 |
| 11 | 5944 | 141 |
| 12 | 6883 | 141 |
| 13 | 7325 | 141 |
| 14 | 7907 | 141 |
| 0 | 8235 | 141 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 45 to 32 computations (28.9% saved)
Compiled 76 to 40 computations (47.4% saved)
Loading profile data...