
Time bar (total: 2.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 6 computations (14.3% saved)
| 332.0ms | 8 256× | 0 | valid |
ival-add: 102.0ms (91.7% of total)ival-true: 6.0ms (5.4% of total)ival-assert: 3.0ms (2.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 0 | 0 | - | 0 | - | (+.f64 (+.f64 x y) x) |
| 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 |
| 17.0ms | 512× | 0 | valid |
Compiled 39 to 20 computations (48.7% saved)
ival-add: 5.0ms (87.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 27 |
| 1 | 38 | 25 |
| 2 | 98 | 25 |
| 3 | 254 | 25 |
| 4 | 431 | 25 |
| 5 | 506 | 25 |
| 6 | 518 | 25 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 9 | 5 |
| 2 | 12 | 5 |
| 3 | 14 | 5 |
| 4 | 15 | 5 |
| 0 | 15 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 x y) x) |
| Outputs |
|---|
(+.f64 (+.f64 x y) x) |
(fma.f64 #s(literal 2 binary64) x y) |
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (+.f64 x y) x) |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (+.f64 (+.f64 x y) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 9 | 10 |
| 2 | 12 | 10 |
| 3 | 14 | 10 |
| 4 | 15 | 10 |
| 0 | 15 | 9 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (+.f64 x y) x) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
(+.f64 (+.f64 x y) x) |
(fma.f64 #s(literal 2 binary64) x y) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 x y) | |
| accuracy | 0.015625 | (+.f64 (+.f64 x y) x) |
| 36.0ms | 256× | 0 | valid |
Compiled 22 to 10 computations (54.5% saved)
ival-add: 2.0ms (73.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ()) |
#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 2 x) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((+ (+ x y) x) (+ x y)) |
| 0.0ms | x | @ | inf | ((+ (+ x y) x) (+ x y)) |
| 0.0ms | y | @ | -inf | ((+ (+ x y) x) (+ x y)) |
| 0.0ms | x | @ | 0 | ((+ (+ x y) x) (+ x y)) |
| 0.0ms | x | @ | -inf | ((+ (+ x y) x) (+ x y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 162 |
| 1 | 102 | 162 |
| 2 | 231 | 162 |
| 3 | 684 | 162 |
| 4 | 1813 | 162 |
| 5 | 2759 | 162 |
| 6 | 3836 | 162 |
| 7 | 4303 | 162 |
| 8 | 4593 | 162 |
| 9 | 4688 | 162 |
| 10 | 6579 | 162 |
| 0 | 8363 | 144 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 x) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
x |
(+ x y) |
(+ x y) |
(+ x y) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
y |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
y |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
y |
(+ x y) |
(+ x y) |
(+ x y) |
(* 2 x) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
x |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* 2 x) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
| Outputs |
|---|
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ y (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x y) |
(+ y (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x y) |
(+ y (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x y) |
x |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 #s(literal 2 binary64) x y) |
y |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 #s(literal 2 binary64) x y) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
y |
(+ y (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x y) |
(+ y (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x y) |
(+ y (* 2 x)) |
(fma.f64 #s(literal 2 binary64) x y) |
y |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (/ y x))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* x (+ 2 (/ y x))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* x (+ 2 (/ y x))) |
(fma.f64 #s(literal 2 binary64) x y) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 #s(literal 2 binary64) x y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 #s(literal 2 binary64) x y) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 32 | 8 |
| 2 | 279 | 8 |
| 3 | 4621 | 8 |
| 0 | 8114 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (+.f64 x y) x) |
(+.f64 x y) |
| 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> |
Compiled 4 545 to 615 computations (86.5% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 242 | 2 | 244 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 243 | 2 | 245 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 #s(literal 2 binary64) x y) |
| ▶ | 52.0% | #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
Compiled 8 to 9 computations (-12.5% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 #s(literal 2 binary64) x y) | |
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 0 | 10 | 21 |
| 1 | 15 | 21 |
| 2 | 18 | 20 |
| 3 | 18 | 20 |
| 0 | 18 | 20 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
(fma.f64 #s(literal 2 binary64) x y) |
#s(literal 2 binary64) |
x |
y |
| Outputs |
|---|
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (+ (+ x y) x) (*.f64 x #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(fma.f64 #s(literal 2 binary64) x y) |
(fma.f64 x #s(literal 2 binary64) y) |
#s(literal 2 binary64) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 #s(literal 2 binary64) x y) | |
| accuracy | 0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 30.69754220123822 | #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
| 17.0ms | 256× | 0 | valid |
Compiled 36 to 15 computations (58.3% saved)
ival-add: 4.0ms (67.7% of total)ival-mult: 2.0ms (33.9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.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>) () ()) |
#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 2 x) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.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 y (taylor 0 x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.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 (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ (+ x y) x) (*.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 (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 2 binary64) x y) (patch (fma.f64 #s(literal 2 binary64) x y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (+ x y) x) (* 2 x) (+ (* 2 x) y)) |
| 0.0ms | x | @ | inf | ((+ (+ x y) x) (* 2 x) (+ (* 2 x) y)) |
| 0.0ms | x | @ | 0 | ((+ (+ x y) x) (* 2 x) (+ (* 2 x) y)) |
| 0.0ms | y | @ | inf | ((+ (+ x y) x) (* 2 x) (+ (* 2 x) y)) |
| 0.0ms | y | @ | -inf | ((+ (+ x y) x) (* 2 x) (+ (* 2 x) y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 240 |
| 1 | 64 | 240 |
| 2 | 141 | 240 |
| 3 | 398 | 240 |
| 4 | 1108 | 240 |
| 5 | 2539 | 240 |
| 6 | 3437 | 240 |
| 7 | 4311 | 240 |
| 8 | 4789 | 240 |
| 9 | 4964 | 240 |
| 10 | 5054 | 240 |
| 11 | 5752 | 240 |
| 12 | 6068 | 240 |
| 13 | 6070 | 240 |
| 14 | 6070 | 240 |
| 15 | 6070 | 240 |
| 0 | 8131 | 204 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 x) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(* 2 x) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
y |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
y |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(* 2 x) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
(* 2 x) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
| Outputs |
|---|
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
y |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 0 | 10 | 16 |
| 1 | 48 | 16 |
| 2 | 404 | 15 |
| 3 | 6031 | 15 |
| 0 | 8035 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(fma.f64 #s(literal 2 binary64) x y) |
| 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> |
Compiled 3 495 to 443 computations (87.3% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 202 | 1 | 203 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 0 | 0 |
| Total | 203 | 2 | 205 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 #s(literal 2 binary64) x y) |
| ▶ | 52.0% | #s(approx (+ (+ x y) x) (+.f64 x x)) |
Compiled 8 to 8 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -128 | (+.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (+ x y) x) (+.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 7 | 13 |
| 1 | 12 | 13 |
| 2 | 15 | 13 |
| 0 | 15 | 12 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ x y) x) (+.f64 x x)) |
(+.f64 x x) |
x |
| Outputs |
|---|
#s(approx (+ (+ x y) x) (+.f64 x x)) |
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 x x) | |
| accuracy | 30.69754220123822 | #s(approx (+ (+ x y) x) (+.f64 x x)) |
| 11.0ms | 256× | 0 | valid |
Compiled 19 to 11 computations (42.1% saved)
ival-add: 4.0ms (98.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ()) |
#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 2 x) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt #s(approx (+ (+ x y) x) (+.f64 x x)) (patch #s(approx (+ (+ x y) x) (+.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((+ (+ x y) x) (+ x x)) |
| 0.0ms | x | @ | -inf | ((+ (+ x y) x) (+ x x)) |
| 0.0ms | x | @ | 0 | ((+ (+ x y) x) (+ x x)) |
| 0.0ms | y | @ | inf | ((+ (+ x y) x) (+ x x)) |
| 0.0ms | y | @ | -inf | ((+ (+ x y) x) (+ x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 138 |
| 1 | 64 | 138 |
| 2 | 141 | 138 |
| 3 | 398 | 138 |
| 4 | 1108 | 138 |
| 5 | 2539 | 138 |
| 6 | 3437 | 138 |
| 7 | 4311 | 138 |
| 8 | 4789 | 138 |
| 9 | 4964 | 138 |
| 10 | 5054 | 138 |
| 11 | 5752 | 138 |
| 12 | 6068 | 138 |
| 13 | 6070 | 138 |
| 14 | 6070 | 138 |
| 15 | 6070 | 138 |
| 0 | 8131 | 120 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 x) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
(* y (+ 1 (* 2 (/ x y)))) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
y |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(+ y (* 2 x)) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
(* x (+ 2 (/ y x))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
| Outputs |
|---|
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* y (+ 1 (* 2 (/ x y)))) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* y (- (* -2 (/ x y)) 1))) |
(fma.f64 x #s(literal 2 binary64) y) |
y |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(+ y (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* x (+ 2 (/ y x))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* -1 (* x (- (* -1 (/ y x)) 2))) |
(fma.f64 x #s(literal 2 binary64) y) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 12 |
| 0 | 7 | 12 |
| 1 | 41 | 12 |
| 0 | 346 | 11 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ x y) x) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 256 to 42 computations (83.6% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 45 | 0 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 45 | 2 | 47 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 #s(literal 2 binary64) x y) |
| ✓ | 52.0% | #s(approx (+ (+ x y) x) (+.f64 x x)) |
Compiled 25 to 18 computations (28% saved)
| Inputs |
|---|
#s(approx (+ (+ x y) x) (+.f64 x x)) |
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 (+.f64 x y) x) |
(fma.f64 #s(literal 2 binary64) x y) |
| Outputs |
|---|
(fma.f64 #s(literal 2 binary64) x y) |
3 calls:
| 5.0ms | x |
| 2.0ms | (+.f64 (+.f64 x y) x) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (+.f64 (+.f64 x y) x) |
Compiled 7 to 8 computations (-14.3% saved)
| Inputs |
|---|
#s(approx (+ (+ x y) x) (+.f64 x x)) |
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 (+.f64 x y) x) |
| Outputs |
|---|
(+.f64 (+.f64 x y) x) |
3 calls:
| 2.0ms | (+.f64 (+.f64 x y) x) |
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (+.f64 (+.f64 x y) x) |
Compiled 7 to 8 computations (-14.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (+ x y) x) (+.f64 x x)) |
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x)) |
| Outputs |
|---|
#s(approx (+ (+ x y) x) (+.f64 x x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 (+.f64 x y) x) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.0% | 1 | x |
| 52.0% | 1 | y |
| 52.0% | 1 | (+.f64 (+.f64 x y) x) |
Compiled 7 to 8 computations (-14.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 18 |
| 1 | 12 | 18 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 #s(literal 2 binary64) x y) |
(+.f64 (+.f64 x y) x) |
#s(approx (+ (+ x y) x) (+.f64 x x)) |
| Outputs |
|---|
(fma.f64 #s(literal 2 binary64) x y) |
(+.f64 (+.f64 x y) x) |
(+.f64 (+.f64 y x) x) |
#s(approx (+ (+ x y) x) (+.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 0 | 10 | 16 |
| 1 | 48 | 16 |
| 2 | 404 | 15 |
| 3 | 6031 | 15 |
| 0 | 8035 | 15 |
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 32 | 8 |
| 2 | 279 | 8 |
| 3 | 4621 | 8 |
| 0 | 8114 | 7 |
| 0 | 35 | 162 |
| 1 | 102 | 162 |
| 2 | 231 | 162 |
| 3 | 684 | 162 |
| 4 | 1813 | 162 |
| 5 | 2759 | 162 |
| 6 | 3836 | 162 |
| 7 | 4303 | 162 |
| 8 | 4593 | 162 |
| 9 | 4688 | 162 |
| 10 | 6579 | 162 |
| 0 | 8363 | 144 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 29 to 23 computations (20.7% saved)
Compiled 46 to 34 computations (26.1% saved)
Loading profile data...