
Time bar (total: 5.1s)
| 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 8 computations (11.1% saved)
| 579.0ms | 8 253× | 0 | valid |
| 0.0ms | 2× | 2 | valid |
| 0.0ms | 1× | 1 | valid |
ival-mult: 250.0ms (71.2% of total)ival-add: 50.0ms (14.2% of total)ival-sub: 36.0ms (10.3% of total)ival-true: 7.0ms (2% of total)exact: 5.0ms (1.4% of total)ival-assert: 4.0ms (1.1% of total)adjust: 0.0ms (0% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 1 | 0 | - | 1 | (-3.265543599405987e+234 0.9824173618145615) | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 1 |
| - | 0 | 255 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 1 | 0 |
| - | 0 | 0 | 255 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 1 | 0 |
| - | 0 | 0 | 0 |
| 26.0ms | 512× | 0 | valid |
Compiled 47 to 22 computations (53.2% saved)
ival-add: 7.0ms (53.2% of total)ival-mult: 3.0ms (22.8% of total)ival-sub: 2.0ms (15.2% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 496× | lower-fma.f64 |
| 496× | lower-fma.f32 |
| 232× | unsub-neg |
| 192× | lower-*.f32 |
| 190× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 43 |
| 1 | 39 | 39 |
| 2 | 123 | 37 |
| 3 | 509 | 35 |
| 4 | 1023 | 35 |
| 5 | 1335 | 35 |
| 6 | 1376 | 35 |
| 7 | 1380 | 35 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 15 | 7 |
| 2 | 27 | 7 |
| 3 | 58 | 7 |
| 4 | 109 | 7 |
| 5 | 191 | 7 |
| 6 | 354 | 7 |
| 7 | 562 | 7 |
| 8 | 636 | 7 |
| 9 | 641 | 7 |
| 0 | 641 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(fma.f64 y x (-.f64 y x)) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) | |
| cost-diff | 128 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
| 496× | lower-fma.f64 |
| 496× | lower-fma.f32 |
| 192× | lower-*.f32 |
| 190× | lower-*.f64 |
| 136× | lower-+.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 9 | 18 |
| 1 | 15 | 18 |
| 2 | 27 | 18 |
| 3 | 58 | 18 |
| 4 | 109 | 18 |
| 5 | 191 | 18 |
| 6 | 354 | 18 |
| 7 | 562 | 18 |
| 8 | 636 | 18 |
| 9 | 641 | 18 |
| 0 | 641 | 16 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
y |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(fma.f64 y x (-.f64 y x)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(fma.f64 y x y) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal 1 binary64) |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.01171875 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) | |
| accuracy | 0.019352329337448734 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 11.0ms | 256× | 0 | valid |
Compiled 20 to 8 computations (60% saved)
ival-mult: 2.0ms (43.3% of total)ival-sub: 1.0ms (21.6% of total)ival-add: 1.0ms (21.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ()) |
#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.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 (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.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 y) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.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 (* x y) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x #s(literal 1 binary64)) y) (patch (*.f64 (+.f64 x #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) (patch (-.f64 (*.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 | |
|---|---|---|---|---|
| 77.0ms | x | @ | inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 1.0ms | y | @ | inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 1.0ms | y | @ | 0 | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | y | @ | -inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 0.0ms | x | @ | -inf | ((* (+ x 1) y) (- (* (+ x 1) y) x) (+ x 1)) |
| 1× | egg-herbie |
| 4 192× | lower-*.f64 |
| 4 192× | lower-*.f32 |
| 3 480× | lower-fma.f64 |
| 3 480× | lower-fma.f32 |
| 1 904× | div-sub |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 291 |
| 1 | 140 | 291 |
| 2 | 363 | 291 |
| 3 | 978 | 291 |
| 4 | 2455 | 291 |
| 5 | 3593 | 291 |
| 6 | 4358 | 291 |
| 7 | 5301 | 291 |
| 8 | 5827 | 291 |
| 9 | 6391 | 291 |
| 10 | 7434 | 291 |
| 0 | 8103 | 250 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* -1 x) |
(- (* y (+ 1 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)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
y |
(+ y (* x y)) |
(+ y (* x y)) |
(+ y (* x y)) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(* x y) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* 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 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 x y y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 x y y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 x y y) x) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 x y y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 x y y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 x y y) x) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* y (+ 1 x)) |
(fma.f64 x y y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 x y y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 x y y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 x y y) x) |
y |
(+ y (* x y)) |
(fma.f64 x y y) |
(+ y (* x y)) |
(fma.f64 x y y) |
(+ y (* x y)) |
(fma.f64 x y y) |
y |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 x y y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 x y y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 x y 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 y) |
(*.f64 x y) |
(* x (+ y (/ y x))) |
(fma.f64 x y y) |
(* x (+ y (/ y x))) |
(fma.f64 x y y) |
(* x (+ y (/ y x))) |
(fma.f64 x y y) |
(* x (- y 1)) |
(fma.f64 x y (neg.f64 x)) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 x y y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 x y y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 x y 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)) |
(* x y) |
(*.f64 x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 x y y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 x y y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(fma.f64 x y y) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 x y (neg.f64 x)) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 x y y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 x y y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 x y 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)) |
| 5 040× | lower-fma.f64 |
| 5 040× | lower-fma.f32 |
| 3 674× | lower-/.f64 |
| 3 674× | lower-/.f32 |
| 3 510× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 38 | 15 |
| 2 | 269 | 15 |
| 3 | 3362 | 15 |
| 0 | 8495 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(-.f64 (*.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> |
Compiled 7 966 to 1 055 computations (86.8% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 380 | 4 | 384 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 381 | 4 | 385 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 75.3% | (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
| ▶ | 64.9% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
| ▶ | 59.8% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
| ▶ | 41.0% | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
Compiled 20 to 19 computations (5% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ x 1) #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) | |
| cost-diff | 0 | (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 x y (neg.f64 x)) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) | |
| cost-diff | 0 | (fma.f64 x y y) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| 608× | lower-fma.f32 |
| 604× | lower-fma.f64 |
| 256× | lower-*.f32 |
| 254× | lower-*.f64 |
| 168× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 77 |
| 0 | 21 | 74 |
| 1 | 36 | 74 |
| 2 | 63 | 74 |
| 3 | 97 | 74 |
| 4 | 188 | 74 |
| 5 | 373 | 74 |
| 6 | 552 | 74 |
| 7 | 636 | 74 |
| 8 | 642 | 74 |
| 9 | 644 | 74 |
| 0 | 644 | 74 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
(fma.f64 x y y) |
x |
y |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
(fma.f64 x y (neg.f64 x)) |
x |
y |
(neg.f64 x) |
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
y |
x |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x y)) |
(fma.f64 x y y) |
(fma.f64 y x y) |
x |
y |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 y x (neg.f64 x))) |
(fma.f64 x y (neg.f64 x)) |
(fma.f64 y x (neg.f64 x)) |
x |
y |
(neg.f64 x) |
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
(fma.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y (neg.f64 x)) |
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
y |
x |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.01171875 | (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) | |
| accuracy | 0.019352329337448734 | (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) | |
| accuracy | 32.99111241558671 | #s(approx (+ x 1) #s(literal 1 binary64)) | |
| accuracy | 0 | (fma.f64 x y (neg.f64 x)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 22.486991811073395 | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) | |
| accuracy | 0 | (fma.f64 x y y) | |
| accuracy | 25.69678604779048 | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 37.74236949971486 | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| 19.0ms | 256× | 0 | valid |
Compiled 61 to 12 computations (80.3% saved)
ival-add: 4.0ms (41.9% of total)ival-mult: 3.0ms (31.4% of total)ival-sub: 1.0ms (10.5% of total)ival-neg: 1.0ms (10.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ()) |
#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ()) |
#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<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 (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor 0 y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 x) 1))) (taylor -inf y) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x y)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<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 (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ y (/ y x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<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 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) (patch #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 x y y) (patch (fma.f64 x y y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (patch #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 x y (neg.f64 x)) (patch (fma.f64 x y (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) (patch (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) (patch (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) #<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 | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 1.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 1.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 1.0ms | y | @ | inf | ((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 1.0ms | x | @ | 0 | ((- (* (+ x 1) y) x) (neg x) (- (* (+ x 1) y) x) (+ (* x y) y) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 1× | egg-herbie |
| 4 208× | lower-*.f64 |
| 4 208× | lower-*.f32 |
| 3 480× | lower-fma.f64 |
| 3 480× | lower-fma.f32 |
| 1 908× | div-sub |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 987 |
| 1 | 170 | 987 |
| 2 | 441 | 987 |
| 3 | 1071 | 987 |
| 4 | 2529 | 987 |
| 5 | 3601 | 987 |
| 6 | 4346 | 987 |
| 7 | 5290 | 987 |
| 8 | 5816 | 987 |
| 9 | 6382 | 987 |
| 10 | 7441 | 987 |
| 0 | 8110 | 865 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* -1 x) |
(- (* y (+ 1 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)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -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)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
(* y (+ 1 x)) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
y |
(+ y (* x y)) |
(+ y (* x y)) |
(+ y (* x y)) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
y |
(+ y (* x y)) |
(+ y (* x y)) |
(+ y (* x y)) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
(* x (+ y (/ y x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* 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 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* x y) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) 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) |
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(- (* x y) x) |
(fma.f64 y x (neg.f64 x)) |
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(- (* y (+ 1 x)) x) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) 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)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) 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)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ x (* -1 (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) 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)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) 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) |
(* -1 (* y (- (* -1 x) 1))) |
(fma.f64 y x y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(fma.f64 y x (neg.f64 x)) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) 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 |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
y |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
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 (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
y |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(+ y (* x (- y 1))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
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) |
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 (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* 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 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- y 1)) |
(fma.f64 y x (neg.f64 x)) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* x (- (+ y (/ y x)) 1)) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* 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 |
(* 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 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* 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 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(fma.f64 y x (neg.f64 x)) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(fma.f64 (-.f64 y #s(literal 1 binary64)) x y) |
(* 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 |
(* 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)) |
| 8 216× | lower-fma.f32 |
| 8 212× | lower-fma.f64 |
| 4 826× | lower-*.f32 |
| 4 824× | lower-*.f64 |
| 3 420× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 67 |
| 0 | 21 | 64 |
| 1 | 91 | 64 |
| 2 | 733 | 60 |
| 0 | 9580 | 59 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
(fma.f64 x y y) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
(fma.f64 x y (neg.f64 x)) |
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
(*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) |
#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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 8 081 to 1 027 computations (87.3% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 552 | 2 | 554 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 552 | 6 | 558 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 75.3% | (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
| ✓ | 64.9% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
| ✓ | 59.8% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
| ✓ | 41.0% | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| ▶ | 25.7% | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
| ▶ | 2.4% | #s(approx (- (* (+ x 1) y) x) x) |
Compiled 27 to 27 computations (0% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (+ (* x y) (neg x)) (*.f64 y x)) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) x) |
| 496× | lower-fma.f64 |
| 496× | lower-fma.f32 |
| 192× | lower-*.f32 |
| 190× | lower-*.f64 |
| 136× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 43 |
| 0 | 14 | 41 |
| 1 | 25 | 41 |
| 2 | 44 | 41 |
| 3 | 76 | 41 |
| 4 | 150 | 41 |
| 5 | 290 | 41 |
| 6 | 442 | 41 |
| 7 | 509 | 41 |
| 8 | 512 | 41 |
| 0 | 512 | 39 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
x |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (+ (* x y) (neg x)) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
x |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (+ (* x y) (neg x)) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 y x) | |
| accuracy | 22.486991811073395 | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) | |
| accuracy | 32.935829859423585 | #s(approx (+ (* x y) (neg x)) (*.f64 y x)) | |
| accuracy | 62.43809364982131 | #s(approx (- (* (+ x 1) y) x) x) |
| 34.0ms | 256× | 0 | valid |
Compiled 28 to 12 computations (57.1% saved)
ival-mult: 21.0ms (78.8% of total)ival-add: 3.0ms (11.3% of total)ival-sub: 1.0ms (3.8% of total)ival-neg: 1.0ms (3.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 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ()) |
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) x) (patch #s(approx (- (* (+ x 1) y) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 y x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x)) |
| 1.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x)) |
| 0.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x)) |
| 0.0ms | y | @ | inf | ((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x)) |
| 0.0ms | y | @ | 0 | ((- (* (+ x 1) y) x) (- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* y x)) |
| 1× | egg-herbie |
| 20 656× | lower-fma.f64 |
| 20 656× | lower-fma.f32 |
| 3 176× | lower-*.f64 |
| 3 176× | lower-*.f32 |
| 2 552× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 483 |
| 1 | 134 | 483 |
| 2 | 362 | 483 |
| 3 | 977 | 483 |
| 4 | 2490 | 483 |
| 5 | 3685 | 483 |
| 6 | 4434 | 483 |
| 7 | 4822 | 483 |
| 8 | 5060 | 483 |
| 9 | 5211 | 483 |
| 10 | 5317 | 483 |
| 0 | 8590 | 443 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* x y) |
(* x y) |
(* x y) |
(* x y) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(-.f64 (*.f64 y x) x) |
(- (* x y) x) |
(-.f64 (*.f64 y x) x) |
(- (* x y) x) |
(-.f64 (*.f64 y x) x) |
(* 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 (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* y (+ x (* -1 (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* y (+ x (* -1 (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* 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)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
y |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
y |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
(* x y) |
(*.f64 y x) |
| 4 506× | lower-fma.f64 |
| 4 506× | lower-fma.f32 |
| 3 104× | lower-*.f32 |
| 3 102× | lower-*.f64 |
| 1 796× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 40 |
| 0 | 14 | 38 |
| 1 | 60 | 38 |
| 2 | 457 | 38 |
| 3 | 6141 | 38 |
| 0 | 8085 | 34 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (+ (* x y) (neg x)) (*.f64 y x)) |
(*.f64 y x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 920 to 151 computations (83.6% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 132 | 1 | 133 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 132 | 7 | 139 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 75.3% | (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
| ✓ | 64.9% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
| ✓ | 59.8% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
| ✓ | 41.0% | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| ▶ | 2.9% | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
| ✓ | 25.7% | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
| ✓ | 2.4% | #s(approx (- (* (+ x 1) y) x) x) |
Compiled 33 to 33 computations (0% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | (*.f64 (neg.f64 y) x) | |
| cost-diff | 0 | #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
| 496× | lower-fma.f64 |
| 496× | lower-fma.f32 |
| 192× | lower-*.f32 |
| 190× | lower-*.f64 |
| 136× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 38 |
| 0 | 15 | 36 |
| 1 | 31 | 36 |
| 2 | 57 | 36 |
| 3 | 94 | 36 |
| 4 | 181 | 36 |
| 5 | 297 | 36 |
| 6 | 445 | 36 |
| 7 | 512 | 36 |
| 8 | 515 | 36 |
| 0 | 515 | 35 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) |
(*.f64 (neg.f64 y) x) |
(neg.f64 y) |
y |
x |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) |
(*.f64 (neg.f64 y) x) |
(neg.f64 y) |
y |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 (neg.f64 y) x) | |
| accuracy | 0 | (neg.f64 y) | |
| accuracy | 22.486991811073395 | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) | |
| accuracy | 62.25545346339094 | #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) |
| 19.0ms | 256× | 0 | valid |
Compiled 23 to 13 computations (43.5% saved)
ival-mult: 5.0ms (41.2% of total)ival-add: 3.0ms (24.7% of total)ival-sub: 2.0ms (16.5% of total)ival-neg: 2.0ms (16.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ()) |
#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* y (+ 1 x)) x) (taylor 0 y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (+ x (* -1 (/ x y))))) (taylor inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 x)) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* x (- y 1))) (taylor 0 x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ y (/ y x)) 1)) (taylor inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) (taylor -inf x) (#s(alt #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) (patch #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) (patch #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x y)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 y) x) (patch (*.f64 (neg.f64 y) x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y)) |
| 1.0ms | y | @ | 0 | ((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y)) |
| 1.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y)) |
| 1.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y)) |
| 1.0ms | x | @ | 0 | ((- (* (+ x 1) y) x) (+ (* x y) (neg x)) (* (neg y) x) (neg y)) |
| 1× | egg-herbie |
| 20 656× | lower-fma.f64 |
| 20 656× | lower-fma.f32 |
| 3 176× | lower-*.f64 |
| 3 176× | lower-*.f32 |
| 2 552× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 382 |
| 1 | 137 | 382 |
| 2 | 360 | 382 |
| 3 | 992 | 382 |
| 4 | 2543 | 382 |
| 5 | 3744 | 382 |
| 6 | 4468 | 382 |
| 7 | 4856 | 382 |
| 8 | 5092 | 382 |
| 9 | 5241 | 382 |
| 10 | 5347 | 382 |
| 0 | 8585 | 362 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(- (* y (+ 1 x)) x) |
(* -1 x) |
(- (* x y) x) |
(- (* x y) x) |
(- (* x y) x) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* x y) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* y (+ x (* -1 (/ x y)))) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* y (+ 1 x)) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(* x y) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
y |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(+ y (* x (- y 1))) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* x (- y 1)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
(* -1 (* x y)) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(- (* y (+ 1 x)) x) |
(-.f64 (fma.f64 y x y) x) |
(* -1 x) |
(neg.f64 x) |
(- (* x y) x) |
(-.f64 (*.f64 y x) x) |
(- (* x y) x) |
(-.f64 (*.f64 y x) x) |
(- (* x y) x) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(-.f64 (fma.f64 y x y) x) |
(* x y) |
(*.f64 y x) |
(* y (+ x (* -1 (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* y (+ x (* -1 (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* y (+ x (* -1 (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* y (+ 1 x)) |
(fma.f64 y x y) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
(-.f64 (fma.f64 y x y) x) |
(* x y) |
(*.f64 y x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* y (+ (* -1 x) (/ x y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
y |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(+ y (* x (- y 1))) |
(-.f64 (fma.f64 y x y) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 (fma.f64 y x y) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* x (- y 1)) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(-.f64 (fma.f64 y x y) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x (+ 1 (* -1 y)))) |
(-.f64 (*.f64 y x) x) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
(* -1 (* x y)) |
(*.f64 (neg.f64 x) y) |
| 4 456× | lower-fma.f64 |
| 4 456× | lower-fma.f32 |
| 3 124× | lower-*.f32 |
| 3 122× | lower-*.f64 |
| 1 862× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 36 |
| 0 | 15 | 34 |
| 1 | 66 | 34 |
| 2 | 476 | 31 |
| 3 | 6266 | 31 |
| 0 | 8187 | 28 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
#s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x)) |
(*.f64 (neg.f64 y) x) |
(neg.f64 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> |
Compiled 1 208 to 288 computations (76.2% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 148 | 0 | 148 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 148 | 7 | 155 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 75.3% | (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
| ✓ | 64.9% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
| ✓ | 59.8% | #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
| ✓ | 41.0% | #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| ✓ | 2.9% | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
| ✓ | 25.7% | #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
| ✓ | 2.4% | #s(approx (- (* (+ x 1) y) x) x) |
Compiled 73 to 56 computations (23.3% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
3 calls:
| 17.0ms | x |
| 3.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 3.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
(-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
3 calls:
| 3.0ms | x |
| 3.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 3.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.8% | 3 | x |
| 98.4% | 3 | y |
| 91.5% | 3 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) |
3 calls:
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 72.6% | 4 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 88.6% | 3 | y |
| 90.7% | 3 | x |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 (neg.f64 y) x))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) |
2 calls:
| 5.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 88.4% | 3 | y |
| 72.5% | 6 | x |
Compiled 2 to 4 computations (-100% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 46.7% | 4 | x |
| 55.7% | 3 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 63.2% | 3 | y |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
3 calls:
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 41.0% | 1 | x |
| 41.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 41.0% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) x) |
3 calls:
| 38.0ms | y |
| 1.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.4% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 2.4% | 1 | y |
| 2.4% | 1 | x |
Compiled 9 to 10 computations (-11.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 5.0ms | 5.3536526255049264e-17 | 9.108461022382205e-17 |
| 11.0ms | -1.708323790204963 | -1.155688496630143e-6 |
| 8.0ms | 208× | 0 | valid |
Compiled 166 to 180 computations (-8.4% saved)
ival-sub: 1.0ms (26.7% of total)ival-add: 1.0ms (26.7% of total)ival-mult: 1.0ms (26.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 7.0ms | 1.4871345746348427e-97 | 1.060165868370096e-96 |
| 10.0ms | -2.3802566226354565e-32 | -3.085744950077282e-35 |
| 9.0ms | 224× | 0 | valid |
Compiled 164 to 165 computations (-0.6% saved)
ival-sub: 1.0ms (24.6% of total)ival-add: 1.0ms (24.6% of total)ival-mult: 1.0ms (24.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 10.0ms | 9.400315786677661e-81 | 1.9079722570343082e-76 |
| 12.0ms | -2.5745515459969313e-8 | -8.75709867842271e-10 |
| 13.0ms | 240× | 0 | valid |
Compiled 130 to 161 computations (-23.8% saved)
ival-add: 5.0ms (61.6% of total)ival-mult: 2.0ms (24.6% of total)ival-sub: 1.0ms (12.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 0.9824173618145615 | 1.2495571554999126e+27 |
| 13.0ms | -532.6416129294325 | -0.26952924940940565 |
| 12.0ms | 304× | 0 | valid |
Compiled 162 to 220 computations (-35.8% saved)
ival-add: 2.0ms (36.2% of total)ival-mult: 2.0ms (36.2% of total)ival-sub: 1.0ms (18.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 8× | *-commutative-binary64-*.f64 |
| 8× | +-commutative-binary64-+.f64 |
| 6× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | 1-exp-binary64-exp.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 211 |
| 1 | 58 | 211 |
| 2 | 62 | 211 |
| 3 | 63 | 211 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 7301667457314601/81129638414606681695789005144064 binary64)) (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))))) |
(if (<=.f64 x #s(literal -7716728645107167/11692013098647223345629478661730264157247460343808 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 5050305969996851/4809815209520810450717656262224562232065397860164239095208531909697964083434718092213655548692006303809402830848 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))))) |
(if (<=.f64 y #s(literal -8510837770086989/9671406556917033397649408 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (if (<=.f64 y #s(literal 4237034830775731/32592575621351777380295131014550050576823494298654980010178247189670100796213387298934358016 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))))) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) x) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(-.f64 (*.f64 y (+.f64 #s(literal 1 binary64) x)) x) |
(if (<=.f64 x #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 7301667457314601/81129638414606681695789005144064 binary64)) (-.f64 (*.f64 #s(approx (+ x 1) #s(literal 1 binary64)) y) x) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))))) |
(if (<=.f64 x #s(literal -7716728645107167/11692013098647223345629478661730264157247460343808 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))) (if (<=.f64 x #s(literal 5050305969996851/4809815209520810450717656262224562232065397860164239095208531909697964083434718092213655548692006303809402830848 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y (neg.f64 x))))) |
(if (<=.f64 y #s(literal -8510837770086989/9671406556917033397649408 binary64)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)) (if (<=.f64 y #s(literal 4237034830775731/32592575621351777380295131014550050576823494298654980010178247189670100796213387298934358016 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) (fma.f64 x y y)))) |
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* (+ x 1) y) x) (neg.f64 x)) #s(approx (- (* (+ x 1) y) x) #s(approx (+ (* x y) (neg x)) (*.f64 y x))))) |
#s(approx (- (* (+ x 1) y) x) (neg.f64 x)) |
#s(approx (- (* (+ x 1) y) x) x) |
| 8 216× | lower-fma.f32 |
| 8 212× | lower-fma.f64 |
| 4 826× | lower-*.f32 |
| 4 824× | lower-*.f64 |
| 4 208× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 291 |
| 1 | 140 | 291 |
| 2 | 363 | 291 |
| 3 | 978 | 291 |
| 4 | 2455 | 291 |
| 5 | 3593 | 291 |
| 6 | 4358 | 291 |
| 7 | 5301 | 291 |
| 8 | 5827 | 291 |
| 9 | 6391 | 291 |
| 10 | 7434 | 291 |
| 0 | 8103 | 250 |
| 0 | 15 | 67 |
| 0 | 21 | 64 |
| 1 | 91 | 64 |
| 2 | 733 | 60 |
| 0 | 9580 | 59 |
| 0 | 49 | 987 |
| 1 | 170 | 987 |
| 2 | 441 | 987 |
| 3 | 1071 | 987 |
| 4 | 2529 | 987 |
| 5 | 3601 | 987 |
| 6 | 4346 | 987 |
| 7 | 5290 | 987 |
| 8 | 5816 | 987 |
| 9 | 6382 | 987 |
| 10 | 7441 | 987 |
| 0 | 8110 | 865 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 144 to 82 computations (43.1% saved)
Compiled 224 to 94 computations (58% saved)
Loading profile data...