
Time bar (total: 2.5s)
| 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 9 to 8 computations (11.1% saved)
| 628.0ms | 8 256× | 0 | valid |
ival-mult: 149.0ms (47.9% of total)ival-sub: 146.0ms (46.9% of total)exact: 8.0ms (2.6% of total)ival-true: 5.0ms (1.6% of total)ival-assert: 3.0ms (1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 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 |
| 24.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-mult: 8.0ms (68.2% of total)ival-sub: 2.0ms (17% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 25 | 15 |
| 2 | 72 | 14 |
| 3 | 178 | 14 |
| 4 | 255 | 14 |
| 5 | 280 | 14 |
| 6 | 284 | 14 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 17 | 7 |
| 2 | 21 | 7 |
| 0 | 21 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(abs x)
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 128 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 9 | 18 |
| 1 | 17 | 18 |
| 2 | 21 | 18 |
| 0 | 21 | 17 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| accuracy | 0 | (*.f64 x x) |
| 16.0ms | 256× | 0 | valid |
Compiled 38 to 14 computations (63.2% saved)
ival-mult: 3.0ms (59.9% of total)ival-sub: 1.0ms (20% 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 #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 19.0ms | x | @ | -inf | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | inf | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | 0 | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 170 |
| 1 | 19 | 170 |
| 2 | 40 | 170 |
| 3 | 85 | 170 |
| 4 | 201 | 170 |
| 5 | 342 | 170 |
| 6 | 841 | 170 |
| 7 | 2251 | 170 |
| 8 | 3167 | 170 |
| 9 | 5488 | 170 |
| 0 | 8268 | 161 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
#s(literal -1 binary64) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 31 | 15 |
| 2 | 173 | 15 |
| 3 | 1563 | 15 |
| 0 | 8539 | 14 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 7 479 to 647 computations (91.3% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 277 | 3 | 280 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 278 | 3 | 281 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
| ▶ | 47.5% | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ▶ | 53.5% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 28 to 23 computations (17.9% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| cost-diff | 0 | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 45 |
| 0 | 15 | 43 |
| 1 | 22 | 43 |
| 2 | 25 | 43 |
| 0 | 25 | 43 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal -1 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 33.623019040614906 | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| accuracy | 29.76527087777649 | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 14.0ms | 256× | 0 | valid |
Compiled 85 to 23 computations (72.9% saved)
ival-mult: 4.0ms (61.6% of total)ival-sub: 1.0ms (15.4% of total)ival-add: 1.0ms (15.4% 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 #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* x x) 2) -1)) |
| 1.0ms | x | @ | inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* x x) 2) -1)) |
| 0.0ms | x | @ | 0 | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* x x) 2) -1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 318 |
| 1 | 19 | 318 |
| 2 | 40 | 318 |
| 3 | 85 | 318 |
| 4 | 201 | 318 |
| 5 | 343 | 318 |
| 6 | 842 | 318 |
| 7 | 2286 | 318 |
| 8 | 3198 | 318 |
| 9 | 5526 | 318 |
| 0 | 8309 | 291 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
| Outputs |
|---|
#s(literal -1 binary64) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
#s(literal -1 binary64) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 36 |
| 0 | 15 | 34 |
| 1 | 45 | 34 |
| 2 | 249 | 34 |
| 3 | 2365 | 34 |
| 0 | 9306 | 34 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 105 to 744 computations (90.8% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 370 | 0 | 370 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 370 | 3 | 373 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
| ✓ | 47.5% | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 53.5% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 63 to 38 computations (39.7% saved)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
4 calls:
| 2.0ms | x |
| 2.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 100.0% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 16 to 13 computations (18.8% saved)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
4 calls:
| 57.0ms | (*.f64 x x) |
| 2.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 2 | x |
| 99.2% | 2 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 99.2% | 2 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 99.2% | 2 | (*.f64 x x) |
Compiled 16 to 13 computations (18.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
4 calls:
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | x |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.5% | 1 | x |
| 53.5% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 53.5% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 53.5% | 1 | (*.f64 x x) |
Compiled 16 to 13 computations (18.8% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 2.9650992063286375e-9 | 49729.37221969363 |
| 7.0ms | 160× | 0 | valid |
Compiled 210 to 200 computations (4.8% saved)
ival-sub: 1.0ms (47.8% of total)ival-mult: 1.0ms (47.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 43 |
| 1 | 19 | 43 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(if (<=.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(if (<=.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) (*.f64 #s(literal 2 binary64) (*.f64 x x)))) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 31 | 15 |
| 2 | 173 | 15 |
| 3 | 1563 | 15 |
| 0 | 8539 | 14 |
| 0 | 10 | 170 |
| 1 | 19 | 170 |
| 2 | 40 | 170 |
| 3 | 85 | 170 |
| 4 | 201 | 170 |
| 5 | 342 | 170 |
| 6 | 841 | 170 |
| 7 | 2251 | 170 |
| 8 | 3167 | 170 |
| 9 | 5488 | 170 |
| 0 | 8268 | 161 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 63 to 32 computations (49.2% saved)
(abs x)
Compiled 112 to 54 computations (51.8% saved)
Loading profile data...