
Time bar (total: 3.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 2 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 3 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 4 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 5 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 6 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 7 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 8 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 9 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 10 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 11 |
| 100% | 99.9% | 0% | 0% | 0% | 0% | 0% | 12 |
Compiled 8 to 5 computations (37.5% saved)
| 854.0ms | 8 256× | 0 | valid |
ival-div: 176.0ms (61.7% of total)ival-expm1: 99.0ms (34.7% of total)ival-true: 5.0ms (1.8% of total)ival-assert: 3.0ms (1.1% of total)adjust: 2.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 128 | 0 | - | 0 | - | (-.f64 (exp.f64 x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (exp.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (exp.f64 x) #s(literal 1 binary64)) | cancellation | 128 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 128 | 0 |
| - | 0 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 128 | 0 | 0 |
| - | 0 | 0 | 128 |
| number | freq |
|---|---|
| 0 | 128 |
| 1 | 128 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 26.0ms | 512× | 0 | valid |
Compiled 38 to 19 computations (50% saved)
ival-div: 4.0ms (32.8% of total)ival-exp: 4.0ms (32.8% of total)ival-expm1: 3.0ms (24.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 17 |
| 1 | 32 | 15 |
| 2 | 74 | 15 |
| 3 | 211 | 15 |
| 4 | 929 | 15 |
| 0 | 8 | 8 |
| 0 | 12 | 8 |
| 1 | 14 | 8 |
| 2 | 17 | 8 |
| 3 | 25 | 8 |
| 4 | 51 | 8 |
| 5 | 188 | 8 |
| 6 | 1429 | 8 |
| 7 | 4347 | 8 |
| 0 | 8019 | 8 |
| 1× | saturated |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
Compiled 6 to 5 computations (16.7% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.0% | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
Compiled 6 to 5 computations (16.7% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (exp.f64 x) | |
| cost-diff | 0 | (-.f64 (exp.f64 x) #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 20 |
| 0 | 12 | 20 |
| 1 | 14 | 20 |
| 2 | 17 | 20 |
| 3 | 25 | 20 |
| 4 | 51 | 20 |
| 5 | 188 | 20 |
| 6 | 1429 | 20 |
| 7 | 4347 | 20 |
| 0 | 8019 | 20 |
| 1× | saturated |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(exp.f64 x) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(exp.f64 x) |
x |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) | |
| accuracy | 0.0 | (exp.f64 x) | |
| accuracy | 30.096964980110112 | (-.f64 (exp.f64 x) #s(literal 1 binary64)) |
| 11.0ms | 256× | 0 | valid |
Compiled 16 to 7 computations (56.3% saved)
ival-div: 2.0ms (33.2% of total)ival-exp: 2.0ms (33.2% of total)ival-expm1: 2.0ms (33.2% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(exp.f64 x) |
| Outputs |
|---|
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 1)) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* 1/2 x)))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 x)) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))))) |
#s(approx (exp x) #s(hole binary64 1)) |
#s(approx (exp x) #s(hole binary64 (+ 1 x))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (/ (- (exp x) 1) x))) |
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1))) |
#s(approx (exp x) #s(hole binary64 (exp x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (- (exp x) 1) x) (- (exp x) 1) (exp x)) |
| 1.0ms | x | @ | inf | ((/ (- (exp x) 1) x) (- (exp x) 1) (exp x)) |
| 0.0ms | x | @ | 0 | ((/ (- (exp x) 1) x) (- (exp x) 1) (exp x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 203 |
| 1 | 138 | 203 |
| 2 | 373 | 203 |
| 3 | 1180 | 203 |
| 4 | 4708 | 203 |
| 0 | 8266 | 190 |
| 1 | 10433 | 190 |
| 2 | 19614 | 190 |
| 3 | 21446 | 190 |
| 4 | 21672 | 190 |
| 5 | 21675 | 190 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 1)) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* 1/2 x)))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 x)) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))))) |
#s(approx (exp x) #s(hole binary64 1)) |
#s(approx (exp x) #s(hole binary64 (+ 1 x))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (/ (- (exp x) 1) x))) |
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1))) |
#s(approx (exp x) #s(hole binary64 (exp x))) |
| Outputs |
|---|
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 1)) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* 1/2 x)))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 x)) |
#s(approx (- (exp x) 1) x) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))))) |
#s(approx (exp x) #s(hole binary64 1)) |
#s(approx (exp x) #s(hole binary64 (+ 1 x))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* 1/2 x)))))) |
#s(approx (exp x) #s(hole binary64 (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (/ (- (exp x) 1) x))) |
#s(approx (/ (- (exp x) 1) x) (/.f64 (expm1.f64 x) x)) |
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1))) |
#s(approx (- (exp x) 1) (expm1.f64 x)) |
#s(approx (exp x) #s(hole binary64 (exp x))) |
#s(approx (exp x) (exp.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 16 |
| 1 | 12 | 16 |
| 2 | 14 | 16 |
| 3 | 16 | 16 |
| 4 | 18 | 16 |
| 0 | 18 | 16 |
| 1 | 43 | 16 |
| 0 | 243 | 8 |
| 1 | 309 | 8 |
| 2 | 444 | 8 |
| 3 | 537 | 8 |
| 4 | 558 | 8 |
| 5 | 561 | 8 |
| 1× | saturated |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(exp.f64 x) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (/.f64 (exp.f64 x) x) (/.f64 (exp.f64 x) x)) (*.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) x))) (+.f64 (/.f64 (exp.f64 x) x) (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (neg.f64 (neg.f64 (expm1.f64 x))) (neg.f64 (neg.f64 x))) |
(/.f64 (-.f64 (*.f64 (exp.f64 x) x) (*.f64 x #s(literal 1 binary64))) (*.f64 x x)) |
(/.f64 (expm1.f64 (+.f64 x x)) (*.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)) x)) |
(/.f64 (-.f64 (*.f64 (exp.f64 (+.f64 x x)) (exp.f64 x)) #s(literal 1 binary64)) (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 #s(literal 1 binary64) (exp.f64 x))) x)) |
(/.f64 (neg.f64 (expm1.f64 x)) (neg.f64 x)) |
(/.f64 (expm1.f64 x) x) |
(neg.f64 (/.f64 (neg.f64 (expm1.f64 x)) x)) |
(neg.f64 (/.f64 (expm1.f64 x) (neg.f64 x))) |
(-.f64 (/.f64 (exp.f64 x) x) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) (exp.f64 x)))) |
(/.f64 (neg.f64 (-.f64 (*.f64 (exp.f64 (+.f64 x x)) (exp.f64 x)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 #s(literal 1 binary64) (exp.f64 x))))) |
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 #s(literal 1 binary64) (exp.f64 x))) |
(/.f64 (-.f64 (*.f64 (exp.f64 (+.f64 x x)) (exp.f64 x)) #s(literal 1 binary64)) (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 #s(literal 1 binary64) (exp.f64 x)))) |
(expm1.f64 x) |
(-.f64 (/.f64 (exp.f64 (+.f64 x x)) (+.f64 #s(literal 1 binary64) (exp.f64 x))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 x)))) |
(-.f64 (/.f64 (*.f64 (exp.f64 (+.f64 x x)) (exp.f64 x)) (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 #s(literal 1 binary64) (exp.f64 x)))) (/.f64 #s(literal 1 binary64) (fma.f64 (exp.f64 x) (exp.f64 x) (+.f64 #s(literal 1 binary64) (exp.f64 x))))) |
(-.f64 (exp.f64 x) #s(literal 1 binary64)) |
(+.f64 (cosh.f64 x) (-.f64 (sinh.f64 x) #s(literal 1 binary64))) |
(*.f64 #s(literal 1 binary64) (exp.f64 x)) |
(*.f64 (exp.f64 x) #s(literal 1 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 x) (cosh.f64 x)) (*.f64 (sinh.f64 x) (sinh.f64 x))) (-.f64 (cosh.f64 x) (sinh.f64 x))) |
(exp.f64 x) |
(+.f64 (sinh.f64 x) (cosh.f64 x)) |
(+.f64 (cosh.f64 x) (sinh.f64 x)) |
Compiled 342 to 97 computations (71.6% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 2 | 29 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 28 | 2 | 30 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (expm1.f64 x) x) |
| ▶ | 51.7% | (/.f64 #s(approx (- (exp x) 1) x) x) |
Compiled 12 to 9 computations (25% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (expm1.f64 x) | |
| cost-diff | 0 | (/.f64 (expm1.f64 x) x) | |
| cost-diff | 0 | #s(approx (- (exp x) 1) x) | |
| cost-diff | 0 | (/.f64 #s(approx (- (exp x) 1) x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 22 |
| 0 | 13 | 22 |
| 1 | 18 | 22 |
| 2 | 31 | 22 |
| 3 | 65 | 22 |
| 4 | 246 | 22 |
| 5 | 2495 | 22 |
| 0 | 8702 | 22 |
| 1× | saturated |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
#s(approx (- (exp x) 1) x) |
x |
(/.f64 (expm1.f64 x) x) |
(expm1.f64 x) |
x |
| Outputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
#s(approx (- (exp x) 1) x) |
x |
(/.f64 (expm1.f64 x) x) |
(expm1.f64 x) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (expm1.f64 x) x) | |
| accuracy | 0.0 | (expm1.f64 x) | |
| accuracy | 0.0 | (/.f64 #s(approx (- (exp x) 1) x) x) | |
| accuracy | 30.51930319589977 | #s(approx (- (exp x) 1) x) |
| 13.0ms | 256× | 0 | valid |
Compiled 24 to 5 computations (79.2% saved)
ival-expm1: 3.0ms (54% of total)ival-div: 2.0ms (36% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
#s(approx (- (exp x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(expm1.f64 x) |
| Outputs |
|---|
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 1)) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* 1/2 x)))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 x)) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (/ (- (exp x) 1) x))) |
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((/ (- (exp x) 1) x) (- (exp x) 1) (/ (- (exp x) 1) x) (- (exp x) 1)) |
| 0.0ms | x | @ | inf | ((/ (- (exp x) 1) x) (- (exp x) 1) (/ (- (exp x) 1) x) (- (exp x) 1)) |
| 0.0ms | x | @ | 0 | ((/ (- (exp x) 1) x) (- (exp x) 1) (/ (- (exp x) 1) x) (- (exp x) 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 150 |
| 1 | 119 | 150 |
| 2 | 303 | 150 |
| 3 | 945 | 150 |
| 4 | 3751 | 150 |
| 0 | 8130 | 139 |
| 1 | 10031 | 139 |
| 2 | 18865 | 139 |
| 3 | 20782 | 139 |
| 4 | 21067 | 139 |
| 5 | 21095 | 139 |
| 6 | 21097 | 139 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 1)) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* 1/2 x)))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 x)) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (/ (- (exp x) 1) x))) |
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1))) |
| Outputs |
|---|
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 1)) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* 1/2 x)))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x)))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 x)) |
#s(approx (- (exp x) 1) x) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* 1/2 x))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* 1/6 x))))))) |
#s(approx (- (exp x) 1) #s(hole binary64 (* x (+ 1 (* x (+ 1/2 (* x (+ 1/6 (* 1/24 x))))))))) |
#s(approx (/ (- (exp x) 1) x) #s(hole binary64 (/ (- (exp x) 1) x))) |
#s(approx (/ (- (exp x) 1) x) (/.f64 (expm1.f64 x) x)) |
#s(approx (- (exp x) 1) #s(hole binary64 (- (exp x) 1))) |
#s(approx (- (exp x) 1) (expm1.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 13 | 20 |
| 2 | 14 | 20 |
| 3 | 16 | 20 |
| 0 | 16 | 20 |
| 1 | 41 | 20 |
| 0 | 241 | 20 |
| 1 | 297 | 20 |
| 2 | 432 | 20 |
| 3 | 531 | 20 |
| 4 | 558 | 20 |
| 5 | 562 | 20 |
| 1× | saturated |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
#s(approx (- (exp x) 1) x) |
(/.f64 (expm1.f64 x) x) |
(expm1.f64 x) |
| Outputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
#s(approx (- (exp x) 1) x) |
(/.f64 (neg.f64 (neg.f64 (expm1.f64 x))) (neg.f64 (neg.f64 x))) |
(/.f64 (neg.f64 (expm1.f64 x)) (neg.f64 x)) |
(/.f64 (expm1.f64 (+.f64 x x)) (*.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)) x)) |
(/.f64 (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (expm1.f64 x)) (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) x)) |
(/.f64 (expm1.f64 x) x) |
(neg.f64 (/.f64 (neg.f64 (expm1.f64 x)) x)) |
(neg.f64 (/.f64 (expm1.f64 x) (neg.f64 x))) |
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (expm1.f64 x))) (neg.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))))) |
(/.f64 (expm1.f64 (+.f64 x x)) (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) |
(/.f64 (*.f64 (fma.f64 (exp.f64 x) (exp.f64 x) (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x))) (expm1.f64 x)) (fma.f64 (exp.f64 x) (exp.f64 x) (/.f64 (expm1.f64 (+.f64 x x)) (expm1.f64 x)))) |
(expm1.f64 x) |
Compiled 206 to 44 computations (78.6% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 0 | 16 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 16 | 2 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (expm1.f64 x) x) |
| ✓ | 51.7% | (/.f64 #s(approx (- (exp x) 1) x) x) |
Compiled 30 to 21 computations (30% saved)
| Inputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
(/.f64 (expm1.f64 x) x) |
(/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
| Outputs |
|---|
(/.f64 (expm1.f64 x) x) |
2 calls:
| 4.0ms | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
| 100.0% | 1 | x |
Compiled 7 to 6 computations (14.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
| Outputs |
|---|
(/.f64 #s(approx (- (exp x) 1) x) x) |
2 calls:
| 2.0ms | x |
| 1.0ms | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.7% | 1 | (/.f64 (-.f64 (exp.f64 x) #s(literal 1 binary64)) x) |
| 51.7% | 1 | x |
Compiled 7 to 6 computations (14.3% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 12 |
| 1 | 18 | 12 |
| 2 | 31 | 12 |
| 3 | 68 | 12 |
| 4 | 255 | 12 |
| 5 | 2349 | 12 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (expm1.f64 x) x) |
(/.f64 #s(approx (- (exp x) 1) x) x) |
| Outputs |
|---|
(/.f64 (expm1.f64 x) x) |
(/.f64 #s(approx (- (exp x) 1) x) x) |
| 1× | done |
Compiled 12 to 8 computations (33.3% saved)
Compiled 80 to 50 computations (37.5% saved)
Loading profile data...