
Time bar (total: 2.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 4 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 5 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 6 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 7 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 8 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 9 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 10 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 11 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 12 |
Compiled 13 to 9 computations (30.8% saved)
| 424.0ms | 8 256× | 0 | valid |
ival-div: 117.0ms (43.1% of total)ival-add: 87.0ms (32.1% of total)ival-sub: 53.0ms (19.5% of total)ival-true: 6.0ms (2.2% of total)exact: 5.0ms (1.8% of total)ival-assert: 4.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (-.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| 0 | 0 | - | 0 | - | (/.f64 x (+.f64 x #s(literal 1 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 |
| 33.0ms | 512× | 0 | valid |
Compiled 73 to 25 computations (65.8% saved)
ival-add: 8.0ms (37.1% of total)ival-div: 7.0ms (32.5% of total)ival-sub: 6.0ms (27.9% 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 |
| 54× | sub-neg |
| 52× | distribute-lft-neg-in |
| 50× | associate-*l* |
| 44× | cancel-sign-sub-inv |
| 44× | unsub-neg |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 29 |
| 1 | 25 | 24 |
| 2 | 63 | 22 |
| 3 | 138 | 22 |
| 4 | 258 | 22 |
| 5 | 428 | 22 |
| 6 | 457 | 22 |
| 7 | 471 | 22 |
| 8 | 484 | 22 |
| 0 | 7 | 11 |
| 0 | 12 | 11 |
| 1 | 19 | 11 |
| 2 | 20 | 11 |
| 0 | 20 | 11 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| Outputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
(+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
Compiled 11 to 7 computations (36.4% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
Compiled 11 to 7 computations (36.4% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 x (+.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | (-.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| 12× | lower-+.f32 |
| 8× | lower-+.f64 |
| 6× | +-commutative |
| 4× | lift-+.f64 |
| 4× | lift-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 29 |
| 0 | 12 | 29 |
| 1 | 19 | 29 |
| 2 | 20 | 29 |
| 0 | 20 | 29 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) |
#s(literal 1 binary64) |
(-.f64 x #s(literal 1 binary64)) |
x |
(/.f64 x (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
(+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) |
#s(literal 1 binary64) |
(-.f64 x #s(literal 1 binary64)) |
x |
(/.f64 x (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.00390625 | (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) | |
| accuracy | 0.00390625 | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| 14.0ms | 256× | 0 | valid |
Compiled 31 to 9 computations (71% saved)
ival-div: 3.0ms (38.5% of total)ival-sub: 2.0ms (25.7% of total)ival-add: 2.0ms (25.7% 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 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 x) 1) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (- (* -1 x) 1)) 1) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (- (* x (- (* -1 x) 1)) 1)) 1) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 x))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (- x 1)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (- (* x (+ 1 (* -1 x))) 1)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (/ 1 x)) x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (+ (/ 1 x) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))) x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (/ 1 x)) (taylor inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ 1 (/ 1 (pow x 2))) (/ 1 x)) (taylor inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ 1 (/ 1 (pow x 2))) (+ (/ 1 x) (/ 1 (pow x 3)))) (taylor inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (/ 1 x)) x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) x)) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) x)) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (patch (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- 1 (/ 1 x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ (+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) x))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 x #s(literal 1 binary64))) (patch (/.f64 x (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (/ 1 (- x 1)) (/ x (+ x 1))) (/ 1 (- x 1)) (- x 1) (/ x (+ x 1)) (+ x 1)) |
| 1.0ms | x | @ | -inf | ((+ (/ 1 (- x 1)) (/ x (+ x 1))) (/ 1 (- x 1)) (- x 1) (/ x (+ x 1)) (+ x 1)) |
| 0.0ms | x | @ | 0 | ((+ (/ 1 (- x 1)) (/ x (+ x 1))) (/ 1 (- x 1)) (- x 1) (/ x (+ x 1)) (+ x 1)) |
| 1× | egg-herbie |
| 11 362× | lower-fma.f64 |
| 11 362× | lower-fma.f32 |
| 2 676× | lower-*.f64 |
| 2 676× | lower-*.f32 |
| 2 128× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 387 |
| 1 | 211 | 385 |
| 2 | 469 | 374 |
| 3 | 1228 | 354 |
| 4 | 3217 | 348 |
| 5 | 6371 | 346 |
| 6 | 7705 | 346 |
| 0 | 8035 | 338 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (* -2 (pow x 2)) 1) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
-1 |
(- (* -1 x) 1) |
(- (* x (- (* -1 x) 1)) 1) |
(- (* x (- (* x (- (* -1 x) 1)) 1)) 1) |
-1 |
(- x 1) |
(- x 1) |
(- x 1) |
x |
(* x (+ 1 (* -1 x))) |
(* x (+ 1 (* x (- x 1)))) |
(* x (+ 1 (* x (- (* x (+ 1 (* -1 x))) 1)))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(/ 1 x) |
(/ (+ 1 (/ 1 x)) x) |
(/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x) |
(/ (+ 1 (+ (/ 1 x) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))) x) |
x |
(* x (- 1 (/ 1 x))) |
(* x (- 1 (/ 1 x))) |
(* x (- 1 (/ 1 x))) |
1 |
(- 1 (/ 1 x)) |
(- (+ 1 (/ 1 (pow x 2))) (/ 1 x)) |
(- (+ 1 (/ 1 (pow x 2))) (+ (/ 1 x) (/ 1 (pow x 3)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(/ 1 x) |
(/ (+ 1 (/ 1 x)) x) |
(* -1 (/ (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) x)) |
(* -1 (/ (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) x)) |
x |
(* -1 (* x (- (/ 1 x) 1))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* -1 (* x (- (/ 1 x) 1))) |
1 |
(- 1 (/ 1 x)) |
(+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) |
(+ 1 (* -1 (/ (+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
(fma.f64 #s(literal -2 binary64) (fma.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) x (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (* -1 x) 1) |
(-.f64 #s(literal -1 binary64) x) |
(- (* x (- (* -1 x) 1)) 1) |
(fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) |
(- (* x (- (* x (- (* -1 x) 1)) 1)) 1) |
(*.f64 (fma.f64 x x #s(literal 1 binary64)) (-.f64 #s(literal -1 binary64) x)) |
-1 |
#s(literal -1 binary64) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* -1 x))) |
(fma.f64 (neg.f64 x) x x) |
(* x (+ 1 (* x (- x 1)))) |
(*.f64 (fma.f64 (-.f64 x #s(literal 1 binary64)) x #s(literal 1 binary64)) x) |
(* x (+ 1 (* x (- (* x (+ 1 (* -1 x))) 1)))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (+.f64 (pow.f64 x #s(literal 3 binary64)) x)) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (/ 1 x)) x) |
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) |
(/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) |
(/ (+ 1 (+ (/ 1 x) (+ (/ 1 (pow x 2)) (/ 1 (pow x 3))))) x) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) |
x |
(* x (- 1 (/ 1 x))) |
(-.f64 x #s(literal 1 binary64)) |
(* x (- 1 (/ 1 x))) |
(-.f64 x #s(literal 1 binary64)) |
(* x (- 1 (/ 1 x))) |
(-.f64 x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(- 1 (/ 1 x)) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (+ 1 (/ 1 (pow x 2))) (/ 1 x)) |
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64)) |
(- (+ 1 (/ 1 (pow x 2))) (+ (/ 1 x) (/ 1 (pow x 3)))) |
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64)) x)) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (/ 1 x)) x) |
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) x)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) x)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) #s(literal -1 binary64)) x) |
x |
(* -1 (* x (- (/ 1 x) 1))) |
(-.f64 x #s(literal 1 binary64)) |
(* -1 (* x (- (/ 1 x) 1))) |
(-.f64 x #s(literal 1 binary64)) |
(* -1 (* x (- (/ 1 x) 1))) |
(-.f64 x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(- 1 (/ 1 x)) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64)) |
(+ 1 (* -1 (/ (+ 1 (* -1 (/ (- 1 (/ 1 x)) x))) x))) |
(-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) x) #s(literal -1 binary64)) x)) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
| 9 718× | lower-fma.f64 |
| 9 718× | lower-fma.f32 |
| 4 480× | lower-*.f64 |
| 4 480× | lower-*.f32 |
| 3 656× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 27 |
| 0 | 12 | 27 |
| 1 | 66 | 27 |
| 2 | 701 | 27 |
| 0 | 9606 | 27 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
(/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
(/.f64 x (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 14 411 to 1 738 computations (87.9% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 612 | 4 | 616 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 613 | 4 | 617 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.4% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
| ▶ | 48.5% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
| ▶ | 48.7% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
| ▶ | 52.6% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
Compiled 19 to 19 computations (0% saved)
| 1× | egg-herbie |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) | |
| cost-diff | 0 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (/.f64 #s(literal 2 binary64) (*.f64 x x)) | |
| cost-diff | 0 | (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
| 20× | lower-+.f32 |
| 18× | lower-+.f64 |
| 14× | lower-*.f32 |
| 12× | lower-*.f64 |
| 10× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 95 |
| 0 | 23 | 95 |
| 1 | 36 | 95 |
| 2 | 40 | 95 |
| 0 | 40 | 95 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
#s(literal 2 binary64) |
(*.f64 x x) |
x |
#s(literal 1 binary64) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(*.f64 x x) |
x |
#s(literal -2 binary64) |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
#s(literal 2 binary64) |
(*.f64 x x) |
x |
#s(literal 1 binary64) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(fma.f64 #s(literal -2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(*.f64 x x) |
x |
#s(literal -2 binary64) |
#s(literal -1 binary64) |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 30.48329789197551 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) | |
| accuracy | 0 | (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.3492827966978304 | (/.f64 #s(literal 2 binary64) (*.f64 x x)) | |
| accuracy | 32.960155388059356 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) | |
| accuracy | 32.838106242266186 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) | |
| accuracy | 30.3172488921117 | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
| 41.0ms | 256× | 0 | valid |
Compiled 79 to 17 computations (78.5% saved)
ival-div: 5.0ms (33% of total)ival-add: 5.0ms (33% of total)ival-mult: 3.0ms (19.8% of total)ival-sub: 2.0ms (13.2% 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 (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 2 (pow x 2)) (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 2 (pow x 2)) (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 2 (pow x 2)) (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.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 (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) (taylor 0 x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.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 1 (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) (patch (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) (*.f64 x x)) (patch (/.f64 #s(literal 2 binary64) (*.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 1 (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) (taylor -inf x) (#s(alt #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) (patch #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 2 (* x x)) 1) (/ 2 (* x x)) (* x x) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (* (* x x) -2) -1)) |
| 1.0ms | x | @ | inf | ((+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 2 (* x x)) 1) (/ 2 (* x x)) (* x x) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (* (* x x) -2) -1)) |
| 1.0ms | x | @ | -inf | ((+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (/ 2 (* x x)) 1) (/ 2 (* x x)) (* x x) (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+ (* (* x x) -2) -1)) |
| 1× | egg-herbie |
| 10 538× | lower-fma.f64 |
| 10 538× | lower-fma.f32 |
| 2 672× | lower-*.f64 |
| 2 672× | lower-*.f32 |
| 2 456× | unsub-neg |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 726 |
| 1 | 75 | 726 |
| 2 | 194 | 726 |
| 3 | 407 | 710 |
| 4 | 925 | 710 |
| 5 | 2188 | 702 |
| 6 | 6048 | 702 |
| 0 | 8264 | 670 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (* -2 (pow x 2)) 1) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
-1 |
(- (* -2 (pow x 2)) 1) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
-1 |
(- (* -2 (pow x 2)) 1) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
(/ 2 (pow x 2)) |
(/ (+ 2 (pow x 2)) (pow x 2)) |
(/ (+ 2 (pow x 2)) (pow x 2)) |
(/ (+ 2 (pow x 2)) (pow x 2)) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(- (* -2 (pow x 2)) 1) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
-1 |
(- (* -2 (pow x 2)) 1) |
(- (* -2 (pow x 2)) 1) |
(- (* -2 (pow x 2)) 1) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(* -2 (pow x 2)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(/ 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
1 |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(* -2 (pow x 2)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
(fma.f64 (fma.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) x (pow.f64 x #s(literal 6 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
(fma.f64 (fma.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) x (pow.f64 x #s(literal 6 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
(fma.f64 (fma.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) x (pow.f64 x #s(literal 6 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ (+ 2 (pow x 2)) (pow x 2)) |
(/.f64 (/.f64 (fma.f64 x x #s(literal 2 binary64)) x) x) |
(/ (+ 2 (pow x 2)) (pow x 2)) |
(/.f64 (/.f64 (fma.f64 x x #s(literal 2 binary64)) x) x) |
(/ (+ 2 (pow x 2)) (pow x 2)) |
(/.f64 (/.f64 (fma.f64 x x #s(literal 2 binary64)) x) x) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.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 |
#s(literal -1 binary64) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 1) |
(fma.f64 (fma.f64 x x (pow.f64 x #s(literal 4 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* (pow x 2) (- (* (pow x 2) (- (* -2 (pow x 2)) 2)) 2)) 1) |
(fma.f64 (fma.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) x (pow.f64 x #s(literal 6 binary64))) #s(literal -2 binary64) #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(- (* -2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.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 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(* -2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -2 binary64)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/ 2 (pow x 2)) |
(/.f64 #s(literal 2 binary64) (*.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 |
#s(literal 1 binary64) |
(+ 1 (* 2 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (/ 2 (pow x 4)))) |
(+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+ 1 (+ (* 2 (/ 1 (pow x 2))) (+ (* 2 (/ 1 (pow x 6))) (/ 2 (pow x 4))))) |
(+.f64 (+.f64 (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(* -2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal -2 binary64)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
(* -1 (* (pow x 2) (+ 2 (/ 1 (pow x 2))))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
| 5 052× | lower-*.f32 |
| 5 050× | lower-*.f64 |
| 4 820× | lower-/.f32 |
| 4 818× | lower-/.f64 |
| 2 842× | lower-fma.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 84 |
| 0 | 23 | 84 |
| 1 | 112 | 84 |
| 2 | 1075 | 84 |
| 0 | 8098 | 82 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
(fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 2 449 to 410 computations (83.3% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 217 | 0 | 217 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 217 | 4 | 221 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 52.4% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
| ✓ | 48.5% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
| ✓ | 48.7% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
| ✓ | 52.6% | #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
Compiled 49 to 37 computations (24.5% saved)
| Inputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| Outputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
Compiled 12 to 8 computations (33.3% saved)
| Inputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 3 | x |
| 100.0% | 2 | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
Compiled 12 to 8 computations (33.3% saved)
| Inputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
| Outputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
1 calls:
| 1.0ms | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 2 | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
Compiled 11 to 7 computations (36.4% saved)
| Inputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64)) |
1 calls:
| 1.0ms | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 2 | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
Compiled 11 to 7 computations (36.4% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.6% | 1 | x |
| 52.6% | 1 | (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
Compiled 12 to 8 computations (33.3% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.0 | 1.0 |
Compiled 14 to 11 computations (21.4% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.0 | 1.0 |
Compiled 14 to 11 computations (21.4% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 1.0ms | -1.0 | 1.0 |
| 0.0ms | 16× | 0 | valid |
Compiled 18 to 19 computations (-5.6% saved)
ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 10× | +-commutative-binary64-+.f64 |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | *-rgt-identity-binary64-*.f64 |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | *-commutative-binary64-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 160 |
| 1 | 35 | 160 |
| 2 | 38 | 160 |
| 3 | 43 | 160 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))) |
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))) |
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
| Outputs |
|---|
(+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) |
(+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))) |
(if (<=.f64 (+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (+.f64 (/.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)))) |
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))) |
(if (<=.f64 (+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) (fma.f64 (*.f64 x x) #s(literal -2 binary64) #s(literal -1 binary64))) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))) |
(if (<=.f64 (+.f64 (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))) (/.f64 x (+.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))) |
(if (<=.f64 (+.f64 (/.f64 x (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) #s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal 1 binary64))) |
#s(approx (+ (/ 1 (- x 1)) (/ x (+ x 1))) #s(literal -1 binary64)) |
| 11 362× | lower-fma.f64 |
| 11 362× | lower-fma.f32 |
| 2 676× | lower-*.f64 |
| 2 676× | lower-*.f32 |
| 2 128× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 387 |
| 1 | 211 | 385 |
| 2 | 469 | 374 |
| 3 | 1228 | 354 |
| 4 | 3217 | 348 |
| 5 | 6371 | 346 |
| 6 | 7705 | 346 |
| 0 | 8035 | 338 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 106 to 46 computations (56.6% saved)
Compiled 188 to 58 computations (69.1% saved)
Loading profile data...