
Time bar (total: 5.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)
| 438.0ms | 8 256× | 0 | valid |
ival-mult: 138.0ms (56% of total)ival-sub: 95.0ms (38.6% of total)ival-true: 5.0ms (2% of total)exact: 5.0ms (2% of total)ival-assert: 3.0ms (1.2% of total)adjust: 2.0ms (0.8% 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 |
| 20.0ms | 512× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-sub: 6.0ms (57.2% of total)ival-mult: 3.0ms (28.6% of total)ival-true: 0.0ms (0% of total)adjust: 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 | 15 | 13 |
| 2 | 23 | 13 |
| 3 | 37 | 13 |
| 4 | 72 | 13 |
| 5 | 245 | 13 |
| 6 | 1965 | 11 |
| 7 | 5440 | 11 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 9 | 5 |
| 2 | 12 | 5 |
| 3 | 21 | 5 |
| 4 | 51 | 5 |
| 5 | 216 | 5 |
| 6 | 1799 | 5 |
| 7 | 5121 | 5 |
| 0 | 8296 | 5 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) 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 | 9 | 10 |
| 2 | 12 | 10 |
| 3 | 21 | 10 |
| 4 | 51 | 10 |
| 5 | 216 | 10 |
| 6 | 1799 | 10 |
| 7 | 5121 | 10 |
| 0 | 8296 | 10 |
| 1× | iter limit |
| 1× | node limit |
| 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))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
x |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.01171875 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 8.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-sub: 2.0ms (55.6% of total)ival-mult: 2.0ms (55.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(* -1 x) |
(* x (- x 1)) |
-1 |
(- x 1) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 1))) |
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 | 26 |
| 1 | 28 | 26 |
| 2 | 48 | 26 |
| 3 | 96 | 26 |
| 4 | 333 | 26 |
| 5 | 2061 | 26 |
| 6 | 6597 | 26 |
| 0 | 8161 | 26 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(* x (- x 1)) |
-1 |
(- x 1) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 1))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 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)) |
(pow x 2) |
(*.f64 x 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)) |
(* -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 | 23 | 8 |
| 0 | 146 | 8 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) x) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 x (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(fma.f64 #s(literal 1 binary64) x #s(literal -1 binary64)) |
(fma.f64 x #s(literal 1 binary64) #s(literal -1 binary64)) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 x #s(literal -1 binary64))))) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 x #s(literal -1 binary64)) |
Compiled 212 to 58 computations (72.6% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 18 | 3 | 21 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 18 | 4 | 22 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 92.8% | (/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
| ✓ | 100.0% | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| ▶ | 54.0% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ▶ | 50.2% | #s(approx (* x (- x 1)) (neg.f64 x)) |
Compiled 32 to 22 computations (31.3% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x #s(literal -1 binary64)) | |
| cost-diff | 0 | (fma.f64 x x #s(literal -1 binary64)) | |
| cost-diff | 1 | (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) | |
| cost-diff | 4 | (/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (* x (- x 1)) (*.f64 x x)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (* x (- x 1)) (neg.f64 x)) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 49 |
| 0 | 19 | 49 |
| 1 | 31 | 49 |
| 2 | 79 | 49 |
| 3 | 293 | 43 |
| 4 | 1000 | 43 |
| 5 | 5962 | 43 |
| 0 | 8581 | 43 |
| 1× | iter limit |
| 1× | node limit |
| 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 |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(-.f64 x #s(literal -1 binary64)) |
| 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 |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) x) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(-.f64 x #s(literal -1 binary64)) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 x x #s(literal -1 binary64)) | |
| accuracy | 0.0 | (-.f64 x #s(literal -1 binary64)) | |
| accuracy | 0.0390625 | (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) | |
| accuracy | 4.6529043286992 | (/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 29.43381062209899 | #s(approx (* x (- x 1)) (*.f64 x x)) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 31.893912226435845 | #s(approx (* x (- x 1)) (neg.f64 x)) |
| 19.0ms | 256× | 0 | valid |
Compiled 47 to 13 computations (72.3% saved)
ival-mult: 5.0ms (44.3% of total)ival-sub: 3.0ms (26.6% of total)ival-div: 1.0ms (8.9% of total)ival-add: 1.0ms (8.9% of total)ival-neg: 1.0ms (8.9% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (* x (- x 1)) (*.f64 x x)) |
(*.f64 x x) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
(fma.f64 x x #s(literal -1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
| Outputs |
|---|
(* -1 x) |
(* x (- x 1)) |
(pow x 2) |
(* x (- (pow x 2) 1)) |
-1 |
(- (pow x 2) 1) |
1 |
(+ 1 x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x) (/ (* (+ (* x x) -1) x) (- x -1)) (* (+ (* x x) -1) x) (+ (* x x) -1) (- x -1)) |
| 1.0ms | x | @ | inf | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x) (/ (* (+ (* x x) -1) x) (- x -1)) (* (+ (* x x) -1) x) (+ (* x x) -1) (- x -1)) |
| 1.0ms | x | @ | 0 | ((* x (- x 1)) (neg x) (* x (- x 1)) (* x x) (/ (* (+ (* x x) -1) x) (- x -1)) (* (+ (* x x) -1) x) (+ (* x x) -1) (- x -1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 58 |
| 1 | 52 | 58 |
| 2 | 109 | 58 |
| 3 | 455 | 55 |
| 4 | 2978 | 55 |
| 5 | 7973 | 55 |
| 0 | 8082 | 53 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(* x (- x 1)) |
(pow x 2) |
(* x (- (pow x 2) 1)) |
-1 |
(- (pow x 2) 1) |
1 |
(+ 1 x) |
(* (pow x 2) (- 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(pow x 2) |
(*.f64 x x) |
(* x (- (pow x 2) 1)) |
(fma.f64 #s(literal -1 binary64) x (pow.f64 x #s(literal 3 binary64))) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(* (pow x 2) (- 1 (/ 1 x))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 #s(literal -1 binary64) x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
(fma.f64 #s(literal -1 binary64) x (pow.f64 x #s(literal 3 binary64))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 45 |
| 0 | 19 | 45 |
| 1 | 67 | 40 |
| 0 | 471 | 40 |
| 1× | iter limit |
| 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) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
(fma.f64 x x #s(literal -1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (* x (- x 1)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (* x (- x 1)) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(*.f64 (/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) |
(*.f64 (/.f64 x (-.f64 x #s(literal -1 binary64))) (fma.f64 x x #s(literal -1 binary64))) |
(*.f64 (-.f64 x #s(literal -1 binary64)) (*.f64 (-.f64 x #s(literal 1 binary64)) (/.f64 x (-.f64 x #s(literal -1 binary64))))) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) (/.f64 x (-.f64 x #s(literal -1 binary64)))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (/.f64 x (-.f64 x #s(literal -1 binary64)))) (-.f64 (*.f64 x x) #s(literal -1 binary64))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (/.f64 x (-.f64 x #s(literal -1 binary64)))) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) x) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (neg.f64 x))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) x) (*.f64 (-.f64 (*.f64 x x) #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) x) (*.f64 (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (neg.f64 x)) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(neg.f64 (/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (neg.f64 x)) (-.f64 x #s(literal -1 binary64)))) |
(neg.f64 (/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) x) (neg.f64 (-.f64 x #s(literal -1 binary64))))) |
(*.f64 (*.f64 x (-.f64 x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(*.f64 (-.f64 x #s(literal -1 binary64)) (*.f64 (-.f64 x #s(literal 1 binary64)) x)) |
(*.f64 (fma.f64 x x #s(literal -1 binary64)) x) |
(*.f64 x (fma.f64 x x #s(literal -1 binary64))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (-.f64 (*.f64 x x) #s(literal -1 binary64))) |
(/.f64 (*.f64 x (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) x) (-.f64 (*.f64 x x) #s(literal -1 binary64))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) x) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)) (*.f64 #s(literal -1 binary64) x)) |
(fma.f64 #s(literal -1 binary64) x (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (*.f64 x x) x (*.f64 #s(literal -1 binary64) x)) |
(fma.f64 x #s(literal -1 binary64) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 x (*.f64 x x) (*.f64 #s(literal -1 binary64) x)) |
(+.f64 (*.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) |
(+.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 #s(literal -1 binary64) x)) |
(*.f64 (+.f64 (fabs.f64 x) #s(literal -1 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(*.f64 (+.f64 (fabs.f64 x) #s(literal 1 binary64)) (-.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(*.f64 (+.f64 (neg.f64 x) #s(literal -1 binary64)) (-.f64 (neg.f64 x) #s(literal -1 binary64))) |
(*.f64 (+.f64 (neg.f64 x) #s(literal 1 binary64)) (-.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64))) (fma.f64 x x (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (*.f64 x x) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (*.f64 x x) #s(literal -1 binary64))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 #s(literal -1 binary64) (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal -1 binary64) #s(literal 3/2 binary64)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1 binary64)) |
(fma.f64 #s(literal -1 binary64) #s(literal 1 binary64) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) #s(literal -1 binary64) (*.f64 x x)) |
(fma.f64 x x #s(literal -1 binary64)) |
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) #s(literal -1 binary64)))) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x)) |
(-.f64 #s(literal -1 binary64) (*.f64 x (neg.f64 x))) |
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 #s(literal -1 binary64) (*.f64 x x)) |
(+.f64 (*.f64 x x) #s(literal -1 binary64)) |
(*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (+.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) x) |
(fma.f64 (*.f64 #s(literal -1 binary64) x) #s(literal -1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) x) |
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) x) |
(fma.f64 #s(literal 1 binary64) x #s(literal 1 binary64)) |
(fma.f64 x #s(literal 1 binary64) #s(literal 1 binary64)) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
(+.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(literal 1 binary64)) |
Compiled 1 625 to 350 computations (78.5% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 114 | 1 | 115 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 115 | 4 | 119 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 48.8% | (/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
| ✓ | 100.0% | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| ✓ | 54.0% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ✓ | 50.2% | #s(approx (* x (- x 1)) (neg.f64 x)) |
Compiled 35 to 25 computations (28.6% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x #s(literal -1 binary64)) | |
| cost-diff | 0 | #s(approx (+ (* x x) -1) #s(literal -1 binary64)) | |
| cost-diff | 0 | (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) | |
| cost-diff | 0 | (/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 34 |
| 0 | 11 | 34 |
| 1 | 23 | 34 |
| 2 | 57 | 34 |
| 3 | 123 | 34 |
| 4 | 285 | 34 |
| 5 | 1149 | 34 |
| 6 | 6588 | 34 |
| 0 | 9166 | 31 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) |
#s(approx (+ (* x x) -1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
x |
(-.f64 x #s(literal -1 binary64)) |
| Outputs |
|---|
(/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 (/.f64 x (-.f64 x #s(literal -1 binary64))) #s(approx (+ (* x x) -1) #s(literal -1 binary64))) |
(*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) |
#s(approx (+ (* x x) -1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
x |
(-.f64 x #s(literal -1 binary64)) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal -1 binary64)) | |
| accuracy | 0.0390625 | (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) | |
| accuracy | 4.6529043286992 | (/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) | |
| accuracy | 32.776536721743774 | #s(approx (+ (* x x) -1) #s(literal -1 binary64)) |
| 27.0ms | 256× | 0 | valid |
Compiled 30 to 9 computations (70% saved)
ival-sub: 15.0ms (69% of total)ival-mult: 3.0ms (13.8% of total)ival-div: 1.0ms (4.6% of total)ival-add: 1.0ms (4.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) |
#s(approx (+ (* x x) -1) #s(literal -1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
| Outputs |
|---|
(* -1 x) |
(* x (- x 1)) |
(* x (- (pow x 2) 1)) |
-1 |
(- (pow x 2) 1) |
1 |
(+ 1 x) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (* (+ (* x x) -1) x) (- x -1)) (* (+ (* x x) -1) x) (+ (* x x) -1) (- x -1)) |
| 1.0ms | x | @ | inf | ((/ (* (+ (* x x) -1) x) (- x -1)) (* (+ (* x x) -1) x) (+ (* x x) -1) (- x -1)) |
| 0.0ms | x | @ | 0 | ((/ (* (+ (* x x) -1) x) (- x -1)) (* (+ (* x x) -1) x) (+ (* x x) -1) (- x -1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 58 |
| 1 | 52 | 58 |
| 2 | 109 | 58 |
| 3 | 455 | 55 |
| 4 | 2984 | 55 |
| 5 | 7962 | 55 |
| 0 | 8071 | 53 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* -1 x) |
(* x (- x 1)) |
(* x (- (pow x 2) 1)) |
-1 |
(- (pow x 2) 1) |
1 |
(+ 1 x) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
| Outputs |
|---|
(* -1 x) |
(neg.f64 x) |
(* x (- x 1)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) x) |
(* x (- (pow x 2) 1)) |
(fma.f64 #s(literal -1 binary64) x (pow.f64 x #s(literal 3 binary64))) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 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 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 #s(literal -1 binary64) x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal -1 binary64)) |
x |
(* x (+ 1 (/ 1 x))) |
(-.f64 x #s(literal -1 binary64)) |
(* -1 (* (pow x 3) (- (/ 1 (pow x 2)) 1))) |
(fma.f64 #s(literal -1 binary64) x (pow.f64 x #s(literal 3 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 32 |
| 0 | 11 | 32 |
| 1 | 50 | 32 |
| 0 | 344 | 29 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) |
#s(approx (+ (* x x) -1) #s(literal -1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
| Outputs |
|---|
(*.f64 (/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(*.f64 (/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) |
(*.f64 (/.f64 x (-.f64 x #s(literal -1 binary64))) #s(approx (+ (* x x) -1) #s(literal -1 binary64))) |
(*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) (/.f64 x (-.f64 x #s(literal -1 binary64)))) |
(*.f64 x (/.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (*.f64 (neg.f64 x) #s(approx (+ (* x x) -1) #s(literal -1 binary64)))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))))) |
(/.f64 (*.f64 (neg.f64 x) #s(approx (+ (* x x) -1) #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(neg.f64 (/.f64 (*.f64 (neg.f64 x) #s(approx (+ (* x x) -1) #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64)))) |
(neg.f64 (/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (neg.f64 (-.f64 x #s(literal -1 binary64))))) |
(*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) |
(*.f64 x #s(approx (+ (* x x) -1) #s(literal -1 binary64))) |
#s(approx (+ (* x x) -1) #s(literal -1 binary64)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) |
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) x) |
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) x) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))) |
(-.f64 x #s(literal -1 binary64)) |
(+.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(literal 1 binary64)) |
Compiled 554 to 94 computations (83% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 0 | 33 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 33 | 4 | 37 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 48.8% | (/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
| ✓ | 100.0% | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| ✓ | 54.0% | #s(approx (* x (- x 1)) (*.f64 x x)) |
| ✓ | 50.2% | #s(approx (* x (- x 1)) (neg.f64 x)) |
Compiled 80 to 47 computations (41.3% 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))) |
(/.f64 (*.f64 #s(approx (+ (* x x) -1) #s(literal -1 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) 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 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 100.0% | 1 | x |
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:
| 5.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 2 | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 99.2% | 3 | x |
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:
| 1.0ms | (*.f64 x (-.f64 x #s(literal 1 binary64))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 50.2% | 1 | x |
| 50.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 | 8.867260624725549e-14 | 996013196747.2114 |
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 | 29 | 38 |
| 3 | 45 | 38 |
| 4 | 82 | 38 |
| 5 | 326 | 38 |
| 6 | 3206 | 38 |
| 7 | 7190 | 38 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (-.f64 x #s(literal 1 binary64))) |
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 3961408125713217/39614081257132168796771975168 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))) |
(if (<=.f64 (*.f64 x (-.f64 x #s(literal 1 binary64))) #s(literal 3961408125713217/39614081257132168796771975168 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 | 26 |
| 1 | 28 | 26 |
| 2 | 48 | 26 |
| 3 | 96 | 26 |
| 4 | 333 | 26 |
| 5 | 2061 | 26 |
| 6 | 6597 | 26 |
| 0 | 8161 | 26 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 38 to 14 computations (63.2% saved)
Compiled 96 to 42 computations (56.3% saved)
Loading profile data...