
Time bar (total: 3.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 6 computations (14.3% saved)
| 487.0ms | 8 256× | 0 | valid |
ival-mult: 62.0ms (58.9% of total)ival-sub: 35.0ms (33.3% of total)ival-true: 6.0ms (5.7% of total)ival-assert: 3.0ms (2.9% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 x y) x) |
| 0 | 0 | - | 0 | - | (*.f64 x 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 |
| 18.0ms | 512× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-mult: 4.0ms (60.7% of total)ival-sub: 2.0ms (30.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 176× | lower-fma.f64 |
| 176× | lower-fma.f32 |
| 112× | lower-*.f32 |
| 110× | lower-*.f64 |
| 88× | unsub-neg |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 33 |
| 1 | 33 | 31 |
| 2 | 92 | 26 |
| 3 | 255 | 25 |
| 4 | 490 | 25 |
| 5 | 598 | 25 |
| 6 | 619 | 25 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 9 | 5 |
| 2 | 14 | 5 |
| 3 | 24 | 5 |
| 4 | 38 | 5 |
| 5 | 60 | 5 |
| 6 | 126 | 5 |
| 7 | 224 | 5 |
| 8 | 272 | 5 |
| 9 | 277 | 5 |
| 0 | 277 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 x y) x) |
| Outputs |
|---|
(-.f64 (*.f64 x y) x) |
(*.f64 (-.f64 y #s(literal 1 binary64)) x) |
(negabs x)
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) |
| 176× | lower-fma.f64 |
| 176× | lower-fma.f32 |
| 112× | lower-*.f32 |
| 110× | lower-*.f64 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 9 | 10 |
| 2 | 14 | 10 |
| 3 | 24 | 10 |
| 4 | 38 | 10 |
| 5 | 60 | 10 |
| 6 | 126 | 10 |
| 7 | 224 | 10 |
| 8 | 272 | 10 |
| 9 | 277 | 10 |
| 0 | 277 | 10 |
| 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) |
(*.f64 (-.f64 y #s(literal 1 binary64)) x) |
(*.f64 x y) |
(*.f64 y x) |
x |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x y) | |
| accuracy | 0.01171875 | (-.f64 (*.f64 x y) x) |
| 9.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-mult: 3.0ms (68.8% of total)ival-sub: 1.0ms (22.9% 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 (* -1 x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<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 (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<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 (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (* x y) x) (* x y)) |
| 1.0ms | y | @ | -inf | ((- (* x y) x) (* x y)) |
| 1.0ms | x | @ | -inf | ((- (* x y) x) (* x y)) |
| 0.0ms | y | @ | inf | ((- (* x y) x) (* x y)) |
| 0.0ms | y | @ | 0 | ((- (* x y) x) (* x y)) |
| 1× | egg-herbie |
| 3 552× | lower-fma.f64 |
| 3 552× | lower-fma.f32 |
| 2 016× | lower-*.f64 |
| 2 016× | lower-*.f32 |
| 1 472× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 185 |
| 1 | 64 | 185 |
| 2 | 149 | 185 |
| 3 | 276 | 185 |
| 4 | 599 | 185 |
| 5 | 1806 | 185 |
| 6 | 3066 | 185 |
| 7 | 3528 | 185 |
| 8 | 3809 | 185 |
| 9 | 3979 | 185 |
| 10 | 4013 | 185 |
| 11 | 4545 | 185 |
| 12 | 5815 | 185 |
| 13 | 6637 | 185 |
| 14 | 6968 | 185 |
| 15 | 7046 | 185 |
| 16 | 7046 | 185 |
| 17 | 7538 | 185 |
| 0 | 8070 | 185 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
| 10 182× | lower-fma.f64 |
| 10 182× | lower-fma.f32 |
| 4 186× | lower-/.f64 |
| 4 186× | lower-/.f32 |
| 4 000× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 22 | 8 |
| 2 | 155 | 8 |
| 3 | 1579 | 8 |
| 0 | 8590 | 8 |
| 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 8 038 to 688 computations (91.4% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 288 | 3 | 291 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 289 | 3 | 292 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 y x (neg.f64 x)) |
| ▶ | 55.3% | #s(approx (- (* x y) x) (*.f64 y x)) |
| ▶ | 46.7% | #s(approx (- (* x y) x) (neg.f64 x)) |
Compiled 12 to 12 computations (0% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 y x (neg.f64 x)) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (- (* x y) x) (*.f64 y x)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (- (* x y) x) (neg.f64 x)) |
| 176× | lower-fma.f32 |
| 174× | lower-fma.f64 |
| 112× | lower-*.f32 |
| 110× | lower-*.f64 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 34 |
| 0 | 12 | 34 |
| 1 | 19 | 34 |
| 2 | 29 | 34 |
| 3 | 44 | 34 |
| 4 | 66 | 34 |
| 5 | 132 | 34 |
| 6 | 229 | 34 |
| 7 | 277 | 34 |
| 8 | 282 | 34 |
| 0 | 282 | 34 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x y) x) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (- (* x y) x) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(fma.f64 y x (neg.f64 x)) |
y |
x |
(neg.f64 x) |
| Outputs |
|---|
#s(approx (- (* x y) x) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (- (* x y) x) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(fma.f64 y x (neg.f64 x)) |
(*.f64 (-.f64 y #s(literal 1 binary64)) x) |
y |
x |
(neg.f64 x) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 y x (neg.f64 x)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 0 | (*.f64 y x) | |
| accuracy | 28.59600039243815 | #s(approx (- (* x y) x) (*.f64 y x)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 34.087272216739606 | #s(approx (- (* x y) x) (neg.f64 x)) |
| 16.0ms | 256× | 0 | valid |
Compiled 30 to 9 computations (70% saved)
ival-mult: 3.0ms (43.5% of total)ival-sub: 1.0ms (14.5% of total)ival-add: 1.0ms (14.5% of total)ival-neg: 1.0ms (14.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ()) |
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ()) |
#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x))) |
| 0.0ms | x | @ | inf | ((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x))) |
| 0.0ms | y | @ | -inf | ((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x))) |
| 0.0ms | y | @ | inf | ((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x))) |
| 0.0ms | y | @ | 0 | ((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x))) |
| 1× | egg-herbie |
| 3 552× | lower-fma.f64 |
| 3 552× | lower-fma.f32 |
| 2 016× | lower-*.f64 |
| 2 016× | lower-*.f32 |
| 1 472× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 435 |
| 1 | 64 | 435 |
| 2 | 149 | 435 |
| 3 | 276 | 435 |
| 4 | 599 | 435 |
| 5 | 1806 | 435 |
| 6 | 3066 | 435 |
| 7 | 3528 | 435 |
| 8 | 3809 | 435 |
| 9 | 3979 | 435 |
| 10 | 4013 | 435 |
| 11 | 4545 | 435 |
| 12 | 5815 | 435 |
| 13 | 6637 | 435 |
| 14 | 6968 | 435 |
| 15 | 7046 | 435 |
| 16 | 7046 | 435 |
| 17 | 7538 | 435 |
| 0 | 8070 | 435 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
| 4 590× | lower-fma.f32 |
| 4 588× | lower-fma.f64 |
| 3 718× | lower-*.f32 |
| 3 716× | lower-*.f64 |
| 2 822× | lower-/.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 0 | 12 | 27 |
| 1 | 49 | 27 |
| 2 | 305 | 22 |
| 3 | 3546 | 22 |
| 0 | 8357 | 22 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x y) x) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (- (* x y) x) (*.f64 y x)) |
(*.f64 y x) |
(fma.f64 y x (neg.f64 x)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 10 525 to 1 172 computations (88.9% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 598 | 1 | 599 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 598 | 4 | 602 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 y x (neg.f64 x)) |
| ✓ | 55.3% | #s(approx (- (* x y) x) (*.f64 y x)) |
| ✓ | 46.7% | #s(approx (- (* x y) x) (neg.f64 x)) |
| ▶ | 2.7% | #s(approx (- (* x y) x) x) |
Compiled 14 to 15 computations (-7.1% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- (* x y) x) x) |
| 176× | lower-fma.f64 |
| 176× | lower-fma.f32 |
| 112× | lower-*.f64 |
| 112× | lower-*.f32 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 5 | 8 |
| 1 | 8 | 8 |
| 2 | 13 | 8 |
| 3 | 23 | 8 |
| 4 | 38 | 8 |
| 5 | 60 | 8 |
| 6 | 126 | 8 |
| 7 | 224 | 8 |
| 8 | 272 | 8 |
| 9 | 277 | 8 |
| 0 | 277 | 8 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (* x y) x) x) |
x |
| Outputs |
|---|
#s(approx (- (* x y) x) x) |
x |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 62.29200161755343 | #s(approx (- (* x y) x) x) |
| 10.0ms | 256× | 0 | valid |
Compiled 8 to 6 computations (25% saved)
ival-mult: 2.0ms (64% of total)ival-sub: 1.0ms (32% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((- (* x y) x)) |
| 0.0ms | x | @ | inf | ((- (* x y) x)) |
| 0.0ms | y | @ | -inf | ((- (* x y) x)) |
| 0.0ms | x | @ | 0 | ((- (* x y) x)) |
| 0.0ms | y | @ | inf | ((- (* x y) x)) |
| 1× | egg-herbie |
| 3 552× | lower-fma.f64 |
| 3 552× | lower-fma.f32 |
| 2 016× | lower-*.f64 |
| 2 016× | lower-*.f32 |
| 1 472× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 113 |
| 1 | 64 | 113 |
| 2 | 149 | 113 |
| 3 | 276 | 113 |
| 4 | 599 | 113 |
| 5 | 1806 | 113 |
| 6 | 3066 | 113 |
| 7 | 3528 | 113 |
| 8 | 3809 | 113 |
| 9 | 3979 | 113 |
| 10 | 4013 | 113 |
| 11 | 4545 | 113 |
| 12 | 5815 | 113 |
| 13 | 6637 | 113 |
| 14 | 6968 | 113 |
| 15 | 7046 | 113 |
| 16 | 7046 | 113 |
| 17 | 7538 | 113 |
| 0 | 8070 | 113 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
| 10 182× | lower-fma.f64 |
| 10 182× | lower-fma.f32 |
| 4 186× | lower-/.f64 |
| 4 186× | lower-/.f32 |
| 4 000× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 0 | 5 | 7 |
| 1 | 21 | 7 |
| 2 | 154 | 7 |
| 3 | 1576 | 7 |
| 0 | 8543 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (* x y) x) x) |
| Outputs |
|---|
#<batchref> |
Compiled 139 to 9 computations (93.5% 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% | (fma.f64 y x (neg.f64 x)) |
| ✓ | 55.3% | #s(approx (- (* x y) x) (*.f64 y x)) |
| ✓ | 46.7% | #s(approx (- (* x y) x) (neg.f64 x)) |
| ✓ | 2.7% | #s(approx (- (* x y) x) x) |
Compiled 33 to 25 computations (24.2% saved)
| Inputs |
|---|
#s(approx (- (* x y) x) x) |
#s(approx (- (* x y) x) (neg.f64 x)) |
#s(approx (- (* x y) x) (*.f64 y x)) |
(-.f64 (*.f64 x y) x) |
(fma.f64 y x (neg.f64 x)) |
| Outputs |
|---|
(fma.f64 y x (neg.f64 x)) |
3 calls:
| 3.0ms | x |
| 2.0ms | y |
| 2.0ms | (-.f64 (*.f64 x y) x) |
| 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) x) |
#s(approx (- (* x y) x) (neg.f64 x)) |
#s(approx (- (* x y) x) (*.f64 y x)) |
(-.f64 (*.f64 x y) x) |
| Outputs |
|---|
(-.f64 (*.f64 x y) x) |
3 calls:
| 5.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)
| Inputs |
|---|
#s(approx (- (* x y) x) x) |
#s(approx (- (* x y) x) (neg.f64 x)) |
#s(approx (- (* x y) x) (*.f64 y x)) |
| Outputs |
|---|
#s(approx (- (* x y) x) (*.f64 y x)) |
#s(approx (- (* x y) x) (neg.f64 x)) |
#s(approx (- (* x y) x) (*.f64 y x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (-.f64 (*.f64 x y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 61.7% | 4 | x |
| 97.9% | 3 | y |
| 76.7% | 3 | (-.f64 (*.f64 x y) x) |
Compiled 7 to 8 computations (-14.3% saved)
| Inputs |
|---|
#s(approx (- (* x y) x) x) |
#s(approx (- (* x y) x) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (- (* x y) x) (neg.f64 x)) |
3 calls:
| 33.0ms | x |
| 32.0ms | (-.f64 (*.f64 x y) x) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 46.7% | 1 | x |
| 46.7% | 1 | (-.f64 (*.f64 x y) x) |
| 46.7% | 1 | y |
Compiled 7 to 8 computations (-14.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* x y) x) x) |
| Outputs |
|---|
#s(approx (- (* x y) x) x) |
3 calls:
| 1.0ms | x |
| 1.0ms | (-.f64 (*.f64 x y) x) |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.7% | 1 | y |
| 2.7% | 1 | (-.f64 (*.f64 x y) x) |
| 2.7% | 1 | x |
Compiled 7 to 8 computations (-14.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 29.0ms | 6.6340401203512855e-9 | 544002132263516.1 |
| 7.0ms | -13.83870583734105 | -0.3885235123626797 |
| 9.0ms | 288× | 0 | valid |
Compiled 134 to 189 computations (-41% saved)
ival-mult: 2.0ms (55.5% of total)ival-sub: 1.0ms (27.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 4× | *-commutative-binary64-*.f64 |
| 4× | +-commutative-binary64-+.f64 |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | 1-exp-binary64-exp.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 59 |
| 1 | 25 | 59 |
| 2 | 28 | 59 |
| 3 | 29 | 59 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 y x (neg.f64 x)) |
(-.f64 (*.f64 x y) x) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* x y) x) (*.f64 y x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* x y) x) (neg.f64 x)) #s(approx (- (* x y) x) (*.f64 y x)))) |
#s(approx (- (* x y) x) (neg.f64 x)) |
#s(approx (- (* x y) x) x) |
| Outputs |
|---|
(fma.f64 y x (neg.f64 x)) |
(-.f64 (*.f64 x y) x) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* x y) x) (*.f64 y x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* x y) x) (neg.f64 x)) #s(approx (- (* x y) x) (*.f64 y x)))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* x y) x) (*.f64 x y)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* x y) x) (neg.f64 x)) #s(approx (- (* x y) x) (*.f64 x y)))) |
#s(approx (- (* x y) x) (neg.f64 x)) |
#s(approx (- (* x y) x) x) |
| 10 182× | lower-fma.f64 |
| 10 182× | lower-fma.f32 |
| 4 590× | lower-fma.f32 |
| 4 588× | lower-fma.f64 |
| 4 186× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 185 |
| 1 | 64 | 185 |
| 2 | 149 | 185 |
| 3 | 276 | 185 |
| 4 | 599 | 185 |
| 5 | 1806 | 185 |
| 6 | 3066 | 185 |
| 7 | 3528 | 185 |
| 8 | 3809 | 185 |
| 9 | 3979 | 185 |
| 10 | 4013 | 185 |
| 11 | 4545 | 185 |
| 12 | 5815 | 185 |
| 13 | 6637 | 185 |
| 14 | 6968 | 185 |
| 15 | 7046 | 185 |
| 16 | 7046 | 185 |
| 17 | 7538 | 185 |
| 0 | 8070 | 185 |
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 22 | 8 |
| 2 | 155 | 8 |
| 3 | 1579 | 8 |
| 0 | 8590 | 8 |
| 0 | 9 | 27 |
| 0 | 12 | 27 |
| 1 | 49 | 27 |
| 2 | 305 | 22 |
| 3 | 3546 | 22 |
| 0 | 8357 | 22 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 56 to 37 computations (33.9% saved)
(negabs x)
Compiled 98 to 54 computations (44.9% saved)
Loading profile data...