
Time bar (total: 4.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 325.0ms | 8 256× | 0 | valid |
ival-mult: 56.0ms (35.6% of total)ival-add: 51.0ms (32.4% of total)ival-sub: 41.0ms (26% of total)ival-true: 7.0ms (4.4% of total)ival-assert: 4.0ms (2.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 x y) (-.f64 x y)) |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 0 | 0 | - | 0 | - | (-.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 21.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-sub: 3.0ms (32.5% of total)ival-add: 3.0ms (32.5% of total)ival-mult: 3.0ms (32.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 37 776× | lower-fma.f64 |
| 37 776× | lower-fma.f32 |
| 8 740× | lower-+.f32 |
| 8 738× | lower-+.f64 |
| 3 244× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 43 |
| 1 | 44 | 37 |
| 2 | 151 | 35 |
| 3 | 524 | 35 |
| 4 | 1147 | 35 |
| 5 | 1954 | 35 |
| 6 | 2477 | 35 |
| 7 | 3171 | 35 |
| 8 | 4140 | 35 |
| 9 | 4740 | 35 |
| 10 | 4944 | 35 |
| 11 | 5010 | 35 |
| 12 | 5074 | 35 |
| 13 | 5106 | 35 |
| 14 | 6378 | 35 |
| 15 | 7802 | 35 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 12 | 7 |
| 2 | 31 | 7 |
| 3 | 69 | 7 |
| 4 | 180 | 7 |
| 5 | 344 | 7 |
| 6 | 682 | 7 |
| 7 | 1276 | 7 |
| 8 | 2204 | 7 |
| 9 | 2825 | 7 |
| 10 | 2993 | 7 |
| 11 | 3035 | 7 |
| 12 | 3073 | 7 |
| 13 | 3073 | 7 |
| 14 | 3073 | 7 |
| 15 | 3075 | 7 |
| 0 | 9343 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(abs y)
(abs x)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (+.f64 x y) (-.f64 x y)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -128 | (*.f64 (+.f64 x y) (-.f64 x y)) | |
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | (+.f64 x y) |
| 37 776× | lower-fma.f64 |
| 37 776× | lower-fma.f32 |
| 8 740× | lower-+.f32 |
| 8 738× | lower-+.f64 |
| 3 244× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 12 | 15 |
| 2 | 31 | 15 |
| 3 | 69 | 15 |
| 4 | 180 | 15 |
| 5 | 344 | 15 |
| 6 | 682 | 15 |
| 7 | 1276 | 15 |
| 8 | 2204 | 15 |
| 9 | 2825 | 15 |
| 10 | 2993 | 15 |
| 11 | 3035 | 15 |
| 12 | 3073 | 15 |
| 13 | 3073 | 15 |
| 14 | 3073 | 15 |
| 15 | 3075 | 15 |
| 0 | 9343 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(+.f64 x y) |
x |
y |
(-.f64 x y) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
(-.f64 x y) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 x y) | |
| accuracy | 0 | (+.f64 x y) | |
| accuracy | 0 | (*.f64 (+.f64 x y) (-.f64 x y)) |
| 10.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-sub: 1.0ms (22.9% of total)ival-add: 1.0ms (22.9% of total)ival-mult: 1.0ms (22.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ()) |
#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ()) |
#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (* -1 x))) (pow x 2)) (taylor 0 y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) (taylor 0 y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) (taylor 0 y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) (taylor inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) (taylor inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) (taylor inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) (taylor -inf y) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor 0 x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) (taylor 0 x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) (taylor 0 x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) (taylor 0 x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) (taylor inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) (taylor inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) (taylor -inf x) (#s(alt (*.f64 (+.f64 x y) (-.f64 x y)) (patch (*.f64 (+.f64 x y) (-.f64 x y)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ x y) (- x y) (* (+ x y) (- x y))) |
| 1.0ms | y | @ | inf | ((+ x y) (- x y) (* (+ x y) (- x y))) |
| 0.0ms | x | @ | inf | ((+ x y) (- x y) (* (+ x y) (- x y))) |
| 0.0ms | y | @ | -inf | ((+ x y) (- x y) (* (+ x y) (- x y))) |
| 0.0ms | y | @ | 0 | ((+ x y) (- x y) (* (+ x y) (- x y))) |
| 1× | egg-herbie |
| 14 152× | lower-fma.f64 |
| 14 152× | lower-fma.f32 |
| 2 614× | lower--.f64 |
| 2 614× | lower--.f32 |
| 2 222× | lower-*.f64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 86 | 309 |
| 1 | 265 | 249 |
| 2 | 786 | 249 |
| 3 | 3277 | 249 |
| 0 | 8535 | 249 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(+ x y) |
(+ x y) |
(+ x y) |
x |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(pow x 2) |
(+ (* y (+ x (* -1 x))) (pow x 2)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
y |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* -1 y) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* -1 (pow y 2)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (pow y 2)) |
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
y |
(+ x y) |
(+ x y) |
(+ x y) |
(* -1 y) |
(- x y) |
(- x y) |
(- x y) |
(* -1 (pow y 2)) |
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
x |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(pow x 2) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
x |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(pow x 2) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
| Outputs |
|---|
x |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
x |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(pow x 2) |
(*.f64 x x) |
(+ (* y (+ x (* -1 x))) (pow x 2)) |
(*.f64 x x) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
y |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* -1 y) |
(neg.f64 y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
y |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* -1 y) |
(neg.f64 y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) |
(*.f64 (neg.f64 y) y) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
x |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
| 5 088× | lower-fma.f64 |
| 5 088× | lower-fma.f32 |
| 4 974× | lower-*.f32 |
| 4 972× | lower-*.f64 |
| 3 706× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 29 | 13 |
| 2 | 250 | 13 |
| 3 | 3945 | 13 |
| 0 | 9475 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 x y) |
(-.f64 x y) |
(*.f64 (+.f64 x y) (-.f64 x y)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 37 757 to 2 885 computations (92.4% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 152 | 2 | 1 154 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 1 152 | 3 | 1 155 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (+.f64 x y) (-.f64 x y)) |
| ▶ | 48.2% | #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
| ▶ | 57.4% | #s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
Compiled 16 to 14 computations (12.5% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | (*.f64 (neg.f64 y) y) | |
| cost-diff | 0 | #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| 74 416× | lower-fma.f64 |
| 74 416× | lower-fma.f32 |
| 6 048× | lower-*.f32 |
| 6 044× | lower-*.f64 |
| 4 262× | distribute-rgt-out |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 0 | 13 | 34 |
| 1 | 23 | 34 |
| 2 | 45 | 34 |
| 3 | 99 | 34 |
| 4 | 265 | 34 |
| 5 | 500 | 34 |
| 6 | 964 | 34 |
| 7 | 1631 | 34 |
| 8 | 3019 | 34 |
| 9 | 3888 | 34 |
| 10 | 4127 | 34 |
| 11 | 4252 | 34 |
| 12 | 4341 | 34 |
| 13 | 4343 | 34 |
| 14 | 4830 | 34 |
| 15 | 5312 | 34 |
| 16 | 5712 | 34 |
| 17 | 5892 | 34 |
| 18 | 5952 | 34 |
| 19 | 5976 | 34 |
| 20 | 6000 | 34 |
| 21 | 6000 | 34 |
| 22 | 6096 | 34 |
| 23 | 6096 | 34 |
| 24 | 6585 | 34 |
| 25 | 6985 | 34 |
| 26 | 7145 | 34 |
| 27 | 7305 | 34 |
| 28 | 7385 | 34 |
| 29 | 7385 | 34 |
| 30 | 7385 | 34 |
| 0 | 9937 | 34 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
(*.f64 (neg.f64 y) y) |
(neg.f64 y) |
y |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
(*.f64 (neg.f64 y) y) |
(neg.f64 y) |
y |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 (neg.f64 y) y) | |
| accuracy | 0 | (neg.f64 y) | |
| accuracy | 33.1363227721594 | #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 27.295026130899345 | #s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| 18.0ms | 256× | 0 | valid |
Compiled 27 to 10 computations (63% saved)
ival-mult: 5.0ms (58.5% of total)ival-sub: 1.0ms (11.7% of total)ival-add: 1.0ms (11.7% of total)ival-neg: 1.0ms (11.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ()) |
#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ()) |
#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow x 2) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (* -1 x))) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (* -1 x))) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) (taylor 0 y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor 0 y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) (taylor inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) (taylor -inf y) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor -inf y) (#s(alt (*.f64 (neg.f64 y) y) (patch (*.f64 (neg.f64 y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow y 2)) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) (taylor 0 x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) (taylor inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 x x)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) (taylor -inf x) (#s(alt #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) (patch #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((* (+ x y) (- x y)) (* x x) (* (+ x y) (- x y)) (* (neg y) y) (neg y)) |
| 1.0ms | y | @ | -inf | ((* (+ x y) (- x y)) (* x x) (* (+ x y) (- x y)) (* (neg y) y) (neg y)) |
| 1.0ms | y | @ | 0 | ((* (+ x y) (- x y)) (* x x) (* (+ x y) (- x y)) (* (neg y) y) (neg y)) |
| 0.0ms | x | @ | -inf | ((* (+ x y) (- x y)) (* x x) (* (+ x y) (- x y)) (* (neg y) y) (neg y)) |
| 0.0ms | x | @ | inf | ((* (+ x y) (- x y)) (* x x) (* (+ x y) (- x y)) (* (neg y) y) (neg y)) |
| 1× | egg-herbie |
| 14 420× | lower-fma.f64 |
| 14 420× | lower-fma.f32 |
| 2 986× | lower-*.f64 |
| 2 986× | lower-*.f32 |
| 2 168× | lower--.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 624 |
| 1 | 194 | 480 |
| 2 | 604 | 456 |
| 3 | 2453 | 456 |
| 4 | 7125 | 424 |
| 0 | 8327 | 416 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow x 2) |
(+ (* y (+ x (* -1 x))) (pow x 2)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(pow x 2) |
(+ (* y (+ x (* -1 x))) (pow x 2)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 (pow y 2)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(* -1 (pow y 2)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 (pow y 2)) |
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(* -1 (pow y 2)) |
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 (pow y 2)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 (pow y 2)) |
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1 (pow y 2)) |
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(pow x 2) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(pow x 2) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
| Outputs |
|---|
(pow x 2) |
(*.f64 x x) |
(+ (* y (+ x (* -1 x))) (pow x 2)) |
(*.f64 x x) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(pow x 2) |
(*.f64 x x) |
(+ (* y (+ x (* -1 x))) (pow x 2)) |
(*.f64 x x) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)) |
(*.f64 (neg.f64 y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)) |
(*.f64 (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal -1 binary64)) y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) |
(*.f64 (neg.f64 y) y) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* -1 (pow y 2)) |
(*.f64 (neg.f64 y) y) |
(+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))) |
(*.f64 (neg.f64 y) y) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))) |
(fma.f64 (neg.f64 y) y (*.f64 x x)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
(* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))) |
(*.f64 (fma.f64 (/.f64 (neg.f64 y) x) y x) x) |
| 2 452× | lower-fma.f64 |
| 2 452× | lower-fma.f32 |
| 2 294× | lower-/.f64 |
| 2 294× | lower-/.f32 |
| 1 924× | lower-*.f32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 32 |
| 0 | 13 | 32 |
| 1 | 40 | 32 |
| 2 | 275 | 32 |
| 3 | 4253 | 25 |
| 0 | 10067 | 25 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
(*.f64 (neg.f64 y) y) |
(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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 1 153 to 228 computations (80.2% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 154 | 0 | 154 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 154 | 3 | 157 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (+.f64 x y) (-.f64 x y)) |
| ✓ | 48.2% | #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
| ✓ | 57.4% | #s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
Compiled 32 to 24 computations (25% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
(*.f64 (+.f64 x y) (-.f64 x y)) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
3 calls:
| 3.0ms | y |
| 2.0ms | x |
| 2.0ms | (*.f64 (+.f64 x y) (-.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (*.f64 (+.f64 x y) (-.f64 x y)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | y |
| 1.0ms | (*.f64 (+.f64 x y) (-.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 82.3% | 2 | x |
| 76.9% | 2 | y |
| 99.5% | 2 | (*.f64 (+.f64 x y) (-.f64 x y)) |
Compiled 9 to 9 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
3 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (*.f64 (+.f64 x y) (-.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 57.4% | 1 | y |
| 57.4% | 1 | x |
| 57.4% | 1 | (*.f64 (+.f64 x y) (-.f64 x y)) |
Compiled 9 to 9 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.5360569610804272e-302 | -0.0 |
Compiled 10 to 10 computations (0% saved)
| 1× | egg-herbie |
| 8× | *-commutative-binary64-*.f64 |
| 8× | +-commutative-binary64-+.f64 |
| 6× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 4× | neg-sub0-binary64--.f64-neg.f64 |
| 4× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 51 |
| 1 | 26 | 51 |
| 2 | 31 | 51 |
| 3 | 34 | 51 |
| 4 | 35 | 51 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(if (<=.f64 (*.f64 (+.f64 x y) (-.f64 x y)) #s(literal -1930258305619341/193025830561934107162947985381047541665608072055952185017491682078771915023799273387871154500424503798663213600460826789274033295999330021731389427128542432710187362934652673115221889249890533772697227171395058697282798274445240687006095271729621464100656563293799180557568945517759802372156455525060659659679134121984 binary64)) #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #s(approx (* (+ x y) (- x y)) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(*.f64 (-.f64 x y) (+.f64 y x)) |
(if (<=.f64 (*.f64 (+.f64 x y) (-.f64 x y)) #s(literal -1930258305619341/193025830561934107162947985381047541665608072055952185017491682078771915023799273387871154500424503798663213600460826789274033295999330021731389427128542432710187362934652673115221889249890533772697227171395058697282798274445240687006095271729621464100656563293799180557568945517759802372156455525060659659679134121984 binary64)) #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #s(approx (* (+ x y) (- x y)) (*.f64 x x))) |
(if (<=.f64 (*.f64 (-.f64 x y) (+.f64 y x)) #s(literal -1930258305619341/193025830561934107162947985381047541665608072055952185017491682078771915023799273387871154500424503798663213600460826789274033295999330021731389427128542432710187362934652673115221889249890533772697227171395058697282798274445240687006095271729621464100656563293799180557568945517759802372156455525060659659679134121984 binary64)) #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #s(approx (* (+ x y) (- x y)) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| 14 152× | lower-fma.f64 |
| 14 152× | lower-fma.f32 |
| 2 614× | lower--.f64 |
| 2 614× | lower--.f32 |
| 2 222× | lower-*.f64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 86 | 309 |
| 1 | 265 | 249 |
| 2 | 786 | 249 |
| 3 | 3277 | 249 |
| 0 | 8535 | 249 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 40 to 23 computations (42.5% saved)
(abs x)
(abs y)
Compiled 130 to 76 computations (41.5% saved)
Loading profile data...