
Time bar (total: 1.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 12 to 12 computations (0% saved)
| 435.0ms | 1 532× | 2 | valid |
| 334.0ms | 2 440× | 1 | valid |
| 256.0ms | 4 284× | 0 | valid |
ival-exp: 365.0ms (45.7% of total)ival-div: 102.0ms (12.8% of total)adjust: 96.0ms (12% of total)ival-mult: 78.0ms (9.8% of total)ival-sub: 72.0ms (9% of total)ival-add: 68.0ms (8.5% of total)exact: 10.0ms (1.3% of total)ival-true: 6.0ms (0.8% of total)ival-assert: 3.0ms (0.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 130 | 0 | - | 0 | - | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 0 | 1 | (-246.38853761680124 3.0122811816026786e+42) | 0 | - | (exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal -2 binary64) x) |
| 0 | 0 | - | 0 | - | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| 0 | 0 | - | 0 | - | #s(literal -2 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) | cancellation | 130 | 0 |
exp.f64 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | sensitivity | 1 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 130 | 0 |
| - | 1 | 125 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 130 | 0 | 0 |
| - | 1 | 0 | 125 |
| number | freq |
|---|---|
| 0 | 125 |
| 1 | 131 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 27.0ms | 92× | 2 | valid |
| 24.0ms | 160× | 1 | valid |
| 17.0ms | 260× | 0 | valid |
Compiled 119 to 44 computations (63% saved)
ival-exp: 22.0ms (46% of total)adjust: 6.0ms (12.6% of total)ival-div: 6.0ms (12.6% of total)ival-sub: 5.0ms (10.5% of total)ival-add: 4.0ms (8.4% of total)ival-mult: 4.0ms (8.4% of total)exact: 1.0ms (2.1% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
Compiled 10 to 10 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 53.4% | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
Compiled 10 to 10 computations (0% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) | |
| cost-diff | 0 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| cost-diff | 0 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| Inputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(literal 1 binary64) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
| Outputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(literal 1 binary64) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| accuracy | 0.00390625 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) | |
| accuracy | 0.0078125 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| accuracy | 29.804427348037752 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 15.0ms | 80× | 1 | valid |
| 13.0ms | 46× | 2 | valid |
| 8.0ms | 130× | 0 | valid |
Compiled 72 to 22 computations (69.4% saved)
ival-exp: 11.0ms (47.8% of total)adjust: 3.0ms (13% of total)ival-div: 3.0ms (13% of total)ival-add: 2.0ms (8.7% of total)ival-mult: 2.0ms (8.7% of total)ival-sub: 2.0ms (8.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(/ 2 (+ 1 (exp (* -2 x)))) |
(+ 1 (exp (* -2 x))) |
(exp (* -2 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 1.0ms | x | @ | -inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 1.0ms | x | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 0.0ms | y | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 0.0ms | y | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 1× | egg-herbie |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(/ 2 (+ 1 (exp (* -2 x)))) |
(+ 1 (exp (* -2 x))) |
(exp (* -2 x)) |
| Outputs |
|---|
x |
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| Inputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| Outputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
Compiled 112 to 22 computations (80.4% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 5 | 3 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 5 | 4 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.4% | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| ▶ | 6.8% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
| ▶ | 23.9% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| ▶ | 2.7% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
Compiled 61 to 58 computations (4.9% saved)
| 1× | egg-herbie |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) | |
| cost-diff | 0 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| cost-diff | 0 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) | |
| cost-diff | 0 | (*.f64 #s(literal -2 binary64) x) | |
| cost-diff | 0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) | |
| cost-diff | 0 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| cost-diff | 0 | (*.f64 #s(literal -2 binary64) x) | |
| cost-diff | 0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| cost-diff | 0 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(literal 1 binary64) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(literal 1 binary64) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(literal 1 binary64) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(literal 1 binary64) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| accuracy | 0.00390625 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) | |
| accuracy | 0.0078125 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| accuracy | 59.62644164895661 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) | |
| accuracy | 0.0 | (*.f64 #s(literal -2 binary64) x) | |
| accuracy | 0.0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| accuracy | 0.00390625 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) | |
| accuracy | 48.6846992066068 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| accuracy | 0.0 | (*.f64 #s(literal -2 binary64) x) | |
| accuracy | 0.0 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) | |
| accuracy | 62.24503617174509 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| 17.0ms | 46× | 2 | valid |
| 14.0ms | 80× | 1 | valid |
| 9.0ms | 130× | 0 | valid |
Compiled 183 to 32 computations (82.5% saved)
ival-exp: 11.0ms (47.3% of total)adjust: 3.0ms (12.9% of total)ival-div: 3.0ms (12.9% of total)ival-add: 2.0ms (8.6% of total)ival-mult: 2.0ms (8.6% of total)ival-sub: 2.0ms (8.6% 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 (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
1 |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(* -2 x) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(exp (* -2 x)) |
(+ 1 (exp (* -2 x))) |
(/ 2 (+ 1 (exp (* -2 x)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp (* -2 x)) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+ 1 (exp (* -2 x))) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x))))) |
| 1.0ms | x | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp (* -2 x)) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+ 1 (exp (* -2 x))) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x))))) |
| 1.0ms | x | @ | -inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp (* -2 x)) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+ 1 (exp (* -2 x))) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x))))) |
| 0.0ms | y | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp (* -2 x)) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+ 1 (exp (* -2 x))) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x))))) |
| 0.0ms | y | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp (* -2 x)) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+ 1 (exp (* -2 x))) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x))))) |
| 1× | egg-herbie |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
1 |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(* -2 x) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(exp (* -2 x)) |
(+ 1 (exp (* -2 x))) |
(/ 2 (+ 1 (exp (* -2 x)))) |
| Outputs |
|---|
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(*.f64 #s(literal -2 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
1 |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(+ 1 (* -2 x)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
(+ 1 (* x (- (* 2 x) 2))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
Compiled 537 to 41 computations (92.4% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 22 | 2 | 24 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 22 | 6 | 28 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.4% | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| ✓ | 6.8% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
| ▶ | 24.6% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
| ✓ | 23.9% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| ▶ | 2.4% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| ✓ | 2.7% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
Compiled 101 to 91 computations (9.9% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) | |
| cost-diff | 0 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) | |
| cost-diff | 0 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) | |
| cost-diff | 0 | (*.f64 #s(literal -2 binary64) x) | |
| cost-diff | 0 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(literal 1 binary64) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(literal 1 binary64) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.00390625 | (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) | |
| accuracy | 0.0078125 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) | |
| accuracy | 39.96845236957731 | #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| accuracy | 59.62644164895661 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) | |
| accuracy | 0.0 | (*.f64 #s(literal -2 binary64) x) | |
| accuracy | 62.45285899220969 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| 19.0ms | 46× | 2 | valid |
| 13.0ms | 80× | 1 | valid |
| 9.0ms | 130× | 0 | valid |
Compiled 163 to 33 computations (79.8% saved)
ival-exp: 11.0ms (47.4% of total)adjust: 3.0ms (12.9% of total)ival-div: 3.0ms (12.9% of total)ival-add: 2.0ms (8.6% of total)ival-mult: 2.0ms (8.6% of total)ival-sub: 2.0ms (8.6% 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 (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* -2 x) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(/ 2 (+ 1 (exp (* -2 x)))) |
(+ 1 (exp (* -2 x))) |
(exp (* -2 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 1.0ms | x | @ | -inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 0.0ms | x | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 0.0ms | y | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 0.0ms | y | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (* -2 x) (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x))) |
| 1× | egg-herbie |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* -2 x) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(/ 2 (+ 1 (exp (* -2 x)))) |
(+ 1 (exp (* -2 x))) |
(exp (* -2 x)) |
| Outputs |
|---|
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(*.f64 #s(literal -2 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
(* -2 x) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
1 |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
Compiled 319 to 33 computations (89.7% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 1 | 12 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 11 | 7 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.4% | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| ✓ | 6.8% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
| ✓ | 24.6% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
| ▶ | 6.4% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
| ✓ | 23.9% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| ✓ | 2.4% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| ✓ | 2.7% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
Compiled 141 to 116 computations (17.7% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) | |
| cost-diff | 0 | (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))) | |
| cost-diff | 0 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))))) | |
| cost-diff | 0 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))) |
#s(literal 1 binary64) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) |
(+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))) |
(exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
#s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))))) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))) |
#s(literal 1 binary64) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) |
(+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))) |
(exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
#s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
(+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
(exp.f64 (*.f64 #s(literal -2 binary64) x)) |
(*.f64 #s(literal -2 binary64) x) |
#s(literal -2 binary64) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 39.96845236957731 | #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) | |
| accuracy | 39.96845236957731 | #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) | |
| accuracy | 59.62644164895661 | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) | |
| accuracy | 61.42766687670527 | #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
| 20.0ms | 46× | 2 | valid |
| 14.0ms | 80× | 1 | valid |
| 9.0ms | 130× | 0 | valid |
Compiled 287 to 37 computations (87.1% saved)
ival-exp: 16.0ms (54.4% of total)adjust: 3.0ms (10.2% of total)ival-div: 3.0ms (10.2% of total)ival-add: 2.0ms (6.8% of total)ival-mult: 2.0ms (6.8% of total)ival-sub: 2.0ms (6.8% 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 (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) |
#s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(* -2 x) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(/ 2 (+ 1 (exp (* -2 x)))) |
(+ 1 (exp (* -2 x))) |
(exp (* -2 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x)) (* -2 x) (exp (* -2 x))) |
| 1.0ms | x | @ | -inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x)) (* -2 x) (exp (* -2 x))) |
| 0.0ms | x | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x)) (* -2 x) (exp (* -2 x))) |
| 0.0ms | y | @ | 0 | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x)) (* -2 x) (exp (* -2 x))) |
| 0.0ms | y | @ | inf | ((- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/ 2 (+ 1 (exp (* -2 x)))) (+ 1 (exp (* -2 x))) (exp (* -2 x)) (* -2 x) (exp (* -2 x))) |
| 1× | egg-herbie |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* -1/3 (pow x 2))))) |
(+ 1 (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3))))) |
2 |
(+ 2 (* -2 x)) |
(+ 2 (* x (- (* 2 x) 2))) |
(+ 2 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(+ 1 (* -2 x)) |
(+ 1 (* x (- (* 2 x) 2))) |
(+ 1 (* x (- (* x (+ 2 (* -4/3 x))) 2))) |
(* -2 x) |
(- (* 2 (/ 1 (+ 1 (exp (* -2 x))))) 1) |
(/ 2 (+ 1 (exp (* -2 x)))) |
(+ 1 (exp (* -2 x))) |
(exp (* -2 x)) |
| Outputs |
|---|
x |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) |
1 |
#s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
(+ 1 x) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) |
#s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
(/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))))) |
(+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))))) |
#s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))) |
#s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
Compiled 433 to 32 computations (92.6% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 0 | 11 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 11 | 7 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 53.4% | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| ✓ | 6.8% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
| ✓ | 24.6% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
| ✓ | 6.4% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
| ✓ | 23.9% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| ✓ | 2.4% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| ✓ | 2.7% | #s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
Compiled 282 to 149 computations (47.2% saved)
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 #s(approx (* -2 x) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))))))))))) |
| Outputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
7 calls:
| 7.0ms | x |
| 3.0ms | y |
| 3.0ms | (*.f64 #s(literal -2 binary64) x) |
| 2.0ms | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 2.0ms | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.4% | 1 | x |
| 53.4% | 1 | y |
| 53.4% | 1 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 53.4% | 1 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| 53.4% | 1 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| 53.4% | 1 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| 53.4% | 1 | (*.f64 #s(literal -2 binary64) x) |
Compiled 33 to 39 computations (-18.2% saved)
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
7 calls:
| 2.0ms | y |
| 2.0ms | (*.f64 #s(literal -2 binary64) x) |
| 2.0ms | x |
| 2.0ms | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 2.0ms | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 24.6% | 1 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 24.6% | 1 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| 24.6% | 1 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| 24.6% | 1 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| 24.6% | 1 | x |
| 24.6% | 1 | (*.f64 #s(literal -2 binary64) x) |
| 24.6% | 1 | y |
Compiled 33 to 39 computations (-18.2% saved)
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))) |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
7 calls:
| 4.0ms | y |
| 2.0ms | (*.f64 #s(literal -2 binary64) x) |
| 2.0ms | x |
| 2.0ms | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 2.0ms | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 23.9% | 1 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 23.9% | 1 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| 23.9% | 1 | x |
| 23.9% | 1 | y |
| 23.9% | 1 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| 23.9% | 1 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| 23.9% | 1 | (*.f64 #s(literal -2 binary64) x) |
Compiled 33 to 39 computations (-18.2% saved)
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
7 calls:
| 1.0ms | y |
| 1.0ms | (*.f64 #s(literal -2 binary64) x) |
| 1.0ms | x |
| 1.0ms | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| 1.0ms | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.7% | 1 | (*.f64 #s(literal -2 binary64) x) |
| 2.7% | 1 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| 2.7% | 1 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| 2.7% | 1 | y |
| 2.7% | 1 | x |
| 2.7% | 1 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 2.7% | 1 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
Compiled 33 to 39 computations (-18.2% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| Outputs |
|---|
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
7 calls:
| 2.0ms | (*.f64 #s(literal -2 binary64) x) |
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| 1.0ms | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.4% | 1 | (*.f64 #s(literal -2 binary64) x) |
| 2.4% | 1 | (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
| 2.4% | 1 | (exp.f64 (*.f64 #s(literal -2 binary64) x)) |
| 2.4% | 1 | y |
| 2.4% | 1 | x |
| 2.4% | 1 | (-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
| 2.4% | 1 | (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
Compiled 33 to 39 computations (-18.2% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| Outputs |
|---|
(-.f64 (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) #s(literal 1 binary64)) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (/.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) #s(approx (exp (* -2 x)) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x))))))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (+.f64 #s(literal 1 binary64) (exp.f64 (*.f64 #s(literal -2 binary64) x)))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (exp.f64 (*.f64 #s(literal -2 binary64) x))) |
#s(approx (- (/ 2 (+ 1 (exp (* -2 x)))) 1) (*.f64 #s(literal -2 binary64) x)) |
| 1× | done |
Compiled 82 to 25 computations (69.5% saved)
Compiled 184 to 70 computations (62% saved)
Loading profile data...