
Time bar (total: 2.7s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 7 to 7 computations (0% saved)
| 519.0ms | 8 256× | 0 | valid |
ival-add: 162.0ms (62.3% of total)ival-div: 81.0ms (31.1% of total)exact: 8.0ms (3.1% of total)ival-true: 6.0ms (2.3% of total)ival-assert: 3.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 16 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 16 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 116 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 |
| 95.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-div: 4.0ms (51% of total)ival-add: 3.0ms (38.2% 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 |
| 36× | div-sub |
| 30× | sub-neg |
| 28× | distribute-lft-neg-in |
| 26× | associate-/l* |
| 26× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 19 | 10 |
| 2 | 34 | 10 |
| 3 | 75 | 10 |
| 4 | 161 | 10 |
| 5 | 240 | 10 |
| 6 | 258 | 10 |
| 7 | 262 | 10 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 8 | 5 |
| 0 | 8 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
(/.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 116 binary64)) |
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
Compiled 5 to 5 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 16 binary64)) | |
| cost-diff | 0 | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 4× | lower-+.f32 |
| 2× | lift-+.f64 |
| 2× | lift-/.f64 |
| 2× | lower-+.f64 |
| 2× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 8 | 11 |
| 0 | 8 | 11 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
(+.f64 x #s(literal 16 binary64)) |
x |
#s(literal 16 binary64) |
#s(literal 116 binary64) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
(/.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 116 binary64)) |
(+.f64 x #s(literal 16 binary64)) |
(+.f64 #s(literal 16 binary64) x) |
x |
#s(literal 16 binary64) |
#s(literal 116 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 x #s(literal 16 binary64)) | |
| accuracy | 0.0078125 | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 9.0ms | 256× | 0 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-div: 2.0ms (52.5% of total)ival-add: 2.0ms (52.5% 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 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ()) |
#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 4/29 (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 16 (taylor 0 x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 16 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 16 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 16 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) (patch (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 16 binary64)) (patch (+.f64 x #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 33.0ms | x | @ | -inf | ((/ (+ x 16) 116) (+ x 16)) |
| 0.0ms | x | @ | inf | ((/ (+ x 16) 116) (+ x 16)) |
| 0.0ms | x | @ | 0 | ((/ (+ x 16) 116) (+ x 16)) |
| 1× | egg-herbie |
| 72× | lower-*.f64 |
| 72× | lower-*.f32 |
| 32× | associate-*r* |
| 32× | associate-*l* |
| 28× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 82 |
| 1 | 41 | 82 |
| 2 | 67 | 82 |
| 3 | 140 | 82 |
| 4 | 140 | 82 |
| 5 | 143 | 82 |
| 6 | 148 | 82 |
| 7 | 148 | 82 |
| 0 | 148 | 73 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
4/29 |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
16 |
(+ 16 x) |
(+ 16 x) |
(+ 16 x) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
| Outputs |
|---|
4/29 |
#s(literal 4/29 binary64) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
16 |
#s(literal 16 binary64) |
(+ 16 x) |
(+.f64 #s(literal 16 binary64) x) |
(+ 16 x) |
(+.f64 #s(literal 16 binary64) x) |
(+ 16 x) |
(+.f64 #s(literal 16 binary64) x) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
| 5 334× | lower-/.f32 |
| 5 332× | lower-/.f64 |
| 3 418× | lower-*.f64 |
| 3 418× | lower-*.f32 |
| 2 760× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 33 | 8 |
| 2 | 177 | 8 |
| 3 | 1440 | 8 |
| 0 | 8404 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
(+.f64 x #s(literal 16 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 8 443 to 1 239 computations (85.3% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 434 | 4 | 438 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 434 | 5 | 439 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
| ✓ | 100.0% | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| ▶ | 99.9% | (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
| ▶ | 46.0% | #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
| ▶ | 54.5% | #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
Compiled 20 to 21 computations (-5% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) | |
| cost-diff | 0 | (-.f64 x #s(literal -16 binary64)) | |
| cost-diff | 128 | (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) | |
| cost-diff | 0 | (*.f64 x #s(literal 1/116 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) | |
| cost-diff | 0 | #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
| 12× | lower-+.f64 |
| 12× | lower-+.f32 |
| 8× | lower-*.f32 |
| 6× | +-commutative |
| 4× | *-commutative |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 40 |
| 0 | 18 | 41 |
| 1 | 24 | 39 |
| 2 | 30 | 39 |
| 3 | 32 | 39 |
| 4 | 33 | 39 |
| 0 | 33 | 39 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(literal 4/29 binary64) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
(*.f64 x #s(literal 1/116 binary64)) |
x |
#s(literal 1/116 binary64) |
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
(-.f64 x #s(literal -16 binary64)) |
x |
#s(literal -16 binary64) |
#s(literal 1/116 binary64) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
x |
#s(literal 1/116 binary64) |
#s(literal 4/29 binary64) |
| Outputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(literal 4/29 binary64) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
#s(approx (/ (+ x 16) 116) (*.f64 #s(literal 1/116 binary64) x)) |
(*.f64 x #s(literal 1/116 binary64)) |
(*.f64 #s(literal 1/116 binary64) x) |
x |
#s(literal 1/116 binary64) |
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
(fma.f64 #s(literal 1/116 binary64) x #s(literal 4/29 binary64)) |
(-.f64 x #s(literal -16 binary64)) |
x |
#s(literal -16 binary64) |
#s(literal 1/116 binary64) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(fma.f64 #s(literal 1/116 binary64) x #s(literal 4/29 binary64)) |
x |
#s(literal 1/116 binary64) |
#s(literal 4/29 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0546875 | (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) | |
| accuracy | 0 | (-.f64 x #s(literal -16 binary64)) | |
| accuracy | 0.05078125 | (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) | |
| accuracy | 0.09375 | (*.f64 x #s(literal 1/116 binary64)) | |
| accuracy | 34.253018663597906 | #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) | |
| accuracy | 29.140409888813068 | #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
| 39.0ms | 255× | 0 | valid |
| 1.0ms | 1× | 5 | exit |
Compiled 37 to 14 computations (62.2% saved)
ival-add: 16.0ms (52.1% of total)const: 6.0ms (19.5% of total)ival-mult: 3.0ms (9.8% of total)ival-div: 2.0ms (6.5% of total)ival-sub: 2.0ms (6.5% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ()) |
#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 4/29 (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 4/29 (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 4/29 (taylor 0 x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 16 (taylor 0 x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 16 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 16 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 16 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 4/29 (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) (patch #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (patch #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/116 binary64)) (patch (*.f64 x #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) (patch (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 16 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -16 binary64)) (patch (-.f64 x #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) (patch (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (* (- x -16) 1/116) (- x -16) (+ (* x 1/116) 4/29)) |
| 1.0ms | x | @ | -inf | ((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (* (- x -16) 1/116) (- x -16) (+ (* x 1/116) 4/29)) |
| 0.0ms | x | @ | 0 | ((/ (+ x 16) 116) (/ (+ x 16) 116) (* x 1/116) (* (- x -16) 1/116) (- x -16) (+ (* x 1/116) 4/29)) |
| 1× | egg-herbie |
| 72× | lower-*.f64 |
| 72× | lower-*.f32 |
| 32× | associate-*r* |
| 32× | associate-*l* |
| 28× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 274 |
| 1 | 41 | 274 |
| 2 | 67 | 274 |
| 3 | 140 | 274 |
| 4 | 140 | 274 |
| 5 | 143 | 274 |
| 6 | 148 | 274 |
| 7 | 148 | 274 |
| 0 | 148 | 238 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
4/29 |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
4/29 |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
4/29 |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
16 |
(+ 16 x) |
(+ 16 x) |
(+ 16 x) |
4/29 |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
| Outputs |
|---|
4/29 |
#s(literal 4/29 binary64) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
4/29 |
#s(literal 4/29 binary64) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
4/29 |
#s(literal 4/29 binary64) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
16 |
#s(literal 16 binary64) |
(+ 16 x) |
(+.f64 #s(literal 16 binary64) x) |
(+ 16 x) |
(+.f64 #s(literal 16 binary64) x) |
(+ 16 x) |
(+.f64 #s(literal 16 binary64) x) |
4/29 |
#s(literal 4/29 binary64) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
x |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* x (+ 1 (* 16 (/ 1 x)))) |
(+.f64 #s(literal 16 binary64) x) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
| 5 122× | lower-/.f64 |
| 5 122× | lower-/.f32 |
| 3 536× | lower-*.f32 |
| 3 532× | lower-*.f64 |
| 3 276× | lower-fma.f32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 31 |
| 0 | 18 | 32 |
| 1 | 72 | 28 |
| 2 | 416 | 28 |
| 3 | 3530 | 28 |
| 0 | 9390 | 28 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
(*.f64 x #s(literal 1/116 binary64)) |
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
(-.f64 x #s(literal -16 binary64)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 15 325 to 1 441 computations (90.6% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 837 | 1 | 838 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 1 | 0 | 1 |
| Total | 838 | 5 | 843 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
| ✓ | 99.9% | (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
| ▶ | 46.1% | #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
| ✓ | 46.0% | #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
| ✓ | 54.5% | #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
Compiled 19 to 20 computations (-5.3% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 x #s(literal 116 binary64)) | |
| cost-diff | 0 | #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
| 4× | lower-+.f64 |
| 4× | lower-/.f32 |
| 4× | lower-+.f32 |
| 2× | lift-/.f64 |
| 2× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 0 | 8 | 14 |
| 1 | 9 | 14 |
| 0 | 9 | 14 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
(/.f64 x #s(literal 116 binary64)) |
x |
#s(literal 116 binary64) |
| Outputs |
|---|
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
(/.f64 x #s(literal 116 binary64)) |
x |
#s(literal 116 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 x #s(literal 116 binary64)) | |
| accuracy | 34.49518475328667 | #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
| 11.0ms | 256× | 0 | valid |
Compiled 12 to 8 computations (33.3% saved)
ival-div: 3.0ms (55.1% of total)ival-add: 2.0ms (36.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ()) |
#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 4/29 (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ 4/29 (* 1/116 x)) (taylor 0 x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor 0 x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/116 (* 4/29 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) (patch #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/116 x) (taylor -inf x) (#s(alt (/.f64 x #s(literal 116 binary64)) (patch (/.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((/ (+ x 16) 116) (/ x 116)) |
| 0.0ms | x | @ | -inf | ((/ (+ x 16) 116) (/ x 116)) |
| 0.0ms | x | @ | 0 | ((/ (+ x 16) 116) (/ x 116)) |
| 1× | egg-herbie |
| 44× | lower-*.f64 |
| 44× | lower-*.f32 |
| 16× | lower-fma.f64 |
| 16× | lower-fma.f32 |
| 12× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 88 |
| 1 | 24 | 88 |
| 2 | 37 | 88 |
| 3 | 49 | 88 |
| 4 | 49 | 88 |
| 5 | 64 | 88 |
| 6 | 70 | 88 |
| 7 | 74 | 88 |
| 8 | 74 | 88 |
| 0 | 74 | 79 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
4/29 |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(+ 4/29 (* 1/116 x)) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
(* 1/116 x) |
| Outputs |
|---|
4/29 |
#s(literal 4/29 binary64) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(+ 4/29 (* 1/116 x)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* x (+ 1/116 (* 4/29 (/ 1 x)))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
(* 1/116 x) |
(*.f64 x #s(literal 1/116 binary64)) |
| 5 340× | lower-/.f32 |
| 5 338× | lower-/.f64 |
| 3 610× | lower-*.f64 |
| 3 610× | lower-*.f32 |
| 2 986× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 0 | 8 | 12 |
| 1 | 39 | 12 |
| 2 | 200 | 12 |
| 3 | 1541 | 12 |
| 0 | 8569 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
(/.f64 x #s(literal 116 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 323 to 94 computations (70.9% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 54 | 0 | 54 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 54 | 5 | 59 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
| ✓ | 99.9% | (*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
| ✓ | 46.1% | #s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
| ✓ | 46.0% | #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
| ✓ | 54.5% | #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
Compiled 43 to 36 computations (16.3% saved)
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
3 calls:
| 32.0ms | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 3.0ms | x |
| 2.0ms | (+.f64 x #s(literal 16 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 100.0% | 1 | (+.f64 x #s(literal 16 binary64)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
#s(approx (/ (+ x 16) 116) (/.f64 x #s(literal 116 binary64))) |
| Outputs |
|---|
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 2.0ms | (+.f64 x #s(literal 16 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 99.9% | 1 | (+.f64 x #s(literal 16 binary64)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
| Outputs |
|---|
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 x #s(literal 16 binary64)) |
| 2.0ms | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 99.9% | 1 | (+.f64 x #s(literal 16 binary64)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
| Outputs |
|---|
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
#s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) |
3 calls:
| 1.0ms | x |
| 1.0ms | (+.f64 x #s(literal 16 binary64)) |
| 1.0ms | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 96.8% | 3 | x |
| 96.8% | 3 | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 96.8% | 3 | (+.f64 x #s(literal 16 binary64)) |
Compiled 9 to 9 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
| Outputs |
|---|
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
3 calls:
| 33.0ms | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 1.0ms | x |
| 1.0ms | (+.f64 x #s(literal 16 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.5% | 1 | x |
| 54.5% | 1 | (/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
| 54.5% | 1 | (+.f64 x #s(literal 16 binary64)) |
Compiled 9 to 9 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 16.335926870594978 | 193.07712049101065 |
| 0.0ms | -1412.9503549602534 | 15.97078950411443 |
Compiled 8 to 9 computations (-12.5% saved)
| 1× | egg-herbie |
| 6× | *-commutative-binary64-*.f64 |
| 6× | +-commutative-binary64-+.f64 |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | neg-sub0-binary64--.f64-neg.f64 |
| 2× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 58 |
| 1 | 27 | 58 |
| 2 | 32 | 58 |
| 3 | 34 | 58 |
| 4 | 35 | 58 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal -1000 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 20 binary64)) #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))))) |
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
| Outputs |
|---|
(/.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 116 binary64)) |
(/.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 116 binary64)) |
(*.f64 (-.f64 x #s(literal -16 binary64)) #s(literal 1/116 binary64)) |
(*.f64 #s(literal 1/116 binary64) (-.f64 x #s(literal -16 binary64))) |
(fma.f64 x #s(literal 1/116 binary64) #s(literal 4/29 binary64)) |
(if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal -1000 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))) (if (<=.f64 (+.f64 x #s(literal 16 binary64)) #s(literal 20 binary64)) #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 x #s(literal 1/116 binary64))))) |
(if (<=.f64 (+.f64 #s(literal 16 binary64) x) #s(literal -1000 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 #s(literal 1/116 binary64) x)) (if (<=.f64 (+.f64 #s(literal 16 binary64) x) #s(literal 20 binary64)) #s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) #s(approx (/ (+ x 16) 116) (*.f64 #s(literal 1/116 binary64) x)))) |
#s(approx (/ (+ x 16) 116) #s(literal 4/29 binary64)) |
| 5 334× | lower-/.f32 |
| 5 332× | lower-/.f64 |
| 3 418× | lower-*.f64 |
| 3 418× | lower-*.f32 |
| 2 760× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 82 |
| 1 | 41 | 82 |
| 2 | 67 | 82 |
| 3 | 140 | 82 |
| 4 | 140 | 82 |
| 5 | 143 | 82 |
| 6 | 148 | 82 |
| 7 | 148 | 82 |
| 0 | 148 | 73 |
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 33 | 8 |
| 2 | 177 | 8 |
| 3 | 1440 | 8 |
| 0 | 8404 | 7 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | saturated |
Compiled 62 to 44 computations (29% saved)
Compiled 86 to 50 computations (41.9% saved)
Loading profile data...