
Time bar (total: 3.4s)
| 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)
| 354.0ms | 8 256× | 0 | valid |
ival-div: 61.0ms (36.2% of total)ival-sub: 51.0ms (30.3% of total)ival-add: 42.0ms (24.9% of total)ival-true: 6.0ms (3.6% of total)exact: 5.0ms (3% of total)ival-assert: 3.0ms (1.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | (-.f64 y x) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 (-.f64 y x) #s(literal 2 binary64)) |
| 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 |
| 52.0ms | 512× | 0 | valid |
Compiled 47 to 22 computations (53.2% saved)
ival-sub: 11.0ms (62.5% of total)ival-div: 4.0ms (22.7% of total)ival-add: 2.0ms (11.4% 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 |
| 19 132× | lower-fma.f64 |
| 19 132× | lower-fma.f32 |
| 3 330× | associate-+r+ |
| 2 008× | associate-+r- |
| 1 940× | lower-+.f32 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 41 |
| 1 | 44 | 35 |
| 2 | 137 | 35 |
| 3 | 380 | 29 |
| 4 | 644 | 25 |
| 5 | 942 | 25 |
| 6 | 2325 | 25 |
| 7 | 3100 | 25 |
| 8 | 3417 | 25 |
| 9 | 3516 | 25 |
| 10 | 3581 | 25 |
| 11 | 3584 | 25 |
| 12 | 3600 | 25 |
| 13 | 3609 | 25 |
| 14 | 3609 | 25 |
| 15 | 3609 | 25 |
| 16 | 3609 | 25 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 15 | 7 |
| 2 | 26 | 7 |
| 3 | 46 | 7 |
| 4 | 87 | 7 |
| 5 | 150 | 7 |
| 6 | 326 | 7 |
| 7 | 532 | 6 |
| 8 | 1267 | 5 |
| 9 | 1983 | 5 |
| 10 | 2394 | 5 |
| 11 | 2412 | 5 |
| 12 | 2426 | 5 |
| 13 | 2426 | 5 |
| 14 | 3366 | 5 |
| 15 | 3909 | 5 |
| 16 | 4065 | 5 |
| 17 | 4124 | 5 |
| 18 | 4532 | 5 |
| 19 | 6372 | 5 |
| 20 | 7036 | 5 |
| 21 | 7968 | 5 |
| 0 | 8322 | 5 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(sort x y)
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 y x) | |
| cost-diff | 192 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) | |
| cost-diff | 384 | (/.f64 (-.f64 y x) #s(literal 2 binary64)) |
| 19 132× | lower-fma.f64 |
| 19 132× | lower-fma.f32 |
| 1 940× | lower-+.f32 |
| 1 938× | lower-+.f64 |
| 1 884× | lower--.f32 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 9 | 18 |
| 1 | 15 | 18 |
| 2 | 26 | 18 |
| 3 | 46 | 18 |
| 4 | 87 | 18 |
| 5 | 150 | 18 |
| 6 | 326 | 18 |
| 7 | 532 | 17 |
| 8 | 1267 | 16 |
| 9 | 1983 | 16 |
| 10 | 2394 | 16 |
| 11 | 2412 | 16 |
| 12 | 2426 | 16 |
| 13 | 2426 | 16 |
| 14 | 3366 | 16 |
| 15 | 3909 | 16 |
| 16 | 4065 | 16 |
| 17 | 4124 | 16 |
| 18 | 4532 | 16 |
| 19 | 6372 | 16 |
| 20 | 7036 | 16 |
| 21 | 7968 | 16 |
| 0 | 8322 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
x |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (-.f64 y x)) |
(-.f64 y x) |
y |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 (-.f64 y x) #s(literal 2 binary64)) | |
| accuracy | 0 | (-.f64 y x) | |
| accuracy | 0.01171875 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 11.0ms | 256× | 0 | valid |
Compiled 20 to 8 computations (60% saved)
ival-div: 2.0ms (40.7% of total)ival-sub: 1.0ms (20.3% of total)ival-add: 1.0ms (20.3% 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 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ()) |
#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1/2 x) (taylor 0 y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/2 x)) (taylor 0 y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (- y x) (taylor 0 y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (- y x) (taylor 0 y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (- y x) (taylor 0 y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* -1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* -1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* -1/2 (/ x y)))) (taylor inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* 1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* 1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* 1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ x y) 1))) (taylor -inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ x y) 1))) (taylor -inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ x y) 1))) (taylor -inf y) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt y (taylor 0 x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* -1 x)) (taylor 0 x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* -1 x)) (taylor 0 x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ y (* -1 x)) (taylor 0 x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/2 x) (taylor inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* 1/2 (/ y x)) 1/2)) (taylor inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* 1/2 (/ y x)) 1/2)) (taylor inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (* 1/2 (/ y x)) 1/2)) (taylor inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ y x) 1)) (taylor inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ y x) 1)) (taylor inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ y x) 1)) (taylor inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1/2 x) (taylor -inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) (taylor -inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) (taylor -inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) (taylor -inf x) (#s(alt (/.f64 (-.f64 y x) #s(literal 2 binary64)) (patch (/.f64 (-.f64 y x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) (patch (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 (/ y x))))) (taylor -inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 (/ y x))))) (taylor -inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 (/ y x))))) (taylor -inf x) (#s(alt (-.f64 y x) (patch (-.f64 y x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((/ (- y x) 2) (+ x (/ (- y x) 2)) (- y x)) |
| 1.0ms | x | @ | inf | ((/ (- y x) 2) (+ x (/ (- y x) 2)) (- y x)) |
| 0.0ms | y | @ | -inf | ((/ (- y x) 2) (+ x (/ (- y x) 2)) (- y x)) |
| 0.0ms | x | @ | -inf | ((/ (- y x) 2) (+ x (/ (- y x) 2)) (- y x)) |
| 0.0ms | y | @ | 0 | ((/ (- y x) 2) (+ x (/ (- y x) 2)) (- y x)) |
| 1× | egg-herbie |
| 12 600× | lower-fma.f64 |
| 12 600× | lower-fma.f32 |
| 1 834× | lower-*.f64 |
| 1 834× | lower-*.f32 |
| 1 602× | lower--.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 315 |
| 1 | 177 | 315 |
| 2 | 499 | 279 |
| 3 | 1522 | 279 |
| 4 | 5228 | 279 |
| 5 | 7510 | 279 |
| 0 | 8268 | 279 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1/2 x) |
(+ (* -1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(* -1 x) |
(- y x) |
(- y x) |
(- y x) |
(* 1/2 y) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* 1/2 y) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
y |
(* y (+ 1 (* -1 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* 1/2 y) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* 1/2 y) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
y |
(* -1 (* y (- (/ x y) 1))) |
(* -1 (* y (- (/ x y) 1))) |
(* -1 (* y (- (/ x y) 1))) |
(* 1/2 y) |
(+ (* -1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(+ y (* -1 x)) |
(+ y (* -1 x)) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* x (- (/ y x) 1)) |
(* x (- (/ y x) 1)) |
(* -1/2 x) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
| Outputs |
|---|
(* -1/2 x) |
(*.f64 x #s(literal -1/2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(+ x (* -1/2 x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 x) |
(neg.f64 x) |
(- y x) |
(-.f64 y x) |
(- y x) |
(-.f64 y x) |
(- y x) |
(-.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(* y (+ 1 (* -1 (/ x y)))) |
(-.f64 y x) |
(* y (+ 1 (* -1 (/ x y)))) |
(-.f64 y x) |
(* y (+ 1 (* -1 (/ x y)))) |
(-.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(* -1 (* y (- (/ x y) 1))) |
(-.f64 y x) |
(* -1 (* y (- (/ x y) 1))) |
(-.f64 y x) |
(* -1 (* y (- (/ x y) 1))) |
(-.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(+ y (* -1 x)) |
(-.f64 y x) |
(+ y (* -1 x)) |
(-.f64 y x) |
(+ y (* -1 x)) |
(-.f64 y x) |
(* -1/2 x) |
(*.f64 x #s(literal -1/2 binary64)) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 x) |
(neg.f64 x) |
(* x (- (/ y x) 1)) |
(-.f64 y x) |
(* x (- (/ y x) 1)) |
(-.f64 y x) |
(* x (- (/ y x) 1)) |
(-.f64 y x) |
(* -1/2 x) |
(*.f64 x #s(literal -1/2 binary64)) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(*.f64 (-.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(-.f64 y x) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(-.f64 y x) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(-.f64 y x) |
| 4 080× | lower-fma.f64 |
| 4 080× | lower-fma.f32 |
| 3 840× | lower-*.f64 |
| 3 840× | lower-*.f32 |
| 2 598× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 48 | 15 |
| 2 | 400 | 15 |
| 3 | 5082 | 15 |
| 0 | 8211 | 14 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(-.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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 283 to 1 107 computations (84.8% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 410 | 3 | 413 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 411 | 3 | 414 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
| ▶ | 55.1% | #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
| ▶ | 46.2% | #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 14 to 16 computations (-14.3% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y x) | |
| cost-diff | 0 | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (*.f64 y #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
| 18 052× | lower-fma.f64 |
| 18 052× | lower-fma.f32 |
| 2 344× | lower--.f64 |
| 2 344× | lower--.f32 |
| 1 828× | lower-*.f32 |
Useful iterations: 7 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 56 |
| 0 | 18 | 56 |
| 1 | 28 | 56 |
| 2 | 41 | 56 |
| 3 | 61 | 56 |
| 4 | 102 | 56 |
| 5 | 171 | 56 |
| 6 | 368 | 56 |
| 7 | 609 | 50 |
| 8 | 1514 | 50 |
| 9 | 2188 | 50 |
| 10 | 2565 | 50 |
| 11 | 2581 | 50 |
| 12 | 2593 | 50 |
| 13 | 2593 | 50 |
| 14 | 3552 | 50 |
| 15 | 4104 | 50 |
| 16 | 4260 | 50 |
| 17 | 4318 | 50 |
| 18 | 4726 | 50 |
| 19 | 6570 | 50 |
| 20 | 7234 | 50 |
| 0 | 8076 | 50 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
(*.f64 y #s(literal 1/2 binary64)) |
y |
#s(literal 1/2 binary64) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.f64 y x) |
y |
x |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y)) |
(*.f64 y #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) y) |
y |
#s(literal 1/2 binary64) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.f64 y x) |
y |
x |
#s(literal 1/2 binary64) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 y x) | |
| accuracy | 0 | (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) | |
| accuracy | 0 | #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) | |
| accuracy | 0 | (*.f64 y #s(literal 1/2 binary64)) | |
| accuracy | 28.761078401908186 | #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) | |
| accuracy | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 34.408249695298096 | #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
| 25.0ms | 256× | 0 | valid |
Compiled 44 to 13 computations (70.5% saved)
ival-mult: 4.0ms (38.1% of total)ival-sub: 2.0ms (19.1% of total)ival-div: 2.0ms (19.1% of total)ival-add: 2.0ms (19.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ()) |
#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (+ x (* -1/2 x)) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/2 x)) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1/2 x)) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (+ (* -1/2 x) (* 1/2 y))) (taylor 0 y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) (taylor inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1/2 (* 1/2 (/ x y)))) (taylor inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal 1/2 binary64)) (patch (*.f64 y #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) (taylor -inf y) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1/2 (/ x y)) 1/2))) (taylor -inf y) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt y (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 y) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* 1/2 x) (* 1/2 y)) (taylor 0 x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 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 (* 1/2 x) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (* 1/2 (/ y x)))) (taylor inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) (patch #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1/2 (/ y x)) 1/2))) (taylor -inf x) (#s(alt (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) (patch (*.f64 (+.f64 y x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 y x) (patch (+.f64 y x) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((+ x (/ (- y x) 2)) (* 1/2 x) (+ x (/ (- y x) 2)) (* y 1/2) (+ x (/ (- y x) 2)) (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | y | @ | -inf | ((+ x (/ (- y x) 2)) (* 1/2 x) (+ x (/ (- y x) 2)) (* y 1/2) (+ x (/ (- y x) 2)) (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | y | @ | inf | ((+ x (/ (- y x) 2)) (* 1/2 x) (+ x (/ (- y x) 2)) (* y 1/2) (+ x (/ (- y x) 2)) (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | y | @ | 0 | ((+ x (/ (- y x) 2)) (* 1/2 x) (+ x (/ (- y x) 2)) (* y 1/2) (+ x (/ (- y x) 2)) (* (+ y x) 1/2) (+ y x)) |
| 1.0ms | x | @ | inf | ((+ x (/ (- y x) 2)) (* 1/2 x) (+ x (/ (- y x) 2)) (* y 1/2) (+ x (/ (- y x) 2)) (* (+ y x) 1/2) (+ y x)) |
| 1× | egg-herbie |
| 14 724× | lower-fma.f64 |
| 14 724× | lower-fma.f32 |
| 2 174× | lower-*.f64 |
| 2 174× | lower-*.f32 |
| 1 654× | lower--.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 564 |
| 1 | 152 | 564 |
| 2 | 369 | 564 |
| 3 | 1199 | 564 |
| 4 | 4189 | 564 |
| 5 | 6759 | 564 |
| 0 | 8074 | 564 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(* 1/2 x) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
x |
(+ x y) |
(+ x y) |
(+ x y) |
(* 1/2 y) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* 1/2 y) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* 1/2 y) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
y |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* y (+ 1 (/ x y))) |
(* 1/2 y) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* 1/2 y) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* 1/2 y) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* 1/2 y) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
y |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* 1/2 x) (* 1/2 y)) |
y |
(+ x y) |
(+ x y) |
(+ x y) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
x |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* x (+ 1 (/ y x))) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* 1/2 x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
x |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
| Outputs |
|---|
(+ x (* -1/2 x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (* -1/2 x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ x (* -1/2 x)) |
(*.f64 #s(literal 1/2 binary64) x) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* y (+ 1/2 (* 1/2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* y (- (* -1/2 (/ x y)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
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/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 y) |
(*.f64 y #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+ (* 1/2 x) (* 1/2 y)) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
y |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(+ x y) |
(+.f64 y x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
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) |
| 4 316× | lower-fma.f64 |
| 4 316× | lower-fma.f32 |
| 3 832× | lower-*.f32 |
| 3 826× | lower-*.f64 |
| 3 424× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 49 |
| 0 | 18 | 49 |
| 1 | 64 | 49 |
| 2 | 476 | 49 |
| 3 | 6306 | 49 |
| 0 | 8083 | 46 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
(*.f64 y #s(literal 1/2 binary64)) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
(*.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(+.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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 4 779 to 799 computations (83.3% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 351 | 0 | 351 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 351 | 3 | 354 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
| ✓ | 55.1% | #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
| ✓ | 46.2% | #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 35 to 30 computations (14.3% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
3 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64))) |
3 calls:
| 3.0ms | x |
| 2.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 84.2% | 2 | x |
| 85.7% | 2 | y |
| 98.2% | 2 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
3 calls:
| 1.0ms | y |
| 1.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 46.2% | 1 | x |
| 46.2% | 1 | y |
| 46.2% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -2.9112433850188045e-289 | 1.500152147693021e-231 |
Compiled 10 to 11 computations (-10% saved)
| 1× | egg-herbie |
| 8× | *-commutative-binary64-*.f64 |
| 8× | +-commutative-binary64-+.f64 |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | neg-sub0-binary64--.f64-neg.f64 |
| 2× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 56 |
| 1 | 27 | 56 |
| 2 | 32 | 56 |
| 3 | 34 | 56 |
| 4 | 35 | 56 |
| 1× | saturated |
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
(if (<=.f64 (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #s(literal -4388899255034951/21944496275174754733023745004748837080297570543729328280448007953824789527038691788660702798145451174453138901351488446979832735450978591612896414872982681198457994802840025058142360791167736098566050165049439180766375815715632675961171034001565824849041810386302038359368560295224574744242597208206082048 binary64)) #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64)))) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (*.f64 (+.f64 y x) #s(literal 1/2 binary64))) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) (+.f64 y x))) |
(if (<=.f64 (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) #s(literal -4388899255034951/21944496275174754733023745004748837080297570543729328280448007953824789527038691788660702798145451174453138901351488446979832735450978591612896414872982681198457994802840025058142360791167736098566050165049439180766375815715632675961171034001565824849041810386302038359368560295224574744242597208206082048 binary64)) #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (+ x (/ (- y x) 2)) (*.f64 y #s(literal 1/2 binary64)))) |
(if (<=.f64 (+.f64 (/.f64 (-.f64 y x) #s(literal 2 binary64)) x) #s(literal -4388899255034951/21944496275174754733023745004748837080297570543729328280448007953824789527038691788660702798145451174453138901351488446979832735450978591612896414872982681198457994802840025058142360791167736098566050165049439180766375815715632675961171034001565824849041810386302038359368560295224574744242597208206082048 binary64)) #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) y))) |
#s(approx (+ x (/ (- y x) 2)) (*.f64 #s(literal 1/2 binary64) x)) |
| 12 600× | lower-fma.f64 |
| 12 600× | lower-fma.f32 |
| 1 834× | lower-*.f64 |
| 1 834× | lower-*.f32 |
| 1 602× | lower--.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 315 |
| 1 | 177 | 315 |
| 2 | 499 | 279 |
| 3 | 1522 | 279 |
| 4 | 5228 | 279 |
| 5 | 7510 | 279 |
| 0 | 8268 | 279 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 42 to 34 computations (19% saved)
(sort x y)
Compiled 104 to 80 computations (23.1% saved)
Loading profile data...