
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 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 4 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 5 |
| 37.5% | 37.5% | 62.4% | 0.1% | 0% | 0% | 0% | 6 |
| 37.5% | 37.5% | 62.4% | 0.1% | 0% | 0% | 0% | 7 |
| 43.8% | 43.7% | 56.2% | 0.1% | 0% | 0% | 0% | 8 |
| 43.8% | 43.7% | 56.2% | 0.1% | 0% | 0% | 0% | 9 |
| 46.9% | 46.8% | 53.1% | 0.1% | 0% | 0% | 0% | 10 |
| 46.9% | 46.8% | 53.1% | 0.1% | 0% | 0% | 0% | 11 |
| 48.4% | 48.4% | 51.5% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 14 to 12 computations (14.3% saved)
| 879.0ms | 8 256× | 0 | valid |
ival-tan: 254.0ms (36.8% of total)ival-sin: 179.0ms (25.9% of total)ival-div: 115.0ms (16.6% of total)ival-mult: 56.0ms (8.1% of total)ival-neg: 37.0ms (5.4% of total)ival-add: 35.0ms (5.1% of total)ival-true: 6.0ms (0.9% of total)exact: 5.0ms (0.7% of total)ival-assert: 4.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 1 | 0 | - | 0 | - | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
| 0 | 0 | - | 0 | - | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) (sin.f64 B)) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) (tan.f64 B)) |
| 0 | 0 | - | 0 | - | (tan.f64 B) |
| 0 | 0 | - | 0 | - | B |
| 0 | 0 | - | 0 | - | (sin.f64 B) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
*.f64 | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) | n*o | 1 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 1 | 255 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 1 | 0 | 255 |
| number | freq |
|---|---|
| 0 | 255 |
| 1 | 1 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 1 | 0 | 0 |
| 60.0ms | 512× | 0 | valid |
Compiled 136 to 44 computations (67.6% saved)
ival-tan: 13.0ms (31.2% of total)ival-sin: 12.0ms (28.8% of total)ival-div: 7.0ms (16.8% of total)ival-mult: 4.0ms (9.6% of total)ival-add: 2.0ms (4.8% of total)ival-neg: 2.0ms (4.8% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| Outputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
Compiled 12 to 10 computations (16.7% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.7% | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
Compiled 12 to 10 computations (16.7% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| cost-diff | 0 | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) | |
| cost-diff | 0 | (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) | |
| cost-diff | 0 | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| Inputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
x |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
| Outputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
x |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.01171875 | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| accuracy | 0.12109375 | (/.f64 #s(literal 1 binary64) (sin.f64 B)) | |
| accuracy | 0.15625 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| accuracy | 0.4802310748357843 | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
| 30.0ms | 256× | 0 | valid |
Compiled 82 to 22 computations (73.2% saved)
ival-tan: 6.0ms (31.6% of total)ival-sin: 5.0ms (26.3% of total)ival-div: 3.0ms (15.8% of total)ival-mult: 2.0ms (10.5% of total)ival-add: 1.0ms (5.3% of total)ival-neg: 1.0ms (5.3% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
| Outputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ 1 B) |
(/ (+ 1 (* -1/3 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (- (* -1/45 (pow B 2)) 1/3))) B) |
(/ (+ 1 (* (pow B 2) (- (* (pow B 2) (- (* -2/945 (pow B 2)) 1/45)) 1/3))) B) |
(/ (+ 1 (* 1/6 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* 7/360 (pow B 2))))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* (pow B 2) (+ 7/360 (* 31/15120 (pow B 2))))))) B) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ (cos B) (sin B)) |
(/ 1 (sin B)) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | B | @ | -inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (/ 1 (sin B))) |
| 2.0ms | B | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (/ 1 (sin B))) |
| 2.0ms | x | @ | 0 | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (/ 1 (sin B))) |
| 2.0ms | B | @ | 0 | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (/ 1 (sin B))) |
| 2.0ms | x | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (/ 1 (sin B))) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ 1 B) |
(/ (+ 1 (* -1/3 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (- (* -1/45 (pow B 2)) 1/3))) B) |
(/ (+ 1 (* (pow B 2) (- (* (pow B 2) (- (* -2/945 (pow B 2)) 1/45)) 1/3))) B) |
(/ (+ 1 (* 1/6 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* 7/360 (pow B 2))))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* (pow B 2) (+ 7/360 (* 31/15120 (pow B 2))))))) B) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ (cos B) (sin B)) |
(/ 1 (sin B)) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
| Outputs |
|---|
(/ (- 1 x) B) |
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
(* -1 (/ x B)) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
| Inputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
| Outputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
Compiled 158 to 24 computations (84.8% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 6 | 4 | 10 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 6 | 5 | 11 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ▶ | 12.0% | (+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ▶ | 28.6% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
| ▶ | 2.2% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
| ▶ | 47.9% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
Compiled 85 to 67 computations (21.2% saved)
| 1× | egg-herbie |
Found 15 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sin.f64 B) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (sin.f64 B)) | |
| cost-diff | 0 | #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| cost-diff | 0 | (+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| cost-diff | 0 | (tan.f64 B) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) | |
| cost-diff | 0 | (tan.f64 B) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| cost-diff | 0 | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| cost-diff | 0 | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) | |
| cost-diff | 0 | (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
x |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
x |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
#s(literal 1 binary64) |
(sin.f64 B) |
B |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
x |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
x |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(literal 1 binary64) |
(tan.f64 B) |
B |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
#s(literal 1 binary64) |
(sin.f64 B) |
B |
Found 15 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (sin.f64 B) | |
| accuracy | 0.01171875 | (+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| accuracy | 0.12109375 | (/.f64 #s(literal 1 binary64) (sin.f64 B)) | |
| accuracy | 61.69742355398504 | #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| accuracy | 0.0 | (tan.f64 B) | |
| accuracy | 0.15625 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| accuracy | 45.700003034181194 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) | |
| accuracy | 0.0 | (tan.f64 B) | |
| accuracy | 0.15625 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| accuracy | 0.4802310748357843 | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) | |
| accuracy | 62.59204096676679 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) | |
| accuracy | 0.0 | (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) | |
| accuracy | 0.15625 | (/.f64 #s(literal 1 binary64) (tan.f64 B)) | |
| accuracy | 0.4802310748357843 | (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) | |
| accuracy | 33.45296542854804 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
| 32.0ms | 256× | 0 | valid |
Compiled 248 to 34 computations (86.3% saved)
ival-tan: 7.0ms (34.9% of total)ival-sin: 5.0ms (24.9% of total)ival-div: 3.0ms (15% of total)ival-mult: 2.0ms (10% of total)ival-add: 1.0ms (5% of total)ival-neg: 1.0ms (5% 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 (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(tan.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
| Outputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ 1 B) |
(/ (+ 1 (* -1/3 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (- (* -1/45 (pow B 2)) 1/3))) B) |
(/ (+ 1 (* (pow B 2) (- (* (pow B 2) (- (* -2/945 (pow B 2)) 1/45)) 1/3))) B) |
B |
(* B (+ 1 (* 1/3 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* 2/15 (pow B 2)))))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* (pow B 2) (+ 2/15 (* 17/315 (pow B 2)))))))) |
(/ (+ 1 (* 1/6 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* 7/360 (pow B 2))))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* (pow B 2) (+ 7/360 (* 31/15120 (pow B 2))))))) B) |
(* B (+ 1 (* -1/6 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (- (* 1/120 (pow B 2)) 1/6)))) |
(* B (+ 1 (* (pow B 2) (- (* (pow B 2) (+ 1/120 (* -1/5040 (pow B 2)))) 1/6)))) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ (cos B) (sin B)) |
(/ (sin B) (cos B)) |
(/ 1 (sin B)) |
(sin B) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | B | @ | 0 | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (/ 1 (sin B)) (sin B)) |
| 1.0ms | x | @ | -inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (/ 1 (sin B)) (sin B)) |
| 1.0ms | x | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (/ 1 (sin B)) (sin B)) |
| 1.0ms | x | @ | 0 | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (/ 1 (sin B)) (sin B)) |
| 1.0ms | B | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (/ 1 (tan B)) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (/ 1 (sin B)) (sin B)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ 1 B) |
(/ (+ 1 (* -1/3 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (- (* -1/45 (pow B 2)) 1/3))) B) |
(/ (+ 1 (* (pow B 2) (- (* (pow B 2) (- (* -2/945 (pow B 2)) 1/45)) 1/3))) B) |
B |
(* B (+ 1 (* 1/3 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* 2/15 (pow B 2)))))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* (pow B 2) (+ 2/15 (* 17/315 (pow B 2)))))))) |
(/ (+ 1 (* 1/6 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* 7/360 (pow B 2))))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* (pow B 2) (+ 7/360 (* 31/15120 (pow B 2))))))) B) |
(* B (+ 1 (* -1/6 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (- (* 1/120 (pow B 2)) 1/6)))) |
(* B (+ 1 (* (pow B 2) (- (* (pow B 2) (+ 1/120 (* -1/5040 (pow B 2)))) 1/6)))) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ (cos B) (sin B)) |
(/ (sin B) (cos B)) |
(/ 1 (sin B)) |
(sin B) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
| Outputs |
|---|
(/ (- 1 x) B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
(* -1 (/ x B)) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(tan.f64 B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/ x B) |
#s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(sin.f64 B) |
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(tan.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(/.f64 #s(literal 1 binary64) (tan.f64 B)) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
(tan.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
Compiled 660 to 43 computations (93.5% saved)
9 alts after pruning (5 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 5 | 29 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 1 | 1 |
| Total | 25 | 9 | 34 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ✓ | 12.0% | (+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ✓ | 28.6% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
| ✓ | 47.9% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
| ▶ | 2.1% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
| ▶ | 2.0% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
| ▶ | 53.3% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| ▶ | 8.0% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
| ▶ | 4.8% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
Compiled 300 to 194 computations (35.3% saved)
| 1× | egg-herbie |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (sin.f64 B)) | |
| cost-diff | 0 | #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| cost-diff | 0 | (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) | |
| cost-diff | 0 | (sin.f64 B) | |
| cost-diff | 0 | #s(approx (* x (/ 1 (tan B))) (sin.f64 B)) | |
| cost-diff | 0 | (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) | |
| cost-diff | 0 | (sin.f64 B) | |
| cost-diff | 0 | #s(approx (* x (/ 1 (tan B))) (sin.f64 B)) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) | |
| cost-diff | 0 | (tan.f64 B) | |
| cost-diff | 0 | #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) | |
| cost-diff | 0 | (sin.f64 B) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (sin.f64 B)) | |
| cost-diff | 0 | #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
#s(literal 1 binary64) |
(sin.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) |
(tan.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
(sin.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
(sin.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
#s(literal 1 binary64) |
(sin.f64 B) |
B |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
#s(literal 1 binary64) |
(sin.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) |
(tan.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
(sin.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
(sin.f64 B) |
B |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
#s(literal 1 binary64) |
(sin.f64 B) |
B |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) | |
| accuracy | 0.12109375 | (/.f64 #s(literal 1 binary64) (sin.f64 B)) | |
| accuracy | 33.45296542854804 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) | |
| accuracy | 61.83381607005041 | #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| accuracy | 0.0 | (sin.f64 B) | |
| accuracy | 0.0 | (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) | |
| accuracy | 33.45296542854804 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) | |
| accuracy | 61.91309334137954 | #s(approx (* x (/ 1 (tan B))) (sin.f64 B)) | |
| accuracy | 0.0 | (sin.f64 B) | |
| accuracy | 61.91309334137954 | #s(approx (* x (/ 1 (tan B))) (sin.f64 B)) | |
| accuracy | 62.59204096676679 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) | |
| accuracy | 0.0 | (tan.f64 B) | |
| accuracy | 33.45296542854804 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) | |
| accuracy | 61.90689556394786 | #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) | |
| accuracy | 0.0 | (sin.f64 B) | |
| accuracy | 0.12109375 | (/.f64 #s(literal 1 binary64) (sin.f64 B)) | |
| accuracy | 61.83381607005041 | #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) | |
| accuracy | 62.59204096676679 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| 35.0ms | 256× | 0 | valid |
Compiled 346 to 36 computations (89.6% saved)
ival-sin: 8.0ms (37% of total)ival-tan: 6.0ms (27.8% of total)ival-div: 4.0ms (18.5% of total)ival-mult: 2.0ms (9.3% of total)ival-add: 1.0ms (4.6% of total)ival-neg: 1.0ms (4.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 (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) |
(tan.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| Outputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ 1 B) |
(/ (+ 1 (* 1/6 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* 7/360 (pow B 2))))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* (pow B 2) (+ 7/360 (* 31/15120 (pow B 2))))))) B) |
B |
(* B (+ 1 (* -1/6 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (- (* 1/120 (pow B 2)) 1/6)))) |
(* B (+ 1 (* (pow B 2) (- (* (pow B 2) (+ 1/120 (* -1/5040 (pow B 2)))) 1/6)))) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(* B (+ 1 (* 1/3 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* 2/15 (pow B 2)))))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* (pow B 2) (+ 2/15 (* 17/315 (pow B 2)))))))) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ 1 (sin B)) |
(sin B) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (sin B) (cos B)) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (/ 1 (sin B)) (sin B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B))))) |
| 1.0ms | x | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (/ 1 (sin B)) (sin B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B))))) |
| 1.0ms | x | @ | 0 | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (/ 1 (sin B)) (sin B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B))))) |
| 1.0ms | B | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (/ 1 (sin B)) (sin B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B))))) |
| 1.0ms | B | @ | -inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (/ 1 (sin B)) (sin B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (tan B) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (* x (/ 1 (tan B))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B))))) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ 1 B) |
(/ (+ 1 (* 1/6 (pow B 2))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* 7/360 (pow B 2))))) B) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* (pow B 2) (+ 7/360 (* 31/15120 (pow B 2))))))) B) |
B |
(* B (+ 1 (* -1/6 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (- (* 1/120 (pow B 2)) 1/6)))) |
(* B (+ 1 (* (pow B 2) (- (* (pow B 2) (+ 1/120 (* -1/5040 (pow B 2)))) 1/6)))) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(* B (+ 1 (* 1/3 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* 2/15 (pow B 2)))))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* (pow B 2) (+ 2/15 (* 17/315 (pow B 2)))))))) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ 1 (sin B)) |
(sin B) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (sin B) (cos B)) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
| Outputs |
|---|
(/ (- 1 x) B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(sin.f64 B) |
(/ x B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
#s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(tan.f64 B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
(/ 1 B) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
(/ (+ 1 (* 1/6 (pow B 2))) B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* 7/360 (pow B 2))))) B) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
(/ (+ 1 (* (pow B 2) (+ 1/6 (* (pow B 2) (+ 7/360 (* 31/15120 (pow B 2))))))) B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
B |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) |
(tan.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(/.f64 #s(literal 1 binary64) (sin.f64 B)) |
(sin.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B)) |
(tan.f64 B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (sin.f64 B)) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
Compiled 1 279 to 73 computations (94.3% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 1 | 42 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 4 | 4 |
| Total | 42 | 9 | 51 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ✓ | 12.0% | (+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ✓ | 28.6% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
| ✓ | 47.9% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
| ✓ | 2.1% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
| ▶ | 4.7% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
| ✓ | 53.3% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| ✓ | 8.0% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
| ✓ | 4.8% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
Compiled 183 to 123 computations (32.8% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (tan.f64 B) | |
| cost-diff | 0 | #s(approx (* x (/ 1 (tan B))) (tan.f64 B)) | |
| cost-diff | 0 | (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) | |
| cost-diff | 0 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (tan.f64 B)) |
(tan.f64 B) |
B |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (tan.f64 B)) |
(tan.f64 B) |
B |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (tan.f64 B) | |
| accuracy | 0.0 | (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) | |
| accuracy | 33.45296542854804 | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) | |
| accuracy | 61.969815410866396 | #s(approx (* x (/ 1 (tan B))) (tan.f64 B)) |
| 27.0ms | 256× | 0 | valid |
Compiled 75 to 26 computations (65.3% saved)
ival-tan: 7.0ms (35.6% of total)ival-sin: 5.0ms (25.4% of total)ival-div: 3.0ms (15.2% of total)ival-mult: 2.0ms (10.2% of total)ival-add: 1.0ms (5.1% of total)ival-neg: 1.0ms (5.1% 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 (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (tan.f64 B)) |
(tan.f64 B) |
| Outputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
B |
(* B (+ 1 (* 1/3 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* 2/15 (pow B 2)))))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* (pow B 2) (+ 2/15 (* 17/315 (pow B 2)))))))) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ (sin B) (cos B)) |
(/ 1 (sin B)) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (tan B)) |
| 1.0ms | x | @ | -inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (tan B)) |
| 1.0ms | x | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (tan B)) |
| 1.0ms | B | @ | inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (tan B)) |
| 1.0ms | B | @ | -inf | ((+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg (* x (/ 1 (tan B)))) (* x (/ 1 (tan B))) (tan B)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ (- 1 x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(* -1 (/ x B)) |
(/ (- (* 1/3 (* (pow B 2) x)) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (* 2/15 x))))) x) B) |
(/ (- (* (pow B 2) (+ (* 1/3 x) (* (pow B 2) (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))) x) B) |
(/ x B) |
(/ (+ x (* -1/3 (* (pow B 2) x))) B) |
(/ (+ x (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
(/ (+ x (* (pow B 2) (- (* (pow B 2) (- (* -1 (* (pow B 2) (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))) (+ (* -1/9 x) (* 2/15 x)))) (* 1/3 x)))) B) |
B |
(* B (+ 1 (* 1/3 (pow B 2)))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* 2/15 (pow B 2)))))) |
(* B (+ 1 (* (pow B 2) (+ 1/3 (* (pow B 2) (+ 2/15 (* 17/315 (pow B 2)))))))) |
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B))) |
(* -1 (/ (* x (cos B)) (sin B))) |
(/ (* x (cos B)) (sin B)) |
(/ (sin B) (cos B)) |
(/ 1 (sin B)) |
(+ (* -1 (/ (* x (cos B)) (sin B))) (/ 1 (sin B))) |
(* x (- (/ 1 (* x (sin B))) (/ (cos B) (sin B)))) |
(* -1 (* x (- (/ (cos B) (sin B)) (/ 1 (* x (sin B)))))) |
| Outputs |
|---|
(/ (- 1 x) B) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (* 1/3 x)))) x) B) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (* 2/15 x)))))))) x) B) |
#s(approx (* x (/ 1 (tan B))) (tan.f64 B)) |
(/ (- (+ 1 (* (pow B 2) (+ 1/6 (+ (* 1/3 x) (* (pow B 2) (+ 7/360 (+ (* -1/9 x) (+ (* 2/15 x) (* (pow B 2) (+ 31/15120 (+ (* -1/3 (+ (* -1/9 x) (* 2/15 x))) (+ (* -2/45 x) (* 17/315 x))))))))))))) x) B) |
(tan.f64 B) |
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (tan.f64 B)) |
(tan.f64 B) |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
(neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B))) |
#s(approx (* x (/ 1 (tan B))) (tan.f64 B)) |
(tan.f64 B) |
Compiled 165 to 17 computations (89.7% saved)
9 alts after pruning (0 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 7 | 0 | 7 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 8 | 8 |
| Total | 7 | 9 | 16 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ✓ | 12.0% | (+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| ✓ | 28.6% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
| ✓ | 47.9% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
| ✓ | 2.1% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
| ✓ | 4.7% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
| ✓ | 53.3% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
| ✓ | 8.0% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
| ✓ | 4.8% | #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
Compiled 408 to 159 computations (61% saved)
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| Outputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
3 calls:
| 4.0ms | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 4.0ms | B |
| 4.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | B |
| 99.7% | 1 | x |
| 99.7% | 1 | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
Compiled 14 to 14 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
(+.f64 #s(approx (neg (* x (/ 1 (tan B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) |
3 calls:
| 3.0ms | x |
| 3.0ms | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 3.0ms | B |
| Accuracy | Segments | Branch |
|---|---|---|
| 56.4% | 2 | B |
| 76.6% | 3 | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 97.2% | 3 | x |
Compiled 14 to 14 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (/.f64 #s(literal 1 binary64) (tan.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B))))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
3 calls:
| 3.0ms | x |
| 3.0ms | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 3.0ms | B |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.3% | 1 | B |
| 53.3% | 1 | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 53.3% | 1 | x |
Compiled 14 to 14 computations (0% saved)
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 #s(approx (* x (/ 1 (tan B))) (tan.f64 B)))) |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
3 calls:
| 5.0ms | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 2.0ms | x |
| 2.0ms | B |
| Accuracy | Segments | Branch |
|---|---|---|
| 8.0% | 1 | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 8.0% | 1 | B |
| 8.0% | 1 | x |
Compiled 14 to 14 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
| Outputs |
|---|
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
3 calls:
| 1.0ms | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 1.0ms | x |
| 1.0ms | B |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.8% | 1 | B |
| 4.8% | 1 | (+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
| 4.8% | 1 | x |
Compiled 14 to 14 computations (0% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 23.0ms | 3.7823297244335526e-7 | 2.3559923012407262 |
| 20.0ms | -17125597.034241736 | -0.7332232397951061 |
| 31.0ms | 288× | 0 | valid |
Compiled 807 to 609 computations (24.5% saved)
ival-sin: 9.0ms (37.1% of total)ival-tan: 6.0ms (24.7% of total)ival-div: 4.0ms (16.5% of total)ival-mult: 2.0ms (8.2% of total)ival-add: 1.0ms (4.1% of total)ival-neg: 1.0ms (4.1% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(if (<=.f64 x #s(literal -3/2 binary64)) #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) (if (<=.f64 x #s(literal 1 binary64)) #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
| Outputs |
|---|
(+.f64 (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B)))) (/.f64 #s(literal 1 binary64) (sin.f64 B))) |
(if (<=.f64 x #s(literal -3/2 binary64)) #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))) (if (<=.f64 x #s(literal 1 binary64)) #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) #s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) (neg.f64 (*.f64 x (/.f64 #s(literal 1 binary64) (tan.f64 B))))))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (/.f64 #s(literal 1 binary64) (sin.f64 B)))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (* x (/ 1 (tan B))) (sin.f64 B))) |
#s(approx (+ (neg (* x (/ 1 (tan B)))) (/ 1 (sin B))) #s(approx (neg (* x (/ 1 (tan B)))) (tan.f64 B))) |
| 1× | done |
Compiled 153 to 30 computations (80.4% saved)
Compiled 330 to 80 computations (75.8% saved)
Loading profile data...