
Time bar (total: 1.9s)
| 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)
| 383.0ms | 8 256× | 0 | valid |
ival-mult: 114.0ms (60.3% of total)ival-sub: 57.0ms (30.1% of total)exact: 8.0ms (4.2% of total)ival-true: 6.0ms (3.2% of total)ival-assert: 3.0ms (1.6% 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 |
| 26.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-mult: 11.0ms (76% of total)ival-sub: 3.0ms (20.7% of total)exact: 1.0ms (6.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 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 |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(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 |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 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 x x) #s(literal 2 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 14.0ms | 256× | 0 | valid |
Compiled 38 to 14 computations (63.2% saved)
ival-mult: 5.0ms (59.4% of total)ival-sub: 3.0ms (35.6% 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 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.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 | 835 | 170 |
| 7 | 2313 | 170 |
| 8 | 3232 | 170 |
| 9 | 5538 | 170 |
| 0 | 8305 | 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 |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.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 299 to 642 computations (91.2% 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 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
| ▶ | 57.5% | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ▶ | 43.4% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 14 to 13 computations (7.1% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | (fma.f64 (*.f64 #s(literal 2 binary64) x) x #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 | 13 | 45 |
| 0 | 18 | 43 |
| 1 | 28 | 43 |
| 0 | 28 | 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 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#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 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(literal -1 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) | |
| accuracy | 0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 27.191497901350623 | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| accuracy | 36.24735939792538 | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 24.0ms | 256× | 0 | valid |
Compiled 71 to 21 computations (70.4% saved)
ival-mult: 6.0ms (63.5% of total)ival-sub: 1.0ms (10.6% of total)ival-add: 1.0ms (10.6% 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 x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) (patch (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | 0 | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* 2 x) x) -1) (* 2 x)) |
| 1.0ms | x | @ | -inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* 2 x) x) -1) (* 2 x)) |
| 1.0ms | x | @ | inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* 2 x) x) -1) (* 2 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 354 |
| 1 | 21 | 354 |
| 2 | 40 | 354 |
| 3 | 82 | 354 |
| 4 | 199 | 354 |
| 5 | 342 | 354 |
| 6 | 759 | 354 |
| 7 | 2153 | 354 |
| 8 | 3079 | 354 |
| 9 | 5377 | 354 |
| 0 | 8163 | 327 |
| 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 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 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 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 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 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 39 |
| 0 | 18 | 37 |
| 1 | 59 | 37 |
| 2 | 270 | 37 |
| 3 | 2486 | 37 |
| 0 | 9002 | 37 |
| 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 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 7 145 to 717 computations (90% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 363 | 0 | 363 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 363 | 3 | 366 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
| ✓ | 57.5% | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 43.4% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 35 to 24 computations (31.4% 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 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #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:
| 2.0ms | x |
| 1.0ms | (*.f64 x 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.3% | 2 | x |
| 99.3% | 2 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 99.3% | 2 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 99.3% | 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:
| 2.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 43.4% | 1 | x |
| 43.4% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 43.4% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 43.4% | 1 | (*.f64 x x) |
Compiled 16 to 13 computations (18.8% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 0.0008465844398829473 | 64004024.3861936 |
| 5.0ms | 160× | 0 | valid |
Compiled 70 to 100 computations (-42.9% saved)
ival-sub: 1.0ms (46.9% of total)ival-mult: 1.0ms (46.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 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 43 |
| 1 | 21 | 43 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #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 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(fma.f64 (*.f64 x #s(literal 2 binary64)) x #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)) |
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 | 835 | 170 |
| 7 | 2313 | 170 |
| 8 | 3232 | 170 |
| 9 | 5538 | 170 |
| 0 | 8305 | 161 |
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 31 | 15 |
| 2 | 173 | 15 |
| 3 | 1563 | 15 |
| 0 | 8539 | 14 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 42 to 29 computations (31% saved)
(abs x)
Compiled 82 to 56 computations (31.7% saved)
Loading profile data...