
Time bar (total: 5.3s)
| 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 9 to 7 computations (22.2% saved)
| 397.0ms | 8 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
ival-add: 73.0ms (47.9% of total)ival-mult: 70.0ms (46% of total)ival-true: 6.0ms (3.9% of total)ival-assert: 3.0ms (2% of total)adjust: 0.0ms (0% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x y) x) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 (+.f64 (*.f64 x y) x) y) |
| 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 |
| 23.0ms | 512× | 0 | valid |
Compiled 45 to 19 computations (57.8% saved)
ival-add: 4.0ms (44.3% of total)ival-mult: 4.0ms (44.3% of total)ival-true: 1.0ms (11.1% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 178× | sub-neg |
| 170× | cancel-sign-sub-inv |
| 156× | unsub-neg |
| 138× | distribute-rgt-in |
| 120× | associate-+l- |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 41 |
| 1 | 51 | 38 |
| 2 | 164 | 35 |
| 3 | 558 | 35 |
| 4 | 1126 | 35 |
| 5 | 1291 | 35 |
| 6 | 1297 | 35 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 13 | 7 |
| 2 | 23 | 7 |
| 3 | 30 | 7 |
| 4 | 38 | 7 |
| 5 | 44 | 7 |
| 6 | 54 | 7 |
| 7 | 60 | 7 |
| 8 | 64 | 7 |
| 0 | 64 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x y) x) y) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x y) x) y) |
(fma.f64 (+.f64 #s(literal 1 binary64) x) y x) |
(sort x y)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (+.f64 (*.f64 x y) x) y) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (+.f64 (+.f64 (*.f64 x y) x) y) | |
| cost-diff | 128 | (+.f64 (*.f64 x y) x) |
| 76× | lower-fma.f64 |
| 76× | lower-fma.f32 |
| 48× | lower-*.f32 |
| 46× | lower-*.f64 |
| 32× | lower-+.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 17 |
| 0 | 8 | 17 |
| 1 | 13 | 17 |
| 2 | 23 | 17 |
| 3 | 30 | 17 |
| 4 | 38 | 17 |
| 5 | 44 | 17 |
| 6 | 54 | 17 |
| 7 | 60 | 17 |
| 8 | 64 | 17 |
| 0 | 64 | 15 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x y) x) y) |
(+.f64 (*.f64 x y) x) |
(*.f64 x y) |
x |
y |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x y) x) y) |
(fma.f64 (+.f64 #s(literal 1 binary64) x) y x) |
(+.f64 (*.f64 x y) x) |
(fma.f64 y x x) |
(*.f64 x y) |
(*.f64 y x) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 (+.f64 (*.f64 x y) x) y) | |
| accuracy | 0 | (*.f64 x y) | |
| accuracy | 0.0078125 | (+.f64 (*.f64 x y) x) |
| 10.0ms | 256× | 0 | valid |
Compiled 19 to 7 computations (63.2% saved)
ival-add: 2.0ms (45.1% of total)ival-mult: 2.0ms (45.1% 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 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ()) |
#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (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 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) 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 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 (/ x y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) 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 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) (* -1 (/ 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) (* -1 (/ 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) (* -1 (/ 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) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) 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 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (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 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) 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) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) 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 (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x y) x) (patch (+.f64 (*.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) x) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (+.f64 (+.f64 (*.f64 x y) x) y) (patch (+.f64 (+.f64 (*.f64 x y) 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 (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 10.0ms | y | @ | -inf | ((+ (* x y) x) (+ (+ (* x y) x) y) (* x y)) |
| 1.0ms | x | @ | 0 | ((+ (* x y) x) (+ (+ (* x y) x) y) (* x y)) |
| 1.0ms | y | @ | inf | ((+ (* x y) x) (+ (+ (* x y) x) y) (* x y)) |
| 1.0ms | x | @ | -inf | ((+ (* x y) x) (+ (+ (* x y) x) y) (* x y)) |
| 1.0ms | x | @ | inf | ((+ (* x y) x) (+ (+ (* x y) x) y) (* x y)) |
| 1× | egg-herbie |
| 8 312× | lower-fma.f64 |
| 8 312× | lower-fma.f32 |
| 3 168× | lower-*.f64 |
| 3 168× | lower-*.f32 |
| 2 488× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 332 |
| 1 | 131 | 332 |
| 2 | 333 | 332 |
| 3 | 942 | 332 |
| 4 | 2133 | 332 |
| 5 | 3036 | 332 |
| 6 | 3587 | 332 |
| 7 | 4298 | 332 |
| 8 | 4513 | 332 |
| 9 | 4656 | 332 |
| 10 | 5354 | 332 |
| 0 | 8413 | 289 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* x y)) |
(+ x (* x y)) |
(+ x (* x y)) |
x |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
y |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
| Outputs |
|---|
x |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
x |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y 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 (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y 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) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
y |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
| 5 328× | lower-fma.f64 |
| 5 328× | lower-fma.f32 |
| 4 296× | lower-*.f32 |
| 4 294× | lower-*.f64 |
| 2 370× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 38 | 15 |
| 2 | 332 | 15 |
| 3 | 5289 | 15 |
| 0 | 8143 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x y) x) |
(+.f64 (+.f64 (*.f64 x y) x) y) |
(*.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> |
Compiled 4 891 to 555 computations (88.7% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 247 | 3 | 250 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 248 | 3 | 251 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
| ▶ | 63.3% | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
| ▶ | 67.5% | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
Compiled 16 to 13 computations (18.8% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) | |
| cost-diff | 0 | (fma.f64 y x y) | |
| cost-diff | 0 | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) | |
| cost-diff | 0 | (fma.f64 y x x) | |
| cost-diff | 0 | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
| 76× | lower-fma.f32 |
| 70× | lower-fma.f64 |
| 48× | lower-*.f64 |
| 48× | lower-*.f32 |
| 32× | lower-+.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 48 |
| 0 | 18 | 46 |
| 1 | 33 | 46 |
| 2 | 45 | 46 |
| 3 | 51 | 46 |
| 4 | 61 | 46 |
| 5 | 67 | 46 |
| 6 | 71 | 46 |
| 0 | 71 | 46 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
(fma.f64 y x x) |
y |
x |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
(fma.f64 y x y) |
y |
x |
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
y |
| Outputs |
|---|
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
(fma.f64 y x x) |
y |
x |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
(fma.f64 y x y) |
y |
x |
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
(+.f64 (fma.f64 y x x) y) |
(+.f64 x #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) x) |
x |
#s(literal 1 binary64) |
y |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) | |
| accuracy | 0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0 | (fma.f64 y x y) | |
| accuracy | 23.500280605308024 | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) | |
| accuracy | 0 | (fma.f64 y x x) | |
| accuracy | 20.82140605463511 | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
| 41.0ms | 256× | 0 | valid |
Compiled 43 to 14 computations (67.4% saved)
ival-add: 6.0ms (50.2% of total)ival-mult: 5.0ms (41.8% 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) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ()) |
#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ()) |
#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ()) |
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* x y)) (taylor 0 y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (/ x y))) (taylor inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor 0 x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 y x x) (patch (fma.f64 y x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) (patch #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 y x y) (patch (fma.f64 y x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) (patch (fma.f64 (+.f64 x #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1)) |
| 1.0ms | y | @ | -inf | ((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1)) |
| 1.0ms | x | @ | inf | ((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | y | @ | inf | ((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | y | @ | 0 | ((+ (+ (* x y) x) y) (+ (* y x) x) (+ (+ (* x y) x) y) (+ (* y x) y) (+ (* (+ x 1) y) x) (+ x 1)) |
| 1× | egg-herbie |
| 29 368× | lower-fma.f64 |
| 29 368× | lower-fma.f32 |
| 3 356× | lower-*.f64 |
| 3 356× | lower-*.f32 |
| 2 524× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 698 |
| 1 | 182 | 698 |
| 2 | 465 | 698 |
| 3 | 1205 | 698 |
| 4 | 2732 | 698 |
| 5 | 3560 | 698 |
| 6 | 3956 | 698 |
| 7 | 4242 | 698 |
| 8 | 4392 | 698 |
| 9 | 4480 | 698 |
| 0 | 8407 | 590 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
x |
(+ x (* x y)) |
(+ x (* x y)) |
(+ x (* x y)) |
x |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
x |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* x y) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ x (/ x y))) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
y |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
y |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
y |
(+ y (* x y)) |
(+ y (* x y)) |
(+ y (* x y)) |
y |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x y) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
x |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
x |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
(+ x (* x y)) |
(fma.f64 y x x) |
x |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
x |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ x (/ x y))) |
(fma.f64 y x x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (+ (* -1 x) (* -1 (/ x y))))) |
(fma.f64 y x x) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
y |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
y |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
y |
(+ y (* x y)) |
(fma.f64 y x y) |
(+ y (* x y)) |
(fma.f64 y x y) |
(+ y (* x y)) |
(fma.f64 y x y) |
y |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* x (+ y (/ y x))) |
(fma.f64 y x y) |
(* x (+ y (/ y x))) |
(fma.f64 y x y) |
(* x (+ y (/ y x))) |
(fma.f64 y x y) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 y x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 y x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 y x y) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
| 11 386× | lower-fma.f32 |
| 11 380× | lower-fma.f64 |
| 5 370× | lower-*.f64 |
| 5 370× | lower-*.f32 |
| 3 920× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 41 |
| 0 | 18 | 39 |
| 1 | 99 | 39 |
| 2 | 692 | 39 |
| 0 | 8221 | 39 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
(fma.f64 y x x) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
(fma.f64 y x y) |
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 072 to 1 208 computations (88% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 532 | 2 | 534 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 0 | 0 |
| Total | 533 | 4 | 537 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 70.2% | (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) |
| ✓ | 63.3% | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
| ✓ | 67.5% | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
| ▶ | 31.2% | #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
Compiled 20 to 18 computations (10% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ x 1) #s(literal 1 binary64)) | |
| cost-diff | 0 | (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (+ (* y x) y) (*.f64 y x)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
| 88× | lower-fma.f32 |
| 86× | lower-fma.f64 |
| 64× | lower-*.f32 |
| 62× | lower-*.f64 |
| 36× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 47 |
| 0 | 17 | 47 |
| 1 | 30 | 47 |
| 2 | 38 | 47 |
| 3 | 41 | 47 |
| 4 | 53 | 47 |
| 5 | 53 | 47 |
| 6 | 73 | 47 |
| 7 | 76 | 47 |
| 8 | 78 | 47 |
| 0 | 78 | 44 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
#s(approx (+ (* y x) y) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
y |
x |
| Outputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
#s(approx (+ (* y x) y) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
y |
x |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) | |
| accuracy | 34.733844495506865 | #s(approx (+ x 1) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 y x) | |
| accuracy | 23.500280605308024 | #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) | |
| accuracy | 28.296854070814145 | #s(approx (+ (* y x) y) (*.f64 y x)) |
| 45.0ms | 256× | 0 | valid |
Compiled 32 to 13 computations (59.4% saved)
ival-add: 5.0ms (46% of total)ival-mult: 5.0ms (46% 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) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ()) |
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ()) |
#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.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 x (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* y (+ 1 x))) (taylor 0 y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.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 (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) (taylor -inf y) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.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 (* y (+ 1 x)) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.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 y (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (+ 1 y))) (taylor 0 x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 y)) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.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 (+ 1 y)) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (+ y (/ y x)))) (taylor inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 y) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) (patch #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt #s(approx (+ (* y x) y) (*.f64 y x)) (patch #s(approx (+ (* y x) y) (*.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 y) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) (taylor -inf x) (#s(alt (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) (patch (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ x 1) #s(literal 1 binary64)) (patch #s(approx (+ x 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | x | @ | -inf | ((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | y | @ | inf | ((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | x | @ | inf | ((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | y | @ | 0 | ((+ (+ (* x y) x) y) (+ (* y x) y) (* y x) (+ (* (+ x 1) y) x) (+ x 1)) |
| 1× | egg-herbie |
| 29 368× | lower-fma.f64 |
| 29 368× | lower-fma.f32 |
| 3 356× | lower-*.f64 |
| 3 356× | lower-*.f32 |
| 2 524× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 48 | 510 |
| 1 | 164 | 510 |
| 2 | 435 | 510 |
| 3 | 1187 | 510 |
| 4 | 2706 | 510 |
| 5 | 3498 | 510 |
| 6 | 3894 | 510 |
| 7 | 4177 | 510 |
| 8 | 4326 | 510 |
| 9 | 4412 | 510 |
| 0 | 8340 | 445 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
x |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(+ x (* y (+ 1 x))) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* y (+ 1 (+ x (/ x y)))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* -1 (* y (- (* -1 x) 1))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
y |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
y |
(+ y (* x y)) |
(+ y (* x y)) |
(+ y (* x y)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
y |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
(+ y (* x (+ 1 y))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x y) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
(* x (+ 1 (+ y (/ y x)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
x |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
x |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ x (* y (+ 1 x))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* y (+ 1 (+ x (/ x y)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (+ (* -1 x) (* -1 (/ x y))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (* -1 (/ x y))))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
y |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
y |
(+ y (* x y)) |
(fma.f64 y x y) |
(+ y (* x y)) |
(fma.f64 y x y) |
(+ y (* x y)) |
(fma.f64 y x y) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
y |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(+ y (* x (+ 1 y))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* x (+ y (/ y x))) |
(fma.f64 y x y) |
(* x (+ y (/ y x))) |
(fma.f64 y x y) |
(* x (+ y (/ y x))) |
(fma.f64 y x y) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (+ 1 y)) |
(fma.f64 y x x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x (+ 1 (+ y (/ y x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 y x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 y x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 y x y) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (- (* -1 y) 1))) |
(fma.f64 y x x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ y x))) 1))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) y x) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
| 9 148× | lower-fma.f32 |
| 9 146× | lower-fma.f64 |
| 5 880× | lower-*.f32 |
| 5 878× | lower-*.f64 |
| 4 372× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 42 |
| 0 | 17 | 42 |
| 1 | 90 | 42 |
| 2 | 648 | 42 |
| 0 | 8313 | 39 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
#s(approx (+ (* y x) y) (*.f64 y x)) |
(*.f64 y x) |
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 2 522 to 227 computations (91% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 176 | 0 | 176 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 2 | 2 |
| Total | 176 | 4 | 180 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 70.2% | (fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) |
| ✓ | 63.3% | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
| ✓ | 67.5% | #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
| ✓ | 31.2% | #s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
Compiled 53 to 35 computations (34% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) |
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
(+.f64 (+.f64 (*.f64 x y) x) y) |
| Outputs |
|---|
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
3 calls:
| 3.0ms | y |
| 3.0ms | (+.f64 (+.f64 (*.f64 x y) x) y) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (+.f64 (+.f64 (*.f64 x y) x) y) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y x) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x y)) |
3 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (+.f64 (+.f64 (*.f64 x y) x) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 3 | x |
| 99.7% | 3 | y |
| 98.5% | 2 | (+.f64 (+.f64 (*.f64 x y) x) y) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | y |
| 1.0ms | (+.f64 (+.f64 (*.f64 x y) x) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 67.5% | 1 | y |
| 67.5% | 1 | x |
| 67.5% | 1 | (+.f64 (+.f64 (*.f64 x y) x) y) |
Compiled 9 to 9 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
3 calls:
| 32.0ms | y |
| 1.0ms | (+.f64 (+.f64 (*.f64 x y) x) y) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 31.2% | 1 | x |
| 31.2% | 1 | (+.f64 (+.f64 (*.f64 x y) x) y) |
| 31.2% | 1 | y |
Compiled 9 to 9 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.0967124523631728e-250 | 1.554513895208913e-275 |
Compiled 10 to 10 computations (0% saved)
| 1× | egg-herbie |
| 6× | +-commutative-binary64-+.f64 |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | *-commutative-binary64-*.f64 |
| 2× | 1-exp-binary64-exp.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 69 |
| 1 | 30 | 69 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
(if (<=.f64 (+.f64 (+.f64 (*.f64 x y) x) y) #s(literal -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
| Outputs |
|---|
(fma.f64 (+.f64 x #s(literal 1 binary64)) y x) |
(fma.f64 (+.f64 #s(literal 1 binary64) x) y x) |
(if (<=.f64 (+.f64 (+.f64 (*.f64 x y) x) y) #s(literal -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))) |
(if (<=.f64 (+.f64 (+.f64 (*.f64 y x) x) y) #s(literal -1612226962694291/16122269626942909129404900662735492142298807557254685123533957184651913530173488143140175045399694454793530120643833272670970079330526292030350920973600450955456136596649325078391464772840162385651374295294530896122681527488756156580761624107880751845994219387748352 binary64)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) #s(approx (+ (+ (* x y) x) y) (fma.f64 y x y))) |
#s(approx (+ (+ (* x y) x) y) (fma.f64 y x x)) |
#s(approx (+ (+ (* x y) x) y) #s(approx (+ (* y x) y) (*.f64 y x))) |
| 29 368× | lower-fma.f64 |
| 29 368× | lower-fma.f32 |
| 8 312× | lower-fma.f64 |
| 8 312× | lower-fma.f32 |
| 5 328× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 38 | 15 |
| 2 | 332 | 15 |
| 3 | 5289 | 15 |
| 0 | 8143 | 13 |
| 0 | 52 | 698 |
| 1 | 182 | 698 |
| 2 | 465 | 698 |
| 3 | 1205 | 698 |
| 4 | 2732 | 698 |
| 5 | 3560 | 698 |
| 6 | 3956 | 698 |
| 7 | 4242 | 698 |
| 8 | 4392 | 698 |
| 9 | 4480 | 698 |
| 0 | 8407 | 590 |
| 0 | 41 | 332 |
| 1 | 131 | 332 |
| 2 | 333 | 332 |
| 3 | 942 | 332 |
| 4 | 2133 | 332 |
| 5 | 3036 | 332 |
| 6 | 3587 | 332 |
| 7 | 4298 | 332 |
| 8 | 4513 | 332 |
| 9 | 4656 | 332 |
| 10 | 5354 | 332 |
| 0 | 8413 | 289 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 65 to 39 computations (40% saved)
Compiled 110 to 64 computations (41.8% saved)
Loading profile data...