
Time bar (total: 2.6s)
| 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 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 2 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 3 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 4 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 5 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 6 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 7 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 8 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 9 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 10 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 11 |
| 100% | 99.9% | 0% | 0% | 0% | 0% | 0% | 12 |
Compiled 9 to 7 computations (22.2% saved)
| 505.0ms | 8 256× | 0 | valid |
ival-add: 141.0ms (39% of total)ival-div: 127.0ms (35.1% of total)ival-sub: 79.0ms (21.9% of total)ival-true: 6.0ms (1.7% of total)exact: 5.0ms (1.4% of total)ival-assert: 3.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #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 |
| 23.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-sub: 3.0ms (31.4% of total)ival-div: 3.0ms (31.4% of total)ival-add: 3.0ms (31.4% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1 | 21 | 14 |
| 2 | 46 | 14 |
| 3 | 100 | 14 |
| 4 | 228 | 14 |
| 5 | 477 | 14 |
| 6 | 656 | 14 |
| 7 | 689 | 14 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 13 | 7 |
| 2 | 17 | 7 |
| 3 | 22 | 7 |
| 4 | 29 | 7 |
| 5 | 39 | 7 |
| 6 | 55 | 7 |
| 7 | 76 | 7 |
| 8 | 106 | 7 |
| 9 | 156 | 7 |
| 10 | 196 | 7 |
| 11 | 292 | 7 |
| 12 | 469 | 7 |
| 13 | 647 | 7 |
| 0 | 647 | 7 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (-.f64 #s(literal -1 binary64) x) (-.f64 x #s(literal 1 binary64))) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 13 | 15 |
| 2 | 17 | 15 |
| 3 | 22 | 15 |
| 4 | 29 | 15 |
| 5 | 39 | 15 |
| 6 | 55 | 15 |
| 7 | 76 | 15 |
| 8 | 106 | 15 |
| 9 | 156 | 15 |
| 10 | 196 | 15 |
| 11 | 292 | 15 |
| 12 | 469 | 15 |
| 13 | 647 | 15 |
| 0 | 647 | 15 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (-.f64 #s(literal -1 binary64) x) (-.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) x) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| 12.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-sub: 2.0ms (36.2% of total)ival-div: 2.0ms (36.2% of total)ival-add: 2.0ms (36.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 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ()) |
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 1 (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((/ (+ x 1) (- 1 x)) (+ x 1) (- 1 x)) |
| 0.0ms | x | @ | -inf | ((/ (+ x 1) (- 1 x)) (+ x 1) (- 1 x)) |
| 0.0ms | x | @ | 0 | ((/ (+ x 1) (- 1 x)) (+ x 1) (- 1 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 165 |
| 1 | 114 | 150 |
| 2 | 255 | 150 |
| 3 | 589 | 146 |
| 4 | 1219 | 146 |
| 5 | 2789 | 146 |
| 6 | 5016 | 146 |
| 7 | 6788 | 146 |
| 8 | 7451 | 146 |
| 9 | 7644 | 146 |
| 10 | 7668 | 146 |
| 11 | 7679 | 146 |
| 0 | 8020 | 140 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (* 2 x)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
1 |
(+ 1 (* -1 x)) |
(+ 1 (* -1 x)) |
(+ 1 (* -1 x)) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (/ 1 x) 1)) |
(* x (- (/ 1 x) 1)) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* -1 x) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64)) |
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 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x) #s(literal -2 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 x) |
(neg.f64 x) |
(* x (- (/ 1 x) 1)) |
(-.f64 #s(literal 1 binary64) x) |
(* x (- (/ 1 x) 1)) |
(-.f64 #s(literal 1 binary64) x) |
(* x (- (/ 1 x) 1)) |
(-.f64 #s(literal 1 binary64) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x) #s(literal -2 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 x) |
(neg.f64 x) |
(* -1 (* x (- 1 (/ 1 x)))) |
(-.f64 #s(literal 1 binary64) x) |
(* -1 (* x (- 1 (/ 1 x)))) |
(-.f64 #s(literal 1 binary64) x) |
(* -1 (* x (- 1 (/ 1 x)))) |
(-.f64 #s(literal 1 binary64) x) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 41 | 13 |
| 2 | 294 | 13 |
| 3 | 4101 | 7 |
| 0 | 10014 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 11 961 to 1 072 computations (91% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 519 | 4 | 523 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 520 | 4 | 524 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 48.9% | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
| ▶ | 54.1% | #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
| ▶ | 47.8% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
| ▶ | 53.1% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) | |
| cost-diff | 0 | (/.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) | |
| cost-diff | 0 | #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) | |
| cost-diff | 0 | #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 63 |
| 0 | 18 | 63 |
| 1 | 27 | 63 |
| 2 | 37 | 63 |
| 3 | 49 | 63 |
| 4 | 65 | 63 |
| 5 | 81 | 63 |
| 6 | 106 | 63 |
| 7 | 135 | 63 |
| 8 | 163 | 63 |
| 9 | 214 | 63 |
| 10 | 254 | 63 |
| 11 | 349 | 63 |
| 12 | 526 | 63 |
| 13 | 722 | 63 |
| 14 | 766 | 63 |
| 15 | 780 | 63 |
| 16 | 800 | 63 |
| 17 | 817 | 63 |
| 18 | 823 | 63 |
| 0 | 823 | 63 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) |
#s(literal -1 binary64) |
(/.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) |
#s(literal -1 binary64) |
(/.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) | |
| accuracy | 32.69879376351059 | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) | |
| accuracy | 0 | (/.f64 #s(literal 2 binary64) x) | |
| accuracy | 0 | (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) | |
| accuracy | 29.368355998938434 | #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) | |
| accuracy | 33.417047807545465 | #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) | |
| accuracy | 29.99612223022361 | #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
| 23.0ms | 256× | 0 | valid |
Compiled 51 to 13 computations (74.5% saved)
ival-div: 3.0ms (27.2% of total)ival-add: 3.0ms (27.2% of total)ival-sub: 2.0ms (18.1% of total)ival-mult: 2.0ms (18.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ()) |
#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (/ -2 x) (taylor 0 x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (* -1 x) 2) x) (taylor 0 x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (* -1 x) 2) x) (taylor 0 x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (* -1 x) 2) x) (taylor 0 x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) (patch #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) (patch #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) (patch (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 2 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 2 binary64) x) (patch (/.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (- -1 (/ 2 x)) (/ 2 x) (/ (+ x 1) (- 1 x)) (+ (* x 2) 1)) |
| 1.0ms | x | @ | inf | ((/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (- -1 (/ 2 x)) (/ 2 x) (/ (+ x 1) (- 1 x)) (+ (* x 2) 1)) |
| 0.0ms | x | @ | -inf | ((/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (- -1 (/ 2 x)) (/ 2 x) (/ (+ x 1) (- 1 x)) (+ (* x 2) 1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 523 |
| 1 | 105 | 507 |
| 2 | 232 | 490 |
| 3 | 448 | 474 |
| 4 | 1029 | 474 |
| 5 | 2299 | 474 |
| 6 | 4200 | 474 |
| 7 | 5181 | 474 |
| 8 | 6778 | 474 |
| 9 | 7617 | 474 |
| 10 | 7678 | 474 |
| 11 | 7721 | 474 |
| 12 | 7867 | 474 |
| 0 | 8158 | 441 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (* 2 x)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
1 |
(+ 1 (* 2 x)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
1 |
(+ 1 (* 2 x)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
(/ -2 x) |
(/ (- (* -1 x) 2) x) |
(/ (- (* -1 x) 2) x) |
(/ (- (* -1 x) 2) x) |
(/ 2 x) |
(/ 2 x) |
(/ 2 x) |
(/ 2 x) |
1 |
(+ 1 (* 2 x)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
1 |
(+ 1 (* 2 x)) |
(+ 1 (* 2 x)) |
(+ 1 (* 2 x)) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/ 2 x) |
(/ 2 x) |
(/ 2 x) |
(/ 2 x) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
(* 2 x) |
(* x (+ 2 (/ 1 x))) |
(* x (+ 2 (/ 1 x))) |
(* x (+ 2 (/ 1 x))) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/ 2 x) |
(/ 2 x) |
(/ 2 x) |
(/ 2 x) |
-1 |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
(* 2 x) |
(* x (+ 2 (/ 1 x))) |
(* x (+ 2 (/ 1 x))) |
(* x (+ 2 (/ 1 x))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(/ -2 x) |
(/.f64 #s(literal -2 binary64) x) |
(/ (- (* -1 x) 2) x) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(/ (- (* -1 x) 2) x) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(/ (- (* -1 x) 2) x) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* 2 x)))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
(fma.f64 (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 2 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(+ 1 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(* x (+ 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(* x (+ 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
(/ 2 x) |
(/.f64 #s(literal 2 binary64) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/.f64 (-.f64 #s(literal -2 binary64) x) x) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 1) |
(/.f64 (-.f64 (-.f64 #s(literal -2 binary64) (/.f64 (-.f64 (/.f64 #s(literal 2 binary64) x) #s(literal -2 binary64)) x)) x) x) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(* x (+ 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
(* x (+ 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 55 |
| 0 | 18 | 55 |
| 1 | 84 | 55 |
| 2 | 625 | 55 |
| 0 | 8606 | 55 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) |
(/.f64 #s(literal 2 binary64) x) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
(fma.f64 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 3 810 to 632 computations (83.4% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 250 | 0 | 250 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 250 | 4 | 254 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 48.9% | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
| ✓ | 54.1% | #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
| ✓ | 47.8% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
| ✓ | 53.1% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
Compiled 37 to 31 computations (16.2% saved)
| Inputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
Compiled 8 to 6 computations (25% saved)
| Inputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
| Outputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 3 | x |
| 100.0% | 2 | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
Compiled 8 to 6 computations (25% saved)
| Inputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
1 calls:
| 1.0ms | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 2 | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
Compiled 7 to 5 computations (28.6% saved)
| Inputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
1 calls:
| 1.0ms | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 2 | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
Compiled 7 to 5 computations (28.6% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.1% | 1 | x |
| 53.1% | 1 | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
Compiled 8 to 6 computations (25% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -0.999999997150718 | 0.9999999999999973 |
Compiled 10 to 9 computations (10% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -0.999999997150718 | 0.9999999999999973 |
Compiled 10 to 9 computations (10% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 14.0ms | -0.999999997150718 | 0.9999999999999973 |
| 4.0ms | 240× | 0 | valid |
Compiled 70 to 129 computations (-84.3% saved)
ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 110 |
| 1 | 32 | 110 |
| 2 | 41 | 110 |
| 3 | 47 | 110 |
| 4 | 51 | 110 |
| 5 | 52 | 110 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -202402253307311/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) |
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)))) |
(if (<=.f64 (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) #s(literal -202402253307311/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))) |
(if (<=.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) x)) #s(literal -202402253307311/202402253307310618352495346718917307049556649764142118356901358027430339567995346891960383701437124495187077864316811911389808737385793476867013399940738509921517424276566361364466907742093216341239767678472745068562007483424692698618103355649159556340810056512358769552333414615230502532186327508646006263307707741093494784 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64))) |
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 165 |
| 1 | 114 | 150 |
| 2 | 255 | 150 |
| 3 | 589 | 146 |
| 4 | 1219 | 146 |
| 5 | 2789 | 146 |
| 6 | 5016 | 146 |
| 7 | 6788 | 146 |
| 8 | 7451 | 146 |
| 9 | 7644 | 146 |
| 10 | 7668 | 146 |
| 11 | 7679 | 146 |
| 0 | 8020 | 140 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 78 to 42 computations (46.2% saved)
Compiled 136 to 52 computations (61.8% saved)
Loading profile data...