
Time bar (total: 27.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 7 to 6 computations (14.3% saved)
| 482.0ms | 8 256× | 0 | valid |
ival-mult: 175.0ms (67.7% of total)ival-sub: 69.0ms (26.7% of total)ival-true: 6.0ms (2.3% of total)exact: 5.0ms (1.9% of total)ival-assert: 3.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 20.0ms | 512× | 0 | valid |
Compiled 39 to 20 computations (48.7% saved)
ival-mult: 4.0ms (53.6% of total)ival-sub: 3.0ms (40.2% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 11 |
| 1 | 23 | 11 |
| 2 | 65 | 10 |
| 3 | 163 | 10 |
| 4 | 405 | 10 |
| 5 | 712 | 10 |
| 6 | 1225 | 10 |
| 7 | 2225 | 10 |
| 8 | 3127 | 10 |
| 9 | 3701 | 10 |
| 10 | 3980 | 10 |
| 11 | 4274 | 10 |
| 12 | 4428 | 10 |
| 13 | 4501 | 10 |
| 14 | 4712 | 10 |
| 15 | 5479 | 10 |
| 16 | 5677 | 10 |
| 17 | 7349 | 10 |
| 18 | 7872 | 10 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 14 | 5 |
| 2 | 18 | 5 |
| 3 | 33 | 5 |
| 4 | 62 | 5 |
| 5 | 123 | 5 |
| 6 | 283 | 5 |
| 7 | 562 | 5 |
| 8 | 2053 | 5 |
| 9 | 3150 | 5 |
| 10 | 4387 | 5 |
| 11 | 5032 | 5 |
| 12 | 5290 | 5 |
| 13 | 5441 | 5 |
| 14 | 5523 | 5 |
| 15 | 5837 | 5 |
| 16 | 6383 | 5 |
| 17 | 7494 | 5 |
| 18 | 7928 | 5 |
| 0 | 8115 | 4 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(abs x)
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 128 | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 14 | 10 |
| 2 | 18 | 10 |
| 3 | 33 | 10 |
| 4 | 62 | 10 |
| 5 | 123 | 10 |
| 6 | 283 | 10 |
| 7 | 562 | 10 |
| 8 | 2053 | 10 |
| 9 | 3150 | 10 |
| 10 | 4387 | 10 |
| 11 | 5032 | 10 |
| 12 | 5290 | 10 |
| 13 | 5441 | 10 |
| 14 | 5523 | 10 |
| 15 | 5837 | 10 |
| 16 | 6383 | 10 |
| 17 | 7494 | 10 |
| 18 | 7928 | 10 |
| 0 | 8115 | 9 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(*.f64 x x) |
x |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 10.0ms | 256× | 0 | valid |
Compiled 22 to 10 computations (54.5% saved)
ival-mult: 2.0ms (57.5% of total)ival-sub: 1.0ms (28.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 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 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 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 (pow x 2) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 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 (pow x 2) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 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) 1) (* x x)) |
| 0.0ms | x | @ | -inf | ((- (* x x) 1) (* x x)) |
| 0.0ms | x | @ | 0 | ((- (* x x) 1) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 88 |
| 1 | 17 | 88 |
| 2 | 39 | 88 |
| 3 | 88 | 88 |
| 4 | 283 | 88 |
| 5 | 498 | 88 |
| 6 | 905 | 88 |
| 7 | 2793 | 88 |
| 8 | 5014 | 88 |
| 0 | 8287 | 79 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 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) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 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) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 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 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 29 | 8 |
| 2 | 164 | 8 |
| 3 | 1504 | 8 |
| 0 | 8468 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 x x) #s(literal 1 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 186 to 854 computations (89.6% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 361 | 3 | 364 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 362 | 3 | 365 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 x x #s(literal -1 binary64)) |
| ▶ | 57.5% | #s(approx (- (* x x) 1) (*.f64 x x)) |
| ▶ | 43.4% | #s(approx (- (* x x) 1) #s(literal -1 binary64)) |
Compiled 10 to 9 computations (10% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (- (* x x) 1) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (- (* x x) 1) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 0 | 11 | 25 |
| 1 | 18 | 25 |
| 2 | 21 | 25 |
| 3 | 36 | 25 |
| 4 | 67 | 25 |
| 5 | 128 | 25 |
| 6 | 288 | 25 |
| 7 | 567 | 25 |
| 8 | 2006 | 25 |
| 9 | 3104 | 25 |
| 10 | 4348 | 25 |
| 11 | 5008 | 25 |
| 12 | 5266 | 25 |
| 13 | 5417 | 25 |
| 14 | 5499 | 25 |
| 15 | 5813 | 25 |
| 16 | 6359 | 25 |
| 17 | 7470 | 25 |
| 18 | 7904 | 25 |
| 0 | 8091 | 25 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
x |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
x |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 27.202663715628685 | #s(approx (- (* x x) 1) (*.f64 x x)) | |
| accuracy | 36.23938963652815 | #s(approx (- (* x x) 1) #s(literal -1 binary64)) |
| 11.0ms | 256× | 0 | valid |
Compiled 41 to 14 computations (65.9% saved)
ival-mult: 2.0ms (40.9% of total)ival-sub: 1.0ms (20.4% of total)ival-add: 1.0ms (20.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 #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.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 (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 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow x 2) 1) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.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 (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 (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (* x x) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* x x) 1) (*.f64 x x)) (patch #s(approx (- (* x x) 1) (*.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 (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 (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal -1 binary64)) (patch (fma.f64 x x #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((- (* x x) 1) (- (* x x) 1) (* x x) (+ (* x x) -1)) |
| 0.0ms | x | @ | inf | ((- (* x x) 1) (- (* x x) 1) (* x x) (+ (* x x) -1)) |
| 0.0ms | x | @ | 0 | ((- (* x x) 1) (- (* x x) 1) (* x x) (+ (* x x) -1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 192 |
| 1 | 17 | 192 |
| 2 | 39 | 192 |
| 3 | 88 | 192 |
| 4 | 283 | 192 |
| 5 | 498 | 192 |
| 6 | 905 | 192 |
| 7 | 2793 | 192 |
| 8 | 5014 | 192 |
| 0 | 8287 | 165 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 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) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 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) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 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) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 0 | 11 | 21 |
| 1 | 42 | 21 |
| 2 | 234 | 21 |
| 3 | 2259 | 21 |
| 0 | 9464 | 21 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
#s(approx (- (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(fma.f64 x x #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> |
Compiled 5 900 to 731 computations (87.6% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 322 | 0 | 322 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 322 | 3 | 325 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 x x #s(literal -1 binary64)) |
| ✓ | 57.5% | #s(approx (- (* x x) 1) (*.f64 x x)) |
| ✓ | 43.4% | #s(approx (- (* x x) 1) #s(literal -1 binary64)) |
Compiled 25 to 17 computations (32% saved)
| Inputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
#s(approx (- (* x x) 1) (*.f64 x x)) |
(fma.f64 x x #s(literal -1 binary64)) |
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(fma.f64 x x #s(literal -1 binary64)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
#s(approx (- (* x x) 1) (*.f64 x x)) |
| Outputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
#s(approx (- (* x x) 1) (*.f64 x x)) |
3 calls:
| 2.0ms | x |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 2 | x |
| 99.2% | 2 | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 99.2% | 2 | (*.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 43.4% | 1 | x |
| 43.4% | 1 | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 43.4% | 1 | (*.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 0.0008465844398829473 | 64004024.3861936 |
| 4.0ms | 160× | 0 | valid |
Compiled 48 to 78 computations (-62.5% saved)
ival-sub: 1.0ms (92.7% 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 | 11 | 33 |
| 1 | 14 | 33 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x x #s(literal -1 binary64)) |
(if (<=.f64 (*.f64 x x) #s(literal 1 binary64)) #s(approx (- (* x x) 1) #s(literal -1 binary64)) #s(approx (- (* x x) 1) (*.f64 x x))) |
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
(fma.f64 x x #s(literal -1 binary64)) |
(if (<=.f64 (*.f64 x x) #s(literal 1 binary64)) #s(approx (- (* x x) 1) #s(literal -1 binary64)) #s(approx (- (* x x) 1) (*.f64 x x))) |
#s(approx (- (* x x) 1) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 29 | 8 |
| 2 | 164 | 8 |
| 3 | 1504 | 8 |
| 0 | 8468 | 7 |
| 0 | 9 | 88 |
| 1 | 17 | 88 |
| 2 | 39 | 88 |
| 3 | 88 | 88 |
| 4 | 283 | 88 |
| 5 | 498 | 88 |
| 6 | 905 | 88 |
| 7 | 2793 | 88 |
| 8 | 5014 | 88 |
| 0 | 8287 | 79 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 32 to 21 computations (34.4% saved)
(abs x)
Compiled 54 to 32 computations (40.7% saved)
Loading profile data...