
Time bar (total: 3.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 25% | 75% | 0% | 0% | 0% | 0 |
| 100% | 25% | 0% | 75% | 0% | 0% | 0% | 1 |
Compiled 17 to 10 computations (41.2% saved)
| 606.0ms | 8 256× | 0 | valid |
ival-mult: 130.0ms (49.7% of total)ival-<=: 59.0ms (22.5% of total)ival-add: 49.0ms (18.7% of total)ival-and: 12.0ms (4.6% of total)exact: 9.0ms (3.4% of total)ival-assert: 3.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (*.f64 x (*.f64 x x)) |
| 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 |
| 21.0ms | 512× | 0 | valid |
Compiled 49 to 16 computations (67.3% saved)
ival-mult: 7.0ms (73.5% of total)ival-add: 2.0ms (21% 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 | 6 | 17 |
| 1 | 31 | 14 |
| 2 | 113 | 14 |
| 3 | 309 | 14 |
| 4 | 418 | 14 |
| 5 | 422 | 14 |
| 0 | 4 | 9 |
| 0 | 7 | 7 |
| 1 | 16 | 7 |
| 2 | 24 | 7 |
| 3 | 33 | 7 |
| 4 | 41 | 7 |
| 5 | 51 | 7 |
| 6 | 54 | 7 |
| 0 | 54 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
| Outputs |
|---|
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
Compiled 9 to 4 computations (55.6% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
Compiled 9 to 4 computations (55.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -5824 | (*.f64 x (*.f64 x x)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 128 | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 18 |
| 0 | 7 | 14 |
| 1 | 16 | 14 |
| 2 | 24 | 14 |
| 3 | 33 | 14 |
| 4 | 41 | 14 |
| 5 | 51 | 14 |
| 6 | 54 | 14 |
| 0 | 54 | 13 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
(*.f64 x (*.f64 x x)) |
x |
(*.f64 x x) |
| Outputs |
|---|
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(*.f64 x (*.f64 x x)) |
(pow.f64 x #s(literal 3 binary64)) |
x |
(*.f64 x x) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.015625 | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) | |
| accuracy | 0.078125 | (*.f64 x (*.f64 x x)) |
| 11.0ms | 256× | 0 | valid |
Compiled 20 to 6 computations (70% saved)
ival-mult: 3.0ms (53.9% of total)ival-add: 2.0ms (35.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow x 2) (taylor 0 x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.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 (pow x 3) (taylor 0 x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.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 3) (taylor inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) (patch (+.f64 (*.f64 x (*.f64 x x)) (*.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 3) (taylor -inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 x (*.f64 x x)) (patch (*.f64 x (*.f64 x x)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* x (* x x)) (* x x)) (* x x) (* x (* x x))) |
| 1.0ms | x | @ | inf | ((+ (* x (* x x)) (* x x)) (* x x) (* x (* x x))) |
| 1.0ms | x | @ | 0 | ((+ (* x (* x x)) (* x x)) (* x x) (* x (* x x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 144 |
| 1 | 30 | 144 |
| 2 | 64 | 144 |
| 3 | 103 | 144 |
| 4 | 286 | 144 |
| 5 | 1326 | 144 |
| 6 | 2335 | 144 |
| 7 | 3183 | 144 |
| 8 | 3904 | 144 |
| 9 | 4731 | 144 |
| 10 | 5074 | 144 |
| 11 | 5337 | 144 |
| 12 | 5549 | 144 |
| 13 | 5769 | 144 |
| 14 | 5852 | 144 |
| 15 | 6642 | 144 |
| 16 | 7744 | 144 |
| 0 | 8032 | 135 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow x 2) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
| Outputs |
|---|
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 x)) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 2) (+ 1 x)) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 2) (+ 1 x)) |
(*.f64 (fma.f64 x x 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 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x 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 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x 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 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 17 |
| 0 | 7 | 13 |
| 1 | 30 | 13 |
| 2 | 199 | 13 |
| 3 | 1768 | 13 |
| 0 | 8450 | 12 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
(*.f64 x x) |
(*.f64 x (*.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> |
Compiled 6 488 to 692 computations (89.3% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 301 | 3 | 304 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 302 | 3 | 305 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (fma.f64 x x x) x) |
| ▶ | 99.9% | (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) |
| ▶ | 96.5% | #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
Compiled 17 to 11 computations (35.3% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -6144 | (*.f64 (fma.f64 x x x) x) | |
| cost-diff | 0 | (fma.f64 x x x) | |
| cost-diff | -6016 | (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 43 |
| 0 | 17 | 39 |
| 1 | 31 | 39 |
| 2 | 40 | 39 |
| 3 | 48 | 39 |
| 4 | 58 | 39 |
| 5 | 60 | 39 |
| 0 | 60 | 39 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
x |
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) |
(+.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(*.f64 x x) |
(*.f64 (fma.f64 x x x) x) |
(fma.f64 x x x) |
x |
| Outputs |
|---|
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
x |
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(+.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(*.f64 x x) |
(*.f64 (fma.f64 x x x) x) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 x x x) |
x |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x x) | |
| accuracy | 0.01171875 | (*.f64 (fma.f64 x x x) x) | |
| accuracy | 0 | (+.f64 #s(literal 1 binary64) x) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.0390625 | (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 2.2160628175677024 | #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
| 19.0ms | 256× | 0 | valid |
Compiled 43 to 11 computations (74.4% saved)
ival-add: 6.0ms (49.4% of total)ival-mult: 6.0ms (49.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 x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ()) |
#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow x 2) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.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 (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.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 x (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) (patch #s(approx (+ (* x (* x x)) (* x x)) (*.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 x (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) (patch (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 x x x) x) (patch (*.f64 (fma.f64 x x x) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((+ (* x (* x x)) (* x x)) (* x x) (+ 1 x) (* (+ 1 x) (* x x)) (+ (* x x) x) (* (+ (* x x) x) x)) |
| 1.0ms | x | @ | inf | ((+ (* x (* x x)) (* x x)) (* x x) (+ 1 x) (* (+ 1 x) (* x x)) (+ (* x x) x) (* (+ (* x x) x) x)) |
| 1.0ms | x | @ | 0 | ((+ (* x (* x x)) (* x x)) (* x x) (+ 1 x) (* (+ 1 x) (* x x)) (+ (* x x) x) (* (+ (* x x) x) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 334 |
| 1 | 48 | 334 |
| 2 | 68 | 334 |
| 3 | 217 | 334 |
| 4 | 1311 | 334 |
| 5 | 2296 | 334 |
| 6 | 3141 | 334 |
| 7 | 3889 | 334 |
| 8 | 4698 | 334 |
| 9 | 5041 | 334 |
| 10 | 5306 | 334 |
| 11 | 5518 | 334 |
| 12 | 5738 | 334 |
| 13 | 5821 | 334 |
| 14 | 6610 | 334 |
| 15 | 7705 | 334 |
| 0 | 8001 | 298 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow x 2) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
1 |
(+ 1 x) |
(+ 1 x) |
(+ 1 x) |
(pow x 2) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
x |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(pow x 2) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
x |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(* x (+ 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
| Outputs |
|---|
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 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) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(+ 1 x) |
(+.f64 #s(literal 1 binary64) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
x |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (+ 1 x)) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 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) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 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) |
x |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(* x (+ 1 (/ 1 x))) |
(+.f64 #s(literal 1 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(fma.f64 x x (pow.f64 x #s(literal 3 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 36 |
| 0 | 17 | 32 |
| 1 | 63 | 32 |
| 2 | 389 | 32 |
| 3 | 3816 | 32 |
| 0 | 8984 | 32 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
(+.f64 #s(literal 1 binary64) x) |
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) |
(fma.f64 x x x) |
(*.f64 (fma.f64 x x 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 10 242 to 1 054 computations (89.7% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 600 | 1 | 601 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 600 | 4 | 604 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (fma.f64 x x x) x) |
| ✓ | 99.9% | (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) |
| ▶ | 59.0% | (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
| ✓ | 96.5% | #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
Compiled 23 to 15 computations (34.8% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x x) x) (*.f64 x x)) | |
| cost-diff | 0 | (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 24 |
| 0 | 8 | 24 |
| 1 | 13 | 24 |
| 2 | 17 | 24 |
| 3 | 23 | 24 |
| 4 | 23 | 24 |
| 5 | 37 | 24 |
| 6 | 37 | 24 |
| 0 | 37 | 22 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
#s(approx (+ (* x x) x) (*.f64 x x)) |
(*.f64 x x) |
x |
| Outputs |
|---|
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
#s(approx (+ (* x x) x) (*.f64 x x)) |
(*.f64 x x) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.01171875 | (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) | |
| accuracy | 59.47520831890799 | #s(approx (+ (* x x) x) (*.f64 x x)) |
| 9.0ms | 256× | 0 | valid |
Compiled 18 to 6 computations (66.7% saved)
ival-mult: 3.0ms (64.2% of total)ival-add: 1.0ms (21.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 x)) (taylor 0 x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.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 (pow x 3) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.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 3) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) (patch (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((* (+ (* x x) x) x) (+ (* x x) x) (* x x)) |
| 0.0ms | x | @ | inf | ((* (+ (* x x) x) x) (+ (* x x) x) (* x x)) |
| 0.0ms | x | @ | 0 | ((* (+ (* x x) x) x) (+ (* x x) x) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 160 |
| 1 | 42 | 160 |
| 2 | 76 | 160 |
| 3 | 133 | 160 |
| 4 | 298 | 160 |
| 5 | 1306 | 160 |
| 6 | 2309 | 160 |
| 7 | 3166 | 160 |
| 8 | 3908 | 160 |
| 9 | 4706 | 160 |
| 10 | 5049 | 160 |
| 11 | 5314 | 160 |
| 12 | 5526 | 160 |
| 13 | 5746 | 160 |
| 14 | 5829 | 160 |
| 15 | 6619 | 160 |
| 16 | 7711 | 160 |
| 0 | 8007 | 142 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow x 2) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
(* (pow x 2) (+ 1 x)) |
x |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 x)) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 2) (+ 1 x)) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 2) (+ 1 x)) |
(*.f64 (fma.f64 x x x) x) |
x |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x 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 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x 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 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x 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) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 23 |
| 0 | 8 | 23 |
| 1 | 27 | 23 |
| 2 | 158 | 23 |
| 3 | 1403 | 23 |
| 0 | 8285 | 21 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
#s(approx (+ (* x x) x) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 355 to 63 computations (82.3% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 51 | 0 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 51 | 4 | 55 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (fma.f64 x x x) x) |
| ✓ | 99.9% | (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) |
| ✓ | 59.0% | (*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
| ✓ | 96.5% | #s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
Compiled 55 to 27 computations (50.9% saved)
| Inputs |
|---|
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
(*.f64 (fma.f64 x x x) x) |
(*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x x)) |
(+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
| Outputs |
|---|
(*.f64 (fma.f64 x x x) x) |
2 calls:
| 72.0ms | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
Compiled 10 to 5 computations (50% saved)
Total -24.0b remaining (-1083.7%)
Threshold costs -24b (-1083.7%)
| Inputs |
|---|
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
(*.f64 #s(approx (+ (* x x) x) (*.f64 x x)) x) |
| Outputs |
|---|
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 96.5% | 1 | x |
| 96.5% | 1 | (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) |
Compiled 10 to 5 computations (50% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 19 |
| 1 | 9 | 19 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (fma.f64 x x x) x) |
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
| Outputs |
|---|
(*.f64 (fma.f64 x x x) x) |
#s(approx (+ (* x (* x x)) (* x x)) (*.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 17 |
| 0 | 7 | 13 |
| 1 | 30 | 13 |
| 2 | 199 | 13 |
| 3 | 1768 | 13 |
| 0 | 8450 | 12 |
| 0 | 11 | 144 |
| 1 | 30 | 144 |
| 2 | 64 | 144 |
| 3 | 103 | 144 |
| 4 | 286 | 144 |
| 5 | 1326 | 144 |
| 6 | 2335 | 144 |
| 7 | 3183 | 144 |
| 8 | 3904 | 144 |
| 9 | 4731 | 144 |
| 10 | 5074 | 144 |
| 11 | 5337 | 144 |
| 12 | 5549 | 144 |
| 13 | 5769 | 144 |
| 14 | 5852 | 144 |
| 15 | 6642 | 144 |
| 16 | 7744 | 144 |
| 0 | 8032 | 135 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 28 to 13 computations (53.6% saved)
Compiled 52 to 28 computations (46.2% saved)
Loading profile data...