
Time bar (total: 1.3s)
| 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 |
| 37.5% | 37.4% | 62.4% | 0.1% | 0% | 0% | 0% | 5 |
| 37.5% | 37.4% | 62.4% | 0.1% | 0% | 0% | 0% | 6 |
| 56.3% | 56.2% | 43.7% | 0.1% | 0% | 0% | 0% | 7 |
| 65.6% | 65.5% | 34.3% | 0.1% | 0% | 0% | 0% | 8 |
| 65.6% | 65.5% | 34.3% | 0.1% | 0% | 0% | 0% | 9 |
| 76.6% | 76.5% | 23.4% | 0.1% | 0% | 0% | 0% | 10 |
| 82% | 81.9% | 17.9% | 0.1% | 0% | 0% | 0% | 11 |
| 82% | 81.9% | 17.9% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 10 to 9 computations (10% saved)
| 489.0ms | 8 256× | 0 | valid |
ival-div: 131.0ms (44.1% of total)ival-cosh: 104.0ms (35% of total)ival-mult: 52.0ms (17.5% of total)ival-true: 6.0ms (2% of total)ival-assert: 3.0ms (1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 25 | 0 | - | 0 | - | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| 11 | 0 | - | 0 | - | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| 0 | 0 | - | 0 | - | (/.f64 y x) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (cosh.f64 x) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
*.f64 | (*.f64 (cosh.f64 x) (/.f64 y x)) | o*u | 25 | 0 |
| ↳ | (cosh.f64 x) | overflow | 137 | |
| ↳ | (/.f64 y x) | underflow | 25 | |
/.f64 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) | o/n | 11 | 0 |
| ↳ | (cosh.f64 x) | overflow | 137 | |
| ↳ | (/.f64 y x) | overflow | 33 | |
| ↳ | (*.f64 (cosh.f64 x) (/.f64 y x)) | overflow | 170 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 36 | 0 |
| - | 0 | 220 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 36 | 0 | 0 |
| - | 0 | 0 | 220 |
| number | freq |
|---|---|
| 0 | 220 |
| 1 | 36 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 46.0ms | 512× | 0 | valid |
Compiled 78 to 32 computations (59% saved)
ival-div: 22.0ms (70% of total)ival-cosh: 6.0ms (19.1% of total)ival-mult: 3.0ms (9.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| Outputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
Compiled 8 to 7 computations (12.5% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 86.1% | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
Compiled 8 to 7 computations (12.5% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 y x) | |
| cost-diff | 0 | (cosh.f64 x) | |
| cost-diff | 0 | (*.f64 (cosh.f64 x) (/.f64 y x)) | |
| cost-diff | 0 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| Inputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(cosh.f64 x) |
x |
(/.f64 y x) |
y |
z |
| Outputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(cosh.f64 x) |
x |
(/.f64 y x) |
y |
z |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 y x) | |
| accuracy | 0.0 | (cosh.f64 x) | |
| accuracy | 2.615071554907858 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) | |
| accuracy | 5.699189851622882 | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| 21.0ms | 256× | 0 | valid |
Compiled 46 to 16 computations (65.2% saved)
ival-div: 4.0ms (48.7% of total)ival-cosh: 3.0ms (36.5% of total)ival-mult: 1.0ms (12.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(cosh.f64 x) |
(/.f64 y x) |
| Outputs |
|---|
(/ y (* x z)) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
(/ y x) |
(/ (+ y (* 1/2 (* (pow x 2) y))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/24 (* (pow x 2) y)) (* 1/2 y)))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/2 y) (* (pow x 2) (+ (* 1/720 (* (pow x 2) y)) (* 1/24 y)))))) x) |
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 (/ (* y (+ (exp x) (/ 1 (exp x)))) (* x z))) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) x)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | y | @ | inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 3.0ms | y | @ | 0 | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 3.0ms | x | @ | -inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 3.0ms | x | @ | inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 2.0ms | y | @ | -inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ y (* x z)) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
(/ y x) |
(/ (+ y (* 1/2 (* (pow x 2) y))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/24 (* (pow x 2) y)) (* 1/2 y)))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/2 y) (* (pow x 2) (+ (* 1/720 (* (pow x 2) y)) (* 1/24 y)))))) x) |
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 (/ (* y (+ (exp x) (/ 1 (exp x)))) (* x z))) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) x)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
| Outputs |
|---|
(/ y (* x z)) |
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
(cosh.f64 x) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
(/.f64 y x) |
| Inputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(cosh.f64 x) |
(/.f64 y x) |
| Outputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(cosh.f64 x) |
(/.f64 y x) |
Compiled 87 to 15 computations (82.8% 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 |
|---|---|---|
| ✓ | 86.1% | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| ▶ | 6.2% | #s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
| ▶ | 26.3% | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
| ▶ | 29.2% | #s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
Compiled 46 to 36 computations (21.7% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 y x) | |
| cost-diff | 0 | #s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) | |
| cost-diff | 0 | (/.f64 y x) | |
| cost-diff | 0 | (cosh.f64 x) | |
| cost-diff | 0 | (*.f64 (cosh.f64 x) (/.f64 y x)) | |
| cost-diff | 0 | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) | |
| cost-diff | 0 | (cosh.f64 x) | |
| cost-diff | 0 | #s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
(cosh.f64 x) |
x |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(cosh.f64 x) |
x |
(/.f64 y x) |
y |
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
(/.f64 y x) |
y |
x |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
(cosh.f64 x) |
x |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(cosh.f64 x) |
x |
(/.f64 y x) |
y |
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
(/.f64 y x) |
y |
x |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 y x) | |
| accuracy | 60.058295868306566 | #s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) | |
| accuracy | 0.0 | (/.f64 y x) | |
| accuracy | 0.0 | (cosh.f64 x) | |
| accuracy | 5.699189851622882 | (*.f64 (cosh.f64 x) (/.f64 y x)) | |
| accuracy | 44.148360590085126 | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) | |
| accuracy | 0.0 | (cosh.f64 x) | |
| accuracy | 45.32991879493934 | #s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
| 21.0ms | 256× | 0 | valid |
Compiled 106 to 22 computations (79.2% saved)
ival-div: 4.0ms (48.3% of total)ival-cosh: 3.0ms (36.3% of total)ival-mult: 1.0ms (12.1% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
(cosh.f64 x) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(/.f64 y x) |
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
| Outputs |
|---|
(/ y (* x z)) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
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))))))) |
(/ y x) |
(/ (+ y (* 1/2 (* (pow x 2) y))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/24 (* (pow x 2) y)) (* 1/2 y)))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/2 y) (* (pow x 2) (+ (* 1/720 (* (pow x 2) y)) (* 1/24 y)))))) x) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) (* x z))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) x)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((/ (* (cosh x) (/ y x)) z) (cosh x) (/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (/ y x) (/ (* (cosh x) (/ y x)) z)) |
| 1.0ms | x | @ | -inf | ((/ (* (cosh x) (/ y x)) z) (cosh x) (/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (/ y x) (/ (* (cosh x) (/ y x)) z)) |
| 1.0ms | y | @ | inf | ((/ (* (cosh x) (/ y x)) z) (cosh x) (/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (/ y x) (/ (* (cosh x) (/ y x)) z)) |
| 1.0ms | y | @ | 0 | ((/ (* (cosh x) (/ y x)) z) (cosh x) (/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (/ y x) (/ (* (cosh x) (/ y x)) z)) |
| 1.0ms | x | @ | inf | ((/ (* (cosh x) (/ y x)) z) (cosh x) (/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (/ y x) (/ (* (cosh x) (/ y x)) z)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ y (* x z)) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
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))))))) |
(/ y x) |
(/ (+ y (* 1/2 (* (pow x 2) y))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/24 (* (pow x 2) y)) (* 1/2 y)))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/2 y) (* (pow x 2) (+ (* 1/720 (* (pow x 2) y)) (* 1/24 y)))))) x) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) (* x z))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) x)) |
| Outputs |
|---|
(/ y (* x z)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(cosh.f64 x) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
1 |
(/.f64 y x) |
(+ 1 (* 1/2 (pow x 2))) |
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
(cosh.f64 x) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(/.f64 y x) |
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
(cosh.f64 x) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
(*.f64 (cosh.f64 x) (/.f64 y x)) |
(/.f64 y x) |
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
Compiled 236 to 23 computations (90.3% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 13 | 1 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 13 | 5 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.1% | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| ✓ | 6.2% | #s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
| ✓ | 26.3% | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
| ▶ | 12.0% | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
| ✓ | 29.2% | #s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
Compiled 65 to 47 computations (27.7% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 y x) | |
| cost-diff | 0 | #s(approx (cosh x) (/.f64 y x)) | |
| cost-diff | 0 | (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) | |
| cost-diff | 0 | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
(*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) |
#s(approx (cosh x) (/.f64 y x)) |
(/.f64 y x) |
y |
x |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
(*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) |
#s(approx (cosh x) (/.f64 y x)) |
(/.f64 y x) |
y |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 y x) | |
| accuracy | 5.699189851622882 | (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) | |
| accuracy | 44.148360590085126 | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) | |
| accuracy | 62.489820031237635 | #s(approx (cosh x) (/.f64 y x)) |
| 19.0ms | 256× | 0 | valid |
Compiled 63 to 20 computations (68.3% saved)
ival-div: 4.0ms (48.3% of total)ival-cosh: 3.0ms (36.2% of total)ival-mult: 1.0ms (12.1% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
(*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) |
#s(approx (cosh x) (/.f64 y x)) |
(/.f64 y x) |
| Outputs |
|---|
(/ y (* x z)) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
(/ y x) |
(/ (+ y (* 1/2 (* (pow x 2) y))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/24 (* (pow x 2) y)) (* 1/2 y)))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/2 y) (* (pow x 2) (+ (* 1/720 (* (pow x 2) y)) (* 1/24 y)))))) x) |
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 (/ (* y (+ (exp x) (/ 1 (exp x)))) (* x z))) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) x)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 11.0ms | x | @ | -inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 1.0ms | y | @ | -inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 1.0ms | y | @ | inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 1.0ms | y | @ | 0 | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 1.0ms | x | @ | inf | ((/ (* (cosh x) (/ y x)) z) (* (cosh x) (/ y x)) (cosh x) (/ y x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ y (* x z)) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
(/ y x) |
(/ (+ y (* 1/2 (* (pow x 2) y))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/24 (* (pow x 2) y)) (* 1/2 y)))) x) |
(/ (+ y (* (pow x 2) (+ (* 1/2 y) (* (pow x 2) (+ (* 1/720 (* (pow x 2) y)) (* 1/24 y)))))) x) |
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 (/ (* y (+ (exp x) (/ 1 (exp x)))) (* x z))) |
(* 1/2 (/ (* y (+ (exp x) (/ 1 (exp x)))) x)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
| Outputs |
|---|
(/ y (* x z)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
(/ (+ (* 1/2 (/ (* (pow x 2) y) z)) (/ y z)) x) |
(*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) |
(/ (+ (* (pow x 2) (+ (* 1/24 (/ (* (pow x 2) y) z)) (* 1/2 (/ y z)))) (/ y z)) x) |
#s(approx (cosh x) (/.f64 y x)) |
(/ (+ (* (pow x 2) (+ (* 1/2 (/ y z)) (* (pow x 2) (+ (* 1/720 (/ (* (pow x 2) y) z)) (* 1/24 (/ y z)))))) (/ y z)) x) |
(/.f64 y x) |
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
(*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) |
#s(approx (cosh x) (/.f64 y x)) |
(/.f64 y x) |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
(*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x)) |
#s(approx (cosh x) (/.f64 y x)) |
(/.f64 y x) |
Compiled 150 to 14 computations (90.7% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 8 | 0 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 8 | 5 | 13 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.1% | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| ✓ | 6.2% | #s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
| ✓ | 26.3% | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
| ✓ | 12.0% | #s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
| ✓ | 29.2% | #s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
Compiled 130 to 64 computations (50.8% saved)
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| Outputs |
|---|
(/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
5 calls:
| 15.0ms | y |
| 2.0ms | z |
| 2.0ms | x |
| 2.0ms | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| 2.0ms | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| Accuracy | Segments | Branch |
|---|---|---|
| 86.1% | 1 | x |
| 86.1% | 1 | y |
| 86.1% | 1 | z |
| 91.6% | 2 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| 91.6% | 2 | (*.f64 (cosh.f64 x) (/.f64 y x)) |
Compiled 17 to 22 computations (-29.4% saved)
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 (cosh.f64 x) (/.f64 y x))) |
5 calls:
| 2.0ms | x |
| 2.0ms | z |
| 2.0ms | y |
| 2.0ms | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| 2.0ms | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| Accuracy | Segments | Branch |
|---|---|---|
| 40.1% | 2 | z |
| 37.2% | 3 | x |
| 31.5% | 2 | y |
| 40.1% | 2 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| 31.8% | 2 | (*.f64 (cosh.f64 x) (/.f64 y x)) |
Compiled 17 to 22 computations (-29.4% saved)
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
#s(approx (/ (* (cosh x) (/ y x)) z) (cosh.f64 x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | z |
| 1.0ms | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| Accuracy | Segments | Branch |
|---|---|---|
| 37.2% | 3 | x |
| 31.8% | 2 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| 29.2% | 1 | z |
Compiled 10 to 13 computations (-30% saved)
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
#s(approx (/ (* (cosh x) (/ y x)) z) (*.f64 #s(approx (cosh x) (/.f64 y x)) (/.f64 y x))) |
5 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | z |
| 1.0ms | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| 1.0ms | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| Accuracy | Segments | Branch |
|---|---|---|
| 12.0% | 1 | z |
| 12.0% | 1 | y |
| 12.0% | 1 | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| 14.4% | 2 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| 12.0% | 1 | x |
Compiled 17 to 22 computations (-29.4% saved)
| Inputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
| Outputs |
|---|
#s(approx (/ (* (cosh x) (/ y x)) z) (/.f64 y x)) |
5 calls:
| 1.0ms | z |
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
| 1.0ms | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 6.2% | 1 | (*.f64 (cosh.f64 x) (/.f64 y x)) |
| 6.2% | 1 | x |
| 6.2% | 1 | y |
| 6.2% | 1 | z |
| 6.2% | 1 | (/.f64 (*.f64 (cosh.f64 x) (/.f64 y x)) z) |
Compiled 17 to 22 computations (-29.4% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | +inf | NaN |
Compiled 11 to 13 computations (-18.2% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 1.9516922324360263e-299 | 3.459552047438595e-298 |
| 6.0ms | 112× | 0 | valid |
Compiled 193 to 167 computations (13.5% saved)
ival-div: 2.0ms (54.8% of total)ival-mult: 1.0ms (27.4% of total)ival-cosh: 1.0ms (27.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 14.0ms | 0.0001696041459521507 | 0.006814345135216369 |
| 13.0ms | -2.0737058883172802e-72 | -8.177379796257035e-81 |
| 15.0ms | 256× | 0 | valid |
Compiled 491 to 365 computations (25.7% saved)
ival-div: 4.0ms (46.7% of total)ival-cosh: 3.0ms (35% of total)ival-mult: 1.0ms (11.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -7.745913411683186e-112 | -3.4956671758899257e-149 |
Compiled 11 to 13 computations (-18.2% saved)
Loading profile data...