
Time bar (total: 1.4s)
| 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 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 6 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 7 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 8 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 9 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 10 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 11 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 9 to 8 computations (11.1% saved)
| 850.0ms | 8 256× | 0 | valid |
ival-sin: 380.0ms (60.8% of total)ival-cosh: 102.0ms (16.3% of total)ival-div: 78.0ms (12.5% of total)ival-mult: 55.0ms (8.8% of total)ival-true: 6.0ms (1% of total)ival-assert: 4.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (sin.f64 y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (/.f64 (sin.f64 y) y) |
| 0 | 0 | - | 0 | - | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| 0 | 0 | - | 0 | - | (cosh.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 42.0ms | 512× | 0 | valid |
Compiled 62 to 28 computations (54.8% saved)
ival-sin: 16.0ms (55.2% of total)ival-cosh: 5.0ms (17.3% of total)ival-div: 4.0ms (13.8% of total)ival-mult: 3.0ms (10.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| Outputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sin.f64 y) | |
| cost-diff | 0 | (/.f64 (sin.f64 y) y) | |
| cost-diff | 0 | (cosh.f64 x) | |
| cost-diff | 0 | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| Inputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(cosh.f64 x) |
x |
(/.f64 (sin.f64 y) y) |
(sin.f64 y) |
y |
| Outputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(cosh.f64 x) |
x |
(/.f64 (sin.f64 y) y) |
(sin.f64 y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (sin.f64 y) | |
| accuracy | 0.0 | (cosh.f64 x) | |
| accuracy | 0.00390625 | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) | |
| accuracy | 0.11328125 | (/.f64 (sin.f64 y) y) |
| 24.0ms | 256× | 0 | valid |
Compiled 36 to 14 computations (61.1% saved)
ival-sin: 11.0ms (64.5% of total)ival-cosh: 3.0ms (17.6% of total)ival-div: 2.0ms (11.7% of total)ival-mult: 1.0ms (5.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(cosh.f64 x) |
(/.f64 (sin.f64 y) y) |
(sin.f64 y) |
| Outputs |
|---|
(/ (sin y) y) |
(+ (* 1/2 (/ (* (pow x 2) (sin y)) y)) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) (sin y)) y)) (* 1/2 (/ (sin y) y)))) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/2 (/ (sin y) y)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) (sin y)) y)) (* 1/24 (/ (sin y) y)))))) (/ (sin y) y)) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(* 1/2 (/ (* (sin y) (+ (exp x) (/ 1 (exp x)))) y)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(+ (* -1/12 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/2 (+ (exp x) (/ 1 (exp x))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* 1/240 (* (pow y 2) (+ (exp x) (/ 1 (exp x)))))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/10080 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/240 (+ (exp x) (/ 1 (exp x))))))))) |
(+ 1 (* -1/6 (pow y 2))) |
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))) |
y |
(* y (+ 1 (* -1/6 (pow y 2)))) |
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))) |
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))) |
(sin y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | y | @ | -inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (/ (sin y) y) (sin y)) |
| 2.0ms | x | @ | -inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (/ (sin y) y) (sin y)) |
| 2.0ms | x | @ | inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (/ (sin y) y) (sin y)) |
| 2.0ms | y | @ | inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (/ (sin y) y) (sin y)) |
| 1.0ms | x | @ | 0 | ((* (cosh x) (/ (sin y) y)) (cosh x) (/ (sin y) y) (sin y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ (sin y) y) |
(+ (* 1/2 (/ (* (pow x 2) (sin y)) y)) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) (sin y)) y)) (* 1/2 (/ (sin y) y)))) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/2 (/ (sin y) y)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) (sin y)) y)) (* 1/24 (/ (sin y) y)))))) (/ (sin y) y)) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(* 1/2 (/ (* (sin y) (+ (exp x) (/ 1 (exp x)))) y)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(+ (* -1/12 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/2 (+ (exp x) (/ 1 (exp x))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* 1/240 (* (pow y 2) (+ (exp x) (/ 1 (exp x)))))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/10080 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/240 (+ (exp x) (/ 1 (exp x))))))))) |
(+ 1 (* -1/6 (pow y 2))) |
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))) |
y |
(* y (+ 1 (* -1/6 (pow y 2)))) |
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))) |
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))) |
(sin y) |
| Outputs |
|---|
(/ (sin y) y) |
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(+ (* 1/2 (/ (* (pow x 2) (sin y)) y)) (/ (sin y) y)) |
(cosh.f64 x) |
(+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) (sin y)) y)) (* 1/2 (/ (sin y) y)))) (/ (sin y) y)) |
(/.f64 (sin.f64 y) y) |
(+ (* (pow x 2) (+ (* 1/2 (/ (sin y) y)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) (sin y)) y)) (* 1/24 (/ (sin y) y)))))) (/ (sin y) y)) |
(sin.f64 y) |
| Inputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(cosh.f64 x) |
(/.f64 (sin.f64 y) y) |
(sin.f64 y) |
| Outputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(cosh.f64 x) |
(/.f64 (sin.f64 y) y) |
(sin.f64 y) |
Compiled 75 to 14 computations (81.3% 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 |
|---|---|---|
| ✓ | 99.9% | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| ▶ | 51.6% | #s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
| ▶ | 2.9% | #s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
| ▶ | 63.3% | #s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
Compiled 39 to 31 computations (20.5% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sin.f64 y) | |
| cost-diff | 0 | (/.f64 (sin.f64 y) y) | |
| cost-diff | 0 | #s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) | |
| cost-diff | 0 | (sin.f64 y) | |
| cost-diff | 0 | #s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) | |
| cost-diff | 0 | (cosh.f64 x) | |
| cost-diff | 0 | #s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
| Inputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
(cosh.f64 x) |
x |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
(sin.f64 y) |
y |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
(/.f64 (sin.f64 y) y) |
(sin.f64 y) |
y |
| Outputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
(cosh.f64 x) |
x |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
(sin.f64 y) |
y |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
(/.f64 (sin.f64 y) y) |
(sin.f64 y) |
y |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (sin.f64 y) | |
| accuracy | 0.11328125 | (/.f64 (sin.f64 y) y) | |
| accuracy | 30.9237590615834 | #s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) | |
| accuracy | 0.0 | (sin.f64 y) | |
| accuracy | 62.1500181681587 | #s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) | |
| accuracy | 0.0 | (cosh.f64 x) | |
| accuracy | 23.47651967730953 | #s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
| 24.0ms | 256× | 0 | valid |
Compiled 81 to 20 computations (75.3% saved)
ival-sin: 6.0ms (49.4% of total)ival-cosh: 3.0ms (24.7% of total)ival-div: 2.0ms (16.5% of total)ival-mult: 1.0ms (8.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
(cosh.f64 x) |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
(sin.f64 y) |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
(/.f64 (sin.f64 y) y) |
| Outputs |
|---|
(/ (sin y) y) |
(+ (* 1/2 (/ (* (pow x 2) (sin y)) y)) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) (sin y)) y)) (* 1/2 (/ (sin y) y)))) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/2 (/ (sin y) y)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) (sin y)) y)) (* 1/24 (/ (sin y) y)))))) (/ (sin y) y)) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(* 1/2 (/ (* (sin y) (+ (exp x) (/ 1 (exp x)))) y)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(+ (* -1/12 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/2 (+ (exp x) (/ 1 (exp x))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* 1/240 (* (pow y 2) (+ (exp x) (/ 1 (exp x)))))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/10080 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/240 (+ (exp x) (/ 1 (exp x))))))))) |
y |
(* y (+ 1 (* -1/6 (pow y 2)))) |
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))) |
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))) |
(+ 1 (* -1/6 (pow y 2))) |
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))) |
(sin y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (* (cosh x) (/ (sin y) y)) (sin y) (* (cosh x) (/ (sin y) y)) (/ (sin y) y)) |
| 1.0ms | x | @ | inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (* (cosh x) (/ (sin y) y)) (sin y) (* (cosh x) (/ (sin y) y)) (/ (sin y) y)) |
| 1.0ms | x | @ | -inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (* (cosh x) (/ (sin y) y)) (sin y) (* (cosh x) (/ (sin y) y)) (/ (sin y) y)) |
| 1.0ms | y | @ | inf | ((* (cosh x) (/ (sin y) y)) (cosh x) (* (cosh x) (/ (sin y) y)) (sin y) (* (cosh x) (/ (sin y) y)) (/ (sin y) y)) |
| 0.0ms | y | @ | 0 | ((* (cosh x) (/ (sin y) y)) (cosh x) (* (cosh x) (/ (sin y) y)) (sin y) (* (cosh x) (/ (sin y) y)) (/ (sin y) y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ (sin y) y) |
(+ (* 1/2 (/ (* (pow x 2) (sin y)) y)) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) (sin y)) y)) (* 1/2 (/ (sin y) y)))) (/ (sin y) y)) |
(+ (* (pow x 2) (+ (* 1/2 (/ (sin y) y)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) (sin y)) y)) (* 1/24 (/ (sin y) y)))))) (/ (sin y) y)) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(* 1/2 (/ (* (sin y) (+ (exp x) (/ 1 (exp x)))) y)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(+ (* -1/12 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/2 (+ (exp x) (/ 1 (exp x))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* 1/240 (* (pow y 2) (+ (exp x) (/ 1 (exp x)))))))) |
(+ (* 1/2 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/12 (+ (exp x) (/ 1 (exp x)))) (* (pow y 2) (+ (* -1/10080 (* (pow y 2) (+ (exp x) (/ 1 (exp x))))) (* 1/240 (+ (exp x) (/ 1 (exp x))))))))) |
y |
(* y (+ 1 (* -1/6 (pow y 2)))) |
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))) |
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))) |
(+ 1 (* -1/6 (pow y 2))) |
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))) |
(sin y) |
| Outputs |
|---|
(/ (sin y) y) |
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
(+ (* 1/2 (/ (* (pow x 2) (sin y)) y)) (/ (sin y) y)) |
(cosh.f64 x) |
(+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) (sin y)) y)) (* 1/2 (/ (sin y) y)))) (/ (sin y) y)) |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
(+ (* (pow x 2) (+ (* 1/2 (/ (sin y) y)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) (sin y)) y)) (* 1/24 (/ (sin y) y)))))) (/ (sin y) y)) |
(sin.f64 y) |
1 |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
(+ 1 (* 1/2 (pow x 2))) |
(/.f64 (sin.f64 y) y) |
| Inputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
(cosh.f64 x) |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
(sin.f64 y) |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
(/.f64 (sin.f64 y) y) |
| Outputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
(cosh.f64 x) |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
(sin.f64 y) |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
(/.f64 (sin.f64 y) y) |
Compiled 150 to 18 computations (88% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 0 | 11 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 11 | 4 | 15 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| ✓ | 51.6% | #s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
| ✓ | 2.9% | #s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
| ✓ | 63.3% | #s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
Compiled 78 to 44 computations (43.6% saved)
| Inputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| Outputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
5 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (sin.f64 y) y) |
| 2.0ms | y |
| 2.0ms | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| 1.0ms | (cosh.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | y |
| 99.9% | 1 | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| 99.9% | 1 | (cosh.f64 x) |
| 99.9% | 1 | (/.f64 (sin.f64 y) y) |
Compiled 15 to 17 computations (-13.3% saved)
| Inputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
| Outputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) |
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
5 calls:
| 4.0ms | (/.f64 (sin.f64 y) y) |
| 2.0ms | x |
| 2.0ms | y |
| 1.0ms | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| 1.0ms | (cosh.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 89.0% | 3 | x |
| 76.3% | 3 | y |
| 89.3% | 2 | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| 89.0% | 2 | (cosh.f64 x) |
| 77.6% | 2 | (/.f64 (sin.f64 y) y) |
Compiled 15 to 17 computations (-13.3% saved)
Total -38.9b remaining (-165.8%)
Threshold costs -38.9b (-165.8%)
| Inputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
#s(approx (* (cosh x) (/ (sin y) y)) (sin.f64 y)) |
| Outputs |
|---|
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
5 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (/.f64 (sin.f64 y) y) |
| 1.0ms | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
| 1.0ms | (cosh.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 63.3% | 1 | y |
| 63.3% | 1 | (/.f64 (sin.f64 y) y) |
| 63.3% | 1 | x |
| 63.3% | 1 | (cosh.f64 x) |
| 63.3% | 1 | (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.9961381707328029 | 1.0 |
Compiled 10 to 11 computations (-10% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(if (<=.f64 (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) #s(literal 8972414989043557/9007199254740992 binary64)) #s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) #s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x))) |
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
| Outputs |
|---|
(*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) |
(if (<=.f64 (*.f64 (cosh.f64 x) (/.f64 (sin.f64 y) y)) #s(literal 8972414989043557/9007199254740992 binary64)) #s(approx (* (cosh x) (/ (sin y) y)) (/.f64 (sin.f64 y) y)) #s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x))) |
#s(approx (* (cosh x) (/ (sin y) y)) (cosh.f64 x)) |
| 1× | done |
Compiled 49 to 15 computations (69.4% saved)
Compiled 126 to 54 computations (57.1% saved)
Loading profile data...