
Time bar (total: 2.9s)
| 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)
| 349.0ms | 8 256× | 0 | valid |
ival-div: 68.0ms (37.3% of total)ival-add: 54.0ms (29.6% of total)ival-sub: 46.0ms (25.2% of total)ival-true: 6.0ms (3.3% of total)exact: 4.0ms (2.2% of total)ival-assert: 3.0ms (1.6% 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 |
| 20.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-sub: 3.0ms (31% of total)ival-div: 3.0ms (31% of total)ival-add: 3.0ms (31% 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 |
| 208× | lower-fma.f64 |
| 208× | lower-fma.f32 |
| 128× | lower-*.f64 |
| 128× | lower-*.f32 |
| 110× | div-sub |
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)) |
| 208× | lower-fma.f64 |
| 208× | lower-fma.f32 |
| 128× | lower-*.f64 |
| 128× | lower-*.f32 |
| 106× | div-sub |
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)) |
| 17.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-div: 2.0ms (42.7% of total)ival-add: 2.0ms (42.7% of total)ival-sub: 1.0ms (21.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 (+.f64 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 |
| 10 542× | lower-fma.f64 |
| 10 542× | lower-fma.f32 |
| 2 414× | lower-*.f64 |
| 2 414× | lower-*.f32 |
| 1 620× | lower-+.f64 |
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) |
| 2 974× | lower-/.f64 |
| 2 974× | lower-/.f32 |
| 2 752× | lower-fma.f64 |
| 2 752× | lower-fma.f32 |
| 2 188× | lower-*.f64 |
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)
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 518 | 5 | 523 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 518 | 6 | 524 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| ▶ | 51.6% | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) |
| ▶ | 52.5% | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
| ▶ | 49.8% | #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
| ▶ | 51.7% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
| ▶ | 48.2% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
Compiled 53 to 51 computations (3.8% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| 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 | (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) | |
| cost-diff | 0 | (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) | |
| 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)) | |
| 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))) |
| 944× | lower-fma.f32 |
| 938× | lower-fma.f64 |
| 440× | lower-*.f64 |
| 440× | lower-*.f32 |
| 232× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 92 |
| 0 | 24 | 92 |
| 1 | 37 | 92 |
| 2 | 57 | 92 |
| 3 | 96 | 92 |
| 4 | 122 | 92 |
| 5 | 164 | 92 |
| 6 | 202 | 92 |
| 7 | 288 | 92 |
| 8 | 415 | 92 |
| 9 | 624 | 92 |
| 10 | 731 | 92 |
| 11 | 843 | 92 |
| 12 | 1050 | 92 |
| 13 | 1211 | 92 |
| 14 | 1283 | 92 |
| 15 | 1305 | 92 |
| 16 | 1305 | 92 |
| 0 | 1305 | 92 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#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) |
#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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
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 #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 |
| Outputs |
|---|
#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) |
#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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 2 binary64)) x #s(literal 1 binary64))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(fma.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal 2 binary64)) |
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 #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 |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 #s(literal 2 binary64) x) | |
| accuracy | 0 | (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x)) | |
| accuracy | 32.15203149973192 | #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) | |
| accuracy | 0 | (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) | |
| accuracy | 0 | (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) | |
| accuracy | 30.98974023465768 | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) | |
| accuracy | 30.922677526969146 | #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) | |
| accuracy | 33.16459948477861 | #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) | |
| accuracy | 0 | (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64)) | |
| accuracy | 30.411421301157755 | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
| 27.0ms | 256× | 0 | valid |
Compiled 75 to 16 computations (78.7% saved)
ival-add: 5.0ms (34.9% of total)ival-div: 3.0ms (20.9% of total)ival-mult: 3.0ms (20.9% of total)ival-sub: 2.0ms (14% 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)) (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>) () ()) |
#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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 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>) () ()) |
| Outputs |
|---|
#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 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 2 (* 2 x)))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 2 (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 2 (* 2 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 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 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))) (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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 2 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 2 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 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)) (/ 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>) () ())) ()) |
#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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) (patch #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 2 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) (patch (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 2 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) (patch (fma.f64 x #s(literal 2 binary64) #s(literal 2 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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((/ (+ x 1) (- 1 x)) (+ (* x 2) 1) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (+ (* (+ (* x 2) 2) x) 1) (+ (* x 2) 2) (/ (+ x 1) (- 1 x)) (- -1 (/ 2 x)) (/ 2 x)) |
| 1.0ms | x | @ | -inf | ((/ (+ x 1) (- 1 x)) (+ (* x 2) 1) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (+ (* (+ (* x 2) 2) x) 1) (+ (* x 2) 2) (/ (+ x 1) (- 1 x)) (- -1 (/ 2 x)) (/ 2 x)) |
| 1.0ms | x | @ | inf | ((/ (+ x 1) (- 1 x)) (+ (* x 2) 1) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (/ (+ x 1) (- 1 x)) (+ (* (+ (* x 2) 2) x) 1) (+ (* x 2) 2) (/ (+ x 1) (- 1 x)) (- -1 (/ 2 x)) (/ 2 x)) |
| 1× | egg-herbie |
| 18 100× | lower-fma.f64 |
| 18 100× | lower-fma.f32 |
| 3 488× | lower-*.f64 |
| 3 488× | lower-*.f32 |
| 1 622× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 757 |
| 1 | 134 | 733 |
| 2 | 312 | 714 |
| 3 | 626 | 694 |
| 4 | 1998 | 694 |
| 5 | 4914 | 694 |
| 0 | 8204 | 631 |
| 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 (* 2 x)) |
(+ 1 (* 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)))))) |
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 (* 2 x)))) |
2 |
(+ 2 (* 2 x)) |
(+ 2 (* 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 (+ 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))) (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)))) |
(* 2 (pow x 2)) |
(* (pow x 2) (+ 2 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(* 2 x) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(* x (+ 2 (* 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)) (/ 2 (pow x 2)))) x)) 1) |
(* 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) |
(* 2 (pow x 2)) |
(* (pow x 2) (+ 2 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(* 2 x) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(* x (+ 2 (* 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 (+ 1 (* 2 (/ 1 x)))) |
(* -1 (+ 1 (* 2 (/ 1 x)))) |
(/ 2 x) |
(/ 2 x) |
(/ 2 x) |
(/ 2 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 (* 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 (* 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)) |
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 (* 2 x)))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
2 |
#s(literal 2 binary64) |
(+ 2 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
(+ 2 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
(+ 2 (* 2 x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 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 (+ 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)))) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(* 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))) (pow x 2))) (+ 1 (* 2 (/ 1 x)))) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 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)))) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 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)))) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (+ 2 (* 2 (/ 1 x)))) |
(*.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 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)))) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64)) |
-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) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(* 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) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 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) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 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) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (+ 2 (* 2 (/ 1 x)))) |
(*.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(* (pow x 2) (+ 2 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) |
(* x (+ 2 (* 2 (/ 1 x)))) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 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) |
(fma.f64 (/.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(literal 1 binary64)) #s(literal -1 binary64)) |
-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) |
| 8 262× | lower-fma.f32 |
| 8 256× | lower-fma.f64 |
| 4 880× | lower-*.f64 |
| 4 880× | lower-*.f32 |
| 4 430× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 81 |
| 0 | 24 | 81 |
| 1 | 116 | 81 |
| 2 | 863 | 81 |
| 0 | 8808 | 81 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#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)) |
#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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) |
(fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal 2 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) |
| 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> |
Compiled 8 196 to 1 343 computations (83.6% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 468 | 0 | 468 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 1 | 1 |
| Total | 468 | 6 | 474 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 51.6% | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) |
| ✓ | 52.5% | #s(approx (/ (+ x 1) (- 1 x)) (fma.f64 x #s(literal 2 binary64) #s(literal 1 binary64))) |
| ✓ | 49.8% | #s(approx (/ (+ x 1) (- 1 x)) (-.f64 #s(literal -1 binary64) (/.f64 #s(literal 2 binary64) x))) |
| ✓ | 51.7% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal 1 binary64)) |
| ✓ | 48.2% | #s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
Compiled 60 to 45 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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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:
| 3.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)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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 |
|---|---|---|
| 99.5% | 3 | x |
| 99.5% | 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))) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (/ (+ x 1) (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ (+ x 1) (- 1 x)) (fma.f64 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #s(literal 1 binary64))) |
1 calls:
| 2.0ms | (/.f64 (+.f64 x #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.6% | 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)) |
#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 |
|---|---|---|
| 98.5% | 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 |
|---|---|---|
| 98.3% | 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 |
|---|---|---|
| 48.2% | 1 | x |
| 48.2% | 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.9999941244520988 | 0.9999999999999041 |
Compiled 10 to 9 computations (10% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -0.9999941244520988 | 0.9999999999999041 |
Compiled 10 to 9 computations (10% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -0.9999941244520988 | 0.9999999999999041 |
Compiled 10 to 9 computations (10% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 12.0ms | -0.9999941244520988 | 0.9999999999999041 |
| 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 |
| 12× | +-commutative-binary64-+.f64 |
| 10× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 6× | *-commutative-binary64-*.f64 |
| 6× | neg-sub0-binary64--.f64-neg.f64 |
| 6× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 147 |
| 1 | 36 | 147 |
| 2 | 45 | 147 |
| 3 | 51 | 147 |
| 4 | 55 | 147 |
| 5 | 56 | 147 |
| 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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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 (fma.f64 x #s(literal 2 binary64) #s(literal 2 binary64)) x #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)) |
| 10 542× | lower-fma.f64 |
| 10 542× | lower-fma.f32 |
| 2 414× | lower-*.f64 |
| 2 414× | lower-*.f32 |
| 1 620× | lower-+.f64 |
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 112 to 54 computations (51.8% saved)
Compiled 182 to 60 computations (67% saved)
Loading profile data...