
Time bar (total: 2.2s)
| 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)
| 345.0ms | 8 191× | 0 | valid |
| 2.0ms | 28× | 2 | valid |
| 2.0ms | 37× | 1 | valid |
ival-mult: 98.0ms (57.9% of total)ival-sub: 53.0ms (31.3% of total)exact: 8.0ms (4.7% of total)ival-true: 6.0ms (3.5% of total)ival-assert: 3.0ms (1.8% of total)adjust: 1.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 16 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 x #s(literal 116 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 |
| 17.0ms | 508× | 0 | valid |
| 0.0ms | 4× | 2 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-mult: 3.0ms (42.2% of total)ival-sub: 3.0ms (42.2% 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)| 1× | egg-herbie |
| 22× | cancel-sign-sub-inv |
| 20× | distribute-lft-neg-in |
| 20× | sub-neg |
| 14× | distribute-rgt-neg-in |
| 14× | neg-mul-1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 13 |
| 1 | 19 | 11 |
| 2 | 45 | 10 |
| 3 | 96 | 10 |
| 4 | 145 | 10 |
| 5 | 164 | 10 |
| 6 | 172 | 10 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 11 | 5 |
| 2 | 12 | 5 |
| 0 | 12 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| Outputs |
|---|
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)) |
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 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 116 binary64)) | |
| cost-diff | 128 | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| 4× | lower-fma.f64 |
| 4× | lower-+.f64 |
| 4× | lower-fma.f32 |
| 4× | lower-*.f32 |
| 4× | lower-+.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 11 | 11 |
| 2 | 12 | 11 |
| 0 | 12 | 10 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
(*.f64 x #s(literal 116 binary64)) |
x |
#s(literal 116 binary64) |
#s(literal 16 binary64) |
| Outputs |
|---|
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)) |
(*.f64 x #s(literal 116 binary64)) |
(*.f64 #s(literal 116 binary64) x) |
x |
#s(literal 116 binary64) |
#s(literal 16 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x #s(literal 116 binary64)) | |
| accuracy | 0.015625 | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| 10.0ms | 254× | 0 | valid |
| 0.0ms | 2× | 2 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-mult: 2.0ms (58.5% of total)ival-sub: 1.0ms (29.3% 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 (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -16 (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (patch (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (* x 116) 16) (* x 116)) |
| 0.0ms | x | @ | -inf | ((- (* x 116) 16) (* x 116)) |
| 0.0ms | x | @ | 0 | ((- (* x 116) 16) (* x 116)) |
| 1× | egg-herbie |
| 180× | lower-fma.f64 |
| 180× | lower-fma.f32 |
| 132× | lower-*.f64 |
| 132× | lower-*.f32 |
| 72× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 88 |
| 1 | 36 | 88 |
| 2 | 78 | 88 |
| 3 | 168 | 88 |
| 4 | 264 | 88 |
| 5 | 294 | 88 |
| 6 | 356 | 88 |
| 7 | 406 | 88 |
| 8 | 442 | 88 |
| 9 | 451 | 88 |
| 10 | 455 | 88 |
| 0 | 455 | 79 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-16 |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
| Outputs |
|---|
-16 |
#s(literal -16 binary64) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
| 9 662× | lower-fma.f64 |
| 9 662× | lower-fma.f32 |
| 4 548× | lower-/.f64 |
| 4 548× | lower-/.f32 |
| 4 348× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 26 | 8 |
| 2 | 152 | 8 |
| 3 | 1211 | 8 |
| 0 | 8291 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 9 962 to 890 computations (91.1% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 319 | 3 | 322 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 320 | 3 | 323 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
| ▶ | 46.4% | #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
| ▶ | 53.8% | #s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
Compiled 10 to 11 computations (-10% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) | |
| cost-diff | 0 | (*.f64 x #s(literal 116 binary64)) | |
| cost-diff | 0 | #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) | |
| cost-diff | 0 | #s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
| 4× | lower-+.f64 |
| 4× | lower-fma.f32 |
| 4× | lower-*.f32 |
| 4× | lower-+.f32 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 29 |
| 0 | 12 | 27 |
| 1 | 15 | 27 |
| 0 | 15 | 27 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
#s(literal -16 binary64) |
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
(*.f64 x #s(literal 116 binary64)) |
x |
#s(literal 116 binary64) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
x |
#s(literal 116 binary64) |
#s(literal -16 binary64) |
| Outputs |
|---|
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
#s(literal -16 binary64) |
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x)) |
(*.f64 x #s(literal 116 binary64)) |
(*.f64 #s(literal 116 binary64) x) |
x |
#s(literal 116 binary64) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)) |
x |
#s(literal 116 binary64) |
#s(literal -16 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) | |
| accuracy | 0 | (*.f64 x #s(literal 116 binary64)) | |
| accuracy | 34.28142790875415 | #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) | |
| accuracy | 29.54985373988489 | #s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
| 12.0ms | 254× | 0 | valid |
| 0.0ms | 2× | 2 | valid |
Compiled 26 to 9 computations (65.4% saved)
ival-mult: 2.0ms (36.8% of total)ival-add: 1.0ms (18.4% of total)ival-sub: 1.0ms (18.4% 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 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.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>) () ()) |
#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -16 (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -16 (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -16 (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 116 x) 16) (taylor 0 x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 116 (* 16 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) #s(literal -16 binary64)) (patch #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (patch #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 116 binary64)) (patch (*.f64 x #s(literal 116 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 116 x) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 16 (/ 1 x)) 116))) (taylor -inf x) (#s(alt (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) (patch (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((- (* x 116) 16) (- (* x 116) 16) (* x 116) (+ (* x 116) -16)) |
| 0.0ms | x | @ | inf | ((- (* x 116) 16) (- (* x 116) 16) (* x 116) (+ (* x 116) -16)) |
| 0.0ms | x | @ | 0 | ((- (* x 116) 16) (- (* x 116) 16) (* x 116) (+ (* x 116) -16)) |
| 1× | egg-herbie |
| 180× | lower-fma.f64 |
| 180× | lower-fma.f32 |
| 132× | lower-*.f64 |
| 132× | lower-*.f32 |
| 72× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 192 |
| 1 | 36 | 192 |
| 2 | 78 | 192 |
| 3 | 168 | 192 |
| 4 | 264 | 192 |
| 5 | 294 | 192 |
| 6 | 356 | 192 |
| 7 | 406 | 192 |
| 8 | 442 | 192 |
| 9 | 451 | 192 |
| 10 | 455 | 192 |
| 0 | 455 | 165 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-16 |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
-16 |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
-16 |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
(- (* 116 x) 16) |
(* 116 x) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* 116 x) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* x (- 116 (* 16 (/ 1 x)))) |
(* 116 x) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* 116 x) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* 116 x) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
| Outputs |
|---|
-16 |
#s(literal -16 binary64) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
-16 |
#s(literal -16 binary64) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
-16 |
#s(literal -16 binary64) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(- (* 116 x) 16) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* x (- 116 (* 16 (/ 1 x)))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* 116 x) |
(*.f64 x #s(literal 116 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(* -1 (* x (- (* 16 (/ 1 x)) 116))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
| 6 712× | lower-fma.f32 |
| 6 710× | lower-fma.f64 |
| 5 072× | lower-/.f64 |
| 5 072× | lower-/.f32 |
| 4 324× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 0 | 12 | 21 |
| 1 | 40 | 21 |
| 2 | 230 | 21 |
| 3 | 1868 | 21 |
| 0 | 8631 | 21 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
(*.f64 x #s(literal 116 binary64)) |
(fma.f64 x #s(literal 116 binary64) #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> |
Compiled 10 402 to 933 computations (91% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 362 | 0 | 362 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 362 | 3 | 365 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
| ✓ | 46.4% | #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
| ✓ | 53.8% | #s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
Compiled 25 to 20 computations (20% saved)
| Inputs |
|---|
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| Outputs |
|---|
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
3 calls:
| 2.0ms | (*.f64 x #s(literal 116 binary64)) |
| 2.0ms | x |
| 2.0ms | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| 100.0% | 1 | (*.f64 x #s(literal 116 binary64)) |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
| Outputs |
|---|
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
#s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) |
3 calls:
| 2.0ms | (*.f64 x #s(literal 116 binary64)) |
| 1.0ms | x |
| 1.0ms | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 96.7% | 3 | x |
| 96.7% | 3 | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| 96.7% | 3 | (*.f64 x #s(literal 116 binary64)) |
Compiled 9 to 9 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
| Outputs |
|---|
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 x #s(literal 116 binary64)) |
| 1.0ms | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.8% | 1 | x |
| 53.8% | 1 | (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) |
| 53.8% | 1 | (*.f64 x #s(literal 116 binary64)) |
Compiled 9 to 9 computations (0% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 4.0ms | 14.21589310299562 | 24.508162416427872 |
| 9.0ms | -165758.2411753894 | -3.388417522726069 |
| 6.0ms | 192× | 0 | valid |
Compiled 56 to 93 computations (-66.1% saved)
ival-sub: 1.0ms (77.9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 2× | *-commutative-binary64-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 48 |
| 1 | 15 | 48 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))))) |
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
| Outputs |
|---|
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64)) |
(if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))) (if (<=.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 x #s(literal 116 binary64))))) |
(if (<=.f64 (*.f64 #s(literal 116 binary64) x) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x)) (if (<=.f64 (*.f64 #s(literal 116 binary64) x) #s(literal 16 binary64)) #s(approx (- (* x 116) 16) #s(literal -16 binary64)) #s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x)))) |
#s(approx (- (* x 116) 16) #s(literal -16 binary64)) |
| 9 662× | lower-fma.f64 |
| 9 662× | lower-fma.f32 |
| 4 548× | lower-/.f64 |
| 4 548× | lower-/.f32 |
| 4 348× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 88 |
| 1 | 36 | 88 |
| 2 | 78 | 88 |
| 3 | 168 | 88 |
| 4 | 264 | 88 |
| 5 | 294 | 88 |
| 6 | 356 | 88 |
| 7 | 406 | 88 |
| 8 | 442 | 88 |
| 9 | 451 | 88 |
| 10 | 455 | 88 |
| 0 | 455 | 79 |
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 26 | 8 |
| 2 | 152 | 8 |
| 3 | 1211 | 8 |
| 0 | 8291 | 7 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | saturated |
Compiled 42 to 26 computations (38.1% saved)
Compiled 66 to 34 computations (48.5% saved)
Loading profile data...