
Time bar (total: 2.6s)
| 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)
| 557.0ms | 8 256× | 0 | valid |
ival-sub: 181.0ms (63.1% of total)ival-mult: 89.0ms (31% of total)ival-true: 7.0ms (2.4% of total)exact: 6.0ms (2.1% of total)ival-assert: 4.0ms (1.4% 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 |
| 41.0ms | 512× | 0 | valid |
Compiled 39 to 20 computations (48.7% saved)
ival-sub: 26.0ms (84.7% of total)ival-mult: 4.0ms (13% 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 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 9.0ms | 256× | 0 | valid |
Compiled 22 to 10 computations (54.5% saved)
ival-sub: 2.0ms (52.1% of total)ival-mult: 2.0ms (52.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 (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 319 | 2 | 321 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 319 | 3 | 322 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| ▶ | 58.4% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ▶ | 45.2% | #s(approx (* x (- x 1)) (neg.f64 x)) |
Compiled 12 to 10 computations (16.7% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| 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 | 8 | 24 |
| 0 | 10 | 24 |
| 1 | 18 | 24 |
| 2 | 23 | 24 |
| 3 | 30 | 24 |
| 4 | 38 | 24 |
| 5 | 50 | 24 |
| 6 | 91 | 24 |
| 7 | 147 | 24 |
| 8 | 200 | 24 |
| 9 | 222 | 24 |
| 10 | 222 | 24 |
| 0 | 222 | 24 |
| 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 |
| 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 |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 26.636760370831773 | #s(approx (* x (- x 1)) (*.f64 x x)) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 35.05963589171694 | #s(approx (* x (- x 1)) (neg.f64 x)) |
| 12.0ms | 256× | 0 | valid |
Compiled 33 to 13 computations (60.6% saved)
ival-mult: 3.0ms (47% of total)ival-sub: 2.0ms (31.3% of total)ival-neg: 1.0ms (15.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>) () ()) |
| 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 (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 #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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x)) |
| 1.0ms | x | @ | -inf | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x)) |
| 0.0ms | x | @ | 0 | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 166 |
| 1 | 22 | 166 |
| 2 | 40 | 166 |
| 3 | 82 | 166 |
| 4 | 191 | 166 |
| 5 | 373 | 166 |
| 6 | 698 | 166 |
| 7 | 2322 | 166 |
| 8 | 3755 | 166 |
| 9 | 5759 | 166 |
| 10 | 7525 | 166 |
| 0 | 8089 | 166 |
| 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) |
(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))) |
(* -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) |
| 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) |
(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) |
(* -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) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 22 |
| 0 | 10 | 22 |
| 1 | 32 | 22 |
| 2 | 159 | 22 |
| 3 | 1389 | 22 |
| 0 | 8500 | 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) |
| 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> |
Compiled 959 to 227 computations (76.3% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 119 | 0 | 119 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 119 | 3 | 122 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| ✓ | 58.4% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ✓ | 45.2% | #s(approx (* x (- x 1)) (neg.f64 x)) |
Compiled 24 to 18 computations (25% saved)
| Inputs |
|---|
#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 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 2.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)) (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 |
|---|---|---|
| 98.6% | 3 | x |
| 98.6% | 2 | (*.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)) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
2 calls:
| 58.0ms | x |
| 1.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 45.2% | 1 | x |
| 45.2% | 1 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0010964023822559973 | 64012024.63771379 |
Compiled 8 to 8 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 38 |
| 1 | 22 | 38 |
| 2 | 27 | 38 |
| 3 | 33 | 38 |
| 4 | 40 | 38 |
| 5 | 49 | 38 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 1152921504606847/576460752303423488 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x))) |
#s(approx (* x (- x 1)) (neg.f64 x)) |
| Outputs |
|---|
(*.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 1152921504606847/576460752303423488 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 1152921504606847/576460752303423488 binary64)) #s(approx (* x (- x 1)) (neg.f64 x)) #s(approx (* x (- x 1)) (*.f64 x x))) |
#s(approx (* x (- x 1)) (neg.f64 x)) |
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× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 30 to 17 computations (43.3% saved)
Compiled 66 to 36 computations (45.5% saved)
Loading profile data...