
Time bar (total: 3.4s)
| 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)
| 448.0ms | 8 256× | 0 | valid |
ival-mult: 131.0ms (54.4% of total)ival-sub: 96.0ms (39.9% of total)ival-true: 6.0ms (2.5% of total)exact: 5.0ms (2.1% of total)ival-assert: 3.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (-.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #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 |
| 30.0ms | 512× | 0 | valid |
Compiled 39 to 20 computations (48.7% saved)
ival-sub: 16.0ms (77.8% of total)ival-mult: 4.0ms (19.5% 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 | 15 |
| 1 | 22 | 11 |
| 2 | 55 | 10 |
| 3 | 161 | 10 |
| 4 | 210 | 10 |
| 5 | 218 | 10 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 12 | 5 |
| 2 | 18 | 5 |
| 3 | 21 | 5 |
| 4 | 23 | 5 |
| 5 | 28 | 5 |
| 6 | 38 | 5 |
| 7 | 56 | 5 |
| 8 | 113 | 5 |
| 9 | 199 | 5 |
| 10 | 228 | 5 |
| 11 | 228 | 5 |
| 0 | 228 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(fma.f64 x x (neg.f64 x)) |
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 x (-.f64 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 #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 12 | 10 |
| 2 | 18 | 10 |
| 3 | 21 | 10 |
| 4 | 23 | 10 |
| 5 | 28 | 10 |
| 6 | 38 | 10 |
| 7 | 56 | 10 |
| 8 | 113 | 10 |
| 9 | 199 | 10 |
| 10 | 228 | 10 |
| 11 | 228 | 10 |
| 0 | 228 | 10 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
x |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(fma.f64 x x (neg.f64 x)) |
x |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.00390625 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 46.0ms | 256× | 0 | valid |
Compiled 22 to 10 computations (54.5% saved)
ival-sub: 2.0ms (53.1% of total)ival-mult: 2.0ms (53.1% 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 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1 x) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- x 1) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (*.f64 x (-.f64 x #s(literal 1 binary64))) (patch (*.f64 x (-.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1 binary64)) (patch (-.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((* x (- x 1)) (- x 1)) |
| 0.0ms | x | @ | -inf | ((* x (- x 1)) (- x 1)) |
| 0.0ms | x | @ | 0 | ((* x (- x 1)) (- x 1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 83 |
| 1 | 32 | 83 |
| 2 | 75 | 83 |
| 3 | 133 | 83 |
| 4 | 381 | 83 |
| 5 | 1592 | 83 |
| 6 | 2757 | 83 |
| 7 | 3875 | 83 |
| 8 | 5224 | 83 |
| 9 | 6705 | 83 |
| 10 | 7600 | 83 |
| 0 | 8010 | 83 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(* x (- x 1)) |
(* x (- x 1)) |
(* x (- x 1)) |
-1 |
(- x 1) |
(- x 1) |
(- x 1) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
x |
(* x (- 1 (/ 1 x))) |
(* x (- 1 (/ 1 x))) |
(* x (- 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
x |
(* -1 (* x (- (/ 1 x) 1))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* -1 (* x (- (/ 1 x) 1))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
-1 |
#s(literal -1 binary64) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
x |
(* x (- 1 (/ 1 x))) |
(-.f64 x #s(literal 1 binary64)) |
(* x (- 1 (/ 1 x))) |
(-.f64 x #s(literal 1 binary64)) |
(* x (- 1 (/ 1 x))) |
(-.f64 x #s(literal 1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
x |
(* -1 (* x (- (/ 1 x) 1))) |
(-.f64 x #s(literal 1 binary64)) |
(* -1 (* x (- (/ 1 x) 1))) |
(-.f64 x #s(literal 1 binary64)) |
(* -1 (* x (- (/ 1 x) 1))) |
(-.f64 x #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 25 | 8 |
| 2 | 138 | 8 |
| 3 | 1250 | 8 |
| 0 | 8952 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(-.f64 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> |
#<batchref> |
#<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 888 to 877 computations (87.3% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 318 | 3 | 321 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 319 | 3 | 322 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 x x (neg.f64 x)) |
| ▶ | 50.0% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ▶ | 52.7% | #s(approx (* x (- x 1)) (neg.f64 x)) |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (fma.f64 x x (neg.f64 x)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (* x (- x 1)) (*.f64 x x)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (* x (- x 1)) (neg.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 32 |
| 0 | 12 | 32 |
| 1 | 22 | 32 |
| 2 | 31 | 32 |
| 3 | 42 | 32 |
| 4 | 60 | 32 |
| 5 | 117 | 32 |
| 6 | 203 | 32 |
| 7 | 232 | 32 |
| 8 | 232 | 32 |
| 0 | 232 | 32 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (* x (- x 1)) (*.f64 x x)) |
(*.f64 x x) |
x |
(fma.f64 x x (neg.f64 x)) |
x |
(neg.f64 x) |
| Outputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (* x (- x 1)) (*.f64 x x)) |
(*.f64 x x) |
x |
(fma.f64 x x (neg.f64 x)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
x |
(neg.f64 x) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x (neg.f64 x)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 32.0144759370177 | #s(approx (* x (- x 1)) (*.f64 x x)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 30.259066893582784 | #s(approx (* x (- x 1)) (neg.f64 x)) |
| 14.0ms | 256× | 0 | valid |
Compiled 50 to 15 computations (70% saved)
ival-mult: 3.0ms (38% of total)ival-sub: 2.0ms (25.4% of total)ival-add: 1.0ms (12.7% of total)ival-neg: 1.0ms (12.7% 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)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt (neg.f64 x) (patch (neg.f64 x) #<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 (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1 x) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (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 (* x (- x 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 (* x (- x 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 (* x (- x 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 x) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<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 x))) (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 x))) (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 x))) (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 (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) (neg.f64 x)) (patch #s(approx (* x (- x 1)) (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<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 x))) (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 x))) (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 x))) (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 (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x (neg.f64 x)) (patch (fma.f64 x x (neg.f64 x)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x) (+ (* x x) (neg x))) |
| 1.0ms | x | @ | -inf | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x) (+ (* x x) (neg x))) |
| 0.0ms | x | @ | 0 | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x) (+ (* x x) (neg x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 219 |
| 1 | 22 | 219 |
| 2 | 40 | 219 |
| 3 | 82 | 219 |
| 4 | 191 | 219 |
| 5 | 373 | 219 |
| 6 | 698 | 219 |
| 7 | 2322 | 219 |
| 8 | 3755 | 219 |
| 9 | 5759 | 219 |
| 10 | 7525 | 219 |
| 0 | 8089 | 219 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(* x (- x 1)) |
(* x (- x 1)) |
(* x (- x 1)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* x (- x 1)) |
(* x (- x 1)) |
(* x (- x 1)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1 x) |
(* x (- x 1)) |
(* x (- x 1)) |
(* x (- x 1)) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -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 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) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -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 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) 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) |
(* -1 x) |
(neg.f64 x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) 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) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) 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) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 0 | 12 | 27 |
| 1 | 48 | 27 |
| 2 | 327 | 22 |
| 3 | 3609 | 22 |
| 0 | 8507 | 22 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (* x (- x 1)) (*.f64 x x)) |
(*.f64 x x) |
(fma.f64 x x (neg.f64 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> |
Compiled 4 760 to 698 computations (85.3% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 389 | 1 | 390 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 389 | 4 | 393 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 x x (neg.f64 x)) |
| ✓ | 50.0% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ✓ | 52.7% | #s(approx (* x (- x 1)) (neg.f64 x)) |
| ▶ | 4.1% | #s(approx (* x (- x 1)) x) |
Compiled 14 to 11 computations (21.4% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (* x (- x 1)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 5 | 8 |
| 1 | 11 | 8 |
| 2 | 17 | 8 |
| 3 | 20 | 8 |
| 4 | 22 | 8 |
| 5 | 27 | 8 |
| 6 | 38 | 8 |
| 7 | 56 | 8 |
| 8 | 113 | 8 |
| 9 | 200 | 8 |
| 10 | 229 | 8 |
| 11 | 229 | 8 |
| 0 | 229 | 8 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
#s(approx (* x (- x 1)) x) |
x |
| Outputs |
|---|
#s(approx (* x (- x 1)) x) |
x |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 61.38267304385501 | #s(approx (* x (- x 1)) x) |
| 8.0ms | 256× | 0 | valid |
Compiled 11 to 8 computations (27.3% saved)
ival-sub: 2.0ms (52.9% of total)ival-mult: 2.0ms (52.9% 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)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* -1 x) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- x 1)) (taylor 0 x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (* x (- x 1)) x) (patch #s(approx (* x (- x 1)) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((* x (- x 1))) |
| 0.0ms | x | @ | -inf | ((* x (- x 1))) |
| 0.0ms | x | @ | 0 | ((* x (- x 1))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 53 |
| 1 | 22 | 53 |
| 2 | 40 | 53 |
| 3 | 82 | 53 |
| 4 | 191 | 53 |
| 5 | 373 | 53 |
| 6 | 698 | 53 |
| 7 | 2322 | 53 |
| 8 | 3755 | 53 |
| 9 | 5759 | 53 |
| 10 | 7525 | 53 |
| 0 | 8089 | 53 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(* x (- x 1)) |
(* x (- x 1)) |
(* x (- x 1)) |
(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) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
(* (pow x 2) (- 1 (/ 1 x))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 0 | 5 | 7 |
| 1 | 24 | 7 |
| 2 | 137 | 7 |
| 3 | 1251 | 7 |
| 0 | 8937 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (* x (- x 1)) x) |
| Outputs |
|---|
#<batchref> |
Compiled 67 to 10 computations (85.1% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 13 | 0 | 13 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 13 | 4 | 17 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 x x (neg.f64 x)) |
| ✓ | 50.0% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ✓ | 52.7% | #s(approx (* x (- x 1)) (neg.f64 x)) |
| ✓ | 4.1% | #s(approx (* x (- x 1)) x) |
Compiled 33 to 21 computations (36.4% saved)
| Inputs |
|---|
#s(approx (* x (- x 1)) x) |
#s(approx (* x (- x 1)) (neg.f64 x)) |
#s(approx (* x (- x 1)) (*.f64 x x)) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(fma.f64 x x (neg.f64 x)) |
| Outputs |
|---|
(fma.f64 x x (neg.f64 x)) |
2 calls:
| 54.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 22.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
#s(approx (* x (- x 1)) x) |
#s(approx (* x (- x 1)) (neg.f64 x)) |
#s(approx (* x (- x 1)) (*.f64 x x)) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
#s(approx (* x (- x 1)) x) |
#s(approx (* x (- x 1)) (neg.f64 x)) |
#s(approx (* x (- x 1)) (*.f64 x x)) |
| Outputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
#s(approx (* x (- x 1)) (*.f64 x x)) |
2 calls:
| 2.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.7% | 3 | x |
| 97.7% | 2 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
#s(approx (* x (- x 1)) x) |
#s(approx (* x (- x 1)) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
#s(approx (* x (- x 1)) x) |
2 calls:
| 2.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.4% | 2 | x |
| 52.7% | 1 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
Compiled 6 to 5 computations (16.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* x (- x 1)) x) |
| Outputs |
|---|
#s(approx (* x (- x 1)) x) |
2 calls:
| 1.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.1% | 1 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 4.1% | 1 | x |
Compiled 6 to 5 computations (16.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.1088077110062756 | 4.769634407030799 |
Compiled 8 to 8 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 36.0ms | 9.946103824484469e-12 | 6.979065315195547 |
| 31.0ms | 160× | 0 | valid |
Compiled 58 to 78 computations (-34.5% saved)
ival-sub: 1.0ms (43.9% of total)ival-mult: 1.0ms (43.9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 61 |
| 1 | 26 | 61 |
| 2 | 31 | 61 |
| 3 | 37 | 61 |
| 4 | 44 | 61 |
| 5 | 53 | 61 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x x (neg.f64 x)) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 3602879701896397/18014398509481984 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x))) |
(if (<=.f64 x #s(literal 1 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) x)) |
#s(approx (* x (- x 1)) x) |
| Outputs |
|---|
(fma.f64 x x (neg.f64 x)) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 3602879701896397/18014398509481984 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x))) |
(if (<=.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x) #s(literal 3602879701896397/18014398509481984 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x))) |
(if (<=.f64 x #s(literal 1 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) x)) |
#s(approx (* x (- x 1)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 25 | 8 |
| 2 | 138 | 8 |
| 3 | 1250 | 8 |
| 0 | 8952 | 8 |
| 0 | 9 | 27 |
| 0 | 12 | 27 |
| 1 | 48 | 27 |
| 2 | 327 | 22 |
| 3 | 3609 | 22 |
| 0 | 8507 | 22 |
| 0 | 15 | 83 |
| 1 | 32 | 83 |
| 2 | 75 | 83 |
| 3 | 133 | 83 |
| 4 | 381 | 83 |
| 5 | 1592 | 83 |
| 6 | 2757 | 83 |
| 7 | 3875 | 83 |
| 8 | 5224 | 83 |
| 9 | 6705 | 83 |
| 10 | 7600 | 83 |
| 0 | 8010 | 83 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 63 to 37 computations (41.3% saved)
Compiled 92 to 44 computations (52.2% saved)
Loading profile data...